git: 2d7f1cf13822 - stable/15 - syscalls.master: Allow clock_nanosleep in capability mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jun 2026 15:34:19 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=2d7f1cf138229066090a74b9222b2884fc2ec371
commit 2d7f1cf138229066090a74b9222b2884fc2ec371
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-05-29 20:26:06 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-06-26 15:34:03 +0000
syscalls.master: Allow clock_nanosleep in capability mode
It is akin to nanosleep(2) and does not access global namespaces.
It should be permitted in capability mode.
Reviewed by: vangyzen
Fixes: 3f8455b0905a ("Add clock_nanosleep()")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57343
(cherry picked from commit 692b0ef1506ba51b72d0a2707cbf8879a6e01d78)
---
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 6856a0907d48..4c7de9d59ded 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1430,7 +1430,7 @@
_Out_ _Contains_timet_ struct ffclock_estimate *cest
);
}
-244 AUE_NULL STD {
+244 AUE_NULL STD|CAPENABLED {
int clock_nanosleep(
clockid_t clock_id,
int flags,