Linux capabilites check broken on NetBSD

Matthew Selsky Matthew.Selsky at
Fri Jul 8 01:24:42 UTC 2016

On Wed, Jul 06, 2016 at 09:20:54PM -0400, Eric S. Raymond wrote:
> Hal Murray <hmurray at>:
> > On NetBSD:
> > 07-06T15:42:17 ntpd[4940]: root can't be dropped due to missing capabilities.
> So don't do that, then. Drop root, I mean.  Without some equivalent of Linux
> or Solaris fine-grained privilege control, setting the clock won't work
> afterwards.
> What has NetBSD been doing before this?

NetBSD should be using the clockctl interface:

This was in Classic since 2002:

Looks like we just need to add a check for sys/clockctl.h to waf and pylib/ and the C library will do the right thing(tm) behind the scenes.


More information about the devel mailing list