summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common
AgeCommit message (Collapse)AuthorFilesLines
2019-08-1011024 SMB should bypass ACL traverse checkingGordon Ross3-15/+30
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-0611219 mdb: smbsrv.c: error: comparison between pointer and integerToomas Soome1-8/+8
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Juraj Lutter <juraj@lutter.sk> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-07-3111459 mdb: disk_label should allow to set sector size (add ::sectorsize)Toomas Soome1-68/+115
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-07-3111456 mdb: libmlsvc NULL pointer errorsToomas Soome1-3/+3
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-07-3111455 mdb: libfksmbfs NULL pointer errorsToomas Soome1-1/+1
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-07-2411467 mdb: mdb_fdio should use mediainfo for block devices.Toomas Soome1-17/+33
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
2019-07-0511267 Add rust demangling supportJason King2-5/+21
Reviewed by: Michal Nowak <mnowak@startmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-06-258727 Native data and metadata encryption for zfsTom Caputi1-9/+37
Portions contributed by: Jorgen Lundman <lundman@lundman.net> Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Paul Zuchowski <pzuchowski@datto.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: Matthew Ahrens <mahrens@delphix.com> Portions contributed by: ab-oe <arkadiusz.bubala@open-e.com> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Portions contributed by: loli10K <ezomori.nozomu@gmail.com> Portions contributed by: Igor K <igor@dilos.org> Portions contributed by: Richard Laager <rlaager@wiktel.com> Reviewed by: Jason Cohen <jwittlincohen@gmail.com> Reviewed by: Allan Jude <allanjude@freebsd.org> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: RageLtMan <rageltman@sempervictus> Reviewed by: Matthew Thode <prometheanfire@gentoo.org> Reviewed by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed by: Kash Pande <kash@tripleback.net> Reviewed by: Alek Pinchuk <apinchuk@datto.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: David Quigley <david.quigley@intel.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-2511208 add mdb format character for jazzed-up binary outputBryan Cantrill2-14/+110
11206 mdb output autowrapping still subtly wrong 11207 many 64-bit mdb format characters have insufficient width Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jordan Hendricks <jordan.hendricks@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-2111260 mdb zfs metaslab statistics are unavailableKody A Kantor1-12/+9
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-2111264 tid::errno would be handy in mdbJason King1-1/+44
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Gordon Ross <gwr@nexenta.com>
2019-06-0811016 SMB2 oplock leasesGordon Ross1-90/+403
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-0711011 SMB2/3 durable handlesMatt Barden1-12/+283
Portions contributed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-0711010 Obsolete SMB server work-around for ZFS read-onlyGordon Ross1-4/+2
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-0611186 mdb's output autowrapping should be optional -- and disabledBryan Cantrill3-30/+53
Reviewed by: Dave Pacheco <dap@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-0410941 mdb deserves a modulus operatorRobert Mustacchi2-1/+16
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Toomas Soome <toomas@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-2810983 add mdb walker for smbd share cacheGordon Ross2-0/+303
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-05-2210980 Should pass the smbtorture lock testsGordon Ross1-85/+108
Portions contributed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-2210979 Prefer that SMB change notify not tie up a worker threadGordon Ross1-2/+1
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <Matt.Barden@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-2211048 need a way to disable SMTJohn Levon2-3/+5
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Gergo Doma <domag02@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-05-1810966 mdb cannot show smbsrv sessionsGordon Ross1-59/+36
Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-1810965 SMB: mdb "::smbreq -v" prints findstack errorsGordon Ross1-1/+3
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-1810964 mdb smbsrv SEGV with IPv6 clientsGordon Ross1-5/+9
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-1810963 smbsrv mdb module should lookup enum valuesGordon Ross1-419/+917
Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <Matt.Barden@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-1810962 Want a way to extract SMB packets from a crash dumpGordon Ross3-22/+803
Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-1810961 want mdb "shares" walker for smbsrvGordon Ross1-251/+295
Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <Matt.Barden@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-0810860 mdb: update mbr to print vbr and add vtoc commandToomas Soome1-25/+305
Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-0810921 mdb_nicenum() needs smatch fixJohn Levon1-2/+3
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-05-0610890 mdb crashes on invalid ::walk softstateRobert Mustacchi1-1/+28
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-0610859 mdb: move mdb_nicenum() to mdb_modapi.cToomas Soome4-56/+61
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Cody Mello <cody.mello@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-0310816 ctf_dwarf_convert_type() relies on un-initialized idJohn Levon1-2/+1
10817 ctfconvert -i option is mis-handled 10818 Improve ctfconvert error messages 10819 ctfconvert should handle empty dies 10820 ctfconvert -i never converts 10821 bad free in ctf_dwarf_init_die 10815 shouldn't build gcore.c as part of kmdb Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-04-2510569 MDB module for disk labelling would be usefulJohn Levon1-0/+501
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-03-147780 mdb could extract NT_PRPSINFO information from core filesCarlos Neira1-0/+221
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gergo Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-03-149735 Need to provide SMB 2.1 ClientGordon Ross1-7/+81
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-03-149874 Add fksmbcl development toolGordon Ross2-7/+68
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-03-0810120 smatch indenting fixes for usr/src/cmdJohn Levon1-1/+6
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-2010410 kmdb: set terminal window sizeToomas Soome2-5/+14
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-02-116885 CTF Everywhere Part 1Robert Mustacchi5-19/+20
6886 Want ctfdiff 6887 ctfdump should be written in terms of libctf 6888 ctfmerge should be implemented in terms of libctf 6889 ctfconvert should be implemented in terms of libctf 6890 Want general workq 6891 Want general mergeq 6892 ctf_add_encoded assigns() incorrect byte size to types 6893 ctf_add_{struct,union,enum} can reuse forwards 6894 ctf_add_{struct,union,enum} occasionally forget to dirty the ctf_file_t 6895 ctf_add_member could better handle bitfields 6896 ctf_type_size() reports wrong size for forwards 6897 Want libctf ctf_kind_name() function 6898 Want libctf function to set struct/union size Portions contributed by: John Levon <john.levon@joyent.com> Portions contributed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0410306 mdb: NULL pointer errorsToomas Soome93-839/+774
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-3010132 smatch fixes for MDBJohn Levon11-69/+71
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-257509 ::dtrace can yield no outputBryan Cantrill1-0/+1
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-289916 mdb ::dcmds and ::walkers could have filter optionsAndy Fiddaman3-16/+212
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-10-198158 Want named threads APIJohn Levon5-86/+178
9857 proc manpages should have LIBRARY section Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-136375 Add native name demangling supportJason King3-86/+77
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-08-179736 kmdb tortures via single-step miscellaneous trapJohn Levon1-8/+25
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Approved by: Gordon Ross <gwr@nexenta.com>
2018-08-079674 Let's scrap AVS/sdbcYuri Pankov10-8051/+0
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-07-199641 want stack-clash mitigationPatrick Mooney1-10/+33
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Mike Gerdts <mike.gerdts@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-07-199060 ::dtrace_options causes mdb to dump coreJohn Levon1-2/+9
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-05-219330 stack overflow when creating a deeply nested datasetSerapheim Dimitropoulos1-0/+1
Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2018-05-159309 mdb: this statement may fall throughToomas Soome3-25/+34
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>