Home
last modified time | relevance | path

Searched refs:pgid (Results 1 – 15 of 15) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setpgid/
Dsetpgid01.c80 pid_t pgid, pid; in setpgid_test1() local
82 pgid = getpgrp(); in setpgid_test1()
85 TEST(setpgid(pid, pgid)); in setpgid_test1()
86 if (TEST_RETURN == -1 || getpgrp() != pgid) { in setpgid_test1()
88 pid, pgid); in setpgid_test1()
90 tst_resm(TPASS, "test setpgid(%d, %d) success", pid, pgid); in setpgid_test1()
109 pid_t pgid, pid; in setpgid_test2() local
120 pgid = getpgrp(); in setpgid_test2()
125 } else if (pgid != pid) { in setpgid_test2()
Dsetpgid02.c63 static pid_t pgid, pid; variable
71 pid_t *pgid; member
79 &unused_pid, &pgid, ESRCH},
102 TEST(setpgid(*TC[i].pid, *TC[i].pgid)); in main()
135 pgid = getpgrp(); in setup()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns02.c68 pid_t pgid, sid; in child_fn1() local
72 pgid = getpgid(0); in child_fn1()
76 if (pgid == PGID && sid == SID) { in child_fn1()
78 pgid, sid); in child_fn1()
82 "%d\n", pgid, sid); in child_fn1()
Dpidns05.c86 pid_t parentpid, pgid, pgid2; in find_cinit_pids() local
90 pgid = getpgid(parentpid); in find_cinit_pids()
98 if (pgid2 == pgid) { in find_cinit_pids()
199 pid_t pid, pgid; in main() local
233 pgid = getpgid(pid); in main()
/external/valgrind/coregrind/
Dvg_preloaded.c309 pid_t pgid);
313 pid_t pgid) in VG_REPLACE_FUNCTION_ZU()
329 if (pgid != 0) { in VG_REPLACE_FUNCTION_ZU()
330 if (pgid <= 1) in VG_REPLACE_FUNCTION_ZU()
331 pgid = 0; in VG_REPLACE_FUNCTION_ZU()
332 err = posix_spawnattr_setpgroup(&attr, pgid); in VG_REPLACE_FUNCTION_ZU()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c881 int pgid, i; in segment_location() local
918 pgid = offset / gcp->pagesize; in segment_location()
926 if (pgid & PPL_MASK) { in segment_location()
930 int pgid2 = pgid & ~PPL_MASK; in segment_location()
932 while (pgid2 < pgid) { in segment_location()
940 for (; apage < end; apage += gcp->pagesize, ++pgid) { in segment_location()
952 if ((pgid & PPL_MASK) == 0) { in segment_location()
955 printf("%12x: ", pgid); /* start a new line */ in segment_location()
/external/ltp/include/
Dtst_safe_macros.h107 pid_t pid, pid_t pgid) in safe_setpgid() argument
111 rval = setpgid(pid, pgid); in safe_setpgid()
114 "setpgid(%i, %i) failed", pid, pgid); in safe_setpgid()
119 #define SAFE_SETPGID(pid, pgid) \ argument
120 safe_setpgid(__FILE__, __LINE__, (pid), (pgid));
/external/openssh/openbsd-compat/
Dport-aix.c432 getgrouplist(const char *user, gid_t pgid, gid_t *groups, int *grpcnt) in getgrouplist() argument
451 groups[ngroups++] = pgid; in getgrouplist()
461 if (gid == pgid) in getgrouplist()
/external/kernel-headers/original/uapi/linux/
Dcoda.h299 pid_t pgid; member
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h141 #define __sanitizer_syscall_pre_setpgid(pid, pgid) \ argument
142 __sanitizer_syscall_pre_impl_setpgid((long)(pid), (long)(pgid))
143 #define __sanitizer_syscall_post_setpgid(res, pid, pgid) \ argument
144 __sanitizer_syscall_post_impl_setpgid(res, (long)(pid), (long)(pgid))
2079 void __sanitizer_syscall_pre_impl_setpgid(long pid, long pgid);
2080 void __sanitizer_syscall_post_impl_setpgid(long res, long pid, long pgid);
/external/valgrind/memcheck/tests/darwin/
Dscalar.stderr.exp322 Syscall param setpgid(pgid) contains uninitialised byte(s)
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc369 PRE_SYSCALL(setpgid)(long pid, long pgid) {}
371 POST_SYSCALL(setpgid)(long res, long pid, long pgid) {}
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-generic.c4280 PRE_REG_READ2(long, "setpgid", vki_pid_t, pid, vki_pid_t, pgid); in PRE()
Dsyswrap-solaris.c2446 vki_pid_t, pid, vki_pid_t, pgid); in PRE()
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp620 Syscall param setpgid(pgid) contains uninitialised byte(s)