Illumos/gate d0843a3usr/src/tools/cw cw.c cw.1onbld

9899 cw(1onbld) should shadow more compilation
9888 cw shouldn't use __unused
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Dan McDonald <danmcd at joyent.com>
Reviewed by: Yuri Pankov <yuripv at yuripv.net>
Approved by: Gordon Ross <gwr at nexenta.com>

Illumos/gate 42a3762usr/src/tools/scripts git-pbchk.py

9913 git pbchk should still accept -b
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andy Fiddaman <omnios at citrus-it.co.uk>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate bc4c0ffusr/src/lib/libzfs/common libzfs_mount.c

9880 Race in ZFS parallel mount
Reviewed by: Jason King <jason.king at joyent.com>
Reviewed by: Sebastien Roy <sebastien.roy at delphix.com>
Approved by: Joshua M. Clulow <josh at sysmgr.org>

Illumos/gate 975041dusr/src/cmd/smbsrv/smbd smbd_logon.c, usr/src/lib/smbsrv/libmlsvc/common netr_logon.c mlsvc_domain.c

9873 SMB logon fails during 1st second after service start
Reviewed by: Matt Barden <matt.barden at nexenta.com>
Reviewed by: Evan Layton <evan.layton at nexenta.com>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate ab61854usr/src/cmd/mdb/common/modules/genunix thread.c, usr/src/cmd/prstat prstat.c

8158 Want named threads API
9857 proc manpages should have LIBRARY section
Reviewed by: Andy Fiddaman <andy at omniosce.org>
Reviewed by: Gordon Ross <gwr at nexenta.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 62f6329usr/src/lib/smbsrv/libsmb/common smb_sam.c

9881 smbd terminated by SIGABRT after smb_account_free()
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Jason King <jason.brian.king at gmail.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate a897f28usr/src/cmd/boot/bootadm bootadm_loader.c bootadm.c, usr/src/lib/libbe/common be_list.c libbe.h

9892 Most consumers of be_list() do not need snapshots
Reviewed by: Dominik Hassler <hadfl at omniosce.org>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Reviewed by: Jim Klimov <jim at cos.ru>
Reviewed by: Dan McDonald <danmcd at joyent.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>

Illumos/gate 4ac23efusr/src/lib/libbe/common be_list.c

9891 libbe slow building snapshot list
Reviewed by: Dominik Hassler <hadfl at omniosce.org>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Reviewed by: Jim Klimov <jim at cos.ru>
Reviewed by: Dan McDonald <danmcd at joyent.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>

Illumos/gate abc102cusr/src/lib/libbe/common be_list.c

9889 libbe reads defaults too often
Reviewed by: Dominik Hassler <hadfl at omniosce.org>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Jim Klimov <jim at cos.ru>
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Reviewed by: Joshua M. Clulow <josh at sysmgr.org>
Reviewed by: Dan McDonald <danmcd at joyent.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>

Illumos/gate b664061usr/src/uts/common/io/fibre-channel/ulp fcip.c

9900 fcip: debug statement is mixed up
Reviewed by: Andy Fiddaman <andy at omniosce.org>
Reviewed by: Yuri Pankov <yuripv at yuripv.net>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate e6ae048usr/src/uts/common/fs/nfs nfs4_srv_readdir.c, usr/src/uts/common/nfs nfs4_attr.h

7782 nfs: READDIR for referrals should conform to RFC 7530
Reviewed by: Dan McDonald <danmcd at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Gerg^V?~E^V?~Q Doma <domag02 at gmail.com>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate 38e36c5usr/src/tools/scripts git-pbchk.py

9867 pbchk exception_lists only work from top srcdir
Reviewed by: Yuri Pankov <yuripv at yuripv.net>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 96c8483usr/src/pkg/manifests system-test-smbclient.mf, usr/src/test/smbclient-tests/cmd/file_trunc file_trunc.c

7519 Add smbclient tests
Portions contributed by: Gordon Ross <gwr at nexenta.com>
Portions contributed by: Jilin Xpd <jilinxpd at gmail.com>
Reviewed by: Jean McCormack <jean.mccormack at nexenta.com>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate cc543d0usr/src/lib/libcryptoutil/common util.c cryptoutil.h, usr/src/lib/pkcs11/pkcs11_kernel/common kernelUtil.c kernelGlobal.h

9876 Move crypto2pkcs11_error_number to libcryptoutil
Reviewed by: Dan McDonald <danmcd at joyent.com>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Andy Fiddaman <omnios at citrus-it.co.uk>
Reviewed by: C Fraire <cfraire at me.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate e239895usr/src/lib/libdemangle/common cxx.c

