Code Review for io-lx-public

Prepared by:Dan McDonald (danmcd) on 2016-Oct-05 00:32 -0400 EDT
Workspace:/export/home/danmcd/ws/io-lx-public (at 3fd4b565ae62)
Compare against: /export/home/danmcd/ws/io-lx-public (explicit revision a10017bbd3ff)
Summary of changes: 105026 lines changed: 102167 ins; 1259 del; 1600 mod; 414567 unchg
Patch of changes: io-lx-public.patch

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw README

Last illumos-joyent commit:  d21e83058c8edeb1becd9202380d088cb056f0c4
Last illumos-joyent commit:  6a41e7224f5dce21547e07eced881016dac9e18a
Last illumos-joyent commit: 12a530b543020dda34973ca16b31b66007141141
Update README to reflect recent developments.
Last illumos-joyent commit:  0c8abfcb7a94e2016322218587cc80b4bd710642
Last illumos-joyent commit:  fae673de1d84b263986f4dcdde53f15478ad664d
Last illumos-joyent commit:  8f78817ba2018a5f76ebe78b251e2ad4b5b35457
Last illumos-joyent commit:  bd10f95d113c1cd280d324e137d4b9f1a75fb23e
LX zones now boot, with enough configuration a priori.
Much more testing is required.
Last illumos-joyent commit: e21a4068a53d8be1a50ef97dfcc0e3d66aaf00b2
Update last illumos-joyent commit
Start tracking last illumos-joyent commit we used for pulling LX changes
Update README
88 lines changed: 88 ins; 0 del; 0 mod; 49 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw exception_lists/check_rtime

Suppress VDSO complaints from check_rtime.
6 lines changed: 6 ins; 0 del; 0 mod; 236 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw exception_lists/interface_check

Suppress lx_brand and VDSO complains from ABI checking.
3 lines changed: 3 ins; 0 del; 0 mod; 110 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw exception_lists/packaging

sys/limits.h shouldn't be in the exception_lists anymore.
Move zfd(7D) out of brand/lx and into system/zones, plus some brand/lx header
file removals.
7 lines changed: 7 ins; 0 del; 0 mod; 987 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/Makefile.lint

OS-2834 ship lx brand
1 line changed: 1 ins; 0 del; 0 mod; 522 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/Makefile.master.64
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
2 lines changed: 1 ins; 0 del; 1 mod; 82 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/Targetdirs

Larval lx_install script.
OS-2834 ship lx brand
6 lines changed: 6 ins; 0 del; 0 mod; 1890 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/etc/sock2path.d/system%2Fkernel

OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
4 lines changed: 4 ins; 0 del; 0 mod; 54 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/lib/ipmgmtd/Makefile

OS-4335 ipadm_door_call should work in a branded zone without chroot
OS-4336 ipmgmtd should work in a branded zone without chroot
Reviewed by: Robert Mustacchi <rm@joyent.com>
3 lines changed: 2 ins; 0 del; 1 mod; 87 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c

OS-2837 lx brand only works with shared IP stacks
31 lines changed: 18 ins; 7 del; 6 mod; 851 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_impl.h

OS-4335 ipadm_door_call should work in a branded zone without chroot
OS-4336 ipmgmtd should work in a branded zone without chroot
Reviewed by: Robert Mustacchi <rm@joyent.com>
19 lines changed: 3 ins; 10 del; 6 mod; 179 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_main.c

OS-4335 ipadm_door_call should work in a branded zone without chroot
OS-4336 ipmgmtd should work in a branded zone without chroot
Reviewed by: Robert Mustacchi <rm@joyent.com>
55 lines changed: 34 ins; 0 del; 21 mod; 558 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_path.c

OS-4335 ipadm_door_call should work in a branded zone without chroot
OS-4336 ipmgmtd should work in a branded zone without chroot
Reviewed by: Robert Mustacchi <rm@joyent.com>
84 lines changed: 84 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c

OS-4335 ipadm_door_call should work in a branded zone without chroot
OS-4336 ipmgmtd should work in a branded zone without chroot
Reviewed by: Robert Mustacchi <rm@joyent.com>
27 lines changed: 14 ins; 1 del; 12 mod; 1679 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/sbin/dhcpagent/defaults.c

OS-5073 lx-branded zones should request options when using DHCP
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
33 lines changed: 30 ins; 0 del; 3 mod; 284 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/usr.sbin/arp.c

OS-4807 arp(1M) and ndp(1M) should use zone_get_nroot()
8 lines changed: 5 ins; 0 del; 3 mod; 410 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/cmd-inet/usr.sbin/ndp.c

OS-4807 arp(1M) and ndp(1M) should use zone_get_nroot()
9 lines changed: 8 ins; 1 del; 0 mod; 1110 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/devfsadm/i386/Makefile

OS-2834 ship lx brand
3 lines changed: 3 ins; 0 del; 0 mod; 32 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/cmd/devfsadm/i386/lx_link_i386.c

OS-3748 lxbrand remove the remaining obsolete audio code
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-2834 ship lx brand
81 lines changed: 81 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/devfsadm/misc_link.c

OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
40 lines changed: 40 ins; 0 del; 0 mod; 717 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/dlmgmtd/dlmgmt_db.c

Reduce lint
dlmgmt mismerge
OS-3839 dlmgmtd clobbers its cachefile with excessive use of /native (fix lx)
OS-3839 dlmgmtd clobbers its cachefile with excessive use of /native
OS-3342 dlmgmtd needs to be mindful of lock ordering
OS-2608 dlmgmtd needs to record zone identifiers
OS-3492 zone_free asserts to its destruction when dlmgmtd has fallen
OS-3494 zoneadmd tears down networking too soon when boot fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3007 dlmgmtd needs to work with non-native zones
160 lines changed: 146 ins; 0 del; 14 mod; 1445 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/dlmgmtd/dlmgmt_door.c

Forgot to merge in unlink of ZONE_LOCK in dlmgmtd.
dlmgmt mismerge
Mismerge dlmgmt_door.c
OS-3342 dlmgmtd needs to be mindful of lock ordering
OS-2608 dlmgmtd needs to record zone identifiers
OS-3492 zone_free asserts to its destruction when dlmgmtd has fallen
OS-3494 zoneadmd tears down networking too soon when boot fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
47 lines changed: 47 ins; 0 del; 0 mod; 1448 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/dlmgmtd/dlmgmt_impl.h

dlmgt mismerge (continued)
OS-3342 dlmgmtd needs to be mindful of lock ordering
OS-2608 dlmgmtd needs to record zone identifiers
OS-3492 zone_free asserts to its destruction when dlmgmtd has fallen
OS-3494 zoneadmd tears down networking too soon when boot fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
4 lines changed: 3 ins; 0 del; 1 mod; 147 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/dlmgmtd/dlmgmt_main.c

Forgot to merge in unlink of ZONE_LOCK in dlmgmtd.
dlmgmt mismerge
OS-3007 dlmgmtd needs to work with non-native zones
25 lines changed: 20 ins; 0 del; 5 mod; 541 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/dlmgmtd/dlmgmt_util.c

OS-3342 dlmgmtd needs to be mindful of lock ordering
OS-2608 dlmgmtd needs to record zone identifiers
OS-3492 zone_free asserts to its destruction when dlmgmtd has fallen
OS-3494 zoneadmd tears down networking too soon when boot fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 1 ins; 0 del; 0 mod; 795 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/fs.d/mount.c

OS-5509 /native/usr/bin/mount does not work in LX
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
5 lines changed: 4 ins; 0 del; 1 mod; 1629 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/fs.d/nfs/lib/nfs_sec.c

OS-5221 nfs mount should work without /etc/nfssec.conf inside LX zoneroot
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
7 lines changed: 6 ins; 0 del; 1 mod; 1075 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/mdb/common/mdb/mdb_demangle.c

OS-3478 lx brand: mdb(1) can't load C++ demangler
9 lines changed: 7 ins; 0 del; 2 mod; 350 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/mdb/common/mdb/mdb_main.c

OS-3417 lx brand: need /dev/log to be a Unix domain socket (DEBUG build)
OS-3419 lx brand: "mdb -p [pid]" fails
10 lines changed: 7 ins; 0 del; 3 mod; 1142 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/mdb/common/modules/ipc/ipc.c

OS-5223 removed shm segment is no longer available
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
4 lines changed: 3 ins; 0 del; 1 mod; 741 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/mdb/common/modules/libc/libc.c

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
22 lines changed: 14 ins; 2 del; 6 mod; 1172 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/pgrep/pgrep.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
8 lines changed: 8 ins; 0 del; 0 mod; 715 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/prstat/prstat.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
32 lines changed: 29 ins; 0 del; 3 mod; 1681 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ps/ps.c

OS-4408 /native/usr/bin/ps should work in a lx branded zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
11 lines changed: 8 ins; 0 del; 3 mod; 2525 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/Makefile.bld

Reduce lint
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
38 lines changed: 34 ins; 0 del; 4 mod; 127 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/cmd/ptools/common/ptools_common.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
50 lines changed: 50 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/cmd/ptools/common/ptools_common.h

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
36 lines changed: 36 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/pargs/pargs.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2949 add support for AT_RANDOM aux vector entry
6 lines changed: 4 ins; 0 del; 2 mod; 1565 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/pfiles/pfiles.c

OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
2 lines changed: 1 ins; 0 del; 1 mod; 813 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/pflags/pflags.c

OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
4 lines changed: 3 ins; 0 del; 1 mod; 651 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/pmap/pmap.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 2 ins; 0 del; 4 mod; 1663 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/pmap/pmap_common.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
3 lines changed: 1 ins; 0 del; 2 mod; 165 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/preap/preap.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 2 ins; 2 del; 2 mod; 267 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/psig/psig.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
19 lines changed: 3 ins; 2 del; 14 mod; 420 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/ptime/ptime.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
5 lines changed: 3 ins; 0 del; 2 mod; 308 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/ptree/ptree.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
12 lines changed: 5 ins; 2 del; 5 mod; 561 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/pwait/pwait.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
18 lines changed: 5 ins; 2 del; 11 mod; 190 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/ptools/pwdx/pwdx.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 3 ins; 2 del; 1 mod; 83 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/common/utils.c

OS-11 rcapd behaves poorly when under extreme load
75 lines changed: 1 ins; 74 del; 0 mod; 259 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/common/utils.h

OS-11 rcapd behaves poorly when under extreme load
2 lines changed: 1 ins; 1 del; 0 mod; 106 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/rcapadm/Makefile

Clean up rcap ELF runtime check issues
1 line changed: 0 ins; 0 del; 1 mod; 84 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/rcapadm/rcapadm.c

OS-399 zone phys. mem. cap should be a rctl and have associated kstat
14 lines changed: 11 ins; 1 del; 2 mod; 338 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/rcapd/Makefile.rcapd

Clean up rcap ELF runtime check issues
1 line changed: 0 ins; 0 del; 1 mod; 112 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/rcapd/rcapd_collection_zone.c

OS-11 rcapd behaves poorly when under extreme load
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
110 lines changed: 69 ins; 12 del; 29 mod; 58 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/rcapd/rcapd_scanner.c

OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
2 lines changed: 1 ins; 0 del; 1 mod; 1069 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/rcap/rcapstat/Makefile

Clean up rcap ELF runtime check issues
1 line changed: 0 ins; 0 del; 1 mod; 88 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/sgs/libconv/common/corenote.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2949 add support for AT_RANDOM aux vector entry
13 lines changed: 2 ins; 0 del; 11 mod; 2573 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/sgs/libconv/common/corenote.msg

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2949 add support for AT_RANDOM aux vector entry
6 lines changed: 5 ins; 0 del; 1 mod; 1122 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/sgs/librtld_db/common/librtld_db.msg

OS-3477 lx brand: mdb(1) doesn't find branded symbols
OS-3426 lx brand: dtrace(1M) doesn't find branded symbols
5 lines changed: 4 ins; 0 del; 1 mod; 128 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/sgs/librtld_db/common/rd_elf.c

OS-3477 lx brand: mdb(1) doesn't find branded symbols
OS-3426 lx brand: dtrace(1M) doesn't find branded symbols
24 lines changed: 20 ins; 0 del; 4 mod; 893 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/sgs/rtld/common/external.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
16 lines changed: 15 ins; 0 del; 1 mod; 742 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/truss/print.c

OS-4647 lx fails to mount nfs share - Transport endpoint is already connected
OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
11 lines changed: 9 ins; 0 del; 2 mod; 2876 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/truss/systable.c

OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 4 ins; 0 del; 2 mod; 1735 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zlogin/zlogin.c

Reduce lint
OS-5388 zoneadmd comes up asynchronously so zlogin can happen too soon
Reviewed by: Josh Wilsdon <jwilsdon@joyent.com>
OS-5198 zlogin must handle args when su binary is missing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5185 zlogin fails to execute command when 'su' is missing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4863 regression in zlogin non-tty mode handling [tighten parsing]
OS-4863 regression in zlogin non-tty mode handling
Reviewed by: Josh Wilsdon <jwilsdon@joyent.com>
OS-4792 zlogin errors when trying to attach to a container using log-driver
OS-4569 zlogin doesn't properly quote arguments
OS-4577 regression in zlogin argument handling [backout OS-4569]
OS-4569 zlogin doesn't properly quote arguments
OS-4136 would like SIGUSR to zlogin to switch in and out of '-N' modes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4166 zlogin to zfd needs TIOCSWINSZ support
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4109 'zlogin -I' should close /dev/zfd/0 when it exits
OS-3876 custr could allow management of a static buffer
OS-3879 want custr to have a printf function
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3869 'zlogin -Q -i <zonename> <command>' does not return exit status of <command>
OS-3777 zlogin -I needs to work with docker run when in logging mode
OS-3764 'zlogin -i <zonename> /native/usr/vm/sbin/dockerexec /bin/sh' merges argv[] into single argument
OS-3741 zlogin -I has strange echo behavior
OS-3727 Would like to be able to selectively close descriptors when using zlogin -I
OS-3728 zlogin -I and zoneadmd zfd logging can be streamlined
OS-3718 non-interactive zlogin fails to open /dev/tty, tcgetpgrp() on stderr fails
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3529 would like zlogin -i
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3388 'zlogin <zonename> <command>' does not work for LX branded zones
OS-2834 ship lx brand
494 lines changed: 370 ins; 31 del; 93 mod; 2166 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zoneadm/svc-zones

OS-2834 ship lx brand
1 line changed: 0 ins; 0 del; 1 mod; 175 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zoneadm/zoneadm.c

OS-200 need a better mechanism for storing persistent zone_did
Small comment-out because we don't include OS-200
OS-4019 zoneadm is slow with 1000s of zones
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3429 Expose zone's init exit status
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
133 lines changed: 94 ins; 21 del; 18 mod; 5757 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zoneadmd/Makefile

Add zfd.c to zoneadmd's Makefile, a bit more not-yet ifdef-out.
OS-11 rcapd behaves poorly when under extreme load
3 lines changed: 1 ins; 0 del; 2 mod; 72 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/cmd/zoneadmd/mcap.c

Reduce lint
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3084 still seeing >1s proc stop times from the zone memory capper
OS-3341 zone memcapper calling vm_getusage on kvm zones causes latency bubbles
OS-3088 need a lighterweight page invalidation mechanism for zone memcap
OS-3084 still seeing >1s proc stop times from the zone memory capper
OS-3082 zone phys mem capper doesn't run for lx branded zone (fix test)
OS-3082 zone phys mem capper doesn't run for lx branded zone
OS-3028 zoneadmd memory capper stopped process for 19s
OS-2975 zone memory capper should set PR_RLC when controlling a process
OS-2972 memory capper should sleep longer when skipping pageout
OS-2971 support for dynamic setting of memory cap tuables
OS-2843 zone memory capper should work with lx branded zones
OS-2960 reduce zone memory capper pageout impact
OS-2824 reduce memcap impact from shared page overcount
OS-2280 zonememstat reports 0 rss for kvm-branded zones
OS-1260 zoneadmd core dump in mcap_zone()
OS-803 make phys mem cap a bit harder
OS-1043 minimize vm_getusage impact
OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
OS-750 improve RUSAGESYS_GETVMUSAGE for zoneadmd
OS-742 zoneadmd crash leaves zones unable to shutdown
OS-409 intermittent door_call failed: Interrupted system call errors from zoneadmd
OS-4 Enhance zone memory capping so it can be setup to kill node processes that are over a limit.
OS-11 rcapd behaves poorly when under extreme load
1188 lines changed: 1188 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zoneadmd/vplat.c

OS-5330 zoneadm mounting an lx or joyent branded zone fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
(NOTE: Manual port, because of divergence from SmartOS.)
Network interfaces need to configure in /native/dev for LX.
Mismerged snap_hndl (should be handle) blocked lipkg zone boot
(NOTE:  There are other instances of snap_hndl we pulled in from
        illumos-joyent that may need to be nuked too.)
OS-1571 Placate gcc -Wparentheses
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5292 zoneadmd should infer zone.max-processes
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4254 libbrand token substitution incomplete for mount entries
OS-3776 project rctls should be in sync with zone rctls
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
206 lines changed: 122 ins; 52 del; 32 mod; 5240 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zoneadmd/zcons.c

Merge cleanup from previous six commits
OS-2564 zone boot failed: could not start zoneadmd
OS-4166 zlogin to zfd needs TIOCSWINSZ support
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3075 zone long boot args aren't passed through
118 lines changed: 84 ins; 19 del; 15 mod; 943 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/cmd/zoneadmd/zfd.c

Reduce lint
OS-5424 zoneadmd should create full set of zfds
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5052 zoneadmd should be able to rotate files when they reach a specified size
Reviewed by: Josh Wilsdon <josh.wilsdon@joyent.com>
OS-4854 would like option to disable gz logging via zfd
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4799 zfd log device mode still needs GZ logging
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4694 need support for in-zone docker logging
OS-4659 lxbrand should tolerate setsockopt(SO_PASSSEC)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4655 option to disable zfd logging
OS-4136 would like SIGUSR to zlogin to switch in and out of '-N' modes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4166 zlogin to zfd needs TIOCSWINSZ support
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4108 'zlogin -I' should have some way to know that /dev/zfd/0 is being read inside the zone
OS-4109 'zlogin -I' should close /dev/zfd/0 when it exits
OS-4099 lxbrand bash lacks job control when using zfd tty
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3727 Would like to be able to selectively close descriptors when using zlogin -I
OS-3728 zlogin -I and zoneadmd zfd logging can be streamlined
OS-3723 zlog-mode=interactive needs to also do logging
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
1429 lines changed: 1429 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zoneadmd/zoneadmd.c

