summaryrefslogtreecommitdiff
path: root/usr/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2019-05-0910880 posix_memalign() should avoid clobbering return parameter on failureRichard Lowe1-13/+17
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-0310827 some symbols have the wrong CTF typeJohn Levon1-17/+22
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-05-0310823 should ignore DW_TAG_subprogram with DW_AT_declaration tagsJohn Levon1-5/+104
10824 GCC7-derived CTF can double qualifiers on arrays 10825 ctfdump -c drops last type 10826 ctfdump -c goes off the rails with a missing parent Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-05-0310816 ctf_dwarf_convert_type() relies on un-initialized idJohn Levon23-245/+321
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-05-0310812 ctf tools shouldn't add blank labelsRobert Mustacchi5-308/+534
10813 ctf symbol mapping needs work Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-04-3010861 s10_npreload: make clobber target is failing to remove directoryToomas Soome2-2/+2
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-2910606 ficl: smatch errors: inconsistent indenting and unchecked function returnToomas Soome1-3/+0
10699 loader: smatch cleanups for ficl 10885 loader: ficl pfopendir() should push FICL_FALSE in case of error Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-2610809 Performance optimization of AVL tree comparator functionsGvozden Neskovic4-19/+15
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Richard Elling <richard.elling@gmail.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-04-2410804 Enable unused warnings outside of utsJohn Levon3-3/+8
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-2310570 Need workaround to EFI boot on AMI BIOSJohn Levon1-14/+12
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-04-1310601 Pool allocation classesDon Brady4-23/+131
10757 Add -gLp to zpool subcommands for alt vdev names Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Håkan Johansson <f96hajo@chalmers.se> Portions contributed by: Richard Yao <ryao@gentoo.org> Portions contributed by: Chunwei Chen <david.chen@nutanix.com> Portions contributed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Richard Laager <rlaager@wiktel.com> Reviewed by: Alek Pinchuk <apinchuk@datto.com> Reviewed by: Andreas Dilger <andreas.dilger@chamcloud.com> Reviewed by: DHE <git@dehacked.net> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Gregor Kopka <gregor@kopka.net> Reviewed by: Kash Pande <kash@tripleback.net> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Tony Hutter <hutter2@llnl.gov> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Giuseppe Di Natale <guss80@gmail.com> Reviewed by: bunder2015 <omfgbunder@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-0910685 SMB code needs smatch fixesJohn Levon2-0/+10
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-04-0410499 Multi-modifier protection (MMP) [fix build race]Joshua M. Clulow1-2/+2
2019-04-0310499 Multi-modifier protection (MMP)Olaf Faaland12-30/+247
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: sanjeevbagewadi <sanjeev.bagewadi@gmail.com> Portions contributed by: John L. Hammond <john.hammond@intel.com> Portions contributed by: Giuseppe Di Natale <dinatale2@llnl.gov> Portions contributed by: Prakash Surya <surya1@llnl.gov> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Tom Caputi <tcaputi@datto.com> Reviewed by: Kash Pande <kash@tripleback.net> Reviewed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Tony Hutter <hutter2@llnl.gov> Reviewed by: Gu Zheng <guzheng2331314@163.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Ned Bass <bass6@llnl.gov> Reviewed by: Andreas Dilger <andreas.dilger@intel.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2810111 dat_dictionary_create() use after freeJohn Levon1-3/+6
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2810573 define TASKQID_INVALID as (taskq_id)0Toomas Soome1-1/+1
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2710106 libreparse needs smatch fixesJohn Levon1-1/+5
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2710103 libmlrpc needs smatch fixesJohn Levon1-1/+2
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2610107 librpcsvc needs smatch fixesJohn Levon1-5/+8
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-03-2310112 cfga_sata.c needs a smatch fixJohn Levon1-1/+2
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2110116 mech_dh needs smatch fixesJohn Levon1-3/+5
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2010108 libstmfproxy needs smatch fixesJohn Levon1-3/+7
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-03-1810554 Implemented zpool sync commandAlek Pinchuk6-11/+57
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-1810104 pam_set_data() dereferences pointer before checking for NULLJohn Levon1-7/+11
Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-03-1510495 libc should know how many FPU exceptions there areRichard Lowe1-0/+5
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-03-1510548 libumem doesn't free memory allocated by valloc or memalignPavel Zakharov1-8/+10
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Marco van Wieringen <mvw@planets.elm.net> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-147780 mdb could extract NT_PRPSINFO information from core filesCarlos Neira3-3/+44
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 Ross26-86/+642
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-149875 SMB client connection setup reworkGordon Ross20-3153/+425
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-149874 Add fksmbcl development toolGordon Ross84-142/+13791
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-1310515 libtopo's XML serialization code is broken and incompleteRob Johnston3-105/+224
10516 fmtopo is missing code to handle properties of type TOPO_TYPE_FMRI_ARRAY Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-03-1210321 disk enumerator should make protocol/label prop mutableRob Johnston1-2/+3
Reviewed by: Jordan Hendricks <jordan.hendricks@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-03-0710417 recursive chown should not traverse any symbolic links by defaultAlexander Pyhalov1-1/+1
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-0110468 __ctype_mask[EOF] has been working by accidentBryan Cantrill3-24/+28
10469 GCC's -faggressive-loop-optimizations is too aggressive 10470 array over-read in has_saved_fp() Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-2710098 task_alloc() in libfakekernel gets KM_NOSLEEP test wrongJohn Levon1-1/+1
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-2710450 mDNS binaries should be reproducibleToomas Soome1-1/+1
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-02-2510151 mv_xattrs() checks for a NULL array nameJohn Levon1-3/+3
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-227928 Add support for SMF_EXIT_NODAEMONJerry Jelinek1-2/+8
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-02-2010415 Memory leak in ipadm_zone_get_network()Andy Fiddaman1-3/+8
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Approved by: Robert Mustacchi <rm@joyent.com>
2019-02-1310391 SPARC build of libficl-sys fails after 10338Peter Tribble1-0/+2
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2019-02-1310361 usr/lib - stop lint library generation and packagingAndy Fiddaman201-17139/+21
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-1210393 ctf: NULL pointer errorsToomas Soome1-4/+4
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-1210110 get_tz_countries shouldn't check array for NULLJohn Levon1-5/+3
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-116885 CTF Everywhere Part 1Robert Mustacchi131-74/+47418
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-1110052 "dladm show-ether" should pick one kstat snapshot and stick with itcarlos antonio neira bustos5-96/+132
Reviewed by: Rob Johnston <rob.johnston@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-02-0810100 Illumos is confused about calloc() argumentsJohn Levon3-7/+12
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0810338 ficl-sys: add gfx primitivesToomas Soome1-2/+2
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <af@citrus-it.net> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-02-0710318 Remove starfire supportPeter Tribble6-318/+8
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Andy Fiddaman <af@citrus-it.net> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0710322 usr/lib/libc - remove lint and lint librariesAndy Fiddaman5-216/+12
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0510334 cleanup smatch errors in usr/src/lib/fm/topo/libtopoRob Johnston6-21/+40
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>