7590 sendmsg on AF_UNIX socket fails after process drops privileges
commitf012ee0c3db17469b492c2cf757226f3d7b1ebbc
authorGordon Ross <gwr@nexenta.com>
Fri, 18 Nov 2016 03:13:10 +0000 (17 22:13 -0500)
committerDan McDonald <danmcd@omniti.com>
Tue, 16 May 2017 16:01:25 +0000 (16 12:01 -0400)
treecda3a4eb9ec134fca14bde3deba221e766815b37
parentf4a8ddfca5b163fcce5c470e59c5be2dad358d70
7590 sendmsg on AF_UNIX socket fails after process drops privileges
Portions contributed by: Jeremy Allison <jra@samba.org>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@omniti.com>
13 files changed:
exception_lists/cstyle
usr/src/pkg/manifests/system-test-ostest.mf
usr/src/test/os-tests/runfiles/default.run
usr/src/test/os-tests/tests/Makefile
usr/src/test/os-tests/tests/sockfs/Makefile [new file with mode: 0644]
usr/src/test/os-tests/tests/sockfs/conn.c [new file with mode: 0644]
usr/src/test/os-tests/tests/sockfs/dgram.c [new file with mode: 0644]
usr/src/test/os-tests/tests/sockfs/drop_priv.c [new file with mode: 0644]
usr/src/test/os-tests/tests/sockfs/sockpair.c [new file with mode: 0644]
usr/src/uts/common/fs/sockfs/socksubr.c
usr/src/uts/common/fs/sockfs/socktpi.c
usr/src/uts/common/fs/sockfs/socktpi.h
usr/src/uts/common/sys/socket.h