]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
audit: Avoid build failures on systems without renameat
authorPalmer Dabbelt <palmer@sifive.com>
Fri, 1 Dec 2017 19:32:00 +0000 (11:32 -0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Wed, 31 Jan 2018 03:07:54 +0000 (19:07 -0800)
commit155d33af7eeef19909d77aa0996c1d2dd8f1fa76
tree3411d7d08d51a3210f02358c7a48e0fe1953a057
parentd8a5b80568a9cb66810e75b182018e9edb68e8ff
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: Christoph Hellwig <hch@lst.de>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
include/asm-generic/audit_dir_write.h