Skip to content

Commit 63ba600

Browse files
James HoganMiklos Szeredi
authored andcommitted
asm-generic: Add renameat2 syscall
Add the renameat2 syscall to the generic syscall list, which is used by the following architectures: arc, arm64, c6x, hexagon, metag, openrisc, score, tile, unicore32. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: linux-arch@vger.kernel.org Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: Mark Salter <msalter@redhat.com> Cc: Aurelien Jacquiot <a-jacquiot@ti.com> Cc: Richard Kuo <rkuo@codeaurora.org> Cc: linux-hexagon@vger.kernel.org Cc: linux-metag@vger.kernel.org Cc: Jonas Bonn <jonas@southpole.se> Cc: Chen Liqin <liqin.linux@gmail.com> Cc: Lennox Wu <lennox.wu@gmail.com> Cc: Chris Metcalf <cmetcalf@tilera.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
1 parent 3ca976a commit 63ba600

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎include/uapi/asm-generic/unistd.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,11 @@ __SYSCALL(__NR_finit_module, sys_finit_module)
697697
__SYSCALL(__NR_sched_setattr, sys_sched_setattr)
698698
#define __NR_sched_getattr 275
699699
__SYSCALL(__NR_sched_getattr, sys_sched_getattr)
700+
#define __NR_renameat2 276
701+
__SYSCALL(__NR_renameat2, sys_renameat2)
700702

701703
#undef __NR_syscalls
702-
#define __NR_syscalls 276
704+
#define __NR_syscalls 277
703705

704706
/*
705707
* All syscalls below here should go away really,

0 commit comments

Comments
 (0)