powerpc: Wire up statx() syscall
PATCH 1/1 powerpc: Wire up statx() syscall
Test runs on a ppc64 BE guest succeeded. linux/samples/statx/test-statx program was executed on the following file types,
1. Regular file
2. Directory
3. device file
4. symlink
5. Named pipe
The test run also included invoking test-statx with the runtime options provided in the main() function of test-statx.c
--- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/systbl.h +1 -0
@@ -387,3 +387,4 @@ SYSCALL(copy_file_range) COMPAT_SYS_SPU(preadv2) COMPAT_SYS_SPU(pwritev2) SYSCALL(kexec_file_load) +SYSCALL(statx)
arch/powerpc/include/asm/unistd.h +1 -1
@@ -12,7 +12,7 @@#include <uapi/asm/unistd.h> -#define NR_syscalls 383 +#define NR_syscalls 384#define __NR__exit __NR_exit
arch/powerpc/include/uapi/asm/unistd.h +1 -0
@@ -393,5 +393,6 @@#define __NR_preadv2 380#define __NR_pwritev2 381#define __NR_kexec_file_load 382 +#define __NR_statx 383#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
Signature · 1 line
2.5.5
Michael Ellerman
AppliedQuoted 9 lines · Chandan Rajendra
Test runs on a ppc64 BE guest succeeded. linux/samples/statx/test-statx program was executed on the following file types,
1. Regular file
2. Directory
3. device file
4. symlink
5. Named pipe
Quoted 4 lines
The test run also included invoking test-statx with the runtime options provided in the
main()function oftest-statx.cSigned-off-by Chandan Rajendra <[email protected]>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/f717629c7f834ab2efa05c7dbf0826
cheers