Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
	to SYS_get?id so that syscall stubs in sysdeps/unix define
	these syscalls in terms of getxpid/getxuid/getxgid.
This commit is contained in:
Roland McGrath 1996-06-19 06:37:59 +00:00
parent bb486e187e
commit 3dbefc478a

View File

@ -38,15 +38,15 @@ Cambridge, MA 02139, USA. */
# define SYS_ify(syscall_name) __NR_/**/syscall_name # define SYS_ify(syscall_name) __NR_/**/syscall_name
#endif #endif
/* /* Define some aliases to make automatic syscall generation work
* Define some aliases for syscalls that return two values (in r0 and r1): properly. The SYS_* variants are for the benefit of the files in
*/ sysdeps/unix. */
#define __NR_getpid __NR_getxpid #define __NR_getpid __NR_getxpid
#define __NR_getppid __NR_getxpid
#define __NR_getuid __NR_getxuid #define __NR_getuid __NR_getxuid
#define __NR_geteuid __NR_getxuid
#define __NR_getgid __NR_getxgid #define __NR_getgid __NR_getxgid
#define __NR_getegid __NR_getxgid #define SYS_getpid __NR_getxpid
#define SYS_getuid __NR_getxuid
#define SYS_getgid __NR_getxgid
/* /*
* Some syscalls no Linux program should know about: * Some syscalls no Linux program should know about: