diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-06-29 22:35:12 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-06-30 08:36:34 +1000 |
commit | 512caddf590857af6aa12218461b5c0441028cf5 (patch) | |
tree | fd1beaf73f1494a669187f985b7070c704c18384 /sandbox-seccomp-filter.c | |
parent | 78c2a4f883ea9aba866358e2acd9793a7f42ca93 (diff) | |
download | openssh-git-512caddf590857af6aa12218461b5c0441028cf5.tar.gz |
upstream commit
add getpid to sandbox, reachable by grace_alarm_handler
reported by Jakub Jelen; bz#2419
Upstream-ID: d0da1117c16d4c223954995d35b0f47c8f684cd8
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r-- | sandbox-seccomp-filter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index ef9d6fa2..2462bcc8 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c @@ -141,6 +141,9 @@ static const struct sock_filter preauth_insns[] = { #ifdef __NR_exit_group SC_ALLOW(exit_group), #endif +#ifdef __NR_getpgid + SC_ALLOW(getpgid), +#endif #ifdef __NR_getpid SC_ALLOW(getpid), #endif |