| /src/lib/libc/compat-43/ |
| setpgrp.c | 47 return(setpgid(pid, pgid));
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| job-control.cc | 32 Just using job_control only does part of it because setpgid or 35 For a more clean implementation, in libiberty, put a setpgid which merely 47 /* The call setpgid (0, 0) is supposed to work and mean the same 49 setpgid (getpid (), getpid ()) succeeds). */ 50 retval = setpgid (getpid (), getpid ());
|
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| job-control.cc | 32 Just using job_control only does part of it because setpgid or 35 For a more clean implementation, in libiberty, put a setpgid which merely 47 /* The call setpgid (0, 0) is supposed to work and mean the same 49 setpgid (getpid (), getpid ()) succeeds). */ 50 retval = setpgid (getpid (), getpid ());
|
| /src/tests/lib/libc/sys/ |
| t_ptrace_kill_wait.h | 64 setpgid(child, 0);
|
| t_kill.c | 226 ATF_REQUIRE(setpgid(0, 0) == 0); 273 ATF_REQUIRE(setpgid(0, 0) == 0);
|
| t_ptrace_fork_wait.h | 56 setpgid(0, 0); 381 setpgid(0, 0);
|
| /src/external/bsd/kyua-cli/dist/utils/process/ |
| child.cpp | 275 ::setpgid(::getpid(), ::getpid()); 330 ::setpgid(::getpid(), ::getpid());
|
| /src/include/ |
| unistd.h | 136 int setpgid(pid_t, pid_t); 281 int setpgrp(pid_t, pid_t); /* obsoleted by setpgid() */
|
| /src/lib/libc/sys/ |
| Makefile.inc | 151 setgid.S setgroups.S __setitimer50.S __setlogin.S setpgid.S \ 290 semget.2 semop.2 send.2 setgroups.2 setpgid.2 setregid.2 \ 382 MLINKS+=setpgid.2 setpgrp.2
|
| /src/usr.bin/timeout/ |
| timeout.c | 259 pgid = setpgid(0,0); 262 err(EX_OSERR, "setpgid()");
|
| /src/crypto/external/bsd/heimdal/dist/kadmin/ |
| kadm_conn.c | 196 /* systemd may cause setpgid to fail with EPERM */ 197 if(setpgid(0, pgrp) < 0 && errno != EPERM) 198 err(1, "setpgid");
|
| /src/bin/ksh/ |
| jobs.c | 54 # define setpgid setpgrp macro 196 * before cmd2 is started, the kernel doesn't allow the setpgid() for cmd2 321 setpgid(0, restore_ttypgrp); 374 if (setpgid(0, kshpid) < 0) { 376 "j_init: setpgid() failed: %s", 561 setpgid(p->pid, j->pgrp); 1258 * setpgid() won't fail)
|
| /src/bin/sh/ |
| jobs.c | 214 if (getpgrp() != rootpid && setpgid(0, rootpid) == -1) 221 if (getpgrp() != initialpgrp && setpgid(0, initialpgrp) == -1) 1360 (void)setpgid(pid, pgrp); 1405 (void)setpgid(0, pgrp);
|
| /src/external/bsd/kyua-testers/dist/ |
| run.c | 327 setpgid(getpid(), getpid());
|
| /src/usr.bin/su/ |
| su_pam.c | 405 (void)setpgid(pid, pid);
|
| /src/crypto/external/apache2/openssl/dist/apps/lib/ |
| http_server.c | 89 if (setpgid(0, 0)) {
|
| /src/crypto/external/bsd/openssl/dist/apps/lib/ |
| http_server.c | 124 if (setpgid(0, 0)) {
|
| /src/bin/csh/ |
| csh.c | 567 * Setpgid will fail if we are a session leader and 571 if (setpgid(0, shpgrp) == -1) 681 (void)setpgid(0, opgrp);
|
| proc.c | 1318 (void)setpgid(pid, pcurrjob ? pcurrjob->p_jobid : pid); 1339 * don't permit the setpgid() call, (these are more recent secure 1367 if (setpgid(0, pgrp) == -1) { 1368 (void)fprintf(csherr, "csh: setpgid error.\n");
|
| /src/usr.bin/xlint/llib/ |
| llib-lposix | 233 int (setpgid)(pid_t pid, pid_t pgid);
|
| /src/external/gpl3/gdb/dist/gdb/ |
| i386-syscalls.def | 81 SYSCALL (57, setpgid)
|
| /src/external/bsd/am-utils/dist/conf/autofs/ |
| autofs_linux.c | 689 if ((err = setpgid(0, pgrp))) {
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| ocsp.c | 69 int setpgid(pid_t pid, pid_t pgid) function 919 if (setpgid(0, 0)) {
|
| /src/external/bsd/atf/dist/tools/ |
| test-program.cpp | 257 const int ret = ::setpgid(::getpid(), 0);
|
| /src/external/bsd/ntp/dist/ntpd/ |
| ntpd.c | 479 msyslog(LOG_INFO, "ntpd: setpgid(): %m"); 650 if (setpgid(0, 0) == -1) 651 msyslog(LOG_ERR, "setpgid(): %m");
|