summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2001-09-28 01:36:45 +0000
committermarcel <marcel@FreeBSD.org>2001-09-28 01:36:45 +0000
commitaee394ff6873f198ff21b8e999ddd85a03be62fd (patch)
treee88cb4d8fef4802a9d8c1997034e823bcc5a4452 /sys/alpha/linux
parentf92ab33d5bdb3bf8f3db4ecd3f1e7eff3cd9a648 (diff)
downloadFreeBSD-src-aee394ff6873f198ff21b8e999ddd85a03be62fd.zip
FreeBSD-src-aee394ff6873f198ff21b8e999ddd85a03be62fd.tar.gz
Stop using linux_getpgid(). The implementation at this time is
broken and fixing it only creates a duplicate of what is already in the FreeBSD kernel. Therefore, map the syscall directly to getpgid(). PR: kern/21402 Submitted by: Christian Weisgerber <naddy@mips.inka.de> While here, redefine the second entry for setpgid() so that we don't need a stub. This is achieved by giving the second instance the type NODEF.
Diffstat (limited to 'sys/alpha/linux')
-rw-r--r--sys/alpha/linux/syscalls.master4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master
index 154e635..70029f82 100644
--- a/sys/alpha/linux/syscalls.master
+++ b/sys/alpha/linux/syscalls.master
@@ -134,7 +134,7 @@
80 STD LINUX { int linux_getgroups(l_int gidsetsize, \
l_gid_t *grouplist); }
81 UNIMPL LINUX
-82 STD LINUX { int linux_setpgid(l_pid_t pid, l_pid_t pgid); }
+82 NODEF LINUX setpgid
83 STD OSF1 { int osf1_setitimer(u_int which, \
struct itimerval *itv, \
struct itimerval *oitv); }
@@ -318,7 +318,7 @@
230 UNIMPL LINUX
231 UNIMPL LINUX
232 UNIMPL LINUX
-233 STD LINUX { int linux_getpgid(l_pid_t pid); }
+233 NOPROTO LINUX { int getpgid(int pid); }
234 STD LINUX { int linux_getsid(l_pid_t pid); }
235 STD LINUX { int linux_sigaltstack(void); }
236 UNIMPL LINUX
OpenPOWER on IntegriCloud