sys_linux: fix build with older kernel headers
The renameat2 system call was introduced in kernel version 3.15. Fix build against older headers.
This commit is contained in:
parent
362d7c517d
commit
a2372b0c3a
1 changed files with 2 additions and 0 deletions
|
@ -547,7 +547,9 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
|
|||
SCMP_SYS(readlinkat),
|
||||
SCMP_SYS(rename),
|
||||
SCMP_SYS(renameat),
|
||||
#ifdef __NR_renameat2
|
||||
SCMP_SYS(renameat2),
|
||||
#endif
|
||||
SCMP_SYS(stat),
|
||||
SCMP_SYS(stat64),
|
||||
SCMP_SYS(statfs),
|
||||
|
|
Loading…
Reference in a new issue