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
This commit is contained in:
parent
05500af21d
commit
01dddb231f
|
@ -348,8 +348,7 @@ solaris_drop_privs_root_pinfo_net_exec(void)
|
||||||
priv_delset(pset, PRIV_NET_ACCESS) != 0 ||
|
priv_delset(pset, PRIV_NET_ACCESS) != 0 ||
|
||||||
#endif
|
#endif
|
||||||
priv_delset(pset, PRIV_PROC_EXEC) != 0 ||
|
priv_delset(pset, PRIV_PROC_EXEC) != 0 ||
|
||||||
priv_delset(pset, PRIV_PROC_INFO) != 0 ||
|
priv_delset(pset, PRIV_PROC_INFO) != 0)
|
||||||
priv_delset(pset, PRIV_PROC_SESSION) != 0)
|
|
||||||
fatal("priv_delset: %s", strerror(errno));
|
fatal("priv_delset: %s", strerror(errno));
|
||||||
|
|
||||||
if (setppriv(PRIV_SET, PRIV_PERMITTED, pset) != 0 ||
|
if (setppriv(PRIV_SET, PRIV_PERMITTED, pset) != 0 ||
|
||||||
|
|
Loading…
Reference in New Issue