seccomp on Raspberry Pi

Hal Murray hmurray at megapathdsl.net
Mon May 15 23:39:01 UTC 2017


> Works fine on Gentoo, but I have not tested much.

Is it actually working, or just didn't crash?

The only way I know to tell is to find the startup messages.

When it works, you will see:
May 15 14:38:24 rp1 ntpd[12991]: sandbox: seccomp_init() succeeded
May 15 14:38:24 rp1 ntpd[12991]: sandbox: seccomp_load() succeeded

If it doesn't work, you get:
May 15 14:39:31 wp0 ntpd[25375]: sandbox: seccomp_init() succeeded
May 15 14:39:31 wp0 ntpd[25375]: sandbox: seccomp_load() failed: Invalid 
argument

If you have --enable-early-droproot, they happen before the log file is setup 
so they go to syslog which ends up in /var/log/syslog on Debian/Raspbian.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list