未验证 提交 155d33af 编写于 作者: P Palmer Dabbelt 提交者: Palmer Dabbelt

audit: Avoid build failures on systems without renameat

renameat has been deprecated in favor of renameat2 for new ports.  This
allows the audit tests to build on RISC-V.
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Acked-by: NOlof Johansson <olof@lixom.net>
Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
上级 d8a5b805
......@@ -27,7 +27,9 @@ __NR_mknod,
__NR_mkdirat,
__NR_mknodat,
__NR_unlinkat,
#ifdef __NR_renameat
__NR_renameat,
#endif
__NR_linkat,
__NR_symlinkat,
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册