summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-07-19 13:19:19 +1000
committerDamien Miller <djm@mindrot.org>2019-07-19 13:22:16 +1000
commit01dddb231f23b4a7b616f9d33a0b9d937f9eaf0e (patch)
tree0465ffb396a8068f7715e88af3b8aafe5e4694b1 /openbsd-compat
parent05500af21d27c1a3ddac232b018cc23da7b1ee95 (diff)
fix SIGWINCH delivery of Solaris for mux sessions
Remove PRIV_PROC_SESSION which was limiting ability to send SIGWINCH signals to other sessions. bz#3030; report and fix from Darren Moffat
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-solaris.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsd-compat/port-solaris.c b/openbsd-compat/port-solaris.c
index 0e89dc32..a7c92545 100644
--- a/openbsd-compat/port-solaris.c
+++ b/openbsd-compat/port-solaris.c
@@ -348,8 +348,7 @@ solaris_drop_privs_root_pinfo_net_exec(void)
priv_delset(pset, PRIV_NET_ACCESS) != 0 ||
#endif
priv_delset(pset, PRIV_PROC_EXEC) != 0 ||
- priv_delset(pset, PRIV_PROC_INFO) != 0 ||
- priv_delset(pset, PRIV_PROC_SESSION) != 0)
+ priv_delset(pset, PRIV_PROC_INFO) != 0)
fatal("priv_delset: %s", strerror(errno));
if (setppriv(PRIV_SET, PRIV_PERMITTED, pset) != 0 ||