OS-5330 zoneadm mounting an lx or joyent branded zone fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
(NOTE: Manual port, because of divergence from SmartOS.)
OS-3831 lxbrand /proc/cmdline should reflect zone boot arguments
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
Remove most KEBE comments and accompanying unused code or variables/fields.
Merge cleanup from previous six commits
OS-200 need a better mechanism for storing persistent zone_did
OS-2564 zone boot failed: could not start zoneadmd
OS-1763 mount of /etc/svc/volatile failed: Device busy
OS-511 make zonecfg device resource extensible, like the net resource
OS-224 add more zonecfg net properties
Reduce lint
Add zfd.c to zoneadmd's Makefile, a bit more not-yet ifdef-out.
zoneadmd mismerge (we don't support debug yet)
OS-4932 zoneadm boot args not passed to lx init
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4781 would like to be able to add CT_PR_EV_EXIT to fatal event set of current contract
OS-4253 lxbrand ubuntu 15.04 won't boot because /sbin/init is a symlink
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3429 Expose zone's init exit status
OS-3342 dlmgmtd needs to be mindful of lock ordering
OS-2608 dlmgmtd needs to record zone identifiers
OS-3492 zone_free asserts to its destruction when dlmgmtd has fallen
OS-3494 zoneadmd tears down networking too soon when boot fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3077 restarted zoneadmd uses invalid zlogp
OS-3075 zone long boot args aren't passed through
OS-11 rcapd behaves poorly when under extreme load
402 lines changed: 308 ins; 47 del; 47 mod; 2204 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zoneadmd/zoneadmd.h

OS-5330 zoneadm mounting an lx or joyent branded zone fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
(NOTE: Manual port, because of divergence from SmartOS.)
OS-2564 zone boot failed: could not start zoneadmd
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3075 zone long boot args aren't passed through
OS-11 rcapd behaves poorly when under extreme load
20 lines changed: 17 ins; 2 del; 1 mod; 169 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zonecfg/zonecfg.c

OS-200 need a better mechanism for storing persistent zone_did
OS-511 make zonecfg device resource extensible, like the net resource
OS-224 add more zonecfg net properties
OS-216 store all net config info on zone
Reduce lint
OS-5139 cpu_cap is sometimes off by 1 when set with package fss or cap_cap direct update
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
466 lines changed: 364 ins; 64 del; 38 mod; 7198 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zonecfg/zonecfg.h

OS-224 add more zonecfg net properties
OS-216 store all net config info on zone
6 lines changed: 5 ins; 0 del; 1 mod; 240 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zonecfg/zonecfg_grammar.y

OS-224 add more zonecfg net properties
OS-216 store all net config info on zone
6 lines changed: 5 ins; 0 del; 1 mod; 1139 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zonecfg/zonecfg_lex.l

OS-224 add more zonecfg net properties
OS-216 store all net config info on zone
21 lines changed: 20 ins; 0 del; 1 mod; 532 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/cmd/zonestat/zonestatd/zonestatd.c

OS-399 zone phys. mem. cap should be a rctl and have associated kstat
10 lines changed: 3 ins; 6 del; 1 mod; 4869 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/lx_auxv.c

OS-5477 lxbrand env manipulation causes ld-linux woes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-5202 Support AT_SECURE & AT_*ID in LX
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
96 lines changed: 96 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/lx_auxv.h

OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
32 lines changed: 32 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/lx_errno.c

OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
206 lines changed: 206 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/lx_errno.h

OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
29 lines changed: 29 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/lx_signum.c

OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-3152 RT signals broken in lx brand
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2834 ship lx brand
339 lines changed: 339 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/lx_signum.h

OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
114 lines changed: 114 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/lx_syscall.h

OS-4438 lxbrand ptrace should support PTRACE_GETSIGINFO
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3744 lxbrand should record lx_fsbase in cores
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
95 lines changed: 95 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/tools/Makefile

OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
42 lines changed: 42 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/tools/README.md

OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
39 lines changed: 39 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/common/brand/lx/tools/gen_errno.c

OS-4498 custr_cstr() should never return NULL
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
444 lines changed: 444 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/common/list/list.c

Reduce lint
11 lines changed: 10 ins; 0 del; 1 mod; 250 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/head/libzonecfg.h

Merge cleanup from previous six commits
OS-200 need a better mechanism for storing persistent zone_did
OS-511 make zonecfg device resource extensible, like the net resource
OS-224 add more zonecfg net properties
OS-216 store all net config info on zone
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
45 lines changed: 33 ins; 12 del; 0 mod; 588 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/head/limits.h

OS-3752 Increase IOV_MAX to at least 1024
4 lines changed: 2 ins; 2 del; 0 mod; 330 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/head/regexp.h

OS-2834 ship lx brand
6 lines changed: 0 ins; 0 del; 6 mod; 559 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/head/zone.h

OS-4109 'zlogin -I' should close /dev/zfd/0 when it exits
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 5 ins; 0 del; 1 mod; 76 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/Makefile

OS-5017 lxbrand underspecified dependencies causes build race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 718 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/Makefile.lib

OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
19 lines changed: 18 ins; 0 del; 1 mod; 255 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/Makefile.targ

OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
3 lines changed: 1 ins; 0 del; 2 mod; 110 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/Makefile.usdt

OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
28 lines changed: 28 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/brand/Makefile

OS-2834 ship lx brand
3 lines changed: 3 ins; 0 del; 0 mod; 52 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/Makefile

OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5116 lxbrand clean up lx_native tool
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4495 support cgroups notify_on_release and release_agent
OS-3827 lxbrand remove lx_thunk code
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3608 lxbrand deliver LTP skip list and readme
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
OS-2834 ship lx brand
55 lines changed: 55 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/Makefile.lx

OS-2834 ship lx brand
34 lines changed: 34 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/librtld_db/Makefile

OS-2834 ship lx brand
54 lines changed: 54 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/librtld_db/Makefile.com

OS-2834 ship lx brand
83 lines changed: 83 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/librtld_db/amd64/Makefile

OS-2834 ship lx brand
38 lines changed: 38 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/librtld_db/amd64/mapfile-vers

OS-2834 ship lx brand
44 lines changed: 44 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/librtld_db/common/lx_librtld_db.c

Reduce lint
OS-4797 lx_librtld_db fails to find _r_debug when DT_DEBUG is NULL on 64-bit
OS-3444 lxbrand 64bit lx_librtld_db initialization can still fail
OS-3385 lx_librtld_db segv's and misses _r_debug when DT_DEBUG in dump is null
OS-2844 lx brand should support 64-bit user-land
OS-3103 lx_ldb_get_dyns32 doesn't properly handle NULL pointer inputs
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3103 lx_ldb_get_dyns32 doesn't properly handle NULL pointer inputs (back out)
OS-3103 lx_ldb_get_dyns32 doesn't properly handle NULL pointer inputs
OS-2877 lx_librtld_db falls to load due to NULL DT_DEBUG
OS-2834 ship lx brand
853 lines changed: 853 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/librtld_db/common/mapfile-vers

OS-2834 ship lx brand
58 lines changed: 58 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/librtld_db/i386/Makefile

OS-2834 ship lx brand
33 lines changed: 33 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/Makefile

OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
49 lines changed: 49 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/Makefile.com

Redundant libraries in lx_brand.so.1
OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5491 lxbrand convert last socket syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5117 lxbrand convert preadv/pwritev to IKE
OS-3762 lxbrand update vectored IO for new IOV_MAX value
OS-5133 lxbrand rw syscalls should be consistent about EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-3827 lxbrand remove lx_thunk code
OS-3812 lxbrand nfs mounting fails
OS-4098 move open, close and fcntl into the kernel
OS-4084 getrlimit kills performance, move into kernel
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3720 lx brand: implement asynchronous I/O system calls
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3530 lxbrand implement better capabilities(7) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-2870 lx brand add stubs for *xattr() (fix copyright)
OS-2870 lx brand add stubs for *xattr()
OS-2834 ship lx brand
103 lines changed: 103 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/amd64/Makefile

OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-2844 lx brand should support 64-bit user-land
42 lines changed: 42 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/amd64/lx_crt.s

OS-2844 lx brand should support 64-bit user-land
62 lines changed: 62 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/amd64/lx_handler.s

OS-4458 lxbrand complete moving ptrace to IKE (fix include)
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3560 lxbrand git clone ltp.git fails
OS-3587 lxbrand micro optimisation in lx_handler
OS-3509 lxbrand 64bit jump table could corrupt amd64 red zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3483 lxbrand ltp getpeername core dumps
OS-3482 lxbrand ltp recvfrom should fail when from_len == -1
OS-3479 lxbrand cleanup 64bit debug code
OS-3445 lxbrand 64bit sudo core dumps on exit
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3411 lxbrand 64bit signal assertion failure in lx_call_user_handler
OS-3415 lxbrand mishandles amd64 red zone, original %r15 value clobbered during uucopy
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-2844 lx brand should support 64-bit user-land
53 lines changed: 53 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/aio.c

OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5203 io_getevents broken
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4284 SegFault when invoking lx_sendmsg
OS-4289 SegFault upon invoking lx_poll
OS-4283 SegFault upon invoking lx_select
OS-4281 SegFault upon invoking io_submit by trinity
OS-3807 lx brand: asynchronous I/O operations can hang
OS-3720 lx brand: implement asynchronous I/O system calls
558 lines changed: 558 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/capabilities.c

OS-5537 lxbrand capset failure prevents dnsmasq from starting
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4596 need /proc/sys/kernel/cap_last_cap
OS-4454 systemd fails to exec journald due to failed capset
OS-4446 capget version probing incorrect
OS-3530 lxbrand implement better capabilities(7) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
516 lines changed: 516 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/clock.c

OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5277 enable monotonic clock for timers
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5266 timerfd_create should only accept CLOCK_MONOTONIC and CLOCK_REALTIME
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5263 timerfd_create needs to support CLOCK_MONOTONIC
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5200 MapR disk format step fails - timer_create error
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4514 lxbrand timer_create(SIGEV_THREAD_ID) is broken
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3607 lxbrand LTP clock_nanosleep01 fails
OS-3271 lxbrand mssing clock_gettime and timer functionality
OS-3571 lxbrand fix clock_gettime03 LTP test
OS-2844 lx brand should support 64-bit user-land
OS-3322 ltp socket ioctl errno failures
OS-3321 ltp setsockopt errno failures
OS-3320 ltp setrlimit errno failures
OS-3319 clock_getres needs to support NULL *res
OS-2834 ship lx brand
344 lines changed: 344 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/clone.c

OS-5636 lxbrand clone(2) returns 0 on failed thread creation
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5392 lxbrand thread race in clone(CLONE_VFORK)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5323 Java Processes that fork exit intermittently
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5124 lxbrand sequential vfork exits causes segfault
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4993 lx brand: vfork() should not be implemented in terms of fork()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4470 lxbrand unblocking signals in new threads must be atomic
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4127 lx brand: clone(CLONE_VFORK) followed by sigaction corrupts parent
OS-4052 lx brand: fork()/pthread_create() race can induce hang in child
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4027 cleanup centos rpm delay
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3744 lxbrand should record lx_fsbase in cores
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3675 lxbrand ptrace setoptions handling is broken
OS-3352 ptrace needs to work for linux, wait on non-children etc.
OS-3306 PTRACE_O_TRACEFORK should stop parent and child as they exit fork
OS-3250 lxbrand initctl stop/start svcs can hang
OS-2916 lxbrand add ptrace PTRACE_GETEVENTMSG support
OS-3658 lxbrand improve lx-unsupported message for clone(2)
OS-3560 lxbrand git clone ltp.git fails
OS-3484 lxbrand 64bit core dumps in _ti_bind_guard
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-3400 lxbrand 64bit - segv in child after clone
OS-3396 lxbrand 64bit clone arguments are not backwards
OS-2844 lx brand should support 64-bit user-land
OS-3206 lx brand code at a possibly unreached point in clone.c
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2894 lxbrand add PTRACE_O_TRACEFORK and PTRACE_O_TRACEEXEC support
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
703 lines changed: 703 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/debug.c

OS-5477 lxbrand env manipulation causes ld-linux woes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-3528 LX_DEBUG no longer works as of OS-3447
OS-3447 lx_debug should not blow out the stack when disabled
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
171 lines changed: 171 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/dir.c

OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3535 lxbrand vdso assembly bungles SET_SIZE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3442 lxbrand 64bit du aborts - memory corruption
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-3265 ltp getdents failing
OS-3038 lxbrand getdents syscall can lead to extra chars in d_name
OS-2834 ship lx brand
82 lines changed: 82 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/fcntl.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4133 handle FIOSETOWN and FIOGETOWN for in-kernel fcntl
OS-4125 Error with nginx startup: fcntl(F_SETOWN) failed while spawning 'worker process' (22: Invalid argument)
OS-4098 move open, close and fcntl into the kernel
OS-4022 lx brand: Python regression test failure in test_fcntl.py
OS-3784 lxbrand flock.2 LOCK_EX fails on fd opened O_RDONLY
OS-3260 ltp shared flock fails on fd from creat
OS-3717 lxbrand LTP getsockname01 fails
OS-3713 fcntl called with PID 1 in an LX container fails with "No such process"
OS-3673 lxbrand apache2 segfaults
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-3259 ltp fcntl missing F_DUPFD_CLOEXEC
OS-3257 ltp fadvise failures
OS-3160 lxbrand add fadvise64
OS-3158 lxbrand add dup3
OS-3134 lxbrand improve unsupported functionality sdt msgs
OS-2834 ship lx brand
88 lines changed: 88 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/file.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4003 syslog-ng fails while trying to delete /dev/log (fix LTP failure)
OS-4003 syslog-ng fails while trying to delete /dev/log
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3475 lxbrand 64bit many ltp tests fail with 'rmobj(/tmp/ltp-aGmcd9wj7J/dupE93cbG) failed: remove(/tmp/ltp-aGmcd9wj7J/dupE93cbG) failed; errno=22'
OS-3441 lxbrand 64bit fchmodat fails
OS-2844 lx brand should support 64-bit user-land
OS-3327 utimensat fails on UTIME_NOW or UTIME_OMIT
OS-3312 ltp capget errors
OS-3311 ltp symlinkat errno failure
OS-3303 ltp linkat errno failures
OS-3273 ltp readlink failures
OS-3258 ltp fchownat succeeds when it should fail
OS-3181 lxbrand errors installing pkg - utimensat returns EBADF
OS-3162 lxbrand add utimensat
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-3087 lx brand upstart pre-start test -x is failing
OS-2954 lx brand access.2 allows root execution when exec mode not set
OS-2834 ship lx brand
347 lines changed: 347 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/fork.c

OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5360 race on thread vfork
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5323 Java Processes that fork exit intermittently
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4993 lx brand: vfork() should not be implemented in terms of fork()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4052 lx brand: fork()/pthread_create() race can induce hang in child
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4027 cleanup centos rpm delay
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3675 lxbrand ptrace setoptions handling is broken
OS-3352 ptrace needs to work for linux, wait on non-children etc.
OS-3306 PTRACE_O_TRACEFORK should stop parent and child as they exit fork
OS-3250 lxbrand initctl stop/start svcs can hang
OS-2916 lxbrand add ptrace PTRACE_GETEVENTMSG support
OS-2844 lx brand should support 64-bit user-land
OS-2894 lxbrand add PTRACE_O_TRACEFORK and PTRACE_O_TRACEEXEC support
OS-2834 ship lx brand
184 lines changed: 184 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/lx_brand.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5491 lxbrand convert last socket syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5477 lxbrand env manipulation causes ld-linux woes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5357 datadog doesn't work correctly in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5203 io_getevents broken
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5117 lxbrand convert preadv/pwritev to IKE
OS-3762 lxbrand update vectored IO for new IOV_MAX value
OS-5133 lxbrand rw syscalls should be consistent about EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4828 lxbrand convert pread/pwrite to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5067 lxbrand static binary confused about dirty registers
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4980 lxbrand move sockopt syscalls in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4983 lxbrand nginx proxy mangles content
OS-4829 lxbrand convert readv/writev to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4855 lxbrand convert epoll_ctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4805 explicit exit(2) syscall by primary thread returns incorrect exit status
OS-4784 lxbrand rtorrent spins on tgkill(SIGUSR1)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4470 lxbrand unblocking signals in new threads must be atomic
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4517 lxbrand convert bind to IKE (remove unused function)
OS-4517 lxbrand convert bind to IKE
OS-4505 lxbrand java fails to bind on ipv6 address
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4114 lxbrand convert sendmsg and recvmsg to IKE
OS-4257 lxbrand convert sendto and recvfrom to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3827 lxbrand remove lx_thunk code
OS-4133 handle FIOSETOWN and FIOGETOWN for in-kernel fcntl
OS-3934 lxbrand LX_STRICT should be handled in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4125 Error with nginx startup: fcntl(F_SETOWN) failed while spawning 'worker process' (22: Invalid argument)
OS-4116 move close back to userland until aio is resolved
OS-4098 move open, close and fcntl into the kernel
OS-4084 getrlimit kills performance, move into kernel
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-4071 lxbrand in-kernel gettimeofday(2)
OS-4027 cleanup centos rpm delay
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3917 lx brand: clean up system call table comments
OS-3912 lxbrand restore preadv/pwritev
OS-3910 lx brand: restore AIO
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3898 lx brand: add support for timerfd
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3744 lxbrand should record lx_fsbase in cores
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3579 execve() malfunction when called by init for LX zone
OS-3720 lx brand: implement asynchronous I/O system calls
OS-3719 lxbrand add preadv/pwritev support
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-3628 lx brand: add support for eventfd
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3271 lxbrand mssing clock_gettime and timer functionality
OS-3591 lxbrand implement ppoll
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
OS-3577 load average of "0.00, 2952798208.00, 0.00" seems suspicious
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3568 lxbrand implement getcpu
OS-3551 lxbrand read syscall path is 1/2 the speed of native
OS-3548 lx brand: some name resolution fails on 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3490 lxbrand 64bit LTP msgctl08 hangs
OS-3452 lxbrand 64bit apt-get install attempts mremap then fails
OS-3483 lxbrand ltp getpeername core dumps
OS-3482 lxbrand ltp recvfrom should fail when from_len == -1
OS-3479 lxbrand cleanup 64bit debug code
OS-3451 lxbrand 64bit pread64/pwrite64 args incorrect
OS-3453 lxbrand fix 64bit statfs
OS-3450 lxbrand 64bit ftruncate fails
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3432 lx brand: implement syslog stub
OS-3411 lxbrand 64bit signal assertion failure in lx_call_user_handler
OS-3422 lx brand: need to support tgkill() when tgid is not pid
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
OS-3393 lx brand doesn't translate return value of SO_ERROR socket option
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-2844 lx brand should support 64-bit user-land
OS-3366 add lx brand support for inotify
OS-3325 ltp epoll failures
OS-3318 missing madvise options
OS-3317 ltp wait4 errno failure
OS-3273 ltp readlink failures
OS-3195 rt_sigqueueinfo system call needs emulation in lx brand
OS-3192 lxbrand ubuntu 14 ping error: cap_get_proc: Function not implemented
OS-3161 lxbrand add prlimit64 and revamp rlimit emulation to use rctls
OS-3162 lxbrand add utimensat
OS-3160 lxbrand add fadvise64
OS-3158 lxbrand add dup3
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-3134 lxbrand improve unsupported functionality sdt msgs
OS-3025 lx brand Warning: no SO_TIMESTAMP support, falling back to SIOCGSTAMP
OS-3129 lxbrand strip nl from unsupported sdt probe string
OS-3024 lx brand setsockopt(ICMP_FILTER): Protocol not available
OS-3052 lx brand better dtrace support for unsupported capabilities
OS-3038 lxbrand getdents syscall can lead to extra chars in d_name
OS-3035 lx brand should support prctl(PR_SET_NAME)
OS-2957 lx brand unsupported syscall handling needs work
OS-2987 lx brand needs to support pselect6()
OS-2954 lx brand access.2 allows root execution when exec mode not set
OS-2948 add lx brand support for epoll
OS-2929 add new syscalls to lx brand table
OS-2870 lx brand add stubs for *xattr() (fix copyright)
OS-2870 lx brand add stubs for *xattr()
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
1705 lines changed: 1705 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/lx_provider.d

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
39 lines changed: 39 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/mapfile

OS-2834 ship lx brand
47 lines changed: 47 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/mapfile-vers

OS-2834 ship lx brand
47 lines changed: 47 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/mem.c

OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5333 mremap comparison incorrect when address over 2GB
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5276 lxbrand mremap can leak fd
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5252 lx brand: mremap() can fail spuriously with ENOMEM
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4763 lxbrand dnf thrashes mmap/munmap
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4024 lx brand: Python regression test failure in test_mmap.py
OS-3959 LTP madvise02 regression on latest build
OS-3956 lxbrand remap(2) should work smarter, not harder
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3711 lxbrand plex dying in jemalloc
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-3594 lx brand: need support for MAP_32BIT
OS-3486 lxbrand mremap fails
OS-3452 lxbrand 64bit apt-get install attempts mremap then fails
OS-2844 lx brand should support 64-bit user-land
OS-3318 missing madvise options
OS-3277 ltp madvise failures
OS-3276 lx open O_CLOEXEC flag support is missing
OS-3275 lx mmap MAP_LOCKED ignored
OS-2834 ship lx brand
814 lines changed: 814 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/misc.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5116 lxbrand clean up lx_native tool
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5263 timerfd_create needs to support CLOCK_MONOTONIC
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5258 /proc/$pid/stat tty_nr is an untranslated illumos dev_t
OS-5246 Add support for /proc/devices
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5077 lxbrand remove /dev/log redirection
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4784 lxbrand rtorrent spins on tgkill(SIGUSR1)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4787 lxbrand lx_symlink is careless with strings
OS-4760 logger: socket /dev/log: No such file or directory on Fedora 22 lx-brand
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4439 need prctl [G|S]ET_SECUREBITS support
OS-3827 lxbrand remove lx_thunk code
OS-4084 getrlimit kills performance, move into kernel
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3898 lx brand: add support for timerfd
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3744 lxbrand should record lx_fsbase in cores
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3722 lxbrand ltp mincore01 returns incorrect errno
OS-3702 lxbrand eventfd(2) should fail more gracefully
OS-3697 lx brand: maxima fails with "personality change failure"
OS-3675 lxbrand ptrace setoptions handling is broken
OS-3352 ptrace needs to work for linux, wait on non-children etc.
OS-3306 PTRACE_O_TRACEFORK should stop parent and child as they exit fork
OS-3250 lxbrand initctl stop/start svcs can hang
OS-2916 lxbrand add ptrace PTRACE_GETEVENTMSG support
OS-3655 lxbrand sshd does not work with ipv6
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3539 lxbrand emulate prctl(PR_SET_DUMPABLE)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3628 lx brand: add support for eventfd
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
OS-3577 load average of "0.00, 2952798208.00, 0.00" seems suspicious
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3568 lxbrand implement getcpu (fix to use uucopy)
OS-3568 lxbrand implement getcpu
OS-3530 lxbrand implement better capabilities(7) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3504 prctl(PR_SET_NAME) should only work for thread 1
OS-3432 lx brand: implement syslog stub
OS-3383 lx brand: node.js test test-setproctitle.js fails
OS-2844 lx brand should support 64-bit user-land
OS-3316 ltp getgroups errno failures
OS-3310 ltp setgroups errno failures
OS-3190 on ubuntu 14 cmd not found gives Fatal Python error: Failed to open /dev/urandom and core dump
OS-3193 lxbrand ubuntu 14 ping error: prctl: Function not implemented
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-3035 lx brand should support prctl(PR_SET_NAME)
OS-2894 lxbrand add PTRACE_O_TRACEFORK and PTRACE_O_TRACEEXEC support
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
391 lines changed: 391 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/module.c

OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
90 lines changed: 90 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/mount.c

OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5453 lxbrand mount(2) should tolerate relative path target
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5332 is_cgrp unused variable
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5272 lxbrand: tmpfs size option does not accept bytes in K, M, g or G
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5035 lxbrand autofs does not expire mount points
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5021 strange error when attempt NFS mount without having mount.nfs installed
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4896 NFSv4 needs file events before they occur [unused variable]
OS-4710 mount tmpfs fails when specifying 'uid=%s,gid=%s' on lx branded zone (centos6)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3700 ubuntu 14.04 and centos 6 /dev/shm mode is incorrect
OS-4002 ionice requirements not met on lx ubuntu64 14.04.003
OS-4587 lx: ubuntu 15.04 - Failed at step IOPRIO spawning /bin/systemd-tmpfiles: Function not implemented
OS-4591 disallow tmpfs overlay mounts on /dev
OS-4536 lx zone failing to mount /run due to EBUSY
OS-4495 support cgroups notify_on_release and release_agent
OS-4287 lx error starting autofs
OS-4360 cleanup lx_afs as a prelude for v5 work
OS-4323 stub out cgroup fs
OS-4256 centos 7 systemd stops after failing to mount sysfs
OS-3812 lxbrand nfs mounting fails
OS-4062 lx tmpfs support for percent size
OS-4037 lxbrand tmpfs needs "size" and "mode" mount(2) options
OS-4036 lxbrand mount(2) should be more accurate with errno
OS-4042 lxbrand support "strictatime" mount(2) option
OS-2844 lx brand should support 64-bit user-land
OS-3134 lxbrand improve unsupported functionality sdt msgs
OS-3106 lxbrand mount incorrectly reports mounted file systems
OS-3101 lxbrand missing /run mount
OS-2982 lx brand need to mount lx_proc overtop of lx_proc on /proc
OS-2834 ship lx brand
540 lines changed: 540 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/mount_nfs.c

OS-5620 lx NFS mount always tries to contact rpcbind
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5274 Misleading error msg when mounting NFSv3 fails
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5166 Unable to mount NFS volume from lx instances when server only supports NFSv3
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5080 mount.nfs segv with offset mount args
OS-5066 lx nfs automount ignores requested vers - always starts with v4
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5045 manta-nfs client mount doesn't work inside lx zone
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5013 NFS not working with Ubuntu 15.04 image
OS-4617 Support for NFS v4 on lx zones
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4331 lxbrand RPC: Authentication error while mounting nfs
OS-3812 lxbrand nfs mounting fails
2453 lines changed: 2453 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/priority.c

OS-4913 RT process; pam prevents login because getpriority syscall fails
OS-2844 lx brand should support 64-bit user-land
OS-3315 ltp getpriority02 errno failures
OS-2834 ship lx brand
117 lines changed: 117 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/ptrace.c

OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4438 lxbrand ptrace should support PTRACE_GETSIGINFO
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4386 lx brand: PTRACE_POKEUSER misbehaves for 64-bit values
OS-3888 lxbrand strace broken on centos6
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3675 lxbrand ptrace setoptions handling is broken
OS-3352 ptrace needs to work for linux, wait on non-children etc.
OS-3306 PTRACE_O_TRACEFORK should stop parent and child as they exit fork
OS-3250 lxbrand initctl stop/start svcs can hang
OS-2916 lxbrand add ptrace PTRACE_GETEVENTMSG support
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-3586 lxbrand support 64-bit strace
OS-2844 lx brand should support 64-bit user-land
OS-3241 strace hangs in lx branded zone
OS-3064 lx brand ptrace options may need to be cleared after fork/clone
OS-2915 lxbrand ptrace should clear signal traps when setting options [still catch SIGTRAP]
OS-2915 lxbrand ptrace should clear signal traps when setting options
OS-2894 lxbrand add PTRACE_O_TRACEFORK and PTRACE_O_TRACEEXEC support
OS-2885 ptrace emulation blocks upstart's children from running
OS-2834 ship lx brand
105 lines changed: 105 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/sched.c

OS-4615 lxbrand sched_rr_get_interval() does not update timespec
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4139 sched_getaffinity reports incorrect number of CPUs
OS-3417 lx brand: need /dev/log to be a Unix domain socket
OS-3412 lx brand: pthread_attr_setschedparam() fails spuriously
OS-3413 lx brand: sched_setscheduler() fails spuriously
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
622 lines changed: 622 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/sendfile.c

OS-5498 lxbrand cp on alpine duplicates data
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4504 lxbrand sendfile too pessimistic about nonblocking sockets
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3911 LTP sendfile05 failing
OS-3473 lxbrand open with O_DIRECTORY can hang
OS-3467 lxbrand 64bit ltp sendfile08 fails
OS-2844 lx brand should support 64-bit user-land
OS-3300 ltp capset02 failing
OS-3298 sendfile needs to handle NULL offset pointer
OS-2834 ship lx brand
143 lines changed: 143 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/signal.c

OS-5382 lxbrand library should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5477 lxbrand env manipulation causes ld-linux woes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5431 under many conditions, ptrace (strace) on Ubuntu 16 shows syscalls return ENOSYS
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4732 mono coredumps starting Sonarr
OS-4562 mono hangs due to incorrect SP passed via signal context
OS-4619 lxbrand should honor SS_DISABLE in sigaltstack
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4470 lxbrand unblocking signals in new threads must be atomic
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4299 lxbrand RT signals lack si_value
OS-4214 lxbrand 64-bit signal delivery frame not quite right (fix DEBUG build)
OS-4215 lxbrand rt_sigreturn(2) could try to recover in the face of stack shenanigans (fix DEBUG build)
OS-4214 lxbrand 64-bit signal delivery frame not quite right
OS-4215 lxbrand rt_sigreturn(2) could try to recover in the face of stack shenanigans
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4127 lx brand: clone(CLONE_VFORK) followed by sigaction corrupts parent
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3841 lxbrand si_status mangled on SIGCHLD
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3802 LTP kill11 test case fails after vsyscall signal changes
OS-3803 LTP kill12 test failing
OS-3804 LTP signal03 failing
OS-3805 LTP waitpid05 failing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3790 lxbrand vsyscall segfault when SIGSEGV handler set to SIG_DFL
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3782 lx brand: vsyscall can induce fatal SIGSEGV
OS-3708 lxbrand needs vsyscall
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3703 lx brand: maxima core dumps in SIGSEGV handler on 32-bit
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-3598 lx brand: RLIM_INFINITY not correctly expressed on 64-bit
OS-3599 lx brand: glibc derives incorrect default stack size on 64-bit
OS-3488 lxbrand 64bit LTP kill11 test failing for SIGPWR
OS-3591 lxbrand implement ppoll
OS-3537 lxbrand exiting nodejs repl causes logout
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3572 lxbrand fix various sigwaitinfo failures (fix cstyle)
OS-3572 lxbrand fix various sigwaitinfo failures
OS-3552 lx brand: si_addr truncated for SIGSEGV on 64-bit, slaying JVM
OS-3445 lxbrand 64bit sudo core dumps on exit
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3411 lxbrand 64bit signal assertion failure in lx_call_user_handler
OS-3422 lx brand: need to support tgkill() when tgid is not pid
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-2844 lx brand should support 64-bit user-land
OS-3282 pselect null sigmask results in EFAULT
OS-3195 rt_sigqueueinfo system call needs emulation in lx brand
OS-3134 lxbrand improve unsupported functionality sdt msgs
OS-2987 lx brand needs to support pselect6()
OS-2834 ship lx brand
2378 lines changed: 2378 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/stack.c

OS-5427 busybox calls fork after vfork, blows assert
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5360 race on thread vfork
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4052 lx brand: fork()/pthread_create() race can induce hang in child
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
338 lines changed: 338 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/statfs.c

OS-4360 cleanup lx_afs as a prelude for v5 work
OS-3932 lx brand: statfs() should report zfs as ext2, not ufs
OS-3453 lxbrand fix 64bit statfs
OS-2844 lx brand should support 64-bit user-land
OS-3261 ltp fstatfs fails on pipe fd
OS-3157 lxbrand df reports incorrect size for root
OS-2834 ship lx brand
346 lines changed: 346 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/sysctl.c

OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
137 lines changed: 137 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/sysv_ipc.c

OS-5223 removed shm segment is no longer available
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3773 lxbrand ltp shmctl ipcinfo can fail on a machine with >4GB of memory
OS-3779 lxbrand shmctl_ipcinfo struct incorrect for 64-bit
OS-3501 lxbrand 64bit ltp semctl failures
OS-3490 lxbrand 64bit LTP msgctl08 hangs
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
975 lines changed: 975 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/time.c

OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-4071 lxbrand in-kernel gettimeofday(2)
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
132 lines changed: 132 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/common/truncate.c

OS-3596 lxbrand 64bit truncate03 fails, max file size limit not enforced
OS-3450 lxbrand 64bit ftruncate fails
OS-2844 lx brand should support 64-bit user-land
OS-3304 ltp truncate errno failures
OS-3267 ltp getpeername failing
OS-3262 ltp ftruncate returns wrong errno
OS-2834 ship lx brand
173 lines changed: 173 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/i386/Makefile

OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
48 lines changed: 48 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/i386/lx_crt.s

OS-2834 ship lx brand
65 lines changed: 65 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/i386/lx_handler.s

OS-4458 lxbrand complete moving ptrace to IKE (fix include)
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3587 lxbrand micro optimisation in lx_handler
OS-3411 lxbrand 64bit signal assertion failure in lx_call_user_handler
OS-2844 lx brand should support 64-bit user-land
OS-2929 add new syscalls to lx brand table
OS-2834 ship lx brand
91 lines changed: 91 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_aio.h

OS-5203 io_getevents broken
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3720 lx brand: implement asynchronous I/O system calls
80 lines changed: 80 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_debug.h

OS-5477 lxbrand env manipulation causes ld-linux woes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-2834 ship lx brand
54 lines changed: 54 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_misc.h

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5477 lxbrand env manipulation causes ld-linux woes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4993 lx brand: vfork() should not be implemented in terms of fork()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4470 lxbrand unblocking signals in new threads must be atomic
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4439 need prctl [G|S]ET_SECUREBITS support
OS-4099 lxbrand bash lacks job control when using zfd tty
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4052 lx brand: fork()/pthread_create() race can induce hang in child
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4027 cleanup centos rpm delay
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3675 lxbrand ptrace setoptions handling is broken
OS-3352 ptrace needs to work for linux, wait on non-children etc.
OS-3306 PTRACE_O_TRACEFORK should stop parent and child as they exit fork
OS-3250 lxbrand initctl stop/start svcs can hang
OS-2916 lxbrand add ptrace PTRACE_GETEVENTMSG support
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called
OS-3655 lxbrand sshd does not work with ipv6
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3539 lxbrand emulate prctl(PR_SET_DUMPABLE)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3393 lx brand doesn't translate return value of SO_ERROR socket option
OS-3313 missing getrusage RUSAGE_THREAD support
OS-3258 ltp fchownat succeeds when it should fail
OS-3190 on ubuntu 14 cmd not found gives Fatal Python error: Failed to open /dev/urandom and core dump
OS-3193 lxbrand ubuntu 14 ping error: prctl: Function not implemented
OS-3024 lx brand setsockopt(ICMP_FILTER): Protocol not available
OS-3035 lx brand should support prctl(PR_SET_NAME)
OS-2894 lxbrand add PTRACE_O_TRACEFORK and PTRACE_O_TRACEEXEC support
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
175 lines changed: 175 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_mount.h

OS-5273 lxbrand - mount tmpfs option noauto is not supported in alpine
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3812 lxbrand nfs mounting fails
OS-4037 lxbrand tmpfs needs "size" and "mode" mount(2) options
OS-4036 lxbrand mount(2) should be more accurate with errno
OS-4042 lxbrand support "strictatime" mount(2) option
OS-3424 LX brand does not support MS_SILENT flag to mount(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2834 ship lx brand
163 lines changed: 163 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_poll.h

OS-3591 lxbrand implement ppoll
OS-2834 ship lx brand
65 lines changed: 65 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_signal.h

OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4214 lxbrand 64-bit signal delivery frame not quite right
OS-4215 lxbrand rt_sigreturn(2) could try to recover in the face of stack shenanigans
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4127 lx brand: clone(CLONE_VFORK) followed by sigaction corrupts parent
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-3195 rt_sigqueueinfo system call needs emulation in lx brand
OS-2834 ship lx brand
289 lines changed: 289 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_sigstack.h

OS-4214 lxbrand 64-bit signal delivery frame not quite right
OS-4215 lxbrand rt_sigreturn(2) could try to recover in the face of stack shenanigans
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3445 lxbrand 64bit sudo core dumps on exit
78 lines changed: 78 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_socket.h

OS-5077 lxbrand remove /dev/log redirection
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4980 lxbrand move sockopt syscalls in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4760 logger: socket /dev/log: No such file or directory on Fedora 22 lx-brand
OS-4114 lxbrand convert sendmsg and recvmsg to IKE
OS-4257 lxbrand convert sendto and recvfrom to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4285 lxbrand sssd attempts AF_NETLINK bind with nonzero nl_pid
OS-4240 upstart-udev-bridge aborts due to missing AF_NETLINK
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4154 lxbrand support TCP_DEFER_ACCEPT
OS-4131 lxbrand AF_NETLINK should be handled consistently
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3672 lxbrand tcpdump is broken
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3639 lxbrand ping6 is broken
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3622 lxbrand needs ipv6
OS-3533 lxbrand nsd fails to start
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3398 lx brand does not translate some TCP socket options
OS-3269 ltp getsockopt returns wrong errno
OS-3127 lxbrand traceroute fails: setsockopt IP_MTU_DISCOVER: Protocol not available
OS-2939 lx brand missing some socket options
OS-3024 lx brand setsockopt(ICMP_FILTER): Protocol not available
OS-3073 lx brand socketcall missing newer subfunctions (fix accept4 nargs)
OS-3073 lx brand socketcall missing newer subfunctions
OS-3046 lx brand unsupported socket flags silently ignored
OS-3047 lx brand recvmsg always assumes it gets a control msg
OS-2923 lxbrand support SOCK_NONBLOCK and SOCK_CLOEXEC socket options
OS-2834 ship lx brand
147 lines changed: 147 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_statfs.h

OS-4360 cleanup lx_afs as a prelude for v5 work
OS-3932 lx brand: statfs() should report zfs as ext2, not ufs
OS-3453 lxbrand fix 64bit statfs
OS-3261 ltp fstatfs fails on pipe fd
OS-3157 lxbrand df reports incorrect size for root
OS-2834 ship lx brand
83 lines changed: 83 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_syscall.h

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5491 lxbrand convert last socket syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5357 datadog doesn't work correctly in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5117 lxbrand convert preadv/pwritev to IKE
OS-3762 lxbrand update vectored IO for new IOV_MAX value
OS-5133 lxbrand rw syscalls should be consistent about EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4828 lxbrand convert pread/pwrite to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4993 lx brand: vfork() should not be implemented in terms of fork()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4980 lxbrand move sockopt syscalls in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4983 lxbrand nginx proxy mangles content
OS-4829 lxbrand convert readv/writev to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4855 lxbrand convert epoll_ctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4784 lxbrand rtorrent spins on tgkill(SIGUSR1)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4517 lxbrand convert bind to IKE (remove unused function)
OS-4517 lxbrand convert bind to IKE
OS-4505 lxbrand java fails to bind on ipv6 address
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4114 lxbrand convert sendmsg and recvmsg to IKE
OS-4257 lxbrand convert sendto and recvfrom to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4125 Error with nginx startup: fcntl(F_SETOWN) failed while spawning 'worker process' (22: Invalid argument)
OS-4116 move close back to userland until aio is resolved
OS-4098 move open, close and fcntl into the kernel
OS-4084 getrlimit kills performance, move into kernel
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-4071 lxbrand in-kernel gettimeofday(2)
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3898 lx brand: add support for timerfd
OS-3744 lxbrand should record lx_fsbase in cores
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3719 lxbrand add preadv/pwritev support
OS-3708 lxbrand needs vsyscall
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3641 lxbrand mtr does not work
OS-3628 lx brand: add support for eventfd
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3271 lxbrand mssing clock_gettime and timer functionality
OS-3591 lxbrand implement ppoll
OS-3577 load average of "0.00, 2952798208.00, 0.00" seems suspicious
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3568 lxbrand implement getcpu
OS-3551 lxbrand read syscall path is 1/2 the speed of native
OS-3548 lx brand: some name resolution fails on 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3490 lxbrand 64bit LTP msgctl08 hangs
OS-3452 lxbrand 64bit apt-get install attempts mremap then fails
OS-3451 lxbrand 64bit pread64/pwrite64 args incorrect
OS-3432 lx brand: implement syslog stub
OS-3422 lx brand: need to support tgkill() when tgid is not pid
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-2844 lx brand should support 64-bit user-land
OS-3325 ltp epoll failures
OS-3273 ltp readlink failures
OS-3195 rt_sigqueueinfo system call needs emulation in lx brand
OS-3257 ltp fadvise failures
OS-3192 lxbrand ubuntu 14 ping error: cap_get_proc: Function not implemented
OS-3161 lxbrand add prlimit64 and revamp rlimit emulation to use rctls
OS-3162 lxbrand add utimensat
OS-3160 lxbrand add fadvise64
OS-3158 lxbrand add dup3
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-3038 lxbrand getdents syscall can lead to extra chars in d_name
OS-3035 lx brand should support prctl(PR_SET_NAME)
OS-2987 lx brand needs to support pselect6()
OS-2954 lx brand access.2 allows root execution when exec mode not set
OS-2870 lx brand add stubs for *xattr() (fix copyright)
OS-2870 lx brand add stubs for *xattr()
OS-2834 ship lx brand
226 lines changed: 226 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_sysv_ipc.h

OS-3773 lxbrand ltp shmctl ipcinfo can fail on a machine with >4GB of memory
OS-3779 lxbrand shmctl_ipcinfo struct incorrect for 64-bit
OS-3501 lxbrand 64bit ltp semctl failures
OS-3500 lxbrand 64bit shminfo incorrect size
OS-3499 lxbrand 64bit shmid_ds layout incorrect
OS-3496 lxbrand 64bit incorrect layout for msqid_ds structure
OS-2834 ship lx brand
222 lines changed: 222 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_brand/sys/lx_thread.h

OS-5323 Java Processes that fork exit intermittently
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4214 lxbrand 64-bit signal delivery frame not quite right
OS-4215 lxbrand rt_sigreturn(2) could try to recover in the face of stack shenanigans
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3744 lxbrand should record lx_fsbase in cores
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-3400 lxbrand 64bit - segv in child after clone
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
80 lines changed: 80 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_init/Makefile

Reduce lint
OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4428 lxbrand lxinit should support static routes from NAPI
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
72 lines changed: 72 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_init/lxinit.c

Re-enable commented-out lxinit code, as a prelude to
enabling zonecfg(1M)-property networking configuration for LX.
Reduce lint
Re-enable just the network interface plumbing part of lxinit.
Temporarily cripple lxinit to get it to build.
OS-4932 zoneadm boot args not passed to lx init
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4428 lxbrand lxinit should support static routes from NAPI
OS-4376 lxbrand lxinit ought not chroot
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4309 lxbrand lxinit is careless when execing init
OS-4259 make systemd's detect_container work for a zone
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
846 lines changed: 846 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_init/pipe_stream.c

Reduce lint
OS-4428 lxbrand lxinit should support static routes from NAPI
325 lines changed: 325 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_init/pipe_stream.h

Reduce lint
OS-4428 lxbrand lxinit should support static routes from NAPI
55 lines changed: 55 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_init/run_command.c

Reduce lint
OS-4428 lxbrand lxinit should support static routes from NAPI
280 lines changed: 280 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_init/run_command.h

OS-4428 lxbrand lxinit should support static routes from NAPI
32 lines changed: 32 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_support/Makefile

OS-2834 ship lx brand
54 lines changed: 54 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_support/lx_support.c

OS-4675 Fedora 22 lx-brand image fails with 'invalid value for zone attribute: kernel-version' on SmartOS
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3750 lxbrand cleanup LX_ATTR_RESTART_INIT dead code
OS-3745 lxbrand with ioctls gone, remove audio setup
OS-3663 lxbrand shared IP stack not supported
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2837 lx brand only works with shared IP stacks [unused variable]
OS-2837 lx brand only works with shared IP stacks
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
368 lines changed: 368 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/Makefile

OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3582 lxbrand VDSO should load all sections into memory
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
39 lines changed: 39 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/Makefile.com

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4389 lxbrand lx_vdso makefile uses PATH to find elfedit
OS-3582 lxbrand VDSO should load all sections into memory
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
85 lines changed: 85 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/amd64/Makefile

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
42 lines changed: 42 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/amd64/vdso_subr.s

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
131 lines changed: 131 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/common/mapfile-vers

OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
59 lines changed: 59 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/common/vdso_defs.h

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
42 lines changed: 42 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/common/vdso_main.c

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5429 lxbrand time(2) broken in vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
139 lines changed: 139 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/i386/Makefile

OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
43 lines changed: 43 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/i386/vdso_subr.s

OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
92 lines changed: 92 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/tools/Makefile

OS-3582 lxbrand VDSO should load all sections into memory
Reviewed by: Robert Mustacchi <rm@joyent.com>
42 lines changed: 42 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/lx_vdso/tools/vdso_tool.c

OS-3582 lxbrand VDSO should load all sections into memory
Reviewed by: Robert Mustacchi <rm@joyent.com>
388 lines changed: 388 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/netfiles/Makefile

OS-3827 lxbrand remove lx_thunk code
OS-2834 ship lx brand
47 lines changed: 47 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/testing/Makefile

OS-3763 lxbrand include LTP run files in platform
OS-3608 lxbrand deliver LTP skip list and readme
36 lines changed: 36 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/testing/Readme_ltp

OS-5122 lxbrand should tolerate cap_set_file
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4849 LTP F_SETLEASE fcntl tests failing
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4421 skipping ltp tests for functionality that now works
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-3965 lxbrand VDSO could use fast traps
OS-4083 LTP should test getcpu
OS-3784 lxbrand flock.2 LOCK_EX fails on fd opened O_RDONLY
OS-3260 ltp shared flock fails on fd from creat
OS-3763 lxbrand include LTP run files in platform
OS-3612 lxbrand document LTP math and crashme as passing test groups
OS-3608 lxbrand deliver LTP skip list and readme
291 lines changed: 291 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/testing/ltp_skiplist

OS-5574 new LTP test failures
OS-5546 lxbrand skip kcmp LTP tests
OS-5523 new LTP sched_setscheduler03 test fails
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5493 tcp_time_wait_collector() collecting all the CPU time
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5496 fanotify06 failing in recent LTP test runs
OS-5487 temporarily disable LTP pty01
OS-5418 LTP sched_setattr01 fails
OS-5419 LTP sched_getattr01 fails
OS-5420 LTP sched_getattr02 fails
OS-5402 eenable LTP access01 once fixed
OS-5398 access01 fails on recent LTP
OS-5249 lxbrand fcntl(F_SETPIPE_SZ) needed by MapR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5117 lxbrand convert preadv/pwritev to IKE
OS-3762 lxbrand update vectored IO for new IOV_MAX value
OS-5133 lxbrand rw syscalls should be consistent about EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4849 LTP F_SETLEASE fcntl tests failing
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4469 journald needs fallocate(2) syscall
OS-4471 disable ltp futex_wake04, it expects /proc/sys/vm/nr_hugepages to be writable
OS-4421 skipping ltp tests for functionality that now works
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3307 LTP signal 63 failures
OS-3965 lxbrand VDSO could use fast traps
OS-4083 LTP should test getcpu
OS-4045 lx brand: node.js test test-listen-fd-server.js dies on stack smashing
OS-3978 enable new LTP futex_wait_bitset tests
OS-3997 LTP poll02 failing in nightly
OS-3980 'ls /etc/init.d' fails on centos 6.6 image
OS-3979 disable LTP futex_wait_bitset tests until implemented
OS-3957 disable LTP ptrace01 and ptrace02 until OS-3915 is fixed
OS-3784 lxbrand flock.2 LOCK_EX fails on fd opened O_RDONLY
OS-3260 ltp shared flock fails on fd from creat
OS-3811 LTP signal_test_05 now fails
OS-3763 lxbrand include LTP run files in platform
OS-3612 lxbrand document LTP math and crashme as passing test groups
OS-3608 lxbrand deliver LTP skip list and readme
276 lines changed: 276 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/testing/ltp_tests

OS-3763 lxbrand include LTP run files in platform
1 line changed: 1 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/Makefile

Larval lx_install script.
OS-4230 Add support for Alpine Linux lx-brand image
OS-4244 cleanup dead code in lx_init_zone_* and distros dir
OS-4237 lx_init_* scripts are a mess
OS-4051 need /usr/lib/brand/lx/lx_boot_zone_debian
OS-3795 lxbrand initial centos 6.6 support
OS-3505 would like /var/ld lofs mounted into LX zones so crle is unnecessary
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3099 lx brand should handle boot changes after pkg updates
OS-3020 lx brand need network setup svc for exclusive stack zone
OS-2837 lx brand only works with shared IP stacks
OS-2871 lx brand add debian support to lx_init_zone
OS-2834 ship lx brand
71 lines changed: 71 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/SUNWlx.xml

OS-2834 ship lx brand
34 lines changed: 34 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/SUNWlx26.xml

OS-2834 ship lx brand
35 lines changed: 35 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/config.xml

systemd kool-aid drinkers (e.g. Ubuntu 16) need proc_clock_highres privileges
lx_install needs a seed (currently just a raw ZFS send stream).
Small bump in lx_install
OS-5277 enable monotonic clock for timers
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3898 lx brand: add support for timerfd
OS-2844 lx brand should support 64-bit user-land
OS-3309 ltp setpriority01 failing - missing proc_prioup priv
OS-3251 lxbrand should have ctfs and objfs
OS-3252 lx brand should be able to see /dev/zfs
OS-3253 lxbrand deserves dtrace privileges
OS-3254 lx brand should be able to see /dev/dtrace
OS-2837 lx brand only works with shared IP stacks
OS-2834 ship lx brand
105 lines changed: 105 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/lx_boot.ksh

OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4230 Add support for Alpine Linux lx-brand image
OS-3796 lxbrand remove netstat overlay script
OS-3826 lxbrand ipv4 networking broken after OS-3800
OS-3800 lx_thunk core dumps on centos 6.6
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3651 lxbrand ifconfig wrapper reports false errors
OS-3489 lxbrand 64bit LTP recvmsg01 hangs - cmsghdr size mismatch
OS-3491 lx_boot should bypass distro detection when 'docker' flag set
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3194 lxbrand ifconfig and netstat -r do nothing when run as a normal user
OS-3136 lxbrand native wrapper calls exec twice
OS-3026 lx brand need routing setup for exclusive stack
OS-3099 lx brand should handle boot changes after pkg updates
OS-2837 lx brand only works with shared IP stacks
92 lines changed: 92 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/lx_boot_zone_busybox.ksh

Put 'EOF' at the beginning of a line
Alter boot scripts to only clobber resolv.conf if specificed in zonecfg(1M)
OS-5048 want LX brand zones to apply dns_domain in resolv.conf
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Richard Kiene <richard.kiene@joyent.com>
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4230 Add support for Alpine Linux lx-brand image
182 lines changed: 182 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/lx_boot_zone_debian.ksh

Alter boot scripts to only clobber resolv.conf if specificed in zonecfg(1M)
OS-5048 want LX brand zones to apply dns_domain in resolv.conf
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Richard Kiene <richard.kiene@joyent.com>
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4123 missing /run/shm or /dev/shm
OS-4072 lx brand - zone came up without eth0 plumbed
OS-4051 need /usr/lib/brand/lx/lx_boot_zone_debian
175 lines changed: 175 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/lx_boot_zone_redhat.ksh

Put 'EOF' at the beginning of a line
Alter boot scripts to only clobber resolv.conf if specificed in zonecfg(1M)
OS-5048 want LX brand zones to apply dns_domain in resolv.conf
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Richard Kiene <richard.kiene@joyent.com>
OS-4759 systemd-resolved.service service fails under Fedora 22 lx-brand
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4123 missing /run/shm or /dev/shm
OS-4072 lx brand - zone came up without eth0 plumbed
OS-4064 more cleanup needed in lx_boot_zone_redhat.ksh
OS-4011 redhat boot script should use hostname of configured on zone
OS-3990 some centos 6.6. services are not being started
OS-3992 lx_boot_zone_redhat is unsafe
OS-3808 lx_boot_zone_redhat relies on /tmp being cleared on reboot
OS-3795 lxbrand initial centos 6.6 support
369 lines changed: 369 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/lx_boot_zone_ubuntu.ksh

Alter boot scripts to only clobber resolv.conf if specificed in zonecfg(1M)
OS-5482 SIGAR cannot report disk I/O
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5191 consistent use of zpool name as device in /proc/diskstats and /proc/mounts
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5048 want LX brand zones to apply dns_domain in resolv.conf
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Richard Kiene <richard.kiene@joyent.com>
OS-4447 revert OS-4240 now that OS-4250 is fixed
OS-4365 lxbrand ubuntu resolvers not configured on recent images
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4250 override upstart-udev-bridge until OS-4240 is fixed
OS-4239 stop modifying ubuntu image files
OS-4148 ubuntu 14.10 image takes 2 minutes to boot up
OS-4123 missing /run/shm or /dev/shm
OS-4072 lx brand - zone came up without eth0 plumbed
OS-4065 consolidate ubuntu boot scripts
OS-3293 ltp various send errno issues
OS-3292 convert_sockflags core dump
OS-3290 ltp net tests fail, lo0 not up
OS-3194 lxbrand ifconfig and netstat -r do nothing when run as a normal user
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-3026 lx brand need routing setup for exclusive stack
OS-3116 lxbrand /etc/mtab grows with every reboot
OS-3107 lxbrand w and who not working
OS-3106 lxbrand mount incorrectly reports mounted file systems
OS-3101 lxbrand missing /run mount
OS-3102 lxbrand support multiple NICs
OS-3099 lx brand should handle boot changes after pkg updates
142 lines changed: 142 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/lx_install.ksh

Allow LX install -s to take a ZFS filesytem or snapshot.
Remove most KEBE comments and accompanying unused code or variables/fields.
Add -t <full-path-to-tarfile> to LX brand installer
Let lx_install eat gzipped ZFS send streams
lx_install needs a seed (currently just a raw ZFS send stream).
Small bump in lx_install
Larval lx_install script.
OS-5191 consistent use of zpool name as device in /proc/diskstats and /proc/mounts
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4244 cleanup dead code in lx_init_zone_* and distros dir
OS-4237 lx_init_* scripts are a mess
OS-3023 lx brand installer cleanup
OS-2836 lx brand installer hardcodes /usr/sfw/bin/gtar
OS-2834 ship lx brand
137 lines changed: 137 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/brand/lx/zone/platform.xml

OS-5221 nfs mount should work without /etc/nfssec.conf inside LX zoneroot
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5073 lx-branded zones should request options when using DHCP
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5077 lxbrand remove /dev/log redirection
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4694 need support for in-zone docker logging
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4259 make systemd's detect_container work for a zone
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4123 missing /run/shm or /dev/shm
OS-4007 need /dev/xconsole in LX docker containe
OS-3898 lx brand: add support for timerfd
OS-3826 lxbrand ipv4 networking broken after OS-3800
OS-3800 lx_thunk core dumps on centos 6.6
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3636 lxbrand missing /dev/kmsg
OS-3628 lx brand: add support for eventfd
OS-3505 would like /var/ld lofs mounted into LX zones so crle is unnecessary
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3418 lx brand: zfs(1M) fails
OS-3366 add lx brand support for inotify
OS-3251 lxbrand should have ctfs and objfs
OS-3252 lx brand should be able to see /dev/zfs
OS-3253 lxbrand deserves dtrace privileges
OS-3254 lx brand should be able to see /dev/dtrace
OS-3026 lx brand need routing setup for exclusive stack
OS-3040 lxbrand preliminary ubuntu image install upstart svc setup
OS-2837 lx brand only works with shared IP stacks
OS-2990 lx brand ubuntu 12 installer
OS-2948 add lx brand support for epoll
OS-2834 ship lx brand
161 lines changed: 161 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/brand/shared/zone/common.ksh

OS-3489 lxbrand 64bit LTP recvmsg01 hangs - cmsghdr size mismatch
OS-3491 lx_boot should bypass distro detection when 'docker' flag set
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3023 lx brand installer cleanup
25 lines changed: 19 ins; 2 del; 4 mod; 1061 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/commpage/Makefile.shared.com

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
33 lines changed: 33 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/commpage/Makefile.shared.targ

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
29 lines changed: 29 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/commpage/amd64/cp_subr.s

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
406 lines changed: 406 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/commpage/common/cp_defs.h

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
37 lines changed: 37 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/commpage/common/cp_main.c

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
184 lines changed: 184 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/commpage/common/offsets.in

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
35 lines changed: 35 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/commpage/i386/cp_subr.s

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
157 lines changed: 157 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libbc/inc/include/sys/socket.h

OS-3752 Increase IOV_MAX to at least 1024
4 lines changed: 0 ins; 4 del; 0 mod; 170 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libbrand/common/libbrand.c

OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4254 libbrand token substitution incomplete for mount entries
6 lines changed: 5 ins; 0 del; 1 mod; 1043 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/Makefile.targ

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
5 lines changed: 5 ins; 0 del; 0 mod; 307 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/amd64/Makefile

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
10 lines changed: 9 ins; 0 del; 1 mod; 1248 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/amd64/gen/siginfolst.c

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 2 ins; 0 del; 0 mod; 209 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/i386/Makefile.com

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
10 lines changed: 9 ins; 0 del; 1 mod; 1329 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/i386/gen/siginfolst.c

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 2 ins; 0 del; 0 mod; 209 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/libc/i386/sys/__clock_gettime.c

OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
43 lines changed: 43 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ Old --- Patch --- usr/src/lib/libc/i386/sys/__clock_gettime.s (deleted)

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
52 lines changed: 0 ins; 52 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/inc/thr_uberdata.h

OS-5569 uberdata32_t is missing ul_brand member
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-2844 lx brand should support 64-bit user-land
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
7 lines changed: 7 ins; 0 del; 0 mod; 1543 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/gen/getauxv.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
14 lines changed: 11 ins; 2 del; 1 mod; 124 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/gen/siglist.c

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 2 ins; 0 del; 0 mod; 150 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/gen/str2sig.c

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 1 ins; 0 del; 1 mod; 183 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/mapfile-vers

OS-4470 lxbrand unblocking signals in new threads must be atomic
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
7 lines changed: 7 ins; 0 del; 0 mod; 3385 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/stdio/system.c

OS-4716 lxbrand native system(3C) broken
Reviewed by: jerry.jelinek@joyent.com
Reviewed by: patrick.mooney@joyent.com
10 lines changed: 9 ins; 0 del; 1 mod; 264 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/sys/epoll.c

OS-5518 devpoll write feigns success in the face of EINTR
OS-5520 epoll_ctl not allowed to emit EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-5459 epoll_ctl should throw EINVAL for loops
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
24 lines changed: 21 ins; 0 del; 3 mod; 204 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/libc/port/sys/inotify.c

OS-3900 minor inotify cleanup
OS-3367 lx brand fails on poll(2) with null fds
OS-3368 inotify ltp tests fail due to unexpected IN_CLOSE_NOWRITE
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
142 lines changed: 142 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/sys/zone.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
8 lines changed: 8 ins; 0 del; 0 mod; 243 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/threads/sigaction.c

OS-4470 lxbrand unblocking signals in new threads must be atomic
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2844 lx brand should support 64-bit user-land
69 lines changed: 51 ins; 13 del; 5 mod; 748 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/port/threads/thr.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-2844 lx brand should support 64-bit user-land
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
34 lines changed: 34 ins; 0 del; 0 mod; 2843 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/sparc/Makefile.com

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
1 line changed: 1 ins; 0 del; 0 mod; 1409 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/sparc/gen/siginfolst.c

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 2 ins; 0 del; 0 mod; 209 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libc/sparcv9/gen/siginfolst.c

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 2 ins; 0 del; 0 mod; 209 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libcurses/screen/setupterm.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 3 ins; 2 del; 1 mod; 836 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libdhcpagent/common/dhcpagent_util.c

OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
8 lines changed: 7 ins; 0 del; 1 mod; 280 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libdladm/common/linkprop.c

libdladm needs to be a bit more LX-aware
25 lines changed: 23 ins; 1 del; 1 mod; 4827 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libdtrace/common/dt_open.c

OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
23 lines changed: 18 ins; 1 del; 4 mod; 1423 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libipadm/common/libipadm.c

OS-4335 ipadm_door_call should work in a branded zone without chroot
OS-4336 ipmgmtd should work in a branded zone without chroot
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2837 lx brand only works with shared IP stacks
24 lines changed: 21 ins; 0 del; 3 mod; 955 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libnsl/common/mapfile-vers

OS-3812 lxbrand nfs mounting fails
2 lines changed: 2 ins; 0 del; 0 mod; 783 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libnsl/netselect/netselect.c

OS-4348 libnsl should seek netconfig file in native root
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3812 lxbrand nfs mounting fails
84 lines changed: 55 ins; 14 del; 15 mod; 926 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libproc/common/Pcontrol.c

OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
11 lines changed: 11 ins; 0 del; 0 mod; 3925 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libproc/common/Pcontrol.h

OS-5057 libproc file_info_t file_pname too short
Reviewed by: Cody Mello <cody.mello@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3780 libproc could know about .gnu_debuglink for remote symbol tables
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
4 lines changed: 2 ins; 0 del; 2 mod; 311 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libproc/common/Pcore.c

OS-3822 OS-3780 creates a life of fd crime in libproc
1 line changed: 1 ins; 0 del; 0 mod; 2795 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libproc/common/Pidle.c

OS-3822 OS-3780 creates a life of fd crime in libproc
1 line changed: 1 ins; 0 del; 0 mod; 328 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libproc/common/Psymtab.c

OS-4904 mdb can't print types from an object file with ctf
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4341 libproc should also check the GNU build id in addition to the debug link
Reviewed by: Patrick Mooney <patrick.f.mooney@gmail.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4050 libproc reads .gnu_debuglink padding incorrectly
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3780 libproc could know about .gnu_debuglink for remote symbol tables
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
418 lines changed: 407 ins; 0 del; 11 mod; 3140 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libzonecfg/Makefile.com

OS-4361 libzonecfg should be aware of branded zone native root
Reviewed by: Robert Mustacchi <rm@joyent.com>
16 lines changed: 15 ins; 0 del; 1 mod; 48 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libzonecfg/common/getzoneent.c

OS-4361 libzonecfg should be aware of branded zone native root
Reviewed by: Robert Mustacchi <rm@joyent.com>
46 lines changed: 24 ins; 9 del; 13 mod; 463 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libzonecfg/common/libzonecfg.c

OS-200 need a better mechanism for storing persistent zone_did
OS-511 make zonecfg device resource extensible, like the net resource
OS-224 add more zonecfg net properties
OS-216 store all net config info on zone
OS-4361 libzonecfg should be aware of branded zone native root
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3437 zonecfg failure when pool is full leaves VMs appearing to be missing
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
633 lines changed: 451 ins; 110 del; 72 mod; 7883 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libzonecfg/common/mapfile-vers

OS-200 need a better mechanism for storing persistent zone_did
OS-511 make zonecfg device resource extensible, like the net resource
OS-224 add more zonecfg net properties
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
12 lines changed: 8 ins; 4 del; 0 mod; 237 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-200 need a better mechanism for storing persistent zone_did
OS-511 make zonecfg device resource extensible, like the net resource
OS-224 add more zonecfg net properties
OS-216 store all net config info on zone
12 lines changed: 9 ins; 0 del; 3 mod; 158 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/xml/os_dtd.c

OS-4361 libzonecfg should be aware of branded zone native root
Reviewed by: Robert Mustacchi <rm@joyent.com>
238 lines changed: 238 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/lib/xml/os_dtd.h

OS-4361 libzonecfg should be aware of branded zone native root
Reviewed by: Robert Mustacchi <rm@joyent.com>
49 lines changed: 49 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man1/pfexec.1
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-5440 pfexec and the case of the missing error message
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
6 lines changed: 5 ins; 0 del; 1 mod; 106 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man1/zlogin.1
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-4136 would like SIGUSR to zlogin to switch in and out of '-N' modes
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4109 'zlogin -I' should close /dev/zfd/0 when it exits
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3529 would like zlogin -i
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
66 lines changed: 42 ins; 9 del; 15 mod; 272 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man1m/mount_tmpfs.1m
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-4060 need tmpfs size support in percent
OS-4043 tmpfs should support gigabyte sizes
OS-4044 tmpfs should support "mode" option
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
21 lines changed: 17 ins; 0 del; 4 mod; 108 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man1m/zonecfg.1m
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
21 lines changed: 6 ins; 11 del; 4 mod; 1857 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man2/meminfo.2
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-4028 need a priv for meminfo and disallow by default for a zone
6 lines changed: 6 ins; 0 del; 0 mod; 268 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man3c/Makefile

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
3 lines changed: 3 ins; 0 del; 0 mod; 2503 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/man/man3c/inotify_add_watch.3c
man: ------ ------ ------ ------ ------ TXT HTML Raw

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
120 lines changed: 120 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/man/man3c/inotify_init.3c
man: ------ ------ ------ ------ ------ TXT HTML Raw

OS-3629 FIONREAD on inotify(5) instance returns wrong value the wrong way
OS-3630 typo in inotify_init(3C) man page
OS-3631 poll on inotify(5) instance can return spuriously
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
107 lines changed: 107 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/man/man3c/inotify_rm_watch.3c
man: ------ ------ ------ ------ ------ TXT HTML Raw

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
81 lines changed: 81 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man3c/signalfd.3c
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-5370 panic in signalfd (fix mancheck)
OS-5370 panic in signalfd
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
19 lines changed: 16 ins; 0 del; 3 mod; 189 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man4/proc.4
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3463 expose process argv through procfs
OS-3207 in lx zone, 'ps auxww' does not show full cmdline for processes
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3383 lx brand: node.js test test-setproctitle.js fails
OS-15 add procfs equivalent to prctl(PR_SET_NAME)
107 lines changed: 37 ins; 68 del; 2 mod; 2946 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man4/process.4
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-5642 containerbuddy unable to fork while using syslog driver, causing container services to hang
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4818 contract template disappears on exec
17 lines changed: 16 ins; 0 del; 1 mod; 564 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man5/Makefile

OS-5081 brands(5) mentions missing pages.
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
3 lines changed: 2 ins; 0 del; 1 mod; 210 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man5/brands.5
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-5081 brands(5) mentions missing pages.
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
2 lines changed: 0 ins; 1 del; 1 mod; 85 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/man/man5/inotify.5
man: ------ ------ ------ ------ ------ TXT HTML Raw

OS-3900 minor inotify cleanup
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
305 lines changed: 305 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/man/man5/lx.5
man: ------ ------ ------ ------ ------ TXT HTML Raw

OS-5081 brands(5) mentions missing pages.
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
108 lines changed: 108 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man7d/Makefile

OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
3 lines changed: 2 ins; 0 del; 1 mod; 291 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/man/man7d/cpuid.7d
man: Cdiffs Udiffs Wdiffs Sdiffs Frames TXT HTML Raw

OS-4368 lxbrand glibc abhors CPUID limits
5 lines changed: 5 ins; 0 del; 0 mod; 155 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/man/man7d/zfd.7d
man: ------ ------ ------ ------ ------ TXT HTML Raw

OS-4854 would like option to disable gz logging via zfd [fix mancheck issues]
OS-4854 would like option to disable gz logging via zfd
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
81 lines changed: 81 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/pkg/manifests/SUNWlx.mf

OS-2834 ship lx brand
8 lines changed: 3 ins; 2 del; 3 mod; 25 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/pkg/manifests/system-header.mf

sys/limits.h needs to be packaged
1 line changed: 1 ins; 0 del; 0 mod; 2147 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/pkg/manifests/system-kernel.mf

zfdnex also needs to be in system/kernel, like zconsnex
3 lines changed: 2 ins; 0 del; 1 mod; 939 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/pkg/manifests/system-test-ostest.mf

Fix Makefile mismerge and IPS manifest of OS-5585 and OS-5591
OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
5 lines changed: 5 ins; 0 del; 0 mod; 38 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/pkg/manifests/system-zones-brand-lx.mf

Remove lxprocfs - not needed for LX zones.
pollhead_clean now upstream, remove from LX manifest.
LX brand manifest was missing two device entries.
Larval lx_install script.
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Move zfd(7D) out of brand/lx and into system/zones, plus some brand/lx header
file removals.
gcc44 cleanup
Update LX packaging
OS-3827 lxbrand remove lx_thunk code
OS-4251 lxbrand want lx_init for less boot-time overrides
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2871 lx brand add debian support to lx_init_zone
OS-2834 ship lx brand
127 lines changed: 124 ins; 0 del; 3 mod; 25 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/pkg/manifests/system-zones.mf

Move zfd(7D) out of brand/lx and into system/zones, plus some brand/lx header
file removals.
4 lines changed: 4 ins; 0 del; 0 mod; 115 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/test/os-tests/runfiles/omnios.run

OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
7 lines changed: 7 ins; 0 del; 0 mod; 28 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/test/os-tests/tests/Makefile

Fix Makefile mismerge and IPS manifest of OS-5585 and OS-5591
OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 17 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/test/os-tests/tests/file-locking/Makefile

lgen shouldn't be in file-locking tests
Reduce lint noise in file-locking tests
OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
75 lines changed: 75 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/test/os-tests/tests/file-locking/acquire-lock.c

OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
161 lines changed: 161 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/test/os-tests/tests/file-locking/runtests.c

OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
677 lines changed: 677 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/test/os-tests/tests/file-locking/util.c

OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
175 lines changed: 175 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/test/os-tests/tests/file-locking/util.h

OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
49 lines changed: 49 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/Makefile.files

Remove lxprocfs - not needed for LX zones.
OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-3748 lxbrand remove the remaining obsolete audio code
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3463 expose process argv through procfs
OS-3207 in lx zone, 'ps auxww' does not show full cmdline for processes
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-2810 siginfo missed lxproc
OS-1694 exit()/lxprocfs races can induce panic
OS-1682 lxpr_uiobuf_write() can overflow its buffer
OS-1119 add lxproc, a coarsely Linux-compatible /proc
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2834 ship lx brand
16 lines changed: 13 ins; 0 del; 3 mod; 2216 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/Makefile.rules

Remove lxprocfs - not needed for LX zones.
OS-2810 siginfo missed lxproc
OS-1694 exit()/lxprocfs races can induce panic
OS-1682 lxpr_uiobuf_write() can overflow its buffer
OS-1119 add lxproc, a coarsely Linux-compatible /proc
3 lines changed: 3 ins; 0 del; 0 mod; 2789 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/autofs/lx_autofs.c

Reduce lint
OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5068 lx autofs /net map not working - offset mounts don't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5069 lxbrand autofs direct mounts don't work
OS-5076 autofs should wait for the full timeout before passing expire back to the automounter
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5035 lxbrand autofs does not expire mount points
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4969 lx automounter lock issue
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4287 lx error starting autofs
OS-4363 lxautofs should receive all autofs ioctls
OS-4360 cleanup lx_afs as a prelude for v5 work
OS-2834 ship lx brand
3159 lines changed: 3159 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/autofs/lxautofs.conf

OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
14 lines changed: 14 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/cgroups/cgrps.h

OS-5571 incorrect task count in cgroup 0
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4495 support cgroups notify_on_release and release_agent
OS-4208 need cgroup support
OS-4323 stub out cgroup fs
222 lines changed: 222 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/cgroups/cgrps_node.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4495 support cgroups notify_on_release and release_agent
OS-4208 need cgroup support
OS-4323 stub out cgroup fs
1014 lines changed: 1014 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/cgroups/cgrps_vfsops.c

OS-5571 incorrect task count in cgroup 0
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5380 lxbrand cgroupfs deadlocks against pidlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5119 zone branding deadlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4621 cgrp _fini can fail and leave ops NULL
OS-4544 cgroup release_agent argument path should start with /
OS-4495 support cgroups notify_on_release and release_agent
OS-4208 need cgroup support
OS-4323 stub out cgroup fs
1071 lines changed: 1071 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/cgroups/cgrps_vnops.c

OS-5571 incorrect task count in cgroup 0
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5380 lxbrand cgroupfs deadlocks against pidlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4495 support cgroups notify_on_release and release_agent
OS-4208 need cgroup support
OS-4444 minor build issues
OS-4434 stub out cgroup writes
OS-4431 allow cgroup file open with O_CREAT
OS-4323 stub out cgroup fs
1600 lines changed: 1600 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/devfs/lxd.h

OS-5480 zvol device resets mode/grp on reboot, breaks MapR
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5035 lxbrand autofs does not expire mount points
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
244 lines changed: 244 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/devfs/lxd_attrdb.c

OS-5480 zvol device resets mode/grp on reboot, breaks MapR
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
368 lines changed: 368 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/devfs/lxd_node.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
1003 lines changed: 1003 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/devfs/lxd_vfsops.c

OS-5482 SIGAR cannot report disk I/O
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5480 zvol device resets mode/grp on reboot, breaks MapR
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5258 /proc/$pid/stat tty_nr is an untranslated illumos dev_t
OS-5246 Add support for /proc/devices
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5138 lx devfs init can lead to recursive rwlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5085 lxdevfs blown assert
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
860 lines changed: 860 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/devfs/lxd_vnops.c

OS-5480 zvol device resets mode/grp on reboot, breaks MapR
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5258 /proc/$pid/stat tty_nr is an untranslated illumos dev_t
OS-5246 Add support for /proc/devices
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5104 user-mode emulation stat(2) gets incorrect st_rdev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5079 lx_devfs should support VSOCK creation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5075 unused variable in lxd_vnops.c
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
1519 lines changed: 1519 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/dtrace/lx_systrace.c

OS-5593 lxbrand fix lingering lint errors
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3503 lx brand: lx-syscall provider should have DTRACE_PRIV_USER
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
499 lines changed: 499 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/dtrace/lx_systrace.conf

OS-2834 ship lx brand
27 lines changed: 27 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/io/lx_netlink.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4815 NULL-dereference causes crash in so_dequeue_msg()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4658 lxbrand netlink falsely reports setsockopt(SO_RECVUCRED) failure
OS-4603 lxbrand netlink should support SO_RECVUCRED
OS-4538 lxbrand systemd Failed to configure loopback device
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4338 lxbrand expose route info via netlink
OS-3866 lxbrand ip route show fails
OS-4275 lxbrand ansible unable to query network facts
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4285 lxbrand sssd attempts AF_NETLINK bind with nonzero nl_pid
OS-4240 upstart-udev-bridge aborts due to missing AF_NETLINK
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4252 zlogin to centos7 lx zone panics
OS-4199 lxbrand simple/test-os.js balks at improper data
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4154 lxbrand support TCP_DEFER_ACCEPT
OS-4131 lxbrand AF_NETLINK should be handled consistently
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3295 ltp sendmsg01 hangs running 'ip link set lo up'
OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
1686 lines changed: 1686 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/io/lx_ptm.c

OS-4656 nested epoll does not mimic Linux behavior
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-5162 poll/select yield improper EINTR when nfds and timeout are 0
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-5092 PTY allocation request failed on channel 0
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4225 lxbrand TIOCSWINSZ error when using apt-get on Ubuntu 14.10 and 15.04
OS-3626 lxbrand zone stuck in shutdown
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2834 ship lx brand
1188 lines changed: 1188 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/io/lx_ptm.conf

OS-2834 ship lx brand
27 lines changed: 27 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/os/lx_brand.c

OS-5630 lx_fix_netstack() ironically leaks netstack reference
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Joshua M. Clulow <jmc@joyent.com>
OS-5593 lxbrand fix lingering lint errors
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5495 lxbrand should not define extra privileged ports
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5431 under many conditions, ptrace (strace) on Ubuntu 16 shows syscalls return ENOSYS
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-5354 lx shebang argument handling is incorrect
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5258 /proc/$pid/stat tty_nr is an untranslated illumos dev_t
OS-5246 Add support for /proc/devices
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5072 lxbrand support PT_GNU_STACK
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5247 fdisk -l core dumps
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4612 Want zvol block devices in LX to handle some Linux disk ioctls
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5201 lxbrand zone attr manipulation requires lighter touch
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5189 lx dev enumeration can deadlock with zfs
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5184 lxbrand sets AT_BASE incorrectly for ld.so
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5119 zone branding deadlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4824 Unlike Linux, nested interpreters don't work
(LX changes only, the rest were upstreamed...)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4588 lx panic: assertion failed MUTEX_HELD(&p->p_lock), file: ../../common/os/sig.c, line: 247
OS-4571 lxbrand allow manipulation of uname release and version (unused var)
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4495 support cgroups notify_on_release and release_agent
OS-4514 lxbrand timer_create(SIGEV_THREAD_ID) is broken
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4414 lxbrand fumbles unload failure
OS-4338 lxbrand expose route info via netlink
OS-3866 lxbrand ip route show fails
OS-4275 lxbrand ansible unable to query network facts
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4201 need GS support in arch_prctl()
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4178 lxbrand panic during zone ksocket teardown
OS-4138 lxbrand socket ioctls should be flexible about address family
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3934 lxbrand LX_STRICT should be handled in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4093 lxbrand setsockopt failed for SO_SNDBUF
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4039 lxbrand lx_native_exec incorrect inside chroot
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4084 getrlimit kills performance, move into kernel
OS-3825 lxbrand rsyslogd abort on centos6
OS-4047 lxbrand vsyscall while SIGSEGV? on next trap we're handler-free!
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3802 LTP kill11 test case fails after vsyscall signal changes
OS-3803 LTP kill12 test failing
OS-3804 LTP signal03 failing
OS-3805 LTP waitpid05 failing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3778 lxbrand panic when ptracing native process
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3750 lxbrand cleanup LX_ATTR_RESTART_INIT dead code
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
OS-3683 lx brand: bad interpreter can induce bad free
OS-3686 lxbrand upstart/ptrace interaction sometimes leaves a svc parent process stopped
OS-3675 lxbrand ptrace setoptions handling is broken
OS-3352 ptrace needs to work for linux, wait on non-children etc.
OS-3306 PTRACE_O_TRACEFORK should stop parent and child as they exit fork
OS-3250 lxbrand initctl stop/start svcs can hang
OS-2916 lxbrand add ptrace PTRACE_GETEVENTMSG support
OS-3611 lx brand: 64-bit processes should not use VAs above VA hole
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3602 lxbrand LTP recv* tests failing on MSG_ERRQUEUE flag
OS-3600 lxbrand 32bit cannot boot with OS-3594 fix
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3594 lx brand: need support for MAP_32BIT
OS-3598 lx brand: RLIM_INFINITY not correctly expressed on 64-bit
OS-3599 lx brand: glibc derives incorrect default stack size on 64-bit
OS-3488 lxbrand 64bit LTP kill11 test failing for SIGPWR
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
OS-3440 lxbrand 64bit cleanup fsbase switching code
OS-3542 'zlogin <zonename>' fails for LX with '-sh: can't set tty process group (Invalid argument)'
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3344 lx describe how p_brand_data is freed
OS-3517 lx brand: branded zones don't interpret .interp section
OS-3497 lx brand: lx-syscall provider has wrong args on 32-bit
OS-3484 lxbrand 64bit core dumps in _ti_bind_guard
OS-3438 lx brand: "start rsyslog" hangs
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-3402 lxbrand 64bit can lose track of Linux %fsbase
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-2844 lx brand should support 64-bit user-land
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3216 lxbrand invoke sdt probe for unsupported kernel emulation
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3202 lxbrand fork failure when ENOMEM causes panic
OS-2873 lx brand executing 64-bit binary causes panic
OS-3105 lxbrand assertion failed panic on debug kernel
OS-3052 lx brand better dtrace support for unsupported capabilities
OS-2922 lxbrand mountall aborts, udev assertion failure
OS-2924 unused var in lx_ptrace_stop_for_option
OS-2917 lxbrand ptrace option stop never generates SIGCHLD
OS-2918 unused variable in lx_ptrace_ext_opts
OS-2894 lxbrand add PTRACE_O_TRACEFORK and PTRACE_O_TRACEEXEC support
OS-2877 lx_librtld_db falls to load due to NULL DT_DEBUG
OS-2874 lx brand build warning
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
2630 lines changed: 2630 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/os/lx_misc.c

OS-5510 remove lwp_brand_syscall_fast handler
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5431 under many conditions, ptrace (strace) on Ubuntu 16 shows syscalls return ENOSYS
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5119 zone branding deadlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4495 support cgroups notify_on_release and release_agent
OS-4460 exec brands processes that still have multiple threads
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4208 need cgroup support
OS-4438 lxbrand ptrace should support PTRACE_GETSIGINFO
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4385 lx brand: when pid set, wait4(__WALL) misbehaves in ptrace tracers
OS-4387 lx brand: lx brand: redefinition of LX_PTRACE_SYSCALL wreaks havoc
OS-4347 lxbrand lx_freelwp should clean up more aggressively
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4199 lxbrand simple/test-os.js balks at improper data
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4201 need GS support in arch_prctl()
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4192 lx brand: add support for robust mutexes
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3882 lxbrand execing processes not stopping for PTRACE_O_TRACEEXEC
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3778 lxbrand panic when ptracing native process
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3440 lxbrand 64bit cleanup fsbase switching code
OS-3436 lxbrand 64bit native libc can use incorrect thread pointer via %fs:0
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-3400 lxbrand 64bit - segv in child after clone
OS-3399 lx brand: ptrace(PTRACE_SYSCALL) fails with EIO
OS-3384 lx branded zones are unable to execute 64-bit native binaries
OS-3383 lx brand: node.js test test-setproctitle.js fails (superfluous file)
OS-3383 lx brand: node.js test test-setproctitle.js fails
OS-3375 lxbrand agent lwp causes 64-bit segv
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3006 lx_fixsegreg() corrupts TLS selectors
OS-2834 ship lx brand
1124 lines changed: 1124 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/os/lx_pid.c

OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3550 lxbrand busybox shell reports incorrect pid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2834 ship lx brand
395 lines changed: 395 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/os/lx_ptrace.c

OS-4900 lxbrand strace has detachment problems
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5497 ptrace (strace) incorrect for pid 1
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5431 under many conditions, ptrace (strace) on Ubuntu 16 shows syscalls return ENOSYS
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5204 lxbrand panic in br_issig_stop handler
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5086 lxbrand vfork(2) hangs under strace -f
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4899 lxbrand signal ignorance impossible in former ptracees
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4790 lxbrand lx_winfo definitions should be distinct
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4450 lxbrand ptrace detach SIGSTOPs tracee
OS-4451 lxbrand ptrace takes signal ignorance a step too far
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4438 lxbrand ptrace should support PTRACE_GETSIGINFO
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4437 lxbrand ptrace turns harmless signals deadly
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4385 lx brand: when pid set, wait4(__WALL) misbehaves in ptrace tracers
OS-4387 lx brand: lx brand: redefinition of LX_PTRACE_SYSCALL wreaks havoc
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3882 lxbrand execing processes not stopping for PTRACE_O_TRACEEXEC
OS-3888 lxbrand strace broken on centos6
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
2638 lines changed: 2638 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/os/lx_signal.c

OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
50 lines changed: 50 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/os/lx_syscall.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5510 remove lwp_brand_syscall_fast handler
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5491 lxbrand convert last socket syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5357 datadog doesn't work correctly in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5117 lxbrand convert preadv/pwritev to IKE
OS-3762 lxbrand update vectored IO for new IOV_MAX value
OS-5133 lxbrand rw syscalls should be consistent about EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5122 lxbrand should tolerate cap_set_file
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4828 lxbrand convert pread/pwrite to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5036 lxbrand needs sync_file_range syscall
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4980 lxbrand move sockopt syscalls in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4983 lxbrand nginx proxy mangles content
OS-4829 lxbrand convert readv/writev to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4680 lxbrand use IKE close(2) when AIO not present
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4855 lxbrand convert epoll_ctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4784 lxbrand rtorrent spins on tgkill(SIGUSR1)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4002 ionice requirements not met on lx ubuntu64 14.04.003
OS-4587 lx: ubuntu 15.04 - Failed at step IOPRIO spawning /bin/systemd-tmpfiles: Function not implemented
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4517 lxbrand convert bind to IKE (remove unused function)
OS-4517 lxbrand convert bind to IKE
OS-4505 lxbrand java fails to bind on ipv6 address
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4485 lxbrand ltp fallocate tests fail on 32bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4475 rkt run needs syncfs
OS-4469 journald needs fallocate(2) syscall
OS-4114 lxbrand convert sendmsg and recvmsg to IKE
OS-4257 lxbrand convert sendto and recvfrom to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4192 lx brand: add support for robust mutexes
OS-4149 lxbrand setxattr(2), lsetxattr(2) and fsetxattr(2) should fail ENOTSUP
OS-4133 handle FIOSETOWN and FIOGETOWN for in-kernel fcntl
OS-4115 lxbrand expose getrandom(2)
OS-3934 lxbrand LX_STRICT should be handled in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4125 Error with nginx startup: fcntl(F_SETOWN) failed while spawning 'worker process' (22: Invalid argument)
OS-4116 move close back to userland until aio is resolved
OS-4098 move open, close and fcntl into the kernel
OS-4084 getrlimit kills performance, move into kernel
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-4071 lxbrand in-kernel gettimeofday(2)
OS-3825 lxbrand rsyslogd abort on centos6
OS-4047 lxbrand vsyscall while SIGSEGV? on next trap we're handler-free!
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-4004 lx brand: lx_vsyscall_call()/anon_resvmem() deadlock
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3912 lxbrand restore preadv/pwritev
OS-3910 lx brand: restore AIO
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3551 lxbrand read syscall path is 1/2 the speed of native
OS-3422 lx brand: need to support tgkill() when tgid is not pid
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-2844 lx brand should support 64-bit user-land
OS-3195 rt_sigqueueinfo system call needs emulation in lx brand
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-2929 add new syscalls to lx brand table [update kernel syscall table]
OS-2834 ship lx brand
1221 lines changed: 1221 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/procfs/lx_proc.h

OS-5481 SIGAR sees no processes or filesystems on Ubuntu 16.04
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5331 Add support for sysctl net.ipv4.ip_local_port_range to LX proc
OS-5342 writing to writable proc files can fail
OS-5344 streamline proc write support
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4652 lxbrand want /proc/pid/loginuid
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4633 lxbrand: want tunables for tcp connection
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4630 lxbrand: want vm.max_map_count tunable
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5233 lxbrand mapr wants /proc/vmstat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5196 lxbrand Mesos fails OsTest.Killtree test
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5126 lxbrand provide /proc/sys/kernel/shmall
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5098 lxbrand want kernel.shmmni and kernel.sem tunables
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4736 lxbrand cannot open /dev/fd/# with O_CREAT
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4660 lxproc new core_pattern support does not validate output length correctly
OS-4662 lx_proc core_pattern doesn't handle pipe to exec
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>
OS-4611 lxproc should list zvol devices in /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3916 lxbrand support /proc/sys/kernel/core_pattern
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3182 lxbrand emulate /proc/sys/net/core/somaxconn
OS-4594 lxbrand needs /proc/sys/vm/overcommit_memory
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4596 need /proc/sys/kernel/cap_last_cap
OS-4592 lxbrand fix lx_proc header guards
OS-4590 lxbrand wants /proc/sys/vm/swappiness
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3815 lxbrand implement /proc/pid/auxv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4572 centos7 ps needs /proc/sys/vm/min_free_kbytes
OS-4467 journald depends on /proc/sys/kernel/random/boot_id
OS-4473 rkt needs /proc/sys/kernel/osrelease
OS-4464 ltp futex_wake04 fails, needs /proc/sys/vm/nr_hugepages
OS-4443 d-bus daemon needs writable /proc/self/oom_score_adj
OS-4430 need /proc/self/cgroup
OS-4353 missing /proc/{pid}/comm
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4349 systemd needs /proc/cgroups
OS-4292 lx brand: no synchronization with respect to lxpr_cons_ldih
OS-4296 lx brand: lxpr_readdir_*() variants suffer from signed comparisons
OS-4074 missing /proc/diskstats file in lx-ubuntu64 zone
OS-3314 want /proc/<pid>/task/<tid>/stat
OS-3798 lxbrand populate /proc/net/snmp
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3485 lxbrand populate /proc for netstat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3740 lx brand should have /proc/net/{tcp,udp,tpc6,udp6}
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3662 lxbrand emulate /proc/net/if_inet6
OS-3667 lxbrand support RO ifconfig
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3569 lxbrand implement /proc/swaps
OS-3171 lxbrand add /proc/XXX/limits
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3466 lxbrand /proc/sys/kernel/hostname missing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3449 lxbrand provide /proc/modules
OS-3366 add lx brand support for inotify
OS-3329 ltp proc01 non-blocking read of /proc/kmsg hangs
OS-2952 lx brand needs to support or emulate rtnetlink(7) (missing file)
OS-3287 ltp waitid returns wrong errno for invalid options
OS-3286 ltp waitid P_PGID subtests fails
OS-3285 ltp need /proc/sys/kernel/msgmni
OS-3278 lx need /proc/sys/kernel/shmmax
OS-3174 lxbrand missing /proc/sys emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2983 lx brand mountall:/proc/self/mountinfo: No such file or directory
OS-2834 ship lx brand
351 lines changed: 351 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/procfs/lx_prsubr.c

OS-5596 lxbrand lock ordering issue in lxpr_lookup_fdnode
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5373 lx_proc panic while reading /proc/<pid>/exe link
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5331 Add support for sysctl net.ipv4.ip_local_port_range to LX proc
OS-5342 writing to writable proc files can fail
OS-5344 streamline proc write support
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4652 lxbrand want /proc/pid/loginuid
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4633 lxbrand: want tunables for tcp connection
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5196 lxbrand Mesos fails OsTest.Killtree test
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5126 lxbrand provide /proc/sys/kernel/shmall
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4736 lxbrand cannot open /dev/fd/# with O_CREAT
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4660 lxproc new core_pattern support does not validate output length correctly
OS-4662 lx_proc core_pattern doesn't handle pipe to exec
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>
OS-4611 lxproc should list zvol devices in /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3916 lxbrand support /proc/sys/kernel/core_pattern
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3182 lxbrand emulate /proc/sys/net/core/somaxconn
OS-4594 lxbrand needs /proc/sys/vm/overcommit_memory
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4590 lxbrand wants /proc/sys/vm/swappiness
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4467 journald depends on /proc/sys/kernel/random/boot_id
OS-4473 rkt needs /proc/sys/kernel/osrelease
OS-4464 ltp futex_wake04 fails, needs /proc/sys/vm/nr_hugepages
OS-3314 want /proc/<pid>/task/<tid>/stat
OS-3806 /proc/self/fd/2 is no longer working in LX
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3485 lxbrand populate /proc for netstat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3689 lxbrand yorick interpreter spins on ^D
OS-3687 lxbrand zsched should be pid 0
OS-3366 add lx brand support for inotify
OS-3329 ltp proc01 non-blocking read of /proc/kmsg hangs
OS-3174 lxbrand missing /proc/sys emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3117 lxbrand proc module unload panics on debug kernel
OS-2986 lx brand - add existing proc fixes
OS-2834 ship lx brand
852 lines changed: 852 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/procfs/lx_prvfsops.c

OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4611 lxproc should list zvol devices in /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3117 lxbrand proc module unload panics on debug kernel
OS-2834 ship lx brand
377 lines changed: 377 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/procfs/lx_prvnops.c

OS-3831 lxbrand /proc/cmdline should reflect zone boot arguments
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5472 lx_proc cpuinfo missing sse4 and avx flags
OS-4941 lx_proc cpuinfo missing aes-ni flag
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5505 /proc/stat cpu entries should be version-aware
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5481 SIGAR sees no processes or filesystems on Ubuntu 16.04
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-5358 Java find_vma failed
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5350 /proc/self/loginuid blocks ssh login to centos7
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5331 Add support for sysctl net.ipv4.ip_local_port_range to LX proc
OS-5342 writing to writable proc files can fail
OS-5344 streamline proc write support
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4652 lxbrand want /proc/pid/loginuid
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5303 /proc/meminfo should report 0 swap space used
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5297 ps auxHk -pcpu output is different between lx and linux
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4633 lxbrand: want tunables for tcp connection
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4630 lxbrand: want vm.max_map_count tunable
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5258 /proc/$pid/stat tty_nr is an untranslated illumos dev_t
OS-5246 Add support for /proc/devices
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5243 unused variable in lx_prvnops.c
OS-5244 lx_proc spacing problem in /proc/partitions format
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5233 lxbrand mapr wants /proc/vmstat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5196 lxbrand Mesos fails OsTest.Killtree test
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5191 consistent use of zpool name as device in /proc/diskstats and /proc/mounts
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5187 improve /proc/diskstat handling
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5170 lxbrand iostat needs /sys/block entries
OS-5171 lxbrand iostat interprets major/minor numbers in /proc/diskstats
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5149 /proc/self/mountinfo should be clean like /proc/mounts
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4762 lxbrand /proc/mounts could tell a better story
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5126 lxbrand provide /proc/sys/kernel/shmall
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5119 zone branding deadlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5106 lx_proc should be more mindful of p_lock
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5103 lx_proc careless with locks in pid/env
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5098 lxbrand want kernel.shmmni and kernel.sem tunables
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5083 lx_proc /proc/swaps needs to try harder
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5078 illumos#6514 broke vm_usage and lx proc
OS-5042 lxbrand /proc/version should reflect uname value
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5012 lxbrand pstree confused by native /proc/<pid>/tasks
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4736 lxbrand cannot open /dev/fd/# with O_CREAT
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4648 LX /proc/cpuinfo starts at current CPU instead of #0
OS-4660 lxproc new core_pattern support does not validate output length correctly
OS-4662 lx_proc core_pattern doesn't handle pipe to exec
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>
OS-4611 lxproc should list zvol devices in /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4657 LX brand /proc/swaps should show some swap
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3916 lxbrand support /proc/sys/kernel/core_pattern
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3182 lxbrand emulate /proc/sys/net/core/somaxconn
OS-4597 newer versions of the dbus-daemon need CapBnd in /proc/self/status
OS-4594 lxbrand needs /proc/sys/vm/overcommit_memory
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4596 need /proc/sys/kernel/cap_last_cap
OS-4590 lxbrand wants /proc/sys/vm/swappiness
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3815 lxbrand implement /proc/pid/auxv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4572 centos7 ps needs /proc/sys/vm/min_free_kbytes
OS-4532 lxbrand bad assert in lxpr_read_pid_comm
OS-4467 journald depends on /proc/sys/kernel/random/boot_id
OS-4473 rkt needs /proc/sys/kernel/osrelease
OS-4464 ltp futex_wake04 fails, needs /proc/sys/vm/nr_hugepages
OS-4443 d-bus daemon needs writable /proc/self/oom_score_adj
OS-4430 need /proc/self/cgroup
OS-4353 missing /proc/{pid}/comm
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4360 cleanup lx_afs as a prelude for v5 work
OS-4349 systemd needs /proc/cgroups
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4288 lxbrand reads of /proc/pid/status leads to high SYS time
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4292 lx brand: no synchronization with respect to lxpr_cons_ldih
OS-4296 lx brand: lxpr_readdir_*() variants suffer from signed comparisons
OS-4269 lx brand: readdir() neglects to return EOF in some cases
OS-4286 lx brand: lxpr_read_net_unix() can read/return uninitialized data
OS-4277 lx procfs /proc/{pid}/environ always empty
OS-4074 missing /proc/diskstats file in lx-ubuntu64 zone
OS-4049 lxbrand lxpr_kstat_read() returns a buffer it just freed!
OS-3314 want /proc/<pid>/task/<tid>/stat
OS-3896 lxbrand LTP futex_wait03 spins due to inaccurate LX procfs run state
OS-3798 lxbrand populate /proc/net/snmp
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3797 lxbrand populate /proc/net/unix
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3806 /proc/self/fd/2 is no longer working in LX
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3793 lxbrand /proc/pid/maps formatted incorrectly
OS-3799 lxbrand panic when accessing /proc/net/tcp from GZ
OS-3485 lxbrand populate /proc for netstat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3740 lx brand should have /proc/net/{tcp,udp,tpc6,udp6}
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3463 expose process argv through procfs
OS-3207 in lx zone, 'ps auxww' does not show full cmdline for processes
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3689 lxbrand yorick interpreter spins on ^D
OS-3687 lxbrand zsched should be pid 0
OS-3662 lxbrand emulate /proc/net/if_inet6
OS-3667 lxbrand support RO ifconfig
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3666 lxbrand panic in /proc/net/dev access
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3657 lxbrand emulate /proc/net/dev
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3376 lxbrand /proc/meminfo formatted incorrectly
OS-3569 lxbrand implement /proc/swaps
OS-3547 lx brand: /proc/self/maps incorrect on 64-bit
OS-3522 lxbrand panic introduced by OS-3171
OS-3171 lxbrand add /proc/XXX/limits
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3466 lxbrand /proc/sys/kernel/hostname missing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3449 lxbrand provide /proc/modules
OS-3430 panic reading lxproc kmsg
OS-3370 LX Brand missing btime in /proc/stat
OS-2844 lx brand should support 64-bit user-land
OS-3366 add lx brand support for inotify
OS-3329 ltp proc01 non-blocking read of /proc/kmsg hangs
OS-2952 lx brand needs to support or emulate rtnetlink(7) (missing file)
OS-3287 ltp waitid returns wrong errno for invalid options
OS-3286 ltp waitid P_PGID subtests fails
OS-3285 ltp need /proc/sys/kernel/msgmni
OS-3278 lx need /proc/sys/kernel/shmmax
OS-3274 lx proc status always shows 0 for VmLck
OS-3174 lxbrand missing /proc/sys emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3137 lxbrand pipe does not pollnotify when end is closed [fix comment]
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-2983 lx brand mountall:/proc/self/mountinfo: No such file or directory [fix typo in assert]
OS-2986 lx brand - add existing proc fixes
OS-2983 lx brand mountall:/proc/self/mountinfo: No such file or directory
OS-2897 lxbrand /proc/fd handling broken for pipes
OS-2886 implement missing waitid flags
OS-2879 lx brand procfs fd handling fails for unamed pipes and sockets
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
7344 lines changed: 7344 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_autofs.h

OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5068 lx autofs /net map not working - offset mounts don't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5069 lxbrand autofs direct mounts don't work
OS-5076 autofs should wait for the full timeout before passing expire back to the automounter
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5035 lxbrand autofs does not expire mount points
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4287 lx error starting autofs
OS-4363 lxautofs should receive all autofs ioctls
OS-4360 cleanup lx_afs as a prelude for v5 work
OS-4037 lxbrand tmpfs needs "size" and "mode" mount(2) options
OS-4036 lxbrand mount(2) should be more accurate with errno
OS-4042 lxbrand support "strictatime" mount(2) option
OS-2834 ship lx brand
511 lines changed: 511 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_autofs_impl.h

OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5068 lx autofs /net map not working - offset mounts don't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5069 lxbrand autofs direct mounts don't work
OS-5076 autofs should wait for the full timeout before passing expire back to the automounter
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5035 lxbrand autofs does not expire mount points
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4287 lx error starting autofs
OS-2834 ship lx brand
162 lines changed: 162 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_brand.h

OS-5510 remove lwp_brand_syscall_fast handler
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5431 under many conditions, ptrace (strace) on Ubuntu 16 shows syscalls return ENOSYS
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4652 lxbrand want /proc/pid/loginuid
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4612 Want zvol block devices in LX to handle some Linux disk ioctls
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5202 Support AT_SECURE & AT_*ID in LX
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5119 zone branding deadlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4680 lxbrand use IKE close(2) when AIO not present
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4899 lxbrand signal ignorance impossible in former ptracees
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4596 need /proc/sys/kernel/cap_last_cap
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4495 support cgroups notify_on_release and release_agent
OS-4514 lxbrand timer_create(SIGEV_THREAD_ID) is broken
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4467 journald depends on /proc/sys/kernel/random/boot_id
OS-4473 rkt needs /proc/sys/kernel/osrelease
OS-4464 ltp futex_wake04 fails, needs /proc/sys/vm/nr_hugepages
OS-4208 need cgroup support
OS-4437 lxbrand ptrace turns harmless signals deadly
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4338 lxbrand expose route info via netlink
OS-3866 lxbrand ip route show fails
OS-4275 lxbrand ansible unable to query network facts
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4385 lx brand: when pid set, wait4(__WALL) misbehaves in ptrace tracers
OS-4387 lx brand: lx brand: redefinition of LX_PTRACE_SYSCALL wreaks havoc
OS-4201 need GS support in arch_prctl()
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4192 lx brand: add support for robust mutexes
OS-4138 lxbrand socket ioctls should be flexible about address family
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3934 lxbrand LX_STRICT should be handled in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4084 getrlimit kills performance, move into kernel
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3778 lxbrand panic when ptracing native process
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3750 lxbrand cleanup LX_ATTR_RESTART_INIT dead code
OS-3675 lxbrand ptrace setoptions handling is broken
OS-3352 ptrace needs to work for linux, wait on non-children etc.
OS-3306 PTRACE_O_TRACEFORK should stop parent and child as they exit fork
OS-3250 lxbrand initctl stop/start svcs can hang
OS-2916 lxbrand add ptrace PTRACE_GETEVENTMSG support
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3598 lx brand: RLIM_INFINITY not correctly expressed on 64-bit
OS-3599 lx brand: glibc derives incorrect default stack size on 64-bit
OS-3488 lxbrand 64bit LTP kill11 test failing for SIGPWR
OS-3551 lxbrand read syscall path is 1/2 the speed of native
OS-3517 lx brand: branded zones don't interpret .interp section
OS-3484 lxbrand 64bit core dumps in _ti_bind_guard
OS-3448 lxbrand fix 64-bit uname
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3422 lx brand: need to support tgkill() when tgid is not pid
OS-3408 lxbrand 64bit signal handling should not touch %gs
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-2844 lx brand should support 64-bit user-land
OS-3234 npm manta install fails - unknown stream file type
OS-3226 lxbrand change fake linux to virtual linux
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-3052 lx brand better dtrace support for unsupported capabilities
OS-2929 add new syscalls to lx brand table
OS-2894 lxbrand add PTRACE_O_TRACEFORK and PTRACE_O_TRACEEXEC support
OS-2877 lx_librtld_db falls to load due to NULL DT_DEBUG
OS-2863 lx brand need finer grained control over version
OS-2834 ship lx brand
680 lines changed: 680 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_fcntl.h

OS-4635 lxbrand O_PATH support needed for ltp open13
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4098 move open, close and fcntl into the kernel
OS-4022 lx brand: Python regression test failure in test_fcntl.py
161 lines changed: 161 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_futex.h

OS-4192 lx brand: add support for robust mutexes
OS-3220 lx brand: implement FUTEX_WAIT_BITSET/FUTEX_WAKE_BITSET
OS-2963 lx brand needs to support FUTEX_WAKE_OP
OS-2834 ship lx brand
121 lines changed: 121 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_impl.h

OS-2844 lx brand should support 64-bit user-land
OS-3216 lxbrand invoke sdt probe for unsupported kernel emulation
OS-2834 ship lx brand
52 lines changed: 52 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_ldt.h

OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2834 ship lx brand
91 lines changed: 91 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_misc.h

OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4438 lxbrand ptrace should support PTRACE_GETSIGINFO
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4437 lxbrand ptrace turns harmless signals deadly
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4199 lxbrand simple/test-os.js balks at improper data
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3934 lxbrand LX_STRICT should be handled in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3825 lxbrand rsyslogd abort on centos6
OS-4047 lxbrand vsyscall while SIGSEGV? on next trap we're handler-free!
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
119 lines changed: 119 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_ptm.h

OS-2834 ship lx brand
44 lines changed: 44 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_sched.h

OS-2834 ship lx brand
60 lines changed: 60 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_siginfo.h

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
190 lines changed: 190 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_signal.h

OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
32 lines changed: 32 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_socket.h

OS-5300 mosh binary returns network exception in LX branded zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5077 lxbrand remove /dev/log redirection
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4980 lxbrand move sockopt syscalls in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4638 lxbrand /dev/log permissions issues
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4607 lxbrand recvmsg copies msg_flags to incorrect offset
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4511 lxbrand golang stumbles over netlink
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4510 lxbrand bash dumps core in s2l_devt
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4459 lxbrand lacks IP_PKTINFO sockopt translation
OS-4114 lxbrand convert sendmsg and recvmsg to IKE
OS-4257 lxbrand convert sendto and recvfrom to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
434 lines changed: 434 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_syscalls.h

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5491 lxbrand convert last socket syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5357 datadog doesn't work correctly in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-5117 lxbrand convert preadv/pwritev to IKE
OS-3762 lxbrand update vectored IO for new IOV_MAX value
OS-5133 lxbrand rw syscalls should be consistent about EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5122 lxbrand should tolerate cap_set_file
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4828 lxbrand convert pread/pwrite to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5036 lxbrand needs sync_file_range syscall
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4980 lxbrand move sockopt syscalls in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4983 lxbrand nginx proxy mangles content
OS-4829 lxbrand convert readv/writev to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4680 lxbrand use IKE close(2) when AIO not present
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4855 lxbrand convert epoll_ctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4784 lxbrand rtorrent spins on tgkill(SIGUSR1)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4002 ionice requirements not met on lx ubuntu64 14.04.003
OS-4587 lx: ubuntu 15.04 - Failed at step IOPRIO spawning /bin/systemd-tmpfiles: Function not implemented
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4517 lxbrand convert bind to IKE (remove unused function)
OS-4517 lxbrand convert bind to IKE
OS-4505 lxbrand java fails to bind on ipv6 address
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4485 lxbrand ltp fallocate tests fail on 32bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4475 rkt run needs syncfs
OS-4469 journald needs fallocate(2) syscall
OS-4114 lxbrand convert sendmsg and recvmsg to IKE
OS-4257 lxbrand convert sendto and recvfrom to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4192 lx brand: add support for robust mutexes
OS-4115 lxbrand expose getrandom(2)
OS-4116 move close back to userland until aio is resolved
OS-4098 move open, close and fcntl into the kernel
OS-4084 getrlimit kills performance, move into kernel
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-4071 lxbrand in-kernel gettimeofday(2)
OS-3952 lxbrand convert vsyscall to IKE
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3551 lxbrand read syscall path is 1/2 the speed of native
OS-3422 lx brand: need to support tgkill() when tgid is not pid
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-3195 rt_sigqueueinfo system call needs emulation in lx brand
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-2834 ship lx brand
306 lines changed: 306 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sys/lx_types.h

OS-5258 /proc/$pid/stat tty_nr is an untranslated illumos dev_t
OS-5246 Add support for /proc/devices
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5035 lxbrand autofs does not expire mount points
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4469 journald needs fallocate(2) syscall
144 lines changed: 144 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_access.c

OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
223 lines changed: 223 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_aio.c

OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4680 lxbrand use IKE close(2) when AIO not present
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
45 lines changed: 45 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_brk.c

OS-2834 ship lx brand
57 lines changed: 57 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_chmod.c

OS-4635 lxbrand O_PATH support needed for ltp open13
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
107 lines changed: 107 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_chown.c

OS-4635 lxbrand O_PATH support needed for ltp open13
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
180 lines changed: 180 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_clone.c

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3440 lxbrand 64bit cleanup fsbase switching code
OS-3534 lx brand: 64-bit processes can't create threads
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2840 lx brand upstart init fails to run
OS-2834 ship lx brand
143 lines changed: 143 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_close.c

OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4680 lxbrand use IKE close(2) when AIO not present
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
57 lines changed: 57 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_cpu.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4082 move remaining vsyscall/vdso functions into the kernel
36 lines changed: 36 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_dup.c

OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
53 lines changed: 53 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_epoll.c

OS-5458 lxbrand epoll_ctl should throw EINVAL for loops
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5260 lxbrand epoll_pwait needs sigset translation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4855 lxbrand convert epoll_ctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4812 lxbrand ubuntu32 panics in epoll_wait on DEBUG PI
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4784 lxbrand rtorrent spins on tgkill(SIGUSR1)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
279 lines changed: 279 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_fadvise.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
103 lines changed: 103 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_fallocate.c

OS-5002 lxbrand improve fallocate error reporting
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4485 lxbrand ltp fallocate tests fail on 32bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4469 journald needs fallocate(2) syscall
251 lines changed: 251 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_fcntl.c

OS-5588 lxbrand fcntl drops file flags
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5249 lxbrand fcntl(F_SETPIPE_SZ) needed by MapR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5077 lxbrand remove /dev/log redirection
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4725 fcntl(infd, F_SETOWN, getpid()) for /dev/tty fails
OS-4638 lxbrand /dev/log permissions issues
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4635 lxbrand O_PATH support needed for ltp open13
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4133 handle FIOSETOWN and FIOGETOWN for in-kernel fcntl
OS-4098 move open, close and fcntl into the kernel
660 lines changed: 660 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_futex.c

OS-4910 poor futex hashing can impede scalability
OS-4833 lxbrand futex wait time should be counted as LMS_USER_LOCK
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4192 lx brand: add support for robust mutexes
OS-3220 lx brand: implement FUTEX_WAIT_BITSET/FUTEX_WAKE_BITSET
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3335 atomic op changes broke lx build
OS-3236 npm manta install hangs - thread exited but other threads stuck in futex
OS-3216 lxbrand invoke sdt probe for unsupported kernel emulation
OS-2963 lx brand needs to support FUTEX_WAKE_OP
OS-2834 ship lx brand
1104 lines changed: 1104 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_getcwd.c

OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
50 lines changed: 50 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_getdents.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4924 lxbrand optimize getdents padding
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
354 lines changed: 354 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_getpid.c

OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2834 ship lx brand
79 lines changed: 79 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_getrandom.c

OS-4115 lxbrand expose getrandom(2)
33 lines changed: 33 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_id.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2834 ship lx brand
509 lines changed: 509 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_ioctl.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5241 lx brand: tcpdump fails to bind()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4612 Want zvol block devices in LX to handle some Linux disk ioctls
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5119 zone branding deadlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5065 lxbrand systemd-tmpfiles bitter about fs ioctls
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4749 lxbrand should respect termios defaults
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4758 sshd issues on Alpine Linux 3.2
OS-4681 less command fails under lx-brand in Alpine Linux
OS-4338 lxbrand expose route info via netlink
OS-3866 lxbrand ip route show fails
OS-4275 lxbrand ansible unable to query network facts
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4363 lxautofs should receive all autofs ioctls
OS-4360 cleanup lx_afs as a prelude for v5 work
OS-4342 lxbrand SIOCGIFHWADDR still incorrect
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4199 lxbrand simple/test-os.js balks at improper data
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4138 lxbrand socket ioctls should be flexible about address family
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4122 lxbrand want dtrace ioctl support
OS-4099 lxbrand bash lacks job control when using zfd tty
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3791 lxbrand iproute2 calls ioctl(SIOCGIFXQLEN)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3672 lxbrand tcpdump is broken
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3681 lxbrand SIOCGIFHWADDR results incorrect
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3662 lxbrand emulate /proc/net/if_inet6
OS-3667 lxbrand support RO ifconfig
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3624 lxbrand ioctl(TIOCSCTTY) failed
OS-3605 lxbrand needs SIOCGIFINDEX ioctl
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3613 lxbrand convert ioctl to IKE (fix lint)
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
1769 lines changed: 1769 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_ioprio.c

OS-4002 ionice requirements not met on lx ubuntu64 14.04.003
OS-4587 lx: ubuntu 15.04 - Failed at step IOPRIO spawning /bin/systemd-tmpfiles: Function not implemented
66 lines changed: 66 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_kill.c

OS-5254 lx brand: kill(-1) spuriously returns EPERM for non-root
OS-4318 trinity blown assertion panic in lx_helper_rt_tgsigqueueinfo
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4152 lxbrand tgkill(2) uses tid; should instead have used its pid [unused variable]
OS-4152 lxbrand tgkill(2) uses tid; should instead have used its pid
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3427 lx brand: pthread cancellations don't work
OS-3422 lx brand: need to support tgkill() when tgid is not pid
OS-2844 lx brand should support 64-bit user-land
OS-3195 rt_sigqueueinfo system call needs emulation in lx brand
OS-2834 ship lx brand
402 lines changed: 402 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_link.c

Extra lint fixes
OS-3927 lxbrand in-kernel unlink(2) and unlinkat(2)
OS-3928 lxbrand in-kernel symlink(2) and symlinkat(2)
OS-3988 lxbrand in-kernel readlinkat(2) and readlink(2)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
194 lines changed: 194 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_lseek.c

OS-5609 lxbrand 32-bit LTP failing due to lseek
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
81 lines changed: 81 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_miscsys.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
282 lines changed: 282 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_mkdir.c

OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
38 lines changed: 38 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_modify_ldt.c

OS-2834 ship lx brand
121 lines changed: 121 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_mount.c

OS-5644 lx tmpfs mount with uid or gid option fails
OS-5646 lxbrand mount(2) target path handling could be improved
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
657 lines changed: 657 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_open.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4635 lxbrand O_PATH support needed for ltp open13
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4116 move close back to userland until aio is resolved
260 lines changed: 260 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_personality.c

OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
112 lines changed: 112 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_pgrp.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
189 lines changed: 189 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_pipe.c

OS-4635 lxbrand O_PATH support needed for ltp open13
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3137 lxbrand pipe does not pollnotify when end is closed
200 lines changed: 200 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_poll.c

OS-5157 lxbrand pselect failure on 32bit ltp
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5142 pselect broken
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5064 lxbrand select(2) spotted traipsing through the heap
Reviewed by: Josh Wilsdon <jwilsdon@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
762 lines changed: 762 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_prctl.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4598 after updating dbus on Ubuntu 15.04, login hits a 30s delay - dropping a capability causes svc death/restart loop
OS-4492 lxbrand prctl(PR_SET_NAME) malfunction
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
211 lines changed: 211 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_rename.c

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
39 lines changed: 39 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_rlimit.c

OS-4084 getrlimit kills performance, move into kernel
575 lines changed: 575 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_rw.c

OS-5449 lxbrand readv tosses ESPIPE when reading from VFIFO
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5397 LTP hangs in preadv02_64
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5305 latest LTP preadv02_64 and pwritev02_64 failing
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5117 lxbrand convert preadv/pwritev to IKE
OS-3762 lxbrand update vectored IO for new IOV_MAX value
OS-5133 lxbrand rw syscalls should be consistent about EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4828 lxbrand convert pread/pwrite to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4983 lxbrand nginx proxy mangles content
OS-4829 lxbrand convert readv/writev to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3551 lxbrand read syscall path is 1/2 the speed of native
949 lines changed: 949 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_sched.c

OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2834 ship lx brand
524 lines changed: 524 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_socket.c

OS-5547 lxbrand LTP failures in socket01 and socketpair01
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5491 lxbrand convert last socket syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5432 lxbrand IP_RECVTTL cmsg not translated
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5428 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5405 panic while installing chef server
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5357 datadog doesn't work correctly in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5365 lxbrand careless with so_lock
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5313 recvmsg must handle 0 length iovec
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5300 mosh binary returns network exception in LX branded zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5262 Fix ping6(8) in LX
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5241 lx brand: tcpdump fails to bind()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5096 lxbrand overly picky about setsockopt(IP_ADD_MEMBERSHIP) size
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3939 lxbrand SO_PASSCRED fails on non-dgram AF_UNIX sockets
OS-3601 lxbrand setsockopt fails with SOL_SOCK, SO_RECVUCRED
OS-5089 lxbrand 64-bit cmsgs improperly padded
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5077 lxbrand remove /dev/log redirection
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5029 lxbrand socketcall crosses setsockopt/getsockopt wires
OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
OS-4992 lxbrand non-blocking socket yields wrong errors
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4995 lxbrand sockopt optlen should be better validated
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4980 lxbrand move sockopt syscalls in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4844 lxbrand hasty sendmsg can fail on nonblock socket
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4760 logger: socket /dev/log: No such file or directory on Fedora 22 lx-brand
OS-4647 lx fails to mount nfs share - Transport endpoint is already connected
OS-4638 lxbrand /dev/log permissions issues
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4602 lxbrand support recvmsg(MSG_PEEK|MSG_TRUNC) behavior
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4607 lxbrand recvmsg copies msg_flags to incorrect offset
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4586 lxbrand cannot bind to /dev/log with namelen of 0xA
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4533 lx brand: lx_connect() needs to initialize len
OS-4521 lxbrand is careless with AF_UNIX socklen
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4511 lxbrand golang stumbles over netlink
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4510 lxbrand bash dumps core in s2l_devt
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4459 lxbrand lacks IP_PKTINFO sockopt translation
OS-4517 lxbrand convert bind to IKE (remove unused function)
OS-4517 lxbrand convert bind to IKE
OS-4505 lxbrand java fails to bind on ipv6 address
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4486 lxbrand support MSG_CMSG_CLOEXEC flag
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4465 journald shuts down due to missing SO_TIMESTAMP socket support
OS-4445 systemd-udevd waits in epoll until systemd times it out
OS-4453 missing support for LX_MSG_DONTWAIT socket flag
OS-4114 lxbrand convert sendmsg and recvmsg to IKE
OS-4257 lxbrand convert sendto and recvfrom to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
3966 lines changed: 3966 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_stat.c

OS-5482 SIGAR cannot report disk I/O
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5258 /proc/$pid/stat tty_nr is an untranslated illumos dev_t
OS-5246 Add support for /proc/devices
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5248 lxbrand stat(2) does not properly mangle st_dev
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5155 lxbrand fstatat lookup incorrect with AT_EMPTY_PATH
OS-5153 lxbrand Ubuntu 15.10 image fails to provision
OS-5154 lxbrand Fedora 23 image fails to provision
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
474 lines changed: 474 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_sync.c

OS-5036 lxbrand needs sync_file_range syscall
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4475 rkt run needs syncfs
86 lines changed: 86 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_sysinfo.c

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3577 load average of "0.00, 2952798208.00, 0.00" seems suspicious
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3219 lx sysinfo should use zone boot time, loadavg, mem and swap
OS-2834 ship lx brand
218 lines changed: 218 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_thread_area.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4201 need GS support in arch_prctl()
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3744 lxbrand should record lx_fsbase in cores
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3440 lxbrand 64bit cleanup fsbase switching code
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-3323 set_thread_area corrupts free descriptor entry
OS-2834 ship lx brand
197 lines changed: 197 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_timer.c

OS-4601 lxbrand clock_getres() returns success for invalid clocks
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4784 lxbrand rtorrent spins on tgkill(SIGUSR1)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4500 ubuntu15.04 systemd assert fails, boot freezes (need CLOCK_BOOTTIME)
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-4071 lxbrand in-kernel gettimeofday(2) (fix 32bit)
OS-4071 lxbrand in-kernel gettimeofday(2)
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
388 lines changed: 388 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_umask.c

OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
25 lines changed: 25 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_uname.c

OS-5119 zone branding deadlock
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
82 lines changed: 82 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_wait.c

OS-4438 lxbrand ptrace should support PTRACE_GETSIGINFO
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
377 lines changed: 377 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/syscall/lx_xattr.c

OS-5122 lxbrand should tolerate cap_set_file
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
371 lines changed: 371 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sysfs/lx_sysfs.h

OS-5240 mfs wants /sys/devices/system/node; causes core dump
OS-5239 MapR mfs wants /sys/devices/system/cpu/kernel_max
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4614 lx want /sys/block emulation
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5170 lxbrand iostat needs /sys/block entries
OS-5171 lxbrand iostat interprets major/minor numbers in /proc/diskstats
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4455 journald exits with 'Unknown socket passed.'
OS-4463 cleanup lxsys_realvp
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4256 centos 7 systemd stops after failing to mount sysfs
196 lines changed: 196 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sysfs/lx_syssubr.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4461 lxsys can bungle v_count during VOP_INACTIVE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4455 journald exits with 'Unknown socket passed.'
OS-4463 cleanup lxsys_realvp
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4256 centos 7 systemd stops after failing to mount sysfs
452 lines changed: 452 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sysfs/lx_sysvfsops.c

OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4614 lx want /sys/block emulation
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4256 centos 7 systemd stops after failing to mount sysfs
348 lines changed: 348 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/brand/lx/sysfs/lx_sysvnops.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5364 lx_sys should not mix node types in path
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5245 disable sysfs cpu hierarchy, breaks java
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5240 mfs wants /sys/devices/system/node; causes core dump
OS-5239 MapR mfs wants /sys/devices/system/cpu/kernel_max
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5206 /proc/partitions major/minor should be consistent with stat
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4614 lx want /sys/block emulation
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5170 lxbrand iostat needs /sys/block entries
OS-5171 lxbrand iostat interprets major/minor numbers in /proc/diskstats
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4455 journald exits with 'Unknown socket passed.'
OS-4463 cleanup lxsys_realvp
OS-4355 sysfs /sys/devices/system not working
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4256 centos 7 systemd stops after failing to mount sysfs
1802 lines changed: 1802 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/brand/sn1/sn1_brand.c

Reduce lint
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5354 lx shebang argument handling is incorrect
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5189 lx dev enumeration can deadlock with zfs
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3825 lxbrand rsyslogd abort on centos6
OS-4047 lxbrand vsyscall while SIGSEGV? on next trap we're handler-free!
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
OS-3594 lx brand: need support for MAP_32BIT
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
OS-3517 lx brand: branded zones don't interpret .interp section
OS-2844 lx brand should support 64-bit user-land
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2834 ship lx brand
68 lines changed: 32 ins; 0 del; 36 mod; 239 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/brand/sn1/sn1_brand.h

OS-3517 lx brand: branded zones don't interpret .interp section
7 lines changed: 1 ins; 6 del; 0 mod; 68 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/brand/solaris10/s10_brand.c

Reduce lint
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5354 lx shebang argument handling is incorrect
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5189 lx dev enumeration can deadlock with zfs
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3825 lxbrand rsyslogd abort on centos6
OS-4047 lxbrand vsyscall while SIGSEGV? on next trap we're handler-free!
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
OS-3594 lx brand: need support for MAP_32BIT
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
OS-3517 lx brand: branded zones don't interpret .interp section
OS-2844 lx brand should support 64-bit user-land
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2834 ship lx brand
69 lines changed: 33 ins; 0 del; 36 mod; 547 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/brand/solaris10/s10_brand.h

OS-3517 lx brand: branded zones don't interpret .interp section
6 lines changed: 1 ins; 5 del; 0 mod; 204 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/contract/process.c

Extra lint fixes
OS-5642 containerbuddy unable to fork while using syslog driver, causing container services to hang
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4781 would like to be able to add CT_PR_EV_EXIT to fatal event set of current contract
24 lines changed: 24 ins; 0 del; 0 mod; 1195 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/disp/fx.c

OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
11 lines changed: 0 ins; 10 del; 1 mod; 1835 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/disp/rt.c

OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
8 lines changed: 0 ins; 7 del; 1 mod; 1124 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/disp/rt_dptbl.c

OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
4 lines changed: 0 ins; 4 del; 0 mod; 144 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/disp/thread_intr.c

OS-4112 stack overflow from promisc callbacks
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
30 lines changed: 14 ins; 9 del; 7 mod; 99 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/exec/aout/aout.c

OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
3 lines changed: 1 ins; 0 del; 2 mod; 345 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/exec/elf/elf.c

OS-5015 PT_INTERP headers should be permitted after PT_LOAD headers
OS-5451 comm page should not break i86xpv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-5293 lx brand: prelink(8)'d binaries core dump before main()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5072 lxbrand support PT_GNU_STACK
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5202 Support AT_SECURE & AT_*ID in LX
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4824 Unlike Linux, nested interpreters don't work
(LX changes only, the rest were upstreamed...)
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
OS-3735 modstubs MAXNARG is too low.
OS-3733 Verify b_native_exec exists before calling it
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4128 programs that lack PT_PHDR are not properly loaded
OS-4141 freeing phdrs induces bad kmem_free() in elfexec()
backout OS-4141: needs more work
backout OS-4128: needs more work
OS-4141 freeing phdrs induces bad kmem_free() in elfexec()
OS-4128 programs that lack PT_PHDR are not properly loaded
OS-3696 lx brand: G-Portugol programs core dump
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3517 lx brand: branded zones don't interpret .interp section
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2949 add support for AT_RANDOM aux vector entry
OS-2877 lx_librtld_db falls to load due to NULL DT_DEBUG
384 lines changed: 331 ins; 10 del; 43 mod; 2179 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/exec/intp/intp.c

OS-5354 lx shebang argument handling is incorrect
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4364 intpexec mishandles process branding
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
24 lines changed: 12 ins; 1 del; 11 mod; 291 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/exec/java/java.c

OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
2 lines changed: 1 ins; 0 del; 1 mod; 210 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/exec/shbin/shbin.c

OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
3 lines changed: 1 ins; 0 del; 2 mod; 265 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/dev/sdev_subr.c

OS-2910 sdev_node_t can end up associated with wrong sdev_plugin_t
1 line changed: 1 ins; 0 del; 0 mod; 3144 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/dev/sdev_vnops.c

OS-5343 dockerinit gets stuck in zfd_ready, zfd devices not showing up after > 1 hour
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
9 lines changed: 8 ins; 0 del; 1 mod; 1568 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/dev/sdev_zvolops.c

OS-4191 blown assert on lx zone with delegated dataset
4 lines changed: 2 ins; 0 del; 2 mod; 946 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/fifofs/fifosubr.c

OS-3137 lxbrand pipe does not pollnotify when end is closed
5 lines changed: 3 ins; 0 del; 2 mod; 1203 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/lookup.c

OS-3969 lx brand: reading process map induces many DNLC scans
16 lines changed: 15 ins; 0 del; 1 mod; 1552 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/nfs/nfs3_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
11 lines changed: 6 ins; 2 del; 3 mod; 6745 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/nfs/nfs4_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3462 rename on NFSv4 filesystem induces panic
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
40 lines changed: 20 ins; 12 del; 8 mod; 15979 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/nfs/nfs_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
19 lines changed: 11 ins; 3 del; 5 mod; 5088 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/pcfs/pc_dir.c

OS-5291 lxbrand inotify02 LTP regression
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
3 lines changed: 0 ins; 1 del; 2 mod; 1700 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/pcfs/pc_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
4 lines changed: 3 ins; 0 del; 1 mod; 2438 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/fs/proc/prargv.c

OS-4506 lxbrand preserve /proc/<pid>/cmdline format
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4277 lx procfs /proc/{pid}/environ always empty [handle empty env vector]
OS-4277 lx procfs /proc/{pid}/environ always empty
OS-3870 prreadbuf bungles I/O math
OS-3897 off-by-one error in prreadargv() can induce memory corruption
OS-3463 expose process argv through procfs
OS-3207 in lx zone, 'ps auxww' does not show full cmdline for processes
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
441 lines changed: 441 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/proc/prcontrol.c

OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
2 lines changed: 0 ins; 0 del; 2 mod; 2550 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/proc/prdata.h

OS-4277 lx procfs /proc/{pid}/environ always empty
OS-3463 expose process argv through procfs
OS-3207 in lx zone, 'ps auxww' does not show full cmdline for processes
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
4 lines changed: 3 ins; 0 del; 1 mod; 415 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/proc/prsubr.c

OS-5373 lx_proc panic while reading /proc/<pid>/exe link
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
8 lines changed: 7 ins; 0 del; 1 mod; 4329 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/proc/prvnops.c

OS-3463 expose process argv through procfs
OS-3207 in lx zone, 'ps auxww' does not show full cmdline for processes
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3383 lx brand: node.js test test-setproctitle.js fails
OS-15 add procfs equivalent to prctl(PR_SET_NAME)
161 lines changed: 160 ins; 0 del; 1 mod; 6058 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/sockfs/sockcommon_sops.c

OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4213 lxbrand should be able to set TCP_DEFER_ACCEPT after other socket operations
OS-3893 sendfile compat checks shouldn't be done in so_sendmblk
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
13 lines changed: 0 ins; 5 del; 8 mod; 1944 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/sockfs/sockcommon_subr.c

OS-4602 lxbrand support recvmsg(MSG_PEEK|MSG_TRUNC) behavior
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
19 lines changed: 17 ins; 2 del; 0 mod; 2456 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/sockfs/sockfilter.c

OS-4213 lxbrand should be able to set TCP_DEFER_ACCEPT after other socket operations
23 lines changed: 20 ins; 2 del; 1 mod; 1811 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/sockfs/sockfilter_impl.h

OS-4213 lxbrand should be able to set TCP_DEFER_ACCEPT after other socket operations
2 lines changed: 2 ins; 0 del; 0 mod; 213 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/sockfs/socksubr.c

OS-4517 lxbrand convert bind to IKE (remove unused function)
OS-4517 lxbrand convert bind to IKE
OS-4505 lxbrand java fails to bind on ipv6 address
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3752 Increase IOV_MAX to at least 1024
6 lines changed: 3 ins; 0 del; 3 mod; 1946 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/sockfs/socksyscalls.c

OS-3752 Increase IOV_MAX to at least 1024
OS-3404 lx brand must support sendmsg() with IOV_MAX of 1024
103 lines changed: 80 ins; 6 del; 17 mod; 3071 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/sockfs/socktpi_impl.h

OS-4517 lxbrand convert bind to IKE (remove unused function)
OS-4517 lxbrand convert bind to IKE
OS-4505 lxbrand java fails to bind on ipv6 address
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
3 lines changed: 3 ins; 0 del; 0 mod; 99 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/tmpfs/tmp_subr.c

Reduce lint
OS-4060 need tmpfs size support in percent
OS-4061 invalid tmpfs option causes panic
OS-4043 tmpfs should support gigabyte sizes
OS-4044 tmpfs should support "mode" option
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
127 lines changed: 89 ins; 8 del; 30 mod; 168 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/tmpfs/tmp_vfsops.c

OS-4043 tmpfs should support gigabyte sizes
OS-4044 tmpfs should support "mode" option
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
35 lines changed: 22 ins; 6 del; 7 mod; 684 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/tmpfs/tmp_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5291 lxbrand inotify02 LTP regression
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
18 lines changed: 10 ins; 2 del; 6 mod; 2463 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/udfs/udf_dir.c

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
4 lines changed: 1 ins; 1 del; 2 mod; 1946 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/udfs/udf_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
11 lines changed: 8 ins; 0 del; 3 mod; 3617 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/ufs/ufs_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5291 lxbrand inotify02 LTP regression
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
21 lines changed: 10 ins; 5 del; 6 mod; 6653 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/vnode.c

OS-5483 iostat -x shows around 100% utilization for idle zone
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-338 Kstat counters to show "slow" VFS operations
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
109 lines changed: 100 ins; 2 del; 7 mod; 4568 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/fs/zfs/zfs_vnops.c

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5291 lxbrand inotify02 LTP regression
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4319 zfs mishandles partial writes
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
23 lines changed: 14 ins; 3 del; 6 mod; 5361 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/inet/bpf.h

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
49 lines changed: 49 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/ip/conn_opt.c

OS-4699 lxbrand netty complains about SO_LINGER (really IP_TOS)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
21 lines changed: 20 ins; 0 del; 1 mod; 2935 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/ip/icmp.c

OS-5007 support SO_ATTACH_FILTER on ICMP sockets
Reviewed by: Cody Mello <melloc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
123 lines changed: 119 ins; 2 del; 2 mod; 5856 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/ip/icmp_opt_data.c

OS-5007 support SO_ATTACH_FILTER on ICMP sockets
Reviewed by: Cody Mello <melloc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 6 ins; 0 del; 0 mod; 341 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/ip/ipclassifier.c

Reduce lint
OS-5007 support SO_ATTACH_FILTER on ICMP sockets
Reviewed by: Cody Mello <melloc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
112 lines changed: 43 ins; 17 del; 52 mod; 2655 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/ipclassifier.h

OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
3 lines changed: 2 ins; 0 del; 1 mod; 736 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/rawip_impl.h

OS-5007 support SO_ATTACH_FILTER on ICMP sockets
Reviewed by: Cody Mello <melloc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 6 ins; 0 del; 0 mod; 119 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/sockmods/datafilt.c

Mismerge datafilt.c
OS-4213 lxbrand should be able to set TCP_DEFER_ACCEPT after other socket operations
7 lines changed: 5 ins; 0 del; 2 mod; 110 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/sockmods/sockmod_pfp.c

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
6 lines changed: 1 ins; 0 del; 5 mod; 1557 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/tcp.h

OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
9 lines changed: 8 ins; 0 del; 1 mod; 597 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/tcp/tcp.c

OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
18 lines changed: 15 ins; 1 del; 2 mod; 4480 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/tcp/tcp_bind.c

OS-5613 SO_REUSEPORT needs better state-change coverage
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
207 lines changed: 179 ins; 8 del; 20 mod; 918 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/tcp/tcp_opt_data.c

OS-5598 newproc() performs inadequate clean-up after failed lwp_create() [fix debug build]
OS-5613 SO_REUSEPORT needs better state-change coverage
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5217 setsockopt(TCP_KEEPCNT) can return EINVAL spuriously
Reviewed by: Dave Pacheco <dap@joyent.com>
OS-4699 lxbrand netty complains about SO_LINGER (really IP_TOS)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
140 lines changed: 128 ins; 4 del; 8 mod; 1076 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/tcp/tcp_socket.c

OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
11 lines changed: 11 ins; 0 del; 0 mod; 1177 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/tcp_impl.h

OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
20 lines changed: 20 ins; 0 del; 0 mod; 781 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/udp/udp.c

OS-4647 lx fails to mount nfs share - Transport endpoint is already connected
23 lines changed: 22 ins; 0 del; 1 mod; 6461 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/udp/udp_opt_data.c

OS-4647 lx fails to mount nfs share - Transport endpoint is already connected
2 lines changed: 2 ins; 0 del; 0 mod; 334 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/inet/udp_impl.h

OS-4647 lx fails to mount nfs share - Transport endpoint is already connected
2 lines changed: 1 ins; 0 del; 1 mod; 274 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/io/bpf/bpf_wrap.c

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
35 lines changed: 35 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/cons.c

OS-3752 Increase IOV_MAX to at least 1024
15 lines changed: 13 ins; 1 del; 1 mod; 497 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/devpoll.c

OS-5518 devpoll write feigns success in the face of EINTR
OS-5520 epoll_ctl not allowed to emit EINTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-5516 vmxnet3s declares wrong sdu
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Bryan Cantrill <bryan@joyent.com>
OS-5511 epoll should not leave dangling polldat_t entries
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-5260 lxbrand epoll_pwait needs sigset translation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
41 lines changed: 29 ins; 3 del; 9 mod; 1690 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/eventfd.c

OS-5538 eventfd wrongly blocks writers in semaphore mode
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
29 lines changed: 26 ins; 2 del; 1 mod; 421 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/io/inotify.c

Extra lint fixes
Reduce lint
Unplucked merges included inotify updates (poss. 1/x).
OS-4702 installing Distelli; upstart service doesn't start until reboot
OS-4687 inotify_init leaks kernel memory
OS-4388 inotify_clean() can induce ZFS deadlock
OS-4293 removal of un-fired IN_ONESHOT inotify event induces panic
OS-4183 Panic due to inotify_clean and nfs4 mount.
OS-3751 use after free in dpclose
OS-3629 FIONREAD on inotify(5) instance returns wrong value the wrong way
OS-3630 typo in inotify_init(3C) man page
OS-3631 poll on inotify(5) instance can return spuriously
OS-3425 inotify_clean() dies on assertion failure
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
1505 lines changed: 1505 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/io/inotify.conf

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
16 lines changed: 16 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/pseudo.conf

OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
9 lines changed: 7 ins; 2 del; 0 mod; 38 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/pseudonex.c

Reduce lint
OS-3878 The pseudo nexus should be FMA capable
OS-3881 pseudonex_detach does not properly check the detach command
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
26 lines changed: 25 ins; 0 del; 1 mod; 536 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/ptm.c

OS-2834 ship lx brand
47 lines changed: 47 ins; 0 del; 0 mod; 704 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/random.c

OS-5576 harden random pool for zones
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
5 lines changed: 5 ins; 0 del; 0 mod; 344 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/io/signalfd.c

OS-5464 signalfd deadlock on pollwakeup
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5370 panic in signalfd
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
395 lines changed: 178 ins; 81 del; 136 mod; 557 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/io/zfd.c

Reduce lint
OS-5375 docker exec/attach/logs truncating output to 4096 bytes
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4854 would like option to disable gz logging via zfd
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4798 need zfd flow control configuration
OS-4694 need support for in-zone docker logging
OS-4108 'zlogin -I' should have some way to know that /dev/zfd/0 is being read inside the zone
OS-4164 panic in zfd_wput
OS-4109 'zlogin -I' should close /dev/zfd/0 when it exits
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
1158 lines changed: 1158 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/netinet/udp.h

OS-4647 lx fails to mount nfs share - Transport endpoint is already connected
3 lines changed: 3 ins; 0 del; 0 mod; 53 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/brand.c

OS-4460 exec brands processes that still have multiple threads
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
OS-3517 lx brand: branded zones don't interpret .interp section
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2877 lx_librtld_db falls to load due to NULL DT_DEBUG
OS-2834 ship lx brand
152 lines changed: 85 ins; 37 del; 30 mod; 1082 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/contract.c

OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
5 lines changed: 4 ins; 0 del; 1 mod; 2684 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/exec.c

Reduce lint
OS-4818 contract template disappears on exec
OS-4460 exec brands processes that still have multiple threads
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3871 AT_RANDOM aux entry should be populated using random_get_pseudo_bytes
OS-3611 lx brand: 64-bit processes should not use VAs above VA hole
OS-3438 lx brand: "start rsyslog" hangs
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2949 add support for AT_RANDOM aux vector entry
103 lines changed: 89 ins; 0 del; 14 mod; 2032 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/exit.c

OS-4818 contract template disappears on exec
OS-4460 exec brands processes that still have multiple threads
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4144 panic in lx_freelwp during zone shutdown
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3140 In LX zone 'ps fax' does not show all processes
OS-3429 Expose zone's init exit status
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
182 lines changed: 150 ins; 16 del; 16 mod; 1318 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/flock.c

OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
5 lines changed: 0 ins; 0 del; 5 mod; 4602 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/fork.c

OS-5598 newproc() performs inadequate clean-up after failed lwp_create()
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4818 contract template disappears on exec
OS-4825 cgroup user agent should be launched from the kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4460 exec brands processes that still have multiple threads
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
93 lines changed: 62 ins; 22 del; 9 mod; 1431 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/grow.c

OS-3602 lxbrand LTP recv* tests failing on MSG_ERRQUEUE flag
OS-3600 lxbrand 32bit cannot boot with OS-3594 fix
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3594 lx brand: need support for MAP_32BIT
30 lines changed: 18 ins; 7 del; 5 mod; 1031 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/ipc.c

OS-5223 removed shm segment is no longer available
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
25 lines changed: 18 ins; 6 del; 1 mod; 1389 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/klpd.c

OS-5440 pfexec and the case of the missing error message
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
11 lines changed: 10 ins; 0 del; 1 mod; 1146 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/kmem.c

OS-4162 system appears (mostly) hung on kmem_move taskq
2 lines changed: 1 ins; 0 del; 1 mod; 5610 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/lwp.c

OS-4818 contract template disappears on exec
OS-5311 docker init children not always in the correct contract
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4534 lwp_exit P_PR_LOCK assertion failure
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
122 lines changed: 90 ins; 25 del; 7 mod; 2062 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/main.c

OS-4144 panic in lx_freelwp during zone shutdown
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
11 lines changed: 8 ins; 0 del; 3 mod; 651 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/mmapobj.c

OS-5293 lx brand: prelink(8)'d binaries core dump before main()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
9 lines changed: 5 ins; 0 del; 4 mod; 2445 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/pid.c

OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-2834 ship lx brand
27 lines changed: 27 ins; 0 del; 0 mod; 792 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/policy.c

OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
18 lines changed: 17 ins; 0 del; 1 mod; 2582 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/shm.c

OS-5223 removed shm segment is no longer available
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
39 lines changed: 37 ins; 0 del; 2 mod; 1308 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/sig.c

OS-4437 lxbrand ptrace turns harmless signals deadly
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3642 failed assert when exiting zlogin due to OS-3140 fix
OS-3140 In LX zone 'ps fax' does not show all processes
OS-2844 lx brand should support 64-bit user-land
77 lines changed: 61 ins; 0 del; 16 mod; 2873 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/streamio.c

OS-3752 Increase IOV_MAX to at least 1024
OS-2834 ship lx brand
43 lines changed: 38 ins; 0 del; 5 mod; 8632 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/sysent.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
OS-3209 javac futex problem when dtrace probes enabled - dtrace_systrace_syscall32 only passes 6 args
OS-3217 brandsys syscall takes 7 parameters, not 6
23 lines changed: 7 ins; 1 del; 15 mod; 1190 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/os/zone.c

Remove most KEBE comments and accompanying unused code or variables/fields.
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
Mismerge in zone.c frees stats that aren't there.
Mismerge in zone.c create zone mcap kstats too many times
OS-338 Kstat counters to show "slow" VFS operations
OS-5189 lx dev enumeration can deadlock with zfs
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5187 improve /proc/diskstat handling
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Undo merge damage from zone kstats
OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4781 would like to be able to add CT_PR_EV_EXIT to fatal event set of current contract
OS-4017 would like zfs-io-priority values > 1024
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3776 project rctls should be in sync with zone rctls
OS-3429 Expose zone's init exit status
OS-3342 dlmgmtd needs to be mindful of lock ordering
OS-2608 dlmgmtd needs to record zone identifiers
OS-3492 zone_free asserts to its destruction when dlmgmtd has fallen
OS-3494 zoneadmd tears down networking too soon when boot fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-803 make phys mem cap a bit harder
OS-1043 minimize vm_getusage impact
OS-11 rcapd behaves poorly when under extreme load
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
464 lines changed: 433 ins; 10 del; 21 mod; 7287 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/Makefile

OS-3752 Increase IOV_MAX to at least 1024
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
4 lines changed: 4 ins; 0 del; 0 mod; 1369 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/auxv.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-5202 Support AT_SECURE & AT_*ID in LX
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-3405 lx brand: socket() fails for PF_INET6
OS-3382 lxbrand 64bit gettimeofday depends on vsyscall or vdso
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2949 add support for AT_RANDOM aux vector entry
29 lines changed: 20 ins; 1 del; 8 mod; 217 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/brand.h

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5354 lx shebang argument handling is incorrect
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5189 lx dev enumeration can deadlock with zfs
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4460 exec brands processes that still have multiple threads
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4437 lxbrand ptrace turns harmless signals deadly
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3742 lxbrand add support for signalfd
OS-4382 remove obsolete brand hooks added during lx development
OS-4306 lxbrand setsockopt(IP_MULTICAST_TTL) handles optlen poorly
OS-4303 lxbrand ltp ptrace05 fails
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4151 setbrand hooks should be sane during fork
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3825 lxbrand rsyslogd abort on centos6
OS-4047 lxbrand vsyscall while SIGSEGV? on next trap we're handler-free!
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3602 lxbrand LTP recv* tests failing on MSG_ERRQUEUE flag
OS-3600 lxbrand 32bit cannot boot with OS-3594 fix
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3594 lx brand: need support for MAP_32BIT
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
OS-3517 lx brand: branded zones don't interpret .interp section
OS-3438 lx brand: "start rsyslog" hangs
OS-2844 lx brand should support 64-bit user-land
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
85 lines changed: 74 ins; 1 del; 10 mod; 218 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/buf.h

OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
8 lines changed: 8 ins; 0 del; 0 mod; 406 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/contract/process.h

OS-4818 contract template disappears on exec
5 lines changed: 2 ins; 2 del; 1 mod; 109 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/exec.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-5072 lxbrand support PT_GNU_STACK
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4119 lxbrand panic when running native perl inside lx zone
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3611 lx brand: 64-bit processes should not use VAs above VA hole
OS-3517 lx brand: branded zones don't interpret .interp section
OS-3280 need a way to specify the root of a native system in the lx brand
OS-3279 lx brand should allow delegated datasets
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2877 lx_librtld_db falls to load due to NULL DT_DEBUG
20 lines changed: 14 ins; 0 del; 6 mod; 274 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/fs/tmp.h

OS-4043 tmpfs should support gigabyte sizes
OS-4044 tmpfs should support "mode" option
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
6 lines changed: 4 ins; 2 del; 0 mod; 119 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/fx.h

OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
10 lines changed: 8 ins; 2 del; 0 mod; 163 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/sys/inotify.h

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
153 lines changed: 153 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/ipc_impl.h

OS-5223 removed shm segment is no longer available
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
2 lines changed: 2 ins; 0 del; 0 mod; 247 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/iso/signal_iso.h

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 1 ins; 0 del; 1 mod; 137 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/klwp.h

OS-5510 remove lwp_brand_syscall_fast handler
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
9 lines changed: 7 ins; 0 del; 2 mod; 219 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/sys/limits.h

OS-3752 Increase IOV_MAX to at least 1024
32 lines changed: 32 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/mman.h

OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
1 line changed: 1 ins; 0 del; 0 mod; 428 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/netconfig.h

OS-3812 lxbrand nfs mounting fails
3 lines changed: 3 ins; 0 del; 0 mod; 155 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/proc.h

OS-4818 contract template disappears on exec
OS-4937 lxbrand ptracer count updates can race
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4188 NULL dereference in lwp_hash_in
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
9 lines changed: 6 ins; 2 del; 1 mod; 819 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/procfs.h

OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
2 lines changed: 2 ins; 0 del; 0 mod; 861 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/ptms.h

OS-2834 ship lx brand
19 lines changed: 19 ins; 0 del; 0 mod; 164 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/resource.h

OS-3088 need a lighterweight page invalidation mechanism for zone memcap
2 lines changed: 2 ins; 0 del; 0 mod; 281 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/rt.h

OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
13 lines changed: 11 ins; 2 del; 0 mod; 84 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/shm.h

OS-5223 removed shm segment is no longer available
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
5 lines changed: 5 ins; 0 del; 0 mod; 139 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/shm_impl.h

OS-5223 removed shm segment is no longer available
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
16 lines changed: 13 ins; 2 del; 1 mod; 133 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/signal.h

OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>
3 lines changed: 1 ins; 0 del; 2 mod; 333 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/signalfd.h

OS-5370 panic in signalfd
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
7 lines changed: 1 ins; 5 del; 1 mod; 94 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/socket.h

OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>
OS-3752 Increase IOV_MAX to at least 1024
OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
9 lines changed: 8 ins; 0 del; 1 mod; 556 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/socketvar.h

OS-4865 lxbrand async socket errors catch programs off guard
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4213 lxbrand should be able to set TCP_DEFER_ACCEPT after other socket operations
26 lines changed: 23 ins; 2 del; 1 mod; 1066 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/sockfilter.h

OS-4213 lxbrand should be able to set TCP_DEFER_ACCEPT after other socket operations
10 lines changed: 10 ins; 0 del; 0 mod; 151 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/stream.h

OS-3752 Increase IOV_MAX to at least 1024
7 lines changed: 1 ins; 5 del; 1 mod; 844 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/systrace.h

OS-3209 javac futex problem when dtrace probes enabled - dtrace_systrace_syscall32 only passes 6 args
9 lines changed: 3 ins; 2 del; 4 mod; 62 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/termios.h

OS-2834 ship lx brand
18 lines changed: 18 ins; 0 del; 0 mod; 566 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/thread.h

OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
6 lines changed: 5 ins; 0 del; 1 mod; 722 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/time.h

OS-5566 ppoll timeout calculation can overflow
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
9 lines changed: 9 ins; 0 del; 0 mod; 481 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/uio.h

OS-4602 lxbrand support recvmsg(MSG_PEEK|MSG_TRUNC) behavior
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
11 lines changed: 10 ins; 0 del; 1 mod; 304 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/user.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-5209 __KERN_NAUXV_IMPL needs to be increased for OS-5202
4 lines changed: 1 ins; 0 del; 3 mod; 294 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/vm_usage.h

OS-3088 need a lighterweight page invalidation mechanism for zone memcap
OS-750 improve RUSAGESYS_GETVMUSAGE for zoneadmd
4 lines changed: 3 ins; 0 del; 1 mod; 117 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/vmsystm.h

OS-3602 lxbrand LTP recv* tests failing on MSG_ERRQUEUE flag
OS-3600 lxbrand 32bit cannot boot with OS-3594 fix
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
5 lines changed: 5 ins; 0 del; 0 mod; 168 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/vnode.h

OS-5148 ftruncate at offset should emit proper events
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Fix vnode.h mismerge
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
7 lines changed: 4 ins; 0 del; 3 mod; 1445 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/sys/zfd.h

OS-4798 need zfd flow control configuration
OS-4694 need support for in-zone docker logging
OS-4108 'zlogin -I' should have some way to know that /dev/zfd/0 is being read inside the zone
OS-4109 'zlogin -I' should close /dev/zfd/0 when it exits
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
78 lines changed: 78 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/sys/zone.h

Remove most KEBE comments and accompanying unused code or variables/fields.
zone.h mismerge
OS-338 Kstat counters to show "slow" VFS operations
OS-5187 improve /proc/diskstat handling
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4781 would like to be able to add CT_PR_EV_EXIT to fatal event set of current contract
Bad mismerge of zone.h
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3050 Would like boot_time and init_pid for zones exposed to GZ kstats
OS-3429 Expose zone's init exit status
OS-803 make phys mem cap a bit harder
OS-1043 minimize vm_getusage impact
OS-11 rcapd behaves poorly when under extreme load
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
93 lines changed: 89 ins; 0 del; 4 mod; 880 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/brandsys.c

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3554 lx brand: node.js test test-fs-append-file.js hangs on 64-bit
5 lines changed: 2 ins; 0 del; 3 mod; 53 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/fcntl.c

OS-5591 Double flock(3C) causes undue block
OS-5585 fcntl(F_OFD_GETLK) should return EINVAL on bad parameters
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
OS-4098 move open, close and fcntl into the kernel
4 lines changed: 2 ins; 0 del; 2 mod; 938 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/memcntl.c

OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
6 lines changed: 4 ins; 0 del; 2 mod; 407 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/open.c

OS-4098 move open, close and fcntl into the kernel
5 lines changed: 1 ins; 1 del; 3 mod; 336 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/poll.c

OS-5566 ppoll timeout calculation can overflow
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
OS-4656 nested epoll does not mimic Linux behavior
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-5162 poll/select yield improper EINTR when nfds and timeout are 0
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
317 lines changed: 164 ins; 120 del; 33 mod; 2905 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/rusagesys.c

OS-3088 need a lighterweight page invalidation mechanism for zone memcap
14 lines changed: 14 ins; 0 del; 0 mod; 263 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/rw.c

OS-3752 Increase IOV_MAX to at least 1024
187 lines changed: 144 ins; 8 del; 35 mod; 1590 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/sendfile.c

OS-3893 sendfile compat checks shouldn't be done in so_sendmblk
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
15 lines changed: 11 ins; 0 del; 4 mod; 1356 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/stat.c

OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 629 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/syscall/sysconfig.c

OS-399 zone phys. mem. cap should be a rctl and have associated kstat
5 lines changed: 1 ins; 0 del; 4 mod; 221 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/vm/hat.h

OS-3088 need a lighterweight page invalidation mechanism for zone memcap
OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
9 lines changed: 8 ins; 0 del; 1 mod; 626 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/vm/seg_kmem.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
2 lines changed: 1 ins; 0 del; 1 mod; 1643 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/vm/seg_kmem.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
3 lines changed: 3 ins; 0 del; 0 mod; 145 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/vm/seg_umap.c

OS-5572 seg_umap should load mapping for F_SOFTLOCK
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5448 clear() on llquantize aggregation causes dtrace to exit
OS-5501 printa() of multiple aggregations can fail for llquantize()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
OS-5515 segumap_fault can race for loaded mapping
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
453 lines changed: 453 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/common/vm/seg_umap.h

OS-5448 clear() on llquantize aggregation causes dtrace to exit
OS-5501 printa() of multiple aggregations can fail for llquantize()
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
OS-5515 segumap_fault can race for loaded mapping
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
42 lines changed: 42 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/vm/seg_vn.c

OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
6 lines changed: 1 ins; 0 del; 5 mod; 10328 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/vm/vm_as.c

OS-803 make phys mem cap a bit harder
OS-1043 minimize vm_getusage impact
20 lines changed: 18 ins; 2 del; 0 mod; 3596 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/vm/vm_pvn.c

OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
22 lines changed: 16 ins; 0 del; 6 mod; 1213 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/common/vm/vm_usage.c

OS-5078 illumos#6514 broke vm_usage and lx proc
OS-2969 vm_getusage syscall accurate zone RSS is overcounting
OS-3088 need a lighterweight page invalidation mechanism for zone memcap
OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
OS-750 improve RUSAGESYS_GETVMUSAGE for zoneadmd
OS-399 zone phys. mem. cap should be a rctl and have associated kstat
289 lines changed: 260 ins; 0 del; 29 mod; 2003 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/Makefile.files

OS-5451 comm page should not break i86xpv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
2 lines changed: 2 ins; 0 del; 0 mod; 272 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/i86pc/ml/comm_page.s

OS-5601 comm page symbols need ctf augmentation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
88 lines changed: 88 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/ml/offsets.in

OS-5510 remove lwp_brand_syscall_fast handler
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4129 lxbrand should not abuse p_brand_data for storing exit signal
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
5 lines changed: 5 ins; 0 del; 0 mod; 469 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/ml/syscall_asm.s

OS-2834 ship lx brand
30 lines changed: 30 ins; 0 del; 0 mod; 713 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/ml/syscall_asm_amd64.s

OS-5510 remove lwp_brand_syscall_fast handler
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Lint-clean syscall_asm_amd64.s
OS-4961 lxbrand want fasttrap-like brand hook
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3937 lxbrand incorrect stack alignment for lx_syscall_enter()
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3215 32bit syscalls with more than 6 parameters re-use arg0/arg1 as arg6/arg7
OS-3223 Passing arg6 and arg7 can't clobber the stack for ap-style calls
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Keith M Wesolowski <wesolows@foobazco.org>
back out OS-3215: causes OS-3223
OS-3215 32bit syscalls with more than 6 parameters re-use arg0/arg1 as arg6/arg7
OS-2834 ship lx brand
144 lines changed: 129 ins; 1 del; 14 mod; 1295 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/os/cpuid.c

OS-4391 Want Broadwell Instruction support
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-4368 lxbrand glibc abhors CPUID limits
24 lines changed: 16 ins; 4 del; 4 mod; 4891 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/os/mlsetup.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
6 lines changed: 2 ins; 0 del; 4 mod; 508 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/os/mp_startup.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
27 lines changed: 26 ins; 0 del; 1 mod; 2058 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/os/timestamp.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
16 lines changed: 10 ins; 6 del; 0 mod; 855 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/os/trap.c

OS-3825 lxbrand rsyslogd abort on centos6
OS-4047 lxbrand vsyscall while SIGSEGV? on next trap we're handler-free!
Reviewed by: Bryan Cantrill <bryan@joyent.com>
13 lines changed: 12 ins; 0 del; 1 mod; 2292 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/sys/apic.h

OS-2834 ship lx brand
1 line changed: 0 ins; 0 del; 1 mod; 882 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/i86pc/sys/comm_page.h

OS-5451 comm page should not break i86xpv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5322 lxbrand use comm page for vdso
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
100 lines changed: 100 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/sys/machparam.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
5 lines changed: 5 ins; 0 del; 0 mod; 353 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/i86pc/sys/tsc.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
28 lines changed: 28 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/unix/Makefile

OS-5601 comm page symbols need ctf augmentation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
9 lines changed: 5 ins; 0 del; 4 mod; 245 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/vm/hat_i86.c

OS-3088 need a lighterweight page invalidation mechanism for zone memcap
OS-881 To workaround OS-580 add support to only invalidate mappings from a single process
68 lines changed: 47 ins; 10 del; 11 mod; 4471 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86pc/vm/vm_machdep.c

OS-3602 lxbrand LTP recv* tests failing on MSG_ERRQUEUE flag
OS-3600 lxbrand 32bit cannot boot with OS-3594 fix
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
5 lines changed: 1 ins; 2 del; 2 mod; 3984 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/i86xpv/os/xpv_timestamp.c

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
6 lines changed: 6 ins; 0 del; 0 mod; 166 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/Makefile

OS-2834 ship lx brand
3 lines changed: 0 ins; 0 del; 3 mod; 161 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/Makefile.files

OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5480 zvol device resets mode/grp on reboot, breaks MapR
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5451 comm page should not break i86xpv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4680 lxbrand use IKE close(2) when AIO not present
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4002 ionice requirements not met on lx ubuntu64 14.04.003
OS-4587 lx: ubuntu 15.04 - Failed at step IOPRIO spawning /bin/systemd-tmpfiles: Function not implemented
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4475 rkt run needs syncfs
OS-4469 journald needs fallocate(2) syscall
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4323 stub out cgroup fs
OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4256 centos 7 systemd stops after failing to mount sysfs
OS-4115 lxbrand expose getrandom(2)
OS-4098 move open, close and fcntl into the kernel
OS-4084 getrlimit kills performance, move into kernel
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3551 lxbrand read syscall path is 1/2 the speed of native
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-2834 ship lx brand
85 lines changed: 84 ins; 0 del; 1 mod; 324 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/Makefile.intel

Remove lxprocfs - not needed for LX zones.
OS-3748 lxbrand remove the remaining obsolete audio code
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4360 cleanup lx_afs as a prelude for v5 work
OS-4323 stub out cgroup fs
OS-4256 centos 7 systemd stops after failing to mount sysfs
OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2834 ship lx brand
9 lines changed: 5 ins; 0 del; 4 mod; 734 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/bpf/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 99 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/brand/common/brand_asm.h

OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 244 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/brand/lx/lx_archdep.c

SMAP support didn't get brought over into LX.
OS-5570 lxbrand blown assertion in ptrace(PTRACE_SETREGS)
OS-5573 lxbrand ptrace(PEEKUSER) returns 0 for all registers
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4930 lxbrand ptrace should be more mindful of segregs
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4458 lxbrand complete moving ptrace to IKE
OS-4038 lxbrand PTRACE_PEEKUSER debugregs offset incorrect on 64bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4383 lx brand: strace target dies on #GP
OS-4201 need GS support in arch_prctl()
OS-4040 strace of 32-bit process on 64-bit does not work properly
OS-3888 lxbrand strace broken on centos6
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
1720 lines changed: 1720 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/dld/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 100 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/dls/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 93 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/dtrace/fasttrap_isa.c

OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes (cstyle)
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
14 lines changed: 13 ins; 0 del; 1 mod; 1744 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/elfexec/Makefile

OS-5451 comm page should not break i86xpv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
3 lines changed: 3 ins; 0 del; 0 mod; 122 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/genassym/Makefile

OS-2834 ship lx brand
85 lines changed: 85 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/genassym/offsets.in

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3433 lxbrand 64bit can take a signal with incorrect %fsbase
OS-3380 lx brand returns EINVAL on setsockopt() of IP_MULTICAST_TTL
OS-3377 lxbrand incorrect 64-bit stat conversion
OS-3369 lxbrand need arch_prctl and threadp support
OS-2834 ship lx brand
43 lines changed: 43 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/ia32/ml/i86_subr.s

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
17 lines changed: 1 ins; 16 del; 0 mod; 4414 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/ia32/ml/modstubs.s

OS-3735 modstubs MAXNARG is too low.
8 lines changed: 4 ins; 0 del; 4 mod; 1426 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/ia32/os/archdep.c

OS-4930 lxbrand ptrace should be more mindful of segregs
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2834 ship lx brand
24 lines changed: 22 ins; 0 del; 2 mod; 1543 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/ia32/os/desctbls.c

OS-2834 ship lx brand
20 lines changed: 12 ins; 0 del; 8 mod; 1385 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/ia32/os/sendsig.c

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
73 lines changed: 68 ins; 0 del; 5 mod; 793 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/ia32/sys/comm_page_util.h

OS-5451 comm page should not break i86xpv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
33 lines changed: 33 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/ia32/syscall/getcontext.c

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
70 lines changed: 68 ins; 0 del; 2 mod; 377 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/icmp/Makefile

OS-5007 support SO_ATTACH_FILTER on ICMP sockets
Reviewed by: Cody Mello <melloc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
3 lines changed: 3 ins; 0 del; 0 mod; 107 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/inotify/Makefile

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
70 lines changed: 70 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/iptun/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 89 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_brand/Makefile

Reduce lint
OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4741 Add support for multiple addresses & IPv6 to lx-branded zones
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4338 lxbrand expose route info via netlink
OS-3866 lxbrand ip route show fails
OS-4275 lxbrand ansible unable to query network facts
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-2834 ship lx brand
112 lines changed: 112 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_brand/Makefile.rules

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
lx_brand Makefile halts lint
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-2844 lx brand should support 64-bit user-land
OS-2834 ship lx brand
103 lines changed: 103 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_cgroup/Makefile

OS-4323 stub out cgroup fs
57 lines changed: 57 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_cgroup/Makefile.rules

OS-4323 stub out cgroup fs
21 lines changed: 21 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_devfs/Makefile

OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
57 lines changed: 57 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_devfs/Makefile.rules

OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
21 lines changed: 21 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_netlink/Makefile

OS-3595 lxbrand node test-os.js fails
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
77 lines changed: 77 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_proc/Makefile

OS-4611 lxproc should list zvol devices in /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3797 lxbrand populate /proc/net/unix
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3662 lxbrand emulate /proc/net/if_inet6
OS-3667 lxbrand support RO ifconfig
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3366 add lx brand support for inotify
OS-2834 ship lx brand
117 lines changed: 117 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_proc/Makefile.rules

OS-2834 ship lx brand
38 lines changed: 38 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_ptm/Makefile

OS-2834 ship lx brand
91 lines changed: 91 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_sysfs/Makefile

OS-5179 flatten zvol entries for /dev and /proc/partitions
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4614 lx want /sys/block emulation
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4337 lxbrand expose network interface info via sysfs
OS-4329 lx sysfs unsuitable for use as mount point
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4256 centos 7 systemd stops after failing to mount sysfs
66 lines changed: 66 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_sysfs/Makefile.rules

OS-4256 centos 7 systemd stops after failing to mount sysfs
21 lines changed: 21 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lx_systrace/Makefile

OS-2834 ship lx brand
80 lines changed: 80 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/lxautofs/Makefile

OS-5070 missing autofs dev ioctls - automounter restart recovery doesn't work
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5035 lxbrand autofs does not expire mount points
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
114 lines changed: 114 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/mac/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 94 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/mac_ether/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 84 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/mac_ib/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 84 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/mac_wifi/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 86 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/sockpfp/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 97 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/spdsock/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
2 lines changed: 0 ins; 2 del; 0 mod; 98 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/sys/machbrand.h

OS-5462 lxbrand kernel should be lint clean
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3712 lx brand: DTrace pid provider induces core dumps on 64-bit processes
OS-2834 ship lx brand
9 lines changed: 6 ins; 0 del; 3 mod; 51 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/sys/machlock.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
4 lines changed: 1 ins; 2 del; 1 mod; 138 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/sys/segments.h

OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-2834 ship lx brand
6 lines changed: 3 ins; 0 del; 3 mod; 695 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/sys/ucontext.h

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
13 lines changed: 9 ins; 1 del; 3 mod; 147 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/intel/sys/x86_archext.h

OS-4391 Want Broadwell Instruction support
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
1 line changed: 0 ins; 0 del; 1 mod; 863 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/intel/zfd/Makefile

OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
48 lines changed: 48 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/Makefile.sparc

OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
2 lines changed: 1 ins; 0 del; 1 mod; 510 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/bpf/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 99 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/dld/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 102 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/dls/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 95 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/icmp/Makefile

OS-5007 support SO_ATTACH_FILTER on ICMP sockets
Reviewed by: Cody Mello <melloc@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
3 lines changed: 3 ins; 0 del; 0 mod; 111 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/sparc/inotify/Makefile

OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
70 lines changed: 70 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/iptun/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 89 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/mac/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 98 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/mac_ether/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 84 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/mac_ib/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 84 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/mac_wifi/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 1 del; 0 mod; 86 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/sockpfp/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 98 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/spdsock/Makefile

OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
5 lines changed: 0 ins; 5 del; 0 mod; 103 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sparc/syscall/getcontext.c

OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
22 lines changed: 13 ins; 0 del; 9 mod; 600 unchg

------ ------ ------ ------ ------ --- New Patch Raw usr/src/uts/sparc/zfd/Makefile

OS-3524 in order to support interaction with docker containers, need to be able to connect to stdio for init from GZ
OS-3525 in order to support 'docker logs' need to be able to get stdio from zone to log file
50 lines changed: 50 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sun4/brand/common/brand_solaris.s

OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 301 unchg

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw usr/src/uts/sun4/ml/offsets.in

OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
1 line changed: 0 ins; 0 del; 1 mod; 548 unchg

This code review page was prepared using /opt/onbld/bin/webrev. Webrev is maintained by the illumos project. The latest version may be obtained here.