From 565231a71d725e7598d7d5037bb1d7231ca8f754 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 5 Apr 2024 13:55:26 +0000 Subject: [PATCH] noone calls msyscall() anymore. --- sys/kern/kern_pledge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 113d8675ea0..dce4d91ccf9 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.312 2024/03/28 02:19:57 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.313 2024/04/05 13:55:26 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -105,7 +105,6 @@ 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, -- 2.20.1