Skip to content

Commit

Permalink
Re-align the system-probe seccomp profile with what’s in the public h…
Browse files Browse the repository at this point in the history
…elm chart (#74)
  • Loading branch information
L3n41c committed Apr 10, 2020
1 parent 5531756 commit d3e21a5
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion pkg/controller/datadogagent/systemprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,15 @@ const systemProbeSecCompData = `{
{
"names": [
"accept4",
"access",
"arch_prctl",
"bind",
"bpf",
"brk",
"capget",
"capset",
"chdir",
"clock_gettime",
"clone",
"close",
"connect",
Expand Down Expand Up @@ -130,11 +132,15 @@ const systemProbeSecCompData = `{
"fcntl",
"fcntl64",
"fstat",
"fstatfs",
"fstat64",
"fstatfs",
"fsync",
"futex",
"getcwd",
"getdents",
"getegid",
"geteuid",
"getgid",
"getdents64",
"getpeername",
"getpid",
Expand All @@ -152,10 +158,12 @@ const systemProbeSecCompData = `{
"getsockopt",
"gettid",
"gettimeofday",
"getuid",
"getxattr",
"ioctl",
"ipc",
"listen",
"lseek",
"lstat",
"lstat64",
"mkdir",
Expand All @@ -176,10 +184,14 @@ const systemProbeSecCompData = `{
"ppoll",
"prctl",
"prlimit64",
"pselect6",
"read",
"readlink",
"readlinkat",
"recvfrom",
"recvmmsg",
"recvmsg",
"rename",
"restart_syscall",
"rmdir",
"rt_sigaction",
Expand All @@ -190,17 +202,22 @@ const systemProbeSecCompData = `{
"rt_sigsuspend",
"rt_sigtimedwait",
"rt_tgsigqueueinfo",
"sched_getaffinity",
"sched_yield",
"seccomp",
"select",
"semtimedop",
"send",
"sendmmsg",
"sendmsg",
"sendto",
"set_robust_list",
"set_tid_address",
"setgid",
"setgid32",
"setgroups",
"setgroups32",
"setns",
"setrlimit",
"setsid",
"setsidaccept4",
Expand All @@ -214,6 +231,7 @@ const systemProbeSecCompData = `{
"stat",
"stat64",
"statfs",
"sysinfo",
"umask",
"uname",
"unlink",
Expand Down

0 comments on commit d3e21a5

Please sign in to comment.