aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/syscalls/syscall.tbl
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-01-11 15:09:11 +0100
committerArnd Bergmann <arnd@arndb.de>2019-01-25 17:22:51 +0100
commitecf7e0a4ad1528710c90f0a6f4285741ac525f6e (patch)
tree75f7ed5694cd10f3860b80c877551258b0307047 /arch/alpha/kernel/syscalls/syscall.tbl
parentalpha: add standard statfs64/fstatfs64 syscalls (diff)
downloadlinux-dev-ecf7e0a4ad1528710c90f0a6f4285741ac525f6e.tar.xz
linux-dev-ecf7e0a4ad1528710c90f0a6f4285741ac525f6e.zip
alpha: add generic get{eg,eu,g,p,u,pp}id() syscalls
Alpha has traditionally followed the OSF1 calling conventions here, with its getxpid, getxuid, getxgid system calls returning two different values in separate registers. Following what glibc has done here, we can define getpid, getuid and getgid to be aliases for getxpid, getxuid and getxgid respectively, and add new system call numbers for getppid, geteuid and getegid. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--arch/alpha/kernel/syscalls/syscall.tbl3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/alpha/kernel/syscalls/syscall.tbl b/arch/alpha/kernel/syscalls/syscall.tbl
index 2a0ec5a08f9a..340b88dd397e 100644
--- a/arch/alpha/kernel/syscalls/syscall.tbl
+++ b/arch/alpha/kernel/syscalls/syscall.tbl
@@ -458,3 +458,6 @@
527 common rseq sys_rseq
528 common statfs64 sys_statfs64
529 common fstatfs64 sys_fstatfs64
+530 common getegid sys_getegid
+531 common geteuid sys_geteuid
+532 common getppid sys_getppid