summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2002-02-03 20:25:13 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2002-02-03 20:25:13 +0000
commite3689991da288599263337a294e14362cac69ac3 (patch)
tree46e4beb69d448385880c21b1f8abb9b6b71ab54d
parentb4a2b3936ac4bf61f997d273d0f624bf9ee5d5be (diff)
Notes
-rw-r--r--sys/alpha/linux/syscalls.master8
-rw-r--r--sys/compat/linux/linux_misc.c4
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master
index 694ea6933c3f..5ebcc8ec4434 100644
--- a/sys/alpha/linux/syscalls.master
+++ b/sys/alpha/linux/syscalls.master
@@ -61,11 +61,11 @@
18 UNIMPL LINUX
19 STD LINUX { int linux_lseek(l_uint fdes, l_off_t off, \
l_int whence); }
-20 STD LINUX { int linux_getpid(void); }
+20 NOPROTO BSD { int getpid(void); }
21 UNIMPL OSF1 osf1_mount
22 STD LINUX { int linux_umount(char *path, l_int flags); }
23 NOPROTO LINUX { int setuid(uid_t uid); }
-24 STD LINUX { int linux_getuid(void); }
+24 NOPROTO BSD { int getuid(void); }
25 UNIMPL LINUX
26 STD LINUX { int linux_ptrace(void); }
27 UNIMPL LINUX
@@ -83,13 +83,13 @@
39 NOPROTO LINUX { int setpgid(int pid, int pgid); }
40 UNIMPL LINUX
41 NOPROTO LINUX { int dup(u_int fd); }
-42 NOPROTO LINUX { int pipe(void); }
+42 NOPROTO BSD { int pipe(void); }
43 UNIMPL OSF1 osf_set_program_attributes
44 UNIMPL LINUX
45 STD LINUX { int linux_open(char *path, l_int flags, \
l_int mode); }
46 UNIMPL LINUX
-47 STD LINUX { int linux_getgid(void); }
+47 NOPROTO BSD { int getgid(void); }
48 STD OSF1 { int osf1_sigprocmask(int how, u_long mask); }
49 UNIMPL LINUX
50 UNIMPL LINUX
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index a4deec80486b..43e8e845dcc7 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1276,6 +1276,8 @@ linux_reboot(struct proc *p, struct linux_reboot_args *args)
return (reboot(p, &bsd_args));
}
+#ifndef __alpha__
+
/*
* The FreeBSD native getpid(2), getgid(2) and getuid(2) also modify
* p->p_retval[1] when COMPAT_43 or COMPAT_SUNOS is defined. This
@@ -1312,6 +1314,8 @@ linux_getuid(struct proc *p, struct linux_getuid_args *args)
return (0);
}
+#endif /*!__alpha__*/
+
int
linux_getsid(struct proc *p, struct linux_getsid_args *args)
{