]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: add generic get{eg,eu,g,p,u,pp}id() syscalls
authorArnd Bergmann <arnd@arndb.de>
Fri, 11 Jan 2019 14:09:11 +0000 (15:09 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 25 Jan 2019 16:22:51 +0000 (17:22 +0100)
commit0df062399af60cba90e8117c2aec6d280f6f1714
tree75f7ed5694cd10f3860b80c877551258b0307047
parented0be15221e6ad98d0e71b29d95db52ac200e0bf
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>
arch/alpha/include/asm/unistd.h
arch/alpha/include/uapi/asm/unistd.h
arch/alpha/kernel/syscalls/syscall.tbl