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 Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
fb5fe0fd62
commit
f717629c7f
|
@ -387,3 +387,4 @@ SYSCALL(copy_file_range)
|
||||||
COMPAT_SYS_SPU(preadv2)
|
COMPAT_SYS_SPU(preadv2)
|
||||||
COMPAT_SYS_SPU(pwritev2)
|
COMPAT_SYS_SPU(pwritev2)
|
||||||
SYSCALL(kexec_file_load)
|
SYSCALL(kexec_file_load)
|
||||||
|
SYSCALL(statx)
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <uapi/asm/unistd.h>
|
#include <uapi/asm/unistd.h>
|
||||||
|
|
||||||
|
|
||||||
#define NR_syscalls 383
|
#define NR_syscalls 384
|
||||||
|
|
||||||
#define __NR__exit __NR_exit
|
#define __NR__exit __NR_exit
|
||||||
|
|
||||||
|
|
|
@ -393,5 +393,6 @@
|
||||||
#define __NR_preadv2 380
|
#define __NR_preadv2 380
|
||||||
#define __NR_pwritev2 381
|
#define __NR_pwritev2 381
|
||||||
#define __NR_kexec_file_load 382
|
#define __NR_kexec_file_load 382
|
||||||
|
#define __NR_statx 383
|
||||||
|
|
||||||
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
|
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
|
||||||
|
|
Loading…
Reference in New Issue