Home
last modified time | relevance | path

Searched refs:pgrp (Results 1 – 25 of 25) sorted by relevance

/third_party/ltp/pan/
Dltp-pan.c88 int pgrp; member
96 int pgrp; member
388 running[keep_active].pgrp = -1; /* end sentinel */ in main()
535 if (running[i].pgrp == 0) in main()
627 if (orph->pgrp == 0) in main()
692 if (running[i].pgrp == 0) in propagate_signal()
697 send_signal, -running[i].pgrp); in propagate_signal()
698 if (kill(-running[i].pgrp, send_signal) != 0) { in propagate_signal()
701 panname, -running[i].pgrp, send_signal, in propagate_signal()
786 if (running[i].pgrp == cpid) { in check_pids()
[all …]
/third_party/elfutils/tests/
Drun-readelf-mixed-corenote.sh31 pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063
42 uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063
97 pid: 805, ppid: 804, pgrp: 804, sid: 699
115 uid: 0, gid: 0, pid: 805, ppid: 804, pgrp: 804, sid: 699
162 pid: 839, ppid: 838, pgrp: 838, sid: 699
176 uid: 0, gid: 0, pid: 839, ppid: 838, pgrp: 838, sid: 699
234 pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868
250 uid: 1000, gid: 1000, pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868
301 pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822
322 uid: 0, gid: 0, pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822
[all …]
Drun-readelf-vmcoreinfo.sh30 pid: 3519, ppid: 0, pgrp: 0, sid: 0
48 pid: 0, ppid: 0, pgrp: 0, sid: 0
/third_party/musl/porting/liteos_a/user/src/unistd/
Dtcgetpgrp.c8 int pgrp; in tcgetpgrp() local
10 if (ioctl(fd, TIOCGPGRP, &pgrp) < 0) in tcgetpgrp()
12 return pgrp; in tcgetpgrp()
/third_party/musl/src/unistd/
Dtcgetpgrp.c8 int pgrp; in tcgetpgrp() local
10 if (ioctl(fd, TIOCGPGRP, &pgrp) < 0) in tcgetpgrp()
12 return pgrp; in tcgetpgrp()
Dtcsetpgrp.c5 int tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp() argument
7 int pgrp_int = pgrp; in tcsetpgrp()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
D5-1.c22 int pgrp; in main() local
24 if ((pgrp = getpgrp()) == -1) { in main()
29 if (killpg(pgrp, -1) != -1) { in main()
D4-1.c21 int pgrp; in main() local
23 if ((pgrp = getpgrp()) == -1) { in main()
28 if (killpg(pgrp, 0) != 0) { in main()
D6-1.c23 int pgrp; in main() local
25 if ((pgrp = getpgrp()) == -1) { in main()
30 if (killpg(pgrp, -1) != -1) { in main()
D1-1.c37 int pgrp; in main() local
51 if ((pgrp = getpgrp()) == -1) { in main()
56 if (killpg(pgrp, SIGTOTEST) != 0) { in main()
/third_party/mksh/
Djobs.c97 pid_t pgrp; /* process group of job */ member
299 if (j->pgrp == 0) in j_exit()
302 mksh_killpg(j->pgrp, SIGHUP); in j_exit()
305 if (j->pgrp == 0) in j_exit()
308 mksh_killpg(j->pgrp, SIGCONT); in j_exit()
500 j->pgrp = 0;
539 if (j->pgrp == 0) {
541 j->pgrp = p->pid;
549 setpgid(p->pid, j->pgrp);
551 tcsetpgrp(tty_fd, j->pgrp);
[all …]
/third_party/musl/src/process/
Dposix_spawnattr_getpgroup.c4 int posix_spawnattr_getpgroup(const posix_spawnattr_t *restrict attr, pid_t *restrict pgrp) in posix_spawnattr_getpgroup() argument
7 *pgrp = attr->__pgrp; in posix_spawnattr_getpgroup()
Dposix_spawnattr_setpgroup.c4 int posix_spawnattr_setpgroup(posix_spawnattr_t *attr, pid_t pgrp) in posix_spawnattr_setpgroup() argument
7 attr->__pgrp = pgrp; in posix_spawnattr_setpgroup()
/third_party/musl/porting/liteos_a/user/src/process/
Dposix_spawnattr_getpgroup.c4 int posix_spawnattr_getpgroup(const posix_spawnattr_t *restrict attr, pid_t *restrict pgrp) in posix_spawnattr_getpgroup() argument
7 *pgrp = attr->__pgrp; in posix_spawnattr_getpgroup()
Dposix_spawnattr_setpgroup.c4 int posix_spawnattr_setpgroup(posix_spawnattr_t *attr, pid_t pgrp) in posix_spawnattr_setpgroup() argument
7 attr->__pgrp = pgrp; in posix_spawnattr_setpgroup()
/third_party/elfutils/backends/
Dlinux-core-note.c162 FIELD (identity, PID_T, pgrp, 'd'),
197 FIELD (identity, PID_T, pgrp, 'd'),
/third_party/alsa-lib/src/pcm/
Dpcm_direct.c1991 struct group grp, *pgrp; local
1995 int st = getgrnam_r(group, &grp, buffer, len, &pgrp);
1996 if (st != 0 || !pgrp) {
2001 rec->ipc_gid = pgrp->gr_gid;
/third_party/rust/crates/nix/src/sys/
Dsignal.rs949 pub fn killpg<T: Into<Option<Signal>>>(pgrp: Pid, signal: T) -> Result<()> {
950 let res = unsafe { libc::killpg(pgrp.into(),
/third_party/rust/crates/libc/src/unix/
Dmod.rs938 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp()
986 pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int; in killpg()
/third_party/rust/crates/nix/src/
Dunistd.rs380 pub fn tcsetpgrp(fd: c_int, pgrp: Pid) -> Result<()> {
381 let res = unsafe { libc::tcsetpgrp(fd, pgrp.into()) };
/third_party/python/Modules/clinic/
Dposixmodule.c.h4358 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp);
4365 pid_t pgrp; in os_setpgid() local
4368 &pid, &pgrp)) { in os_setpgid()
4371 return_value = os_setpgid_impl(module, pid, pgrp); in os_setpgid()
/third_party/python/Modules/
Dposixmodule.c9037 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp) in os_setpgid_impl() argument
9040 if (setpgid(pid, pgrp) < 0) in os_setpgid_impl()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs3632 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp()
/third_party/python/Doc/library/
Dos.rst571 .. function:: setpgid(pid, pgrp)
574 process with id *pid* to the process group with id *pgrp*. See the Unix manual
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h11143 struct pid *pgrp; member