9896 libdemangle: error: variable 'result' might be clobbered by 'longjmp' or 'vfork'
Reviewed by: Andy Fiddaman <andy at omniosce.org>
Reviewed by: C Fraire <cfraire at me.com>
Reviewed by: Jason King <jason.brian.king at gmail.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate a6d1011usr/src/cmd/fs.d/smbclnt/smbutil discon.c smbutil.c, usr/src/lib/libsmbfs/smb ctx.c findvc.c

9472 Add smbutil discon command
Reviewed by: Matt Barden <matt.barden at nexenta.com>
Reviewed by: Evan Layton <evan.layton at nexenta.com>
Reviewed by: Andy Fiddaman <andy at omniosce.org>
Reviewed by: Ken Mays <kmays2000 at gmail.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 4226f63usr/src/lib/libdemangle/common cxx.c cxx_util.c, usr/src/test/util-tests/tests/demangle llvm-stdcxxabi.c gcc-libstdc++.c

6375 Add native name demangling support
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Richard Lowe <richlowe at richlowe.net>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 83b4671usr/src/boot/sys/boot/efi/boot1 Makefile.com, usr/src/boot/sys/boot/efi/loader framebuffer.c Makefile

9664 loader: need UEFI32 support
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Andrew Stormont <andyjstormont at gmail.com>
Approved by: Gordon Ross <gwr at nexenta.com>

Illumos/gate e1bf37busr/src Makefile.master, usr/src/cmd/sgs/rtld/sparcv9 Makefile

9884 cw(1) should use -fpic rather than -Kpic
Reviewed by: Jason King <jason.brian.king at gmail.com>
Reviewed by: Andy Stormont <andyjstormont at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: John Levon <john.levon at joyent.com>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate a5d83f5usr/src/lib/libresolv2/common/nameser ns_print.c

9886 libresolv2: fix fallthrough in ns_sprintrrf()
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 3f8dd77usr/src/lib/krb5/plugins/preauth/pkinit pkinit_crypto_openssl.c

9887 pkinit_crypto_openssl.c: warnings from newer gcc
Reviewed by: Yuri Pankov <yuri.pankov at nexenta.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Jason King <jason.king at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate fdfb62cusr/src/uts/common Makefile.files, usr/src/uts/common/ktli t_koptmgmt.c

9877 Want t_koptmgmt in kTLI
Reviewed by: Evan Layton <evan.layton at nexenta.com>
Reviewed by: Matt Barden <matt.barden at nexenta.com>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 437d9dausr/src/cmd/smbsrv/smbd smbd_logon.c

9872 SMB server does not accept username at hostname
Reviewed by: Evan Layton <evan.layton at nexenta.com>
Reviewed by: Gordon Ross <gordon.ross at nexenta.com>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 5267591usr/src/cmd/zfs zfs_main.c, usr/src/man/man1m zfs.1m

9466 add JSON output support to channel programs
Reviewed by: Matt Ahrens <matt at delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro at delphix.com>
Reviewed by: Sara Hartse <sara.hartse at delphix.com>
Reviewed by: John Kennedy <john.kennedy at delphix.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate b68ddc7exception_lists wscheck, usr/src/uts/common/io/qede qede_gld.c

9724 qede needs updates for newer GCC
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Anand Khoje <Anand.Khoje at cavium.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 6b544f0usr/src Makefile.master

9420 need GCC options to disable function cloning
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 2119ebeusr/src/cmd/boot/scripts create_ramdisk.ksh

9860 cpio_cleanup: $tarchive is already fully-qualified
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andrew Stormont <andyjstormont at gmail.com>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate 8522c52usr/src/lib/fm/topo/libtopo/common topo_subr.c hc.c, usr/src/lib/fm/topo/modules/common/smbios smbios_enum.c

9584 Extend smbios enumerator module to enumerate motherboard
9850 authority and system pgroups missing on some nodes
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 54b146cusr/src/uts/common/io/vioif vioif.c

7096 vioif should not log to the console on boot, or ever
Reviewed by: Alexander Pyhalov <apyhalov at gmail.com>
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate fb23c57usr/src Makefile.master, usr/src/cmd/ldapcachemgr Makefile

9868 unused cw translations should be removed
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: John Levon <john.levon at joyent.com>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate b86e7e3usr/src/uts/common/fs/zfs metaslab.c

9738 9112 broke third block copy allocations within one metaslab group
Reviewed by: Paul Dagnelie <pcd at delphix.com>
Reviewed by: George Wilson <george.wilson at delphix.com>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate 4e75ba6usr/src/uts/common/fs/zfs vdev.c

9690 metaslab of vdev with no space maps was flushed during removal
Reviewed by: Matt Ahrens <matt at delphix.com>
Reviewed by: Brad Lewis <brad.lewis at delphix.com>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate 29bf2d6usr/src/uts/common/fs/zfs arc.c aggsum.c

