Searched refs:dir_mode (Results 1 – 8 of 8) 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 | 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()
|
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()
|
/external/zstd/build/meson/ |
D | InstallSymlink.py | 16 def install_symlink(src, dst, install_dir, dst_is_dir=False, dir_mode=0o777): argument 18 install_dir.mkdir(mode=dir_mode, parents=True, exist_ok=True) 47 dir_mode = int(args.mode, 8) 51 install_symlink(args.source, args.dest, install_dir, args.isdir, dir_mode)
|
/external/lz4/contrib/meson/ |
D | InstallSymlink.py | 16 def install_symlink(src, dst, install_dir, dst_is_dir=False, dir_mode=0o777): argument 18 install_dir.mkdir(mode=dir_mode, parents=True, exist_ok=True) 47 dir_mode = int(args.mode, 8) 51 install_symlink(args.source, args.dest, install_dir, args.isdir, dir_mode)
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir03.c | 36 mode_t dir_mode; member 54 if (tc->dir_mode & S_ISVTX && TST_ERR == EPERM) in do_rmdir()
|
/external/libbrillo/brillo/ |
D | file_utils_test.cc | 279 int dir_mode = 0; in TEST_F() local 281 EXPECT_TRUE(base::GetPosixFilePermissions(dirname, &dir_mode)); in TEST_F() 283 EXPECT_EQ(mode & ~mask, dir_mode & 0777); in TEST_F() 337 int dir_mode = 0; in TEST_F() local 339 EXPECT_TRUE(base::GetPosixFilePermissions(dirname, &dir_mode)); in TEST_F() 341 EXPECT_EQ(mode & ~mask, dir_mode & 0777); in TEST_F()
|