Searched refs:dir_mode (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 32 mode_t dir_mode; in verify_fchmod() local 39 dir_mode = stat_buf.st_mode; in verify_fchmod() 41 if ((PERMS_DIR & ~S_ISGID) != dir_mode) { in verify_fchmod() 43 TESTDIR, dir_mode & ~S_ISGID, PERMS_DIR); in verify_fchmod()
|
D | fchmod04.c | 100 mode_t dir_mode; /* mode permissions set on testdirectory */ in main() local 123 dir_mode = stat_buf.st_mode; in main() 125 if ((dir_mode & PERMS) == PERMS) in main() 131 TESTDIR, dir_mode, PERMS); in main()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod04.c | 104 mode_t dir_mode; /* mode permissions set on testdirectory */ in main() local 135 dir_mode = stat_buf.st_mode; in main() 138 if ((dir_mode & PERMS) == PERMS) { in main() 145 TESTDIR, dir_mode, PERMS); in main()
|
D | chmod05.c | 49 mode_t dir_mode; in test_chmod() local 58 dir_mode = stat_buf.st_mode; in test_chmod() 59 if ((PERMS & ~S_ISGID) != dir_mode) { in test_chmod() 61 "Expected 0%03o", TESTDIR, dir_mode, in test_chmod()
|
/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 177 int dir_mode = 0; in TEST_F() local 179 EXPECT_TRUE(base::GetPosixFilePermissions(dirname, &dir_mode)); in TEST_F() 181 EXPECT_EQ(mode & ~mask, dir_mode & 0777); in TEST_F() 235 int dir_mode = 0; in TEST_F() local 237 EXPECT_TRUE(base::GetPosixFilePermissions(dirname, &dir_mode)); in TEST_F() 239 EXPECT_EQ(mode & ~mask, dir_mode & 0777); in TEST_F()
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir03.c | 48 mode_t dir_mode; member 66 if (tc->dir_mode & S_ISVTX && TST_ERR == EPERM) in do_rmdir()
|