9688 aggsum_fini leaks memory
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro at delphix.com>
Reviewed by: Matt Ahrens <matt at delphix.com>
Reviewed by: Prashanth Sreenivasa <pks at delphix.com>
Reviewed by: Jorgen Lundman <lundman at lundman.net>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate 6aee0adusr/src/cmd/ztest ztest.c, usr/src/uts/common/fs/zfs spa_misc.c

9681 ztest failure in spa_history_log_internal due to spa_rename()
Reviewed by: Prakash Surya <prakash.surya at delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro at delphix.com>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate ade2c82usr/src/cmd/zdb zdb.c, usr/src/uts/common/fs/zfs spa.c

9682 page fault in dsl_async_clone_destroy() while opening pool
Reviewed by: Brad Lewis <brad.lewis at delphix.com>
Reviewed by: Matt Ahrens <matt at delphix.com>
Reviewed by: Sara Hartse <sara.hartse at delphix.com>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate 84927f5usr/src/uts/common/fs/zfs/sys vdev_impl.h

9862 fix typo in comment in vdev_impl.h
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate aa9ef48usr/src Makefile.master Makefile, usr/src/cmd/dtrace/test/tst/common/pid tst.gcc.c tst.gcc.d

9128 cw(1onbld) should be able to run multiple shadows
9129 file-locking tests shouldn't build multiple source files in one compiler invocation
9130 DTrace tst.gcc.d isn't useful
9132 cw(1onbld) shouldn't shadow pure preprocessing
Portions contributed by: Richard Lowe <richlowe at richlowe.net>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate bdc560ausr/src/lib/libipsecutil Makefile.com, usr/src/lib/libipsecutil/common ipsec_libssl_setup.c ipsec_util.c

5159 ipsec_libssl_setup.c loads libcrypto
Reviewed by: Andy Fiddaman <andy at omniosce.org>
Reviewed by: Igor Kozhukhov <igor at dilos.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 15aeb4dusr/src/boot/sys/boot/i386/libi386 pxe.h

9848 libi386: pxe.h cstyle cleanup
Reviewed by: Andrew Stormont <andyjstormont at gmail.com>
Approved by: Robert Mustacchi <rm at joyent.com>

Illumos/gate 42e00f0usr/src/lib/pkcs11/pkcs11_tpm/common apiutil.c

9856 pkcs11_tpm.so.1 changes syslog facility
Reviewed by: Jason King <jason.brian.king at gmail.com>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 6272273usr/src/uts/i86pc/io/apix apix.c, usr/src/uts/i86pc/os trap.c

9797 dump_ttrace() chokes on softints
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: John Levon <levon at movementarian.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Yuri Pankov <yuripv at yuripv.net>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate d48defcusr/src/uts/common/io/vioblk vioblk.c

9793 vioblk attach doesn't always fail when it should
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate 9f16e2dusr/src/uts/common/io/virtio virtio.c

9790 buffer freed to wrong cache in virtio_register_intx
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: Yuri Pankov <yuripv at yuripv.net>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate 58b4950usr/src/uts/common/sys pci.h, usr/src/uts/i86pc/io/apix apix.c

9827 clean up some space-tab sequences
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate fbd54cbusr/src/uts/i86pc/io/pcplusmp apic_common.c, usr/src/uts/i86pc/os cpuid.c

9792 support bhyve as a platform
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Yuri Pankov <yuripv at yuripv.net>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate 35b5a2eusr/src/uts/common/os main.c

9798 exec_init() should be able to handle a 64bit init process
Reviewed by: John Levon <john.levon at joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate b5cf5bcusr/src/uts/common/sys pci.h pci_impl.h, usr/src/uts/intel/io/pci pci_boot.c pci_pci.c

9796 want support for PCI BAR size >= 4G
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andy Fiddaman <omnios at citrus-it.net>
Reviewed by: Garrett D'Amore <garrett at damore.org>
Approved by: Garrett D'Amore <garrett at damore.org>

Illumos/gate ea01a15usr/src/tools/scripts bldenv.sh

9831 bldenv should adapt to nightly debug settings
Reviewed by: Hans Rosenfeld <hans.rosenfeld at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate eabe844usr/src/tools/scripts git-pbchk.1onbld git-pbchk.py

9803 pbchk could use a -c option
9825 pbchk -b option should be -p
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate 856f620usr/src/cmd/file file.c Makefile, usr/src/cmd/sgs/libconv/common elf.c elf.msg

9819 update sys/elf.h for recent processors like aarch64/risc-v
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Reviewed by: Richard Lowe <richlowe at richlowe.net>
Reviewed by: Jake Saferstein <jake.saferstein at joyent.com>
Reviewed by: Brad Walker <bwalker at musings.com>
Approved by: Dan McDonald <danmcd at joyent.com>