sys_linux: allow uname in seccomp filter
It may be called from res_init() apparently.
This commit is contained in:
parent
06486f3162
commit
f102acd423
1 changed files with 2 additions and 0 deletions
|
@ -468,6 +468,8 @@ SYS_Linux_EnableSystemCallFilter(int level)
|
||||||
SCMP_SYS(_newselect), SCMP_SYS(close), SCMP_SYS(open), SCMP_SYS(pipe),
|
SCMP_SYS(_newselect), SCMP_SYS(close), SCMP_SYS(open), SCMP_SYS(pipe),
|
||||||
SCMP_SYS(poll), SCMP_SYS(read), SCMP_SYS(futex), SCMP_SYS(select),
|
SCMP_SYS(poll), SCMP_SYS(read), SCMP_SYS(futex), SCMP_SYS(select),
|
||||||
SCMP_SYS(set_robust_list), SCMP_SYS(write),
|
SCMP_SYS(set_robust_list), SCMP_SYS(write),
|
||||||
|
/* Miscellaneous */
|
||||||
|
SCMP_SYS(uname),
|
||||||
};
|
};
|
||||||
|
|
||||||
const int socket_domains[] = {
|
const int socket_domains[] = {
|
||||||
|
|
Loading…
Reference in a new issue