mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
sys_linux: check if statx syscall is defined
statx seems to be missing in older kernel and libseccomp headers, still used on some supported systems.
This commit is contained in:
@@ -555,7 +555,9 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
|
||||
SCMP_SYS(stat64),
|
||||
SCMP_SYS(statfs),
|
||||
SCMP_SYS(statfs64),
|
||||
#ifdef __NR_statx
|
||||
SCMP_SYS(statx),
|
||||
#endif
|
||||
SCMP_SYS(unlink),
|
||||
SCMP_SYS(unlinkat),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user