Alexander
03/15/2021, 6:17 PMStefano Bonicatti
03/15/2021, 6:34 PMAlexander
03/15/2021, 6:47 PMStefano Bonicatti
03/15/2021, 6:53 PMAlexander
03/15/2021, 7:04 PMStefano Bonicatti
03/15/2021, 7:06 PMAlexander
03/15/2021, 7:06 PMman seccomp
it replaced SECCOMP_RET_KILL in 4.14Stefano Bonicatti
03/15/2021, 7:09 PMSECCOMP_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
03/15/2021, 7:14 PMStefano Bonicatti
03/15/2021, 7:16 PMSECCOMP_RET_KILL
retained its original value, I'm looking at 4.9 codeAlexander
03/15/2021, 7:19 PM#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
03/15/2021, 7:31 PMlinux/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.Anton Zhabolenko
03/16/2021, 10:15 AM