mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
sys_linux: allow clone3 and pread64 in seccomp filter
These seem to be needed with the latest glibc.
This commit is contained in:
@@ -503,6 +503,9 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
|
|||||||
|
|
||||||
/* Process */
|
/* Process */
|
||||||
SCMP_SYS(clone),
|
SCMP_SYS(clone),
|
||||||
|
#ifdef __NR_clone3
|
||||||
|
SCMP_SYS(clone3),
|
||||||
|
#endif
|
||||||
SCMP_SYS(exit),
|
SCMP_SYS(exit),
|
||||||
SCMP_SYS(exit_group),
|
SCMP_SYS(exit_group),
|
||||||
SCMP_SYS(getpid),
|
SCMP_SYS(getpid),
|
||||||
@@ -595,6 +598,7 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
|
|||||||
#ifdef __NR_ppoll_time64
|
#ifdef __NR_ppoll_time64
|
||||||
SCMP_SYS(ppoll_time64),
|
SCMP_SYS(ppoll_time64),
|
||||||
#endif
|
#endif
|
||||||
|
SCMP_SYS(pread64),
|
||||||
SCMP_SYS(pselect6),
|
SCMP_SYS(pselect6),
|
||||||
#ifdef __NR_pselect6_time64
|
#ifdef __NR_pselect6_time64
|
||||||
SCMP_SYS(pselect6_time64),
|
SCMP_SYS(pselect6_time64),
|
||||||
|
|||||||
Reference in New Issue
Block a user