Home
last modified time | relevance | path

Searched refs:ltpgroup (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid02.c26 static struct group ltpgroup, root, bin; variable
42 &neg_one, &root.gr_gid, EPERM, &ltpgroup, &ltpgroup,
44 &neg_one, &bin.gr_gid, EPERM, &ltpgroup, &ltpgroup,
46 &root.gr_gid, &neg_one, EPERM, &ltpgroup, &ltpgroup,
48 &bin.gr_gid, &neg_one, EPERM, &ltpgroup, &ltpgroup,
50 &root.gr_gid, &bin.gr_gid, EPERM, &ltpgroup, &ltpgroup,
52 &bin.gr_gid, &root.gr_gid, EPERM, &ltpgroup, &ltpgroup,
121 ltpgroup = get_group_by_gid(ltpuser->pw_gid); in setup()
/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod02.c51 struct group *ltpgroup; in setup() local
54 ltpgroup = SAFE_GETGRNAM_FALLBACK("users", "daemon"); in setup()
57 SAFE_CHOWN(TESTFILE, ltpuser->pw_uid, ltpgroup->gr_gid); in setup()
58 SAFE_SETGID(ltpgroup->gr_gid); in setup()
Dfchmod05.c53 struct group *ltpgroup; in setup() local
56 ltpgroup = SAFE_GETGRNAM("bin"); in setup()
65 SAFE_CHOWN(TESTDIR, ltpuser->pw_uid, ltpgroup->gr_gid); in setup()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod07.c69 struct group *ltpgroup; in setup() local
77 ltpgroup = SAFE_GETGRNAM_FALLBACK("users", "daemon"); in setup()
78 group1_gid = ltpgroup->gr_gid; in setup()