1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

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.
This commit is contained in:
Marcel Moolenaar 2001-09-28 01:36:45 +00:00
parent 745190dc80
commit e4383d97be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84073

View File

@ -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