Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c25 #define DIR_B "dir_b" macro
28 #define SETGID_B DIR_B "/setgid"
29 #define NOSETGID_B DIR_B "/nosetgid"
30 #define ROOT_SETGID DIR_B "/root_setgid"
93 SAFE_MKDIR(DIR_B, MODE_RWX); in run()
94 SAFE_CHOWN(DIR_B, nobody_uid, free_gid); in run()
95 SAFE_CHMOD(DIR_B, MODE_SGID); in run()
96 SAFE_STAT(DIR_B, &buf); in run()
99 tst_brk(TBROK, "%s: Setgid bit not set", DIR_B); in run()
102 tst_brk(TBROK, "%s: Incorrect group, %u != %u", DIR_B, in run()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen10.c23 #define DIR_B "dir_b" macro
26 #define SETGID_B DIR_B "/setgid"
27 #define NOSETGID_B DIR_B "/nosetgid"
28 #define ROOT_SETGID DIR_B "/root_setgid"
91 SAFE_MKDIR(DIR_B, MODE_RWX); in run()
92 SAFE_CHOWN(DIR_B, nobody_uid, free_gid); in run()
93 SAFE_CHMOD(DIR_B, MODE_SGID); in run()
94 SAFE_STAT(DIR_B, &buf); in run()
97 tst_brk(TBROK, "%s: Setgid bit not set", DIR_B); in run()
100 tst_brk(TBROK, "%s: Incorrect group, %u != %u", DIR_B, in run()