mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 03:55:07 -05:00
sys_linux: allow uname in seccomp filter
It may be called from res_init() apparently.
This commit is contained in:
@@ -468,6 +468,8 @@ SYS_Linux_EnableSystemCallFilter(int level)
|
||||
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(set_robust_list), SCMP_SYS(write),
|
||||
/* Miscellaneous */
|
||||
SCMP_SYS(uname),
|
||||
};
|
||||
|
||||
const int socket_domains[] = {
|
||||
|
||||
Reference in New Issue
Block a user