diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-12-08 23:09:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-12-08 23:09:00 +0000 |
commit | 202ef7780fed2d74e56bed7d81abb0e32d2ac34e (patch) | |
tree | 8d7fa74b8193c4e96bf0c4f506879309c6f0aaea /sys/kern | |
parent | 49467edf8c224252533257264ee4ea1cba261cbf (diff) |
msyscall(2) is like kbind(2), and should be always permitted. it does
it's own checks.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_pledge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 74b7f59cba7..0961a50c2f1 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.255 2019/08/25 18:46:40 pamela Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.256 2019/12/08 23:08:59 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -111,6 +111,7 @@ const uint64_t pledge_syscalls[SYS_MAXSYSCALL] = { */ [SYS_exit] = PLEDGE_ALWAYS, [SYS_kbind] = PLEDGE_ALWAYS, + [SYS_msyscall] = PLEDGE_ALWAYS, [SYS___get_tcb] = PLEDGE_ALWAYS, [SYS___set_tcb] = PLEDGE_ALWAYS, [SYS_pledge] = PLEDGE_ALWAYS, |