]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
fix SIGWINCH delivery of Solaris for mux sessions
authorDamien Miller <djm@mindrot.org>
Fri, 19 Jul 2019 03:19:19 +0000 (13:19 +1000)
committerDamien Miller <djm@mindrot.org>
Fri, 19 Jul 2019 03:22:16 +0000 (13:22 +1000)
Remove PRIV_PROC_SESSION which was limiting ability to send SIGWINCH
signals to other sessions.  bz#3030; report and fix from Darren Moffat

openbsd-compat/port-solaris.c

index 0e89dc3261d76e9610564170cc14fc3b819112dd..a7c9254505a275ca3a1a20142e6089cd02777310 100644 (file)
@@ -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 ||