diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-26 11:11:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-26 11:11:46 +0000 |
commit | bcdaa51943b1537f0e07ca8e7e50422c7194f0d1 (patch) | |
tree | 542c910c51790e5e8dc0c7ae054c2a655ae7180a /sys/kern | |
parent | ddb7a468c975a73355a0f15b192243b096270cf1 (diff) |
add setreuid/setregid to "id"
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_pledge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index adf42cdb073..5632c9de725 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.76 2015/10/26 07:44:43 semarie Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.77 2015/10/26 11:11:45 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -169,9 +169,11 @@ const u_int pledge_syscalls[SYS_MAXSYSCALL] = { [SYS_setuid] = PLEDGE_ID, [SYS_seteuid] = PLEDGE_ID, + [SYS_setreuid] = PLEDGE_ID, [SYS_setresuid] = PLEDGE_ID, [SYS_setgid] = PLEDGE_ID, [SYS_setegid] = PLEDGE_ID, + [SYS_setregid] = PLEDGE_ID, [SYS_setresgid] = PLEDGE_ID, [SYS_setgroups] = PLEDGE_ID, [SYS_setlogin] = PLEDGE_ID, |