riscvarchive / riscv-linux

RISC-V Linux Port
607 stars 205 forks source link

audit: Avoid build failures on systems without renameat #116

Closed palmer-dabbelt closed 6 years ago

palmer-dabbelt commented 6 years ago

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