/third_party/ltp/testcases/kernel/syscalls/setpgid/ |
H A D | setpgid03.c | 12 * Tests setpgid(2) errors: 47 TST_EXP_FAIL(setpgid(child_pid, getppid()), EPERM); in run() 49 TST_EXP_FAIL(setpgid(0, child_pid), EPERM); in run() 60 TST_EXP_FAIL(setpgid(child_pid, getppid()), EACCES); in run()
|
H A D | setpgid01.c | 38 * 1. Basic functionality test for setpgid(2). 39 * 2. Check functioning of setpgid(2) with pid = 0 and pgid = 0. 85 TEST(setpgid(pid, pgid)); in setpgid_test1() 87 tst_resm(TFAIL | TTERRNO, "test setpgid(%d, %d) fail", in setpgid_test1() 90 tst_resm(TPASS, "test setpgid(%d, %d) success", pid, pgid); in setpgid_test1() 119 TEST(setpgid(0, 0)); in setpgid_test2() 122 fprintf(stderr, "setpgid(0, 0) fails in " in setpgid_test2() 126 fprintf(stderr, "setpgid(0, 0) fails to make PGID" in setpgid_test2() 135 tst_resm(TPASS, "test setpgid(0, 0) success"); in setpgid_test2() 137 tst_resm(TFAIL, "test setpgid( in setpgid_test2() [all...] |
H A D | setpgid02.c | 11 * Verify that setpgid(2) syscall fails with: 54 TST_EXP_FAIL(setpgid(*tc->pid, *tc->pgid), tc->error, in run() 55 "setpgid(%d, %d)", *tc->pid, *tc->pgid); in run()
|
/third_party/ltp/testcases/kernel/syscalls/setsid/ |
H A D | setsid01.c | 110 if (setpgid(0, 0) < 0) { in main() 112 "setpgid(parent) failed: %s", in main() 159 if (setpgid(0, 0) < 0) { in do_child_1() 160 tst_resm(TFAIL, "setpgid(0,0) failed: %s", strerror(errno)); in do_child_1() 176 retval = setpgid(0, getppid()); in do_child_1() 178 tst_resm(TFAIL, "setpgid failed, errno :%d", errno); in do_child_1()
|
/third_party/musl/src/unistd/ |
H A D | setpgrp.c | 5 return setpgid(0, 0); in setpgrp()
|
H A D | setpgid.c | 4 int setpgid(pid_t pid, pid_t pgid) in setpgid() function
|
/third_party/toybox/toys/other/ |
H A D | setsid.c | 24 setpgid(0, 0); in setsid_main()
|
H A D | timeout.c | 77 if (!FLAG(foreground)) setpgid(0, 0); in timeout_main()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | setpgid.c | 29 int result = setpgid(pid, pgid); in setpgid_0100() 31 t_error("%s setpgid failed", __func__); in setpgid_0100() 34 t_error("%s setpgid invalid", __func__); in setpgid_0100()
|
/third_party/ltp/testcases/lib/ |
H A D | tst_timeout_kill.c | 44 ret = setpgid(0, 0); in main() 46 print_msg("setpgid() failed: %s", strerror(errno)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/tools/ |
H A D | t0.c | 105 setpgid(0, 0); in main()
|
/third_party/alsa-lib/src/ucm/ |
H A D | ucm_exec.c | 277 setpgid(p, p); in uc_mgr_exec()
|
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | process.c | 147 setpgid(0, 0); in _start_process()
|
/third_party/mksh/ |
H A D | jobs.c | 251 } else if (setpgid(0, restore_ttypgrp) < 0) { in j_suspend() 253 Tj_suspend, "setpgid", cstrerror(errno)); in j_suspend() 269 if (setpgid(0, kshpid) < 0) { in j_suspend() 271 Tj_suspend, "setpgid", cstrerror(errno)); in j_suspend() 328 setpgid(0, restore_ttypgrp); in j_exit() 379 if (setpgid(0, kshpid) < 0) { 381 "j_init", "setpgid", cstrerror(errno)); 549 setpgid(p->pid, j->pgrp); 1346 * setpgid() won't fail)
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 122 int setpgid(pid_t, pid_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 97 int setpgid(pid_t, pid_t);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 124 int setpgid(pid_t, pid_t);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 122 int setpgid(pid_t, pid_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 97 int setpgid(pid_t, pid_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 102 int setpgid(pid_t, pid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 97 int setpgid(pid_t, pid_t);
|
/third_party/musl/include/ |
H A D | unistd.h | 161 int setpgid(pid_t, pid_t);
|
/third_party/ltp/lib/ |
H A D | tst_safe_macros.c | 46 rval = setpgid(pid, pgid); in safe_setpgid() 50 "setpgid(%i, %i) failed", pid, pgid); in safe_setpgid() 53 "Invalid setpgid(%i, %i) return value %d", pid, pgid, in safe_setpgid()
|
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-spawn.c | 465 setpgid(0, 0); in lws_spawn_piped()
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill10.c | 465 setpgid(child, child); in fork_pgrps()
|