openwrt/package/network/services/umdns/files/umdns.json
Michael Peleshenko db639238f2 umdns: add missing syscall to seccomp filter
The 'madvise', syscall is missing.
Found with 'utrace /usr/sbin/umdns' on an R7800 and RT3200.

Signed-off-by: Michael Peleshenko <mpeleshenko@gmail.com>
2021-10-27 19:25:59 +01:00

54 lines
780 B
JSON

{
"defaultAction": "SCMP_ACT_KILL_PROCESS",
"syscalls": [
{
"names": [
"bind",
"brk",
"clock_gettime",
"clock_gettime64",
"close",
"connect",
"epoll_create",
"epoll_create1",
"epoll_ctl",
"epoll_pwait",
"epoll_wait",
"exit",
"exit_group",
"fcntl",
"fcntl64",
"fstat",
"getsockname",
"ioctl",
"madvise",
"mmap",
"mmap2",
"munmap",
"open",
"openat",
"pipe",
"pipe2",
"poll",
"ppoll",
"read",
"recvfrom",
"recvmsg",
"rt_sigaction",
"rt_sigprocmask",
"rt_sigreturn",
"sendmsg",
"sendto",
"setsockopt",
"sigreturn",
"socket",
"time",
"uname",
"write",
"writev"
],
"action": "SCMP_ACT_ALLOW"
}
]
}