Thread (3 messages) 3 messages, 3 authors, 2016-05-02
STALE3685d

[PATCH v2] asm-generic: Drop renameat syscall from default list

From: Vineet Gupta <hidden>
Date: 2016-05-02 05:13:46
Also in: linux-arch

On Saturday 30 April 2016 02:59 AM, James Hogan wrote:
The newer renameat2 syscall provides all the functionality provided by
the renameat syscall and adds flags, so future architectures won't need
to include renameat.

Therefore drop the renameat syscall from the generic syscall list unless
__ARCH_WANT_RENAMEAT is defined by the architecture's unistd.h prior to
including asm-generic/unistd.h, and adjust all architectures using the
generic syscall list to define it so that no in-tree architectures are
affected.

Signed-off-by: James Hogan <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arch at vger.kernel.org
Cc: Vineet Gupta <redacted>
Cc: linux-snps-arc at lists.infradead.org
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <redacted>
Cc: linux-arm-kernel at lists.infradead.org
Cc: Mark Salter <redacted>
Cc: Aurelien Jacquiot <redacted>
Cc: linux-c6x-dev at linux-c6x.org
Cc: Richard Kuo <redacted>
Cc: linux-hexagon at vger.kernel.org
Cc: linux-metag at vger.kernel.org
Cc: Jonas Bonn <jonas@southpole.se>
Cc: linux at lists.openrisc.net
Cc: Chen Liqin <redacted>
Cc: Lennox Wu <redacted>
Cc: Chris Metcalf <redacted>
Cc: Guan Xuetao <redacted>
Cc: Ley Foon Tan <redacted>
Cc: nios2-dev at lists.rocketboards.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: uclinux-h8-devel at lists.sourceforge.jp
---
I just found this patch on an old branch, it appears to have slipped
through the cracks. Time for a respon.

Changes in v2:
- Rebase onto v4.6-rc5.
- Add __ARCH_WANT_RENAMEAT to h8300 and nios2 arches too.
---
 arch/arc/include/uapi/asm/unistd.h       | 1 +
Acked-by: Vineet Gupta <redacted>  # for arch/arc
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help