Re: [PATCH 08/10] RISC-V: Set __ARCH_WANT_RENAMEAT to pick up generic version

From: Christoph Hellwig
Date: Thu Nov 30 2017 - 13:30:42 EST


On Wed, Nov 29, 2017 at 05:55:19PM -0800, Olof Johansson wrote:
> In file included from ../lib/audit.c:8:0:
> ../include/asm-generic/audit_dir_write.h:30:1: error: '__NR_renameat' undeclared here (not in a function); did you mean '__NR_renameat2'?


I think the audit code should be fixed instead to not expect
__NR_renameat, gÑven that it's not in the asm-generic default set.