Home
last modified time | relevance | path

Searched refs:old_gid (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D26-2.c45 gid_t old_gid; in main() local
69 old_gid = stat_buf.st_gid; in main()
114 if (stat_buf.st_uid == old_uid && stat_buf.st_gid == old_gid) { in main()
121 if (stat_buf.st_gid != old_gid) in main()
/external/openssh/
Duidswap.c220 gid_t old_gid = getgid(); in permanently_set_uid() local
272 if (old_gid != pw->pw_gid && pw->pw_uid != 0 && in permanently_set_uid()
273 (setgid(old_gid) != -1 || setegid(old_gid) != -1)) in permanently_set_uid()