diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-01-11 15:09:11 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-01-25 17:22:51 +0100 |
commit | ecf7e0a4ad1528710c90f0a6f4285741ac525f6e (patch) | |
tree | 75f7ed5694cd10f3860b80c877551258b0307047 /arch/alpha/include/asm/unistd.h | |
parent | alpha: add standard statfs64/fstatfs64 syscalls (diff) | |
download | linux-ecf7e0a4ad1528710c90f0a6f4285741ac525f6e.tar.xz linux-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 'arch/alpha/include/asm/unistd.h')
-rw-r--r-- | arch/alpha/include/asm/unistd.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index 31ad350b58a0..986f5da9b7d8 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h @@ -19,15 +19,4 @@ #define __ARCH_WANT_SYS_VFORK #define __ARCH_WANT_SYS_CLONE -/* - * Ignore legacy syscalls that we don't use. - */ -#define __IGNORE_getegid -#define __IGNORE_geteuid -#define __IGNORE_getgid -#define __IGNORE_getpid -#define __IGNORE_getppid -#define __IGNORE_getuid - - #endif /* _ALPHA_UNISTD_H */ |