Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6ebf0bb authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Update syscall tables.



Hook up statx.

Ignore pkeys system calls, we don't have protection keeys
on SPARC.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b7c02b73
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -425,8 +425,9 @@
#define __NR_copy_file_range	357
#define __NR_preadv2		358
#define __NR_pwritev2		359
#define __NR_statx		360

#define NR_syscalls		360
#define NR_syscalls		361

/* Bitmask values returned from kern_features system call.  */
#define KERN_FEATURE_MIXED_MODE_STACK	0x00000001
@@ -442,4 +443,9 @@
#define __IGNORE_getresgid
#endif

/* Sparc doesn't have protection keys. */
#define __IGNORE_pkey_mprotect
#define __IGNORE_pkey_alloc
#define __IGNORE_pkey_free

#endif /* _UAPI_SPARC_UNISTD_H */
+1 −0
Original line number Diff line number Diff line
@@ -89,3 +89,4 @@ sys_call_table:
/*345*/	.long sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
/*350*/	.long sys_execveat, sys_membarrier, sys_userfaultfd, sys_bind, sys_listen
/*355*/	.long sys_setsockopt, sys_mlock2, sys_copy_file_range, sys_preadv2, sys_pwritev2
/*360*/	.long sys_statx
+2 −0
Original line number Diff line number Diff line
@@ -90,6 +90,7 @@ sys_call_table32:
	.word sys32_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
/*350*/	.word sys32_execveat, sys_membarrier, sys_userfaultfd, sys_bind, sys_listen
	.word compat_sys_setsockopt, sys_mlock2, sys_copy_file_range, compat_sys_preadv2, compat_sys_pwritev2
/*360*/	.word sys_statx

#endif /* CONFIG_COMPAT */

@@ -171,3 +172,4 @@ sys_call_table:
	.word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
/*350*/	.word sys64_execveat, sys_membarrier, sys_userfaultfd, sys_bind, sys_listen
	.word sys_setsockopt, sys_mlock2, sys_copy_file_range, sys_preadv2, sys_pwritev2
/*360*/	.word sys_statx