Skip to content

Instantly share code, notes, and snippets.

@pjbgf
Created November 14, 2019 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjbgf/ef974f57693bb193f39e8add8a7040d7 to your computer and use it in GitHub Desktop.
Save pjbgf/ef974f57693bb193f39e8add8a7040d7 to your computer and use it in GitHub Desktop.
medium-basic-seccomp
{
"defaultAction": "SCMP_ACT_ERRNO",
"architectures": [
"SCMP_ARCH_X86_64",
"SCMP_ARCH_X86",
"SCMP_ARCH_X32"
],
"syscalls": [
{
"names": [
"arch_prctl",
"sched_yield",
"futex",
"write",
"mmap",
"exit_group",
"madvise",
"rt_sigprocmask",
"getpid",
"gettid",
"tgkill",
"rt_sigaction",
"read",
"getpgrp"
],
"action": "SCMP_ACT_ALLOW"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment