Home
last modified time | relevance | path

Searched refs:SAFE_CHOWN (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/rename/
Drename09.c46 SAFE_CHOWN(SRCDIR, test_users[0], curgid); in run()
47 SAFE_CHOWN(SRCFILE, test_users[0], curgid); in run()
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c82 SAFE_CHOWN(DIR_A, nobody_uid, free_gid); in run()
94 SAFE_CHOWN(DIR_B, nobody_uid, free_gid); in run()
Dcreat09.c61 SAFE_CHOWN(WORKDIR, ltpuser->pw_uid, free_gid); in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen10.c80 SAFE_CHOWN(DIR_A, nobody_uid, free_gid); in run()
92 SAFE_CHOWN(DIR_B, nobody_uid, free_gid); in run()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir04.c42 SAFE_CHOWN(TESTDIR, test_users[0], getgid()); in setup()
Dmkdir02.c61 SAFE_CHOWN(TESTDIR1, getuid(), free_gid); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod02.c57 SAFE_CHOWN(TESTFILE, ltpuser->pw_uid, ltpgroup->gr_gid); in setup()
Dfchmod05.c66 SAFE_CHOWN(TESTDIR, ltpuser->pw_uid, free_gid); in setup()
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod07.c82 SAFE_CHOWN(TESTFILE, user1_uid, group1_gid); in setup()
Dchmod05.c87 SAFE_CHOWN(TESTDIR, nobody_u->pw_uid, free_gid); in setup()
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime03.c54 SAFE_CHOWN(TEMP_FILE, pw->pw_uid, pw->pw_gid); in setup()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.c87 SAFE_CHOWN(BIN_PATH, 0, 0); in setup()
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown03.c49 SAFE_CHOWN(FILENAME, -1, 0); in run()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod05.c232 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
Dmknod03.c235 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
Dmknod08.c236 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
Dmknod02.c241 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
Dmknod04.c240 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
/third_party/ltp/lib/
Dtst_tmpdir.c287 SAFE_CHOWN(NULL, TESTDIR, -1, getgid()); in tst_tmpdir()
/third_party/ltp/include/old/
Dsafe_macros.h126 #define SAFE_CHOWN(cleanup_fn, path, owner, group) \ macro
/third_party/ltp/include/
Dtst_safe_macros.h193 #define SAFE_CHOWN(path, owner, group) \ macro