git: 050555e12978 - main - syscalls.master: allow vfork(2) in capsicum(4) capability mode

From: Mariusz Zaborski <oshogbo_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:14:38 UTC
The branch main has been updated by oshogbo:

URL: https://cgit.FreeBSD.org/src/commit/?id=050555e129789fa2e20eba565f1320936b3d66e4

commit 050555e129789fa2e20eba565f1320936b3d66e4
Author:     Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2024-05-13 14:10:01 +0000
Commit:     Mariusz Zaborski <oshogbo@FreeBSD.org>
CommitDate: 2024-05-13 14:12:29 +0000

    syscalls.master: allow vfork(2) in capsicum(4) capability mode
    
    There is no reason not do do this, we already allow fork(2),
    and I need vfork(2) for CHERI process colocation.
    
    Reviewed by:    brooks, emaste, oshogbo
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D39829
---
 sys/kern/syscalls.master | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 274167ac11d8..094c538b22e0 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -497,7 +497,7 @@
 		    int flags
 		);
 	}
-66	AUE_VFORK	STD {
+66	AUE_VFORK	STD|CAPENABLED {
 		int vfork(void);
 	}
 67	AUE_NULL	OBSOL	vread