Alexander
Stefano Bonicatti
Alexander
Stefano Bonicatti
Alexander
Stefano Bonicatti
Alexander
man seccomp
it replaced SECCOMP_RET_KILL in 4.14Stefano Bonicatti
SECCOMP_RET_KILL_PROCESS
and so instead of referring to the more generic SECCOMP_RET_KILL
they use SECCOMP_RET_KILL_THREAD
to differentiate, but they have the same value.Alexander
not in 4.13 source, so there must be some other 4.14 patch that introduced new constant.
Stefano Bonicatti
SECCOMP_RET_KILL
retained its original value, I'm looking at 4.9 codeAlexander
#include <linux/seccomp.h>
or make some fancy wrapper to seccomp.h, but i don't see appropriate place for wrappers.
And should it be in-tree, or it better to be some logic around kernel version in CMakeFile?Stefano Bonicatti
linux/seccomp.h
header. That is the only usage now and I suspect for a while too. We'll handle moving them somewhere else if needed.
But definitely if you can, put them under ifndef
so that we can play nice with other kind of builds.