From: deraadt Date: Tue, 12 Dec 2023 17:43:10 +0000 (+0000) Subject: put pinsyscalls(2) into the "always" group X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b87515de6c2d632ea9e8c74e8b0ceb61cc0773ae;p=openbsd put pinsyscalls(2) into the "always" group --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 2099db42f89..deb254245d9 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.309 2023/09/29 12:47:34 claudio Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.310 2023/12/12 17:43:10 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -113,6 +113,7 @@ const uint64_t pledge_syscalls[SYS_MAXSYSCALL] = { [SYS_thrkill] = PLEDGE_ALWAYS, /* raise, abort, stack pro */ [SYS_utrace] = PLEDGE_ALWAYS, /* ltrace(1) from ld.so */ [SYS_pinsyscall] = PLEDGE_ALWAYS, + [SYS_pinsyscalls] = PLEDGE_ALWAYS, /* "getting" information about self is considered safe */ [SYS_getuid] = PLEDGE_STDIO,