summaryrefslogtreecommitdiff
path: root/usr/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10 [illumos-gate merge]Jerry Jelinek1-13/+17
commit a547acf91a502e2d79ff67ef86d1b791883ca43a 10880 posix_memalign() should avoid clobbering return parameter on failure commit f26364c965228a50041eda19745fc8573312c654 10881 more C99 math macros should be compiler builtins commit 9938df9efd1c845888adf3e046421db350cf1088 10882 math headers should stop supporting K&R C
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-07OS-7669 Want CPU Temperature SensorsRobert Mustacchi8-11/+424
OS-7677 i86pc chip module should be smatch clean Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Reviewed by: Jordan Hendricks <jordan.hendricks@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Joshua M. Clulow <jmc@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-05-02OS-7485 typo in SSG-2028R-ACR24L and JSP-7001 slot mapsRob Johnston2-4/+4
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-01 [illumos-gate merge]Jerry Jelinek2-2/+2
commit e742aada08b77c795649b3e05d39213e1edcceeb 10837 loader: zfsboot.c cstyle cleanup commit dddac438d5629d72879f2701924b62774cb4eaf0 10806 mnode_range_setup() makes assumptions about mnodes commit 40320bdcdf7a073effbd3872d29e2bd595eae22c 10858 loader: add elf_i386_sol2 option where we do not use ld script commit adf7a658ee3948276f007c3374ca1ecbb5ede9c5 10848 loader: disable libficl/vm.c smatch deref check commit 092a100d3e036d742afb02e2f572395e7dbe35ef 10861 s10_npreload: make clobber target is failing to remove directory
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-30 [illumos-gate merge]Jerry Jelinek1-3/+0
commit 287d025085c7f7e5ab020c58140c29782754e38f 10807 loader fails to boot Dell R510 in UEFI mode commit 6a316e1f6d32750bb8fcf2558dcb17b90ca580fd 10844 Serialize ZTHR operations to eliminate races commit c0bb4f7308f9d7f3f31eb636c73ef07c6d19b5f3 10606 ficl: smatch errors: inconsistent indenting and unchecked function return 10699 loader: smatch cleanups for ficl 10885 loader: ficl pfopendir() should push FICL_FALSE in case of error
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-29 [illumos-gate merge]Jerry Jelinek4-19/+15
commit c4ab0d3f46036e85ad0700125c5a83cc139f55a3 10809 Performance optimization of AVL tree comparator functions commit 95fa23b1c91c8660ef64ef5a20acfcd53961746e 10847 fix smatch issue in zpool cmd commit 100e26fc80bc137237733b254a52de636d52c80e 10684 usbkbm: implement usbkbm_rsrv() to get out of interrupt context commit 51ddf9bf5af833bbebc584ece0124b0e4ffa5abd 10845 tem: depth 24 and 32 do support 256 colors commit 64dee23eeee29de386301f5c43198866122deedb 10808 Print "(repairing)" in zpool status again commit ad027c0ff9612bff8f47b43d8561da627f80cd29 10842 Mutex leak in dsl_dataset_hold_obj()
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-25 [illumos-gate merge]Jerry Jelinek3-3/+8
commit 446c407deb93d79642a777eef22cf998e34a3248 10569 MDB module for disk labelling would be useful commit 9b8f194103574e93a8789067d2afccef3c586885 10476 file(1) could be smatch clean commit b6a0e2cd4ce8d91fe9dc750c44e662d7c7e5fb8e 10366 ld(1) should support GNU-style linker sets 10581 ld(1) should know kernel modules are a thing commit ab65fd2a6cf8b63577d26411f2ea4b628591d56d 10593 illumos build should not use kernel modules as link-editor input commit c524b4fe42d7c586615aacae917f985e3379a108 10346 ld(1) should not reduce symbol visibility of COMDAT symbols when producing relocatable objects commit 32e09e17e4529edf39ffb44fb13cdb6a0fb45733 10804 Enable unused warnings outside of uts commit 8e718be9d8b2bb15811a2dc0b61cbb5cc5fa3070 10770 idm: NULL pointer errors commit 4da99751f967c5f8f04e17d8881a68c2940f3b06 10790 i86pc: NULL pointer errors commit 36f99a58464a4c3e25e881cab429881edb09951b 10778 mac: NULL pointer errors Conflicts: usr/src/uts/common/io/mac/mac_datapath_setup.c usr/src/uts/common/io/mac/mac_client.c usr/src/uts/common/io/mac/mac.c
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-23OS-7703 usba should read the device binary object storeRobert Mustacchi2-2/+60
OS-7704 USB topology could know about supported, minimum speeds OS-7705 usba parsing code should take const data pointers OS-7706 usba kernel module should be CERRWARN and smatch clean Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Rob Johnston <rob.johnston@joyent.com> Approved by: John Levon <john.levon@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-23OS-7713 some symbols have the wrong CTF typeJohn Levon1-17/+22
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-04-17OS-7689 ctfdump -c goes off the rails with a missing parentJohn Levon1-5/+104
OS-7694 ctfdump -c drops last type OS-7700 GCC7-derived CTF can double qualifiers on arrays OS-7733 should ignore DW_TAG_subprogram with DW_AT_declaration tags 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: Jerry Jelinek <jerry.jelinek@joyent.com>
2019-04-15 [illumos-gate merge]Jerry Jelinek4-23/+131
commit f47697518b642104e6a9bc6906310e54030d2dc5 10598 loader: implement map-vdisk and unmap-vdisk commands commit 571d0d198e0c9799d6076f93f201f482993955ed 10689 srpt_cm_conn_closed_hdlr() needs a smatch fix commit 663207adb1669640c01c5ec6949ce78fd806efae 10601 Pool allocation classes 10757 Add -gLp to zpool subcommands for alt vdev names Conflicts: usr/src/uts/common/fs/zfs/zio.c usr/src/boot/sys/boot/efi/loader/conf.c
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-09OS-7723 libdemangle missing dependency on libcustrJason King1-0/+1
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Cody Peter Mello <cody.mello@joyent.com> Approved by: Cody Peter Mello <cody.mello@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-09 [illumos-gate merge]Jerry Jelinek2-0/+10
commit a8cc26d68f694b12e371adde16b203d5bad9f9a2 10685 SMB code needs smatch fixes
2019-04-08OS-7260 SmartOS should support booting with loaderJohn Levon2-34/+109
OS-7271 proto.boot should include loader instead of grub OS-7332 RICHMOND-16 mitigation ensnares stock loaders OS-7584 MDB module for disk labelling would be useful OS-7585 Need workaround to EFI boot on AMI BIOS OS-7595 Triton-specific extensions to Loader Portions contributed by: Rob Johnston <rob.johnston@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-04-0410499 Multi-modifier protection (MMP) [fix local build breakage]Jerry Jelinek1-1/+1
2019-04-04 [illumos-gate merge]Jerry Jelinek1-1/+1
commit 8cf549157d2961d6f27e3246932cbf806123de48 10499 Multi-modifier protection (MMP) [fix build race]
2019-04-0410499 Multi-modifier protection (MMP) [fix build race]Joshua M. Clulow1-2/+2
2019-04-04 [illumos-gate merge]Jerry Jelinek12-30/+247
commit 251a62bcb8f02bf0421d03de4ad180a37416657d 10590 Update tzdata to 2019a commit 0c26abfe36e56b0d0ca74a046c85dc41f76d1d59 10597 would like a way to set NMI behavior at boot commit e0f1c0afa46cc84d4b1e40124032a9a87310386e 10499 Multi-modifier protection (MMP) Conflicts: usr/src/uts/i86pc/sys/apic_common.h usr/src/uts/i86pc/os/mlsetup.c usr/src/uts/i86pc/io/pcplusmp/apic_common.c
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-04-02OS-6428 bad free in ctf_dwarf_init_dieJohn Levon25-250/+324
OS-6486 ctfconvert -i never converts OS-6488 ctfconvert should handle empty dies OS-6505 Improve ctfconvert error messages OS-7639 ctfconvert -i option is mis-handled OS-7663 ctf_dwarf_convert_type() relies on un-initialized id OS-7688 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: Robert Mustacchi <rm@joyent.com>
2019-03-29OS-7325 Want configurable output field separator for libofmtSebastien Roy3-47/+63
Portions contributed by: Cody Peter Mello <cody.mello@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-29OS-7676 Add topo method to determine occupant statusRob Johnston13-8/+169
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Jordan Hendricks <jordan.hendricks@joyent.com>
2019-03-29 [illumos-gate merge]Jerry Jelinek2-4/+7
commit 7bb60aaa60bddb378dcbf2dde6bdf8a92d431c55 10600 SPARC console needs a different font commit a8d4dbebc34f1d43f5e8d4ef19e126328bb9fb64 10599 SPARC build broken after 9874 commit 8db4cd03c5ec3c9d082190985988a02dc7345619 10111 dat_dictionary_create() use after free commit fc8ae2ec4282de7ec96f48e11078345f3dc0ac3d 10573 define TASKQID_INVALID as (taskq_id)0
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-28 [illumos-gate merge]Jerry Jelinek2-2/+7
commit bcb78a453dcc6eaa7c33432fac3626514e243154 10106 libreparse needs smatch fixes commit 4aab0a3be69ed9c4e0119c5c3f17d8cac3b27c17 10103 libmlrpc needs smatch fixes commit aa02ea01948372a32cbf08bfc31c72c32e3fc81e 10572 Fix race in dnode_check_slots_free() 10579 Don't allow dnode allocation if dn_holds != 0
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-27OS-7478 Add rust demangling supportrelease-20190328Jason King10-29/+934
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Cody Peter Mello <cody.mello@joyent.com>
2019-03-27OS-7449 Add custom allocators to libcustrJason King3-11/+190
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Mike Gerdts <mike.gerdts@joyent.com>
2019-03-27 [illumos-gate merge]Jerry Jelinek1-5/+8
commit 619a0f6c7269dc1950adc2e401a36d843dd9fa02 10512 Add manual for ztest(1) commit 3df5395b5f23c9954f48ad824db4d3d3570e3d50 10107 librpcsvc needs smatch fixes commit f7e4f33f27df122daef98e5b4b537dc159597da5 10580 pnglite: unchecked function return
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-25 [illumos-gate merge]Jerry Jelinek1-1/+2
commit 61233e713d6c3509d5c076a791c0c2c09cf5cb76 10112 cfga_sata.c needs a smatch fix commit 6efbc8a970529717f3354109b91e2916527c0286 10575 tem: NULL pointer errors commit 776eb96f94b73b997414a501a97c83ac35469fa4 10574 iwscn: NULL pointer errors commit 3bb8546d907194e91bea367d863eb10ce3fe6621 10558 usbkbm: cast between incompatible function types commit 9a03ec49b04c02049a85eeb9407566482f469376 10557 srv.9e and put.9e synopsis is broken
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-22 [illumos-gate merge]Jerry Jelinek1-3/+5
commit d6d53e641a3b316390a4230fe98744882d9a4c10 10555 fix build race in usr/src/boot/sys/boot/i386/loader commit 5e06bd59d59926d13427e57eb4e217f32c667310 10090 rt2860_free_rx_ring doesn't need to check for NULL array commit 1752e73c5b177fe2f2284c58df9d4e11fa24ffdf 10542 spdsock: cast between incompatible function types commit 2bcc9601e83363d9147978a7616864c880b5c05a 10538 sppp: cast between incompatible function types commit a484bfa2079bc90573ca9a036def78c0cc8aa809 10537 softmac: cast between incompatible function types commit 1ef1b39822f02981cf693197a94ee81aa30c1c26 10536 st: cast between incompatible function types commit a2f10c447c8cfe20ac08f6c287fe67307f2a5175 10481 loader.efi: comconsole needs to identify the port handle better commit c83793e8beca1f638b19f9fba9570ee705f7a494 10116 mech_dh needs smatch fixes
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-21 [illumos-gate merge]Jerry Jelinek1-3/+7
commit feb176ed7e0a1726bd78c575ee5225ae49b5b0a8 10108 libstmfproxy needs smatch fixes
2019-03-21OS-7241 topo_sensor_state_name() needs workRob Johnston2-9/+35
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Jordan Hendricks <jordan.hendricks@joyent.com>