diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2026-05-29 20:26:06 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-05-29 22:25:42 +0000 |
| commit | 692b0ef1506ba51b72d0a2707cbf8879a6e01d78 (patch) | |
| tree | 72151be728e35fb25e43810e3ce43febaac148ba | |
| parent | 32a7ba251acbfb442665eed40fb4f48c8f2bd710 (diff) | |
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
| -rw-r--r-- | sys/kern/syscalls.master | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index b3e1d4be9fee..1032f6cd1bf0 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, |
