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

Commit b41c51c8 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

arch: add pkey and rseq syscall numbers everywhere



Most architectures define system call numbers for the rseq and pkey system
calls, even when they don't support the features, and perhaps never will.

Only a few architectures are missing these, so just define them anyway
for consistency. If we decide to add them later to one of these, the
system call numbers won't get out of sync then.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 0d6040d4
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -29,9 +29,5 @@
#define __IGNORE_getppid
#define __IGNORE_getuid

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

#endif /* _ALPHA_UNISTD_H */
+4 −0
Original line number Diff line number Diff line
@@ -452,3 +452,7 @@
521	common	pwritev2			sys_pwritev2
522	common	statx				sys_statx
523	common	io_pgetevents			sys_io_pgetevents
524	common	pkey_mprotect			sys_pkey_mprotect
525	common	pkey_alloc			sys_pkey_alloc
526	common	pkey_free			sys_pkey_free
527	common	rseq				sys_rseq
+4 −0
Original line number Diff line number Diff line
@@ -339,3 +339,7 @@
327	common	io_pgetevents			sys_io_pgetevents
328	common	perf_event_open			sys_perf_event_open
329	common	seccomp				sys_seccomp
330	common	pkey_mprotect			sys_pkey_mprotect
331	common	pkey_alloc			sys_pkey_alloc
332	common	pkey_free			sys_pkey_free
333	common	rseq				sys_rseq
+4 −0
Original line number Diff line number Diff line
@@ -388,6 +388,10 @@
378	common	pwritev2			sys_pwritev2
379	common	statx				sys_statx
380	common	seccomp				sys_seccomp
381	common	pkey_mprotect			sys_pkey_mprotect
382	common	pkey_alloc			sys_pkey_alloc
383	common	pkey_free			sys_pkey_free
384	common	rseq				sys_rseq
# room for arch specific calls
393	common	semget				sys_semget
394	common	semctl				sys_semctl
+0 −3
Original line number Diff line number Diff line
@@ -12,9 +12,6 @@

#define __IGNORE_select			/* newselect */
#define __IGNORE_fadvise64		/* fadvise64_64 */
#define __IGNORE_pkey_mprotect
#define __IGNORE_pkey_alloc
#define __IGNORE_pkey_free

#ifndef ASM_LINE_SEP
# define ASM_LINE_SEP ;
Loading