From: Thomas Kupper Subject: clock_settime() not pledge()-ed To: tech@openbsd.org Date: Sun, 15 Feb 2026 16:26:17 +0000 Hi, I had a search through the tech@ mailing list and a grep through (git) commits but did not find anything about the topic. Working on getting OpenBSD support into Chrony, it does use clock_settime() for setting time (and adjfreq()). The helper running as root which does the calls to privileged tasks like opening a socket for a port <1024 and setting time, uses clock_settime(). Since that call is not pledged, pledging this helper is not possible right now. I was wondering if there is specific reason that clock_gettime(), adjtime() and adjfreq() are covered but not clock_settime()? /Thomas