Home
last modified time | relevance | path

Searched refs:group1_gid (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod07.c164 gid_t group1_gid; /* user and process group id's */ in setup() local
183 group1_gid = ltpgroup->gr_gid; in setup()
187 SAFE_CHOWN(cleanup, TESTFILE, user1_uid, group1_gid); in setup()
189 SAFE_SETGID(cleanup, group1_gid); in setup()
/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod02.c166 gid_t group1_gid; /* user and process group id's */ in setup() local
187 group1_gid = ltpgroup->gr_gid; in setup()
200 SAFE_CHOWN(cleanup, TESTFILE, user1_uid, group1_gid); in setup()
203 SAFE_SETGID(cleanup, group1_gid); in setup()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod08.c97 gid_t group1_gid, group2_gid, mygid; /* user and process group id's */ variable
225 group1_gid = user1->pw_gid; in setup()
259 SAFE_SETGID(cleanup, group1_gid); in setup()
Dmknod02.c98 gid_t group1_gid, group2_gid, mygid; /* user and process group id's */ variable
230 group1_gid = user1->pw_gid; in setup()
264 SAFE_SETGID(cleanup, group1_gid); in setup()
Dmknod03.c98 gid_t group1_gid, group2_gid, mygid; /* user and process group id's */ variable
227 group1_gid = user1->pw_gid; in setup()
262 SAFE_SETGID(cleanup, group1_gid); in setup()
Dmknod04.c98 gid_t group1_gid, group2_gid, mygid; /* user and process group id's */ variable
229 group1_gid = user1->pw_gid; in setup()
264 SAFE_SETGID(cleanup, group1_gid); in setup()
Dmknod05.c98 gid_t group1_gid, group2_gid, mygid; /* user and process group id's */ variable
221 group1_gid = user1->pw_gid; in setup()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c85 gid_t group1_gid, group2_gid, mygid; in main() local
128 group1_gid = group->gr_gid; in main()
230 if (setgid(group1_gid) == -1) { in main()
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c74 gid_t group1_gid, group2_gid, mygid; in main() local
116 group1_gid = group->gr_gid; in main()
217 if (setgid(group1_gid) < 0) { in main()