• Tycho Andersen's avatar
    don't assume the kernel has CONFIG_SECCOMP · 209693d4
    Tycho Andersen authored
    linux/seccomp.h may not be available, and the seccomp mode might not be
    listed in /proc/pid/status, so let's not assume those two things are
    present.
    
    v2: add a seccomp.h with all the constants we use from linux/seccomp.h
    v3: don't do a compile time check for PTRACE_O_SUSPEND_SECCOMP, just let
        ptrace return EINVAL for it; also add a checkskip to skip the
        seccomp_strict test if PTRACE_O_SUSPEND_SECCOMP or linux/seccomp.h
        aren't present.
    v4: use criu check --feature instead of checkskip to check whether the
        kernel supports seccomp_suspend
    
    Reported-by: Mr. Jenkins
    Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
    Acked-by: 's avatarAndrew Vagin <avagin@odin.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    209693d4
Name
Last commit
Last update
..
app-emu Loading commit data...
bers Loading commit data...
crit Loading commit data...
ext-links Loading commit data...
fault-injection Loading commit data...
jenkins Loading commit data...
libcriu Loading commit data...
mem-snap Loading commit data...
mounts Loading commit data...
pipes Loading commit data...
rpc Loading commit data...
security Loading commit data...
tcp Loading commit data...
unix-callback Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
Makefile.zdtm Loading commit data...
app-emu.sh Loading commit data...
env.sh Loading commit data...
functions.sh Loading commit data...
maps.py Loading commit data...
post-dump.sh Loading commit data...
zdtm.sh Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...