mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 18:30:06 +00:00
![Chris Metcalf](/assets/img/avatar_default.png)
Many of the syscalls mentioned in the audit code are not present for architectures that implement only the "standard" set of Linux syscalls (e.g. openat, but not open, etc.). This change adds proper #ifdefs for all those syscalls. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
30 lines
419 B
C
30 lines
419 B
C
#ifdef __NR_chmod
|
|
__NR_chmod,
|
|
#endif
|
|
__NR_fchmod,
|
|
#ifdef __NR_chown
|
|
__NR_chown,
|
|
__NR_fchown,
|
|
__NR_lchown,
|
|
#endif
|
|
__NR_setxattr,
|
|
__NR_lsetxattr,
|
|
__NR_fsetxattr,
|
|
__NR_removexattr,
|
|
__NR_lremovexattr,
|
|
__NR_fremovexattr,
|
|
#ifdef __NR_fchownat
|
|
__NR_fchownat,
|
|
__NR_fchmodat,
|
|
#endif
|
|
#ifdef __NR_chown32
|
|
__NR_chown32,
|
|
__NR_fchown32,
|
|
__NR_lchown32,
|
|
#endif
|
|
#ifdef __NR_link
|
|
__NR_link,
|
|
#endif
|
|
#ifdef __NR_linkat
|
|
__NR_linkat,
|
|
#endif
|