2015-12-29 03:24:44 +00:00
|
|
|
// +build linux,seccomp
|
2015-12-18 18:01:58 +00:00
|
|
|
|
2016-01-19 22:57:03 +00:00
|
|
|
package seccomp
|
2015-12-18 18:01:58 +00:00
|
|
|
|
2015-12-29 21:06:10 +00:00
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
|
|
|
|
"github.com/opencontainers/runc/libcontainer/configs"
|
2016-01-05 14:27:32 +00:00
|
|
|
libseccomp "github.com/seccomp/libseccomp-golang"
|
2015-12-29 21:06:10 +00:00
|
|
|
)
|
2015-12-18 18:01:58 +00:00
|
|
|
|
2016-01-05 14:27:32 +00:00
|
|
|
func arches() []string {
|
|
|
|
var native, err = libseccomp.GetNativeArch()
|
|
|
|
if err != nil {
|
|
|
|
return []string{}
|
|
|
|
}
|
|
|
|
var a = native.String()
|
|
|
|
switch a {
|
|
|
|
case "amd64":
|
2016-01-19 03:24:01 +00:00
|
|
|
return []string{"amd64", "x86", "x32"}
|
2016-01-05 14:27:32 +00:00
|
|
|
case "arm64":
|
|
|
|
return []string{"arm64", "arm"}
|
|
|
|
case "mips64":
|
|
|
|
return []string{"mips64", "mips64n32", "mips"}
|
|
|
|
case "mips64n32":
|
|
|
|
return []string{"mips64", "mips64n32", "mips"}
|
|
|
|
case "mipsel64":
|
|
|
|
return []string{"mipsel64", "mipsel64n32", "mipsel"}
|
|
|
|
case "mipsel64n32":
|
|
|
|
return []string{"mipsel64", "mipsel64n32", "mipsel"}
|
|
|
|
default:
|
|
|
|
return []string{a}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-18 18:01:58 +00:00
|
|
|
var defaultSeccompProfile = &configs.Seccomp{
|
2015-12-29 21:06:10 +00:00
|
|
|
DefaultAction: configs.Errno,
|
2016-01-05 14:27:32 +00:00
|
|
|
Architectures: arches(),
|
2015-12-18 18:01:58 +00:00
|
|
|
Syscalls: []*configs.Syscall{
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "accept",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "accept4",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "access",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "alarm",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "arch_prctl",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "bind",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "brk",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "capget",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 17:28:30 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "capset",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 17:28:30 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 12:48:16 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "chdir",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 12:48:16 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "chmod",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "chown",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "chown32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "chroot",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "clock_getres",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "clock_gettime",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "clock_nanosleep",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "clone",
|
2015-12-29 21:06:10 +00:00
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Index: 0,
|
|
|
|
Value: syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWIPC | syscall.CLONE_NEWUSER | syscall.CLONE_NEWPID | syscall.CLONE_NEWNET,
|
|
|
|
ValueTwo: 0,
|
|
|
|
Op: configs.MaskEqualTo,
|
2015-12-18 18:01:58 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "close",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "connect",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 12:31:33 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "creat",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 12:31:33 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "dup",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "dup2",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "dup3",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "epoll_create",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "epoll_create1",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 17:02:11 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "epoll_ctl",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 17:02:11 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "epoll_ctl_old",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "epoll_pwait",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "epoll_wait",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "epoll_wait_old",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "eventfd",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "eventfd2",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "execve",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "execveat",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "exit",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "exit_group",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "faccessat",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fadvise64",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "fadvise64_64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fallocate",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fanotify_init",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 17:02:11 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fanotify_mark",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 17:02:11 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fchdir",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 17:02:11 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fchmod",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fchmodat",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fchown",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "fchown32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fchownat",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fcntl",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "fcntl64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fdatasync",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "fgetxattr",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "flistxattr",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "flock",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "fork",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "fremovexattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "fsetxattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "fstat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "fstat64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "fstatat64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "fstatfs",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "fstatfs64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "fsync",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "ftruncate",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "ftruncate64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "futex",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "futimesat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getcpu",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getcwd",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getdents",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getdents64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getegid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "getegid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "geteuid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "geteuid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "getgid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "getgid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "getgroups",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "getgroups32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "getitimer",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getpeername",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getpgid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getpgrp",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getpid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getppid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getpriority",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getrandom",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getresgid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "getresgid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "getresuid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "getresuid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "getrlimit",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "get_robust_list",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getrusage",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getsid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getsockname",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getsockopt",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "get_thread_area",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "gettid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "gettimeofday",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "getuid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "getuid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "getxattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "inotify_add_watch",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "inotify_init",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "inotify_init1",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "inotify_rm_watch",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "io_cancel",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "ioctl",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "io_destroy",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "io_getevents",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "ioprio_get",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "ioprio_set",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "io_setup",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "io_submit",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "kill",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "lchown",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "lchown32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "lgetxattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "link",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "linkat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "listen",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "listxattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "llistxattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2016-01-04 18:21:51 +00:00
|
|
|
{
|
|
|
|
Name: "_llseek",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "lremovexattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "lseek",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "lsetxattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "lstat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "lstat64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "madvise",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "memfd_create",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mincore",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mkdir",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mkdirat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mknod",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mknodat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mlock",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mlockall",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mmap",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mmap2",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mprotect",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mq_getsetattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mq_notify",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mq_open",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mq_timedreceive",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mq_timedsend",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mq_unlink",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "mremap",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "msgctl",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "msgget",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "msgrcv",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "msgsnd",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "msync",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "munlock",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "munlockall",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "munmap",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "nanosleep",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "newfstatat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "_newselect",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "open",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "openat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "pause",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "pipe",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "pipe2",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "poll",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "ppoll",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "prctl",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "pread64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "preadv",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "prlimit64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "pselect6",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "pwrite64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "pwritev",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "read",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "readahead",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "readlink",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "readlinkat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "readv",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2016-01-19 03:24:01 +00:00
|
|
|
{
|
|
|
|
Name: "recv",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "recvfrom",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "recvmmsg",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "recvmsg",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "remap_file_pages",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "removexattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rename",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "renameat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "renameat2",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rmdir",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_sigaction",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_sigpending",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_sigprocmask",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_sigqueueinfo",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_sigreturn",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_sigsuspend",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_sigtimedwait",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "rt_tgsigqueueinfo",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_getaffinity",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_getattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_getparam",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_get_priority_max",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_get_priority_min",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_getscheduler",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_rr_get_interval",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_setaffinity",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_setattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_setparam",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_setscheduler",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sched_yield",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "seccomp",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "select",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "semctl",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "semget",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "semop",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "semtimedop",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2016-01-19 03:24:01 +00:00
|
|
|
Name: "send",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "sendfile",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "sendfile64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "sendmmsg",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sendmsg",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sendto",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setdomainname",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setfsgid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setfsgid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "setfsuid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setfsuid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "setgid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setgid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "setgroups",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setgroups32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "sethostname",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setitimer",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setpgid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setpriority",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setregid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setregid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "setresgid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setresgid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "setresuid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setresuid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "setreuid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "setreuid32",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "setrlimit",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "set_robust_list",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setsid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setsockopt",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "set_thread_area",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "set_tid_address",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:48:31 +00:00
|
|
|
Name: "setuid",
|
2015-12-29 21:06:10 +00:00
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:48:31 +00:00
|
|
|
Name: "setuid32",
|
2015-12-29 21:06:10 +00:00
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "setxattr",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "shmat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "shmctl",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "shmdt",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "shmget",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "shutdown",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sigaltstack",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "signalfd",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "signalfd4",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2016-01-04 23:56:01 +00:00
|
|
|
{
|
|
|
|
Name: "sigreturn",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "socket",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "socketpair",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "splice",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "stat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "stat64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "statfs",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "statfs64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "symlink",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "symlinkat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sync",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sync_file_range",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "syncfs",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "sysinfo",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "syslog",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "tee",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "tgkill",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "time",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timer_create",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timer_delete",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timerfd_create",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timerfd_gettime",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timerfd_settime",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timer_getoverrun",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timer_gettime",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "timer_settime",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "times",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "tkill",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "truncate",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:48:31 +00:00
|
|
|
{
|
|
|
|
Name: "truncate64",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "ugetrlimit",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 21:06:10 +00:00
|
|
|
{
|
|
|
|
Name: "umask",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "uname",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "unlink",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "unlinkat",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 15:22:52 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "utime",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 15:22:52 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "utimensat",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "utimes",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "vfork",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 11:57:16 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "vhangup",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 11:57:16 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "vmsplice",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "wait4",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "waitid",
|
|
|
|
Action: configs.Allow,
|
2015-12-18 18:01:58 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2016-01-05 15:29:59 +00:00
|
|
|
{
|
|
|
|
Name: "waitpid",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-29 15:47:23 +00:00
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "write",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 15:47:23 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
2015-12-29 21:06:10 +00:00
|
|
|
Name: "writev",
|
|
|
|
Action: configs.Allow,
|
2015-12-29 15:47:23 +00:00
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2016-01-10 12:00:11 +00:00
|
|
|
// i386 specific syscalls
|
|
|
|
{
|
|
|
|
Name: "modify_ldt",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2016-01-10 11:40:55 +00:00
|
|
|
// arm specific syscalls
|
|
|
|
{
|
|
|
|
Name: "breakpoint",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "cacheflush",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "set_tls",
|
|
|
|
Action: configs.Allow,
|
|
|
|
Args: []*configs.Arg{},
|
|
|
|
},
|
2015-12-18 18:01:58 +00:00
|
|
|
},
|
|
|
|
}
|