mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:20:53 +07:00
155d33af7e
renameat has been deprecated in favor of renameat2 for new ports. This allows the audit tests to build on RISC-V. Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
39 lines
528 B
C
39 lines
528 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifdef __NR_rename
|
|
__NR_rename,
|
|
#endif
|
|
#ifdef __NR_mkdir
|
|
__NR_mkdir,
|
|
#endif
|
|
#ifdef __NR_rmdir
|
|
__NR_rmdir,
|
|
#endif
|
|
#ifdef __NR_creat
|
|
__NR_creat,
|
|
#endif
|
|
#ifdef __NR_link
|
|
__NR_link,
|
|
#endif
|
|
#ifdef __NR_unlink
|
|
__NR_unlink,
|
|
#endif
|
|
#ifdef __NR_symlink
|
|
__NR_symlink,
|
|
#endif
|
|
#ifdef __NR_mknod
|
|
__NR_mknod,
|
|
#endif
|
|
#ifdef __NR_mkdirat
|
|
__NR_mkdirat,
|
|
__NR_mknodat,
|
|
__NR_unlinkat,
|
|
#ifdef __NR_renameat
|
|
__NR_renameat,
|
|
#endif
|
|
__NR_linkat,
|
|
__NR_symlinkat,
|
|
#endif
|
|
#ifdef __NR_renameat2
|
|
__NR_renameat2,
|
|
#endif
|