From bc49a98043866af4ed5359a0c739566031c2ef95 Mon Sep 17 00:00:00 2001 From: gallatin Date: Wed, 23 Jan 2002 22:47:47 +0000 Subject: [PATCH] Regenerated file from previous commit to syscalls.master --- sys/alpha/linux/linux_proto.h | 12 ------------ sys/alpha/linux/linux_syscall.h | 6 +++--- sys/alpha/linux/linux_sysent.c | 6 +++--- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h index a787d950fac..6790d2bf28c 100644 --- a/sys/alpha/linux/linux_proto.h +++ b/sys/alpha/linux/linux_proto.h @@ -69,16 +69,10 @@ struct linux_lseek_args { char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)]; char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)]; }; -struct linux_getpid_args { - register_t dummy; -}; struct linux_umount_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)]; }; -struct linux_getuid_args { - register_t dummy; -}; struct linux_ptrace_args { register_t dummy; }; @@ -95,9 +89,6 @@ struct linux_open_args { char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)]; char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)]; }; -struct linux_getgid_args { - register_t dummy; -}; struct osf1_sigprocmask_args { char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; char mask_l_[PADL_(u_long)]; u_long mask; char mask_r_[PADR_(u_long)]; @@ -599,14 +590,11 @@ int linux_chmod __P((struct thread *, struct linux_chmod_args *)); int linux_chown __P((struct thread *, struct linux_chown_args *)); int linux_brk __P((struct thread *, struct linux_brk_args *)); int linux_lseek __P((struct thread *, struct linux_lseek_args *)); -int linux_getpid __P((struct thread *, struct linux_getpid_args *)); int linux_umount __P((struct thread *, struct linux_umount_args *)); -int linux_getuid __P((struct thread *, struct linux_getuid_args *)); int linux_ptrace __P((struct thread *, struct linux_ptrace_args *)); int linux_access __P((struct thread *, struct linux_access_args *)); int linux_kill __P((struct thread *, struct linux_kill_args *)); int linux_open __P((struct thread *, struct linux_open_args *)); -int linux_getgid __P((struct thread *, struct linux_getgid_args *)); int osf1_sigprocmask __P((struct thread *, struct osf1_sigprocmask_args *)); int linux_sigpending __P((struct thread *, struct linux_sigpending_args *)); int linux_ioctl __P((struct thread *, struct linux_ioctl_args *)); diff --git a/sys/alpha/linux/linux_syscall.h b/sys/alpha/linux/linux_syscall.h index a6d1a7fa40c..5cbd6533944 100644 --- a/sys/alpha/linux/linux_syscall.h +++ b/sys/alpha/linux/linux_syscall.h @@ -21,10 +21,10 @@ #define LINUX_SYS_linux_chown 16 #define LINUX_SYS_linux_brk 17 #define LINUX_SYS_linux_lseek 19 -#define LINUX_SYS_linux_getpid 20 +#define LINUX_SYS_getpid 20 #define LINUX_SYS_linux_umount 22 #define LINUX_SYS_setuid 23 -#define LINUX_SYS_linux_getuid 24 +#define LINUX_SYS_getuid 24 #define LINUX_SYS_linux_ptrace 26 #define LINUX_SYS_linux_access 33 #define LINUX_SYS_sync 36 @@ -33,7 +33,7 @@ #define LINUX_SYS_dup 41 #define LINUX_SYS_pipe 42 #define LINUX_SYS_linux_open 45 -#define LINUX_SYS_linux_getgid 47 +#define LINUX_SYS_getgid 47 #define LINUX_SYS_osf1_sigprocmask 48 #define LINUX_SYS_acct 51 #define LINUX_SYS_linux_sigpending 52 diff --git a/sys/alpha/linux/linux_sysent.c b/sys/alpha/linux/linux_sysent.c index 0855426bd9b..a2f1111ebe1 100644 --- a/sys/alpha/linux/linux_sysent.c +++ b/sys/alpha/linux/linux_sysent.c @@ -37,11 +37,11 @@ struct sysent linux_sysent[] = { { AS(linux_brk_args), (sy_call_t *)linux_brk }, /* 17 = linux_brk */ { 0, (sy_call_t *)nosys }, /* 18 = */ { AS(linux_lseek_args), (sy_call_t *)linux_lseek }, /* 19 = linux_lseek */ - { 0, (sy_call_t *)linux_getpid }, /* 20 = linux_getpid */ + { 0, (sy_call_t *)getpid }, /* 20 = getpid */ { 0, (sy_call_t *)nosys }, /* 21 = osf1_mount */ { AS(linux_umount_args), (sy_call_t *)linux_umount }, /* 22 = linux_umount */ { AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */ - { 0, (sy_call_t *)linux_getuid }, /* 24 = linux_getuid */ + { 0, (sy_call_t *)getuid }, /* 24 = getuid */ { 0, (sy_call_t *)nosys }, /* 25 = */ { 0, (sy_call_t *)linux_ptrace }, /* 26 = linux_ptrace */ { 0, (sy_call_t *)nosys }, /* 27 = */ @@ -64,7 +64,7 @@ struct sysent linux_sysent[] = { { 0, (sy_call_t *)nosys }, /* 44 = */ { AS(linux_open_args), (sy_call_t *)linux_open }, /* 45 = linux_open */ { 0, (sy_call_t *)nosys }, /* 46 = */ - { 0, (sy_call_t *)linux_getgid }, /* 47 = linux_getgid */ + { 0, (sy_call_t *)getgid }, /* 47 = getgid */ { AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask }, /* 48 = osf1_sigprocmask */ { 0, (sy_call_t *)nosys }, /* 49 = */ { 0, (sy_call_t *)nosys }, /* 50 = */ -- 2.45.2