Home
last modified time | relevance | path

Searched refs:file_mode (Results 1 – 17 of 17) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c104 int dochild1(int file_flag, int file_mode) in dochild1() argument
109 if ((fd_B = open(tmpname, file_flag, file_mode)) < 0) { in dochild1()
184 int dofork(int file_flag, int file_mode) in dofork() argument
195 if (self_exec(argv0, "nddds", 1, file_flag, file_mode, in dofork()
201 dochild1(file_flag, file_mode); in dofork()
241 int dochild2(int file_flag, int file_mode, int dup_flag) in dochild2() argument
246 if ((fd_C = open(tmpname, file_flag, file_mode)) < 0) { in dochild2()
359 int run_test(int file_flag, int file_mode, int dup_flag) in run_test() argument
384 if ((fd_A = open(tmpname, file_flag, file_mode)) < 0) { in run_test()
395 dofork(file_flag, file_mode); in run_test()
[all …]
Dfcntl16.c444 int run_test(int file_flag, int file_mode, int start, int end) in run_test() argument
455 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test()
Dfcntl14.c777 void run_test(int file_flag, int file_mode, int seek, int start, int end) in run_test() argument
782 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test()
/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod01.c23 mode_t file_mode, mode; in verify_fchmod() local
33 file_mode = stat_buf.st_mode; in verify_fchmod()
35 if ((file_mode & ~S_IFREG) != mode) { in verify_fchmod()
38 TESTFILE, file_mode & ~S_IFREG, mode); in verify_fchmod()
Dfchmod02.c30 mode_t file_mode; in verify_fchmod() local
37 file_mode = stat_buf.st_mode; in verify_fchmod()
39 if ((file_mode & ~S_IFREG) != PERMS) { in verify_fchmod()
41 TESTFILE, file_mode, PERMS); in verify_fchmod()
Dfchmod03.c100 mode_t file_mode; /* mode permissions set on testfile */ in main() local
123 file_mode = stat_buf.st_mode; in main()
126 if ((file_mode & PERMS) != PERMS) in main()
128 "Expected 0777", TESTFILE, file_mode); in main()
/external/libbrillo/brillo/
Dfile_utils_unittest.cc163 int file_mode = 0; in TEST_F() local
164 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F()
165 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F()
205 int file_mode = 0; in TEST_F() local
206 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F()
207 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F()
219 int file_mode = 0; in TEST_F() local
220 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F()
221 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod03.c104 mode_t file_mode; in main() local
125 file_mode = stat_buf.st_mode; in main()
128 if ((file_mode & PERMS) != PERMS) { in main()
130 "Expected 0777", TESTFILE, file_mode); in main()
/external/selinux/libsemanage/src/
Dconf-parse.y88 | file_mode
169 file_mode: FILE_MODE '=' ARG {
170 current_conf->file_mode = strtoul($3, NULL, 8);
350 conf->file_mode = 0644;
Dsemanage_conf.h45 mode_t file_mode; member
Ddirect_api.c1591 sh->conf->file_mode); in semanage_direct_commit()
1598 sh->conf->file_mode); in semanage_direct_commit()
1605 sh->conf->file_mode); in semanage_direct_commit()
1612 sh->conf->file_mode); in semanage_direct_commit()
1630 sh->conf->file_mode); in semanage_direct_commit()
Dsemanage_store.c1643 ret = semanage_copy_file(src, dst, sh->conf->file_mode); in semanage_install_final_tmp()
/external/ltp/runtest/
Dfs_perms_simple5 # fs_perms file_mode file_uid file_gid test_uid test_gid mode (r|w|x) expected_result
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/Native/
Dpdb-native-compilands.test39 BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.obj
/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc159 void CreateStream(mode_t file_mode, Stream::AccessMode access_mode) { in CreateStream() argument
161 EXPECT_CALL(*fd, GetFileMode()).WillOnce(Return(file_mode)); in CreateStream()
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dpdbdump-headers.test697 BIG-NEXT: Mod 0021 | `f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o…
1008 BIG-NEXT: Mod 0021 | `f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o…
1009 … - (MD5: 749603C05EB2FB5024819A3107DA9A7D) f:\dd\vctools\crt\vcstartup\src\defaults\file_mode.cpp
/external/llvm/test/DebugInfo/PDB/
Dpdbdump-headers.test1764 ; BIG-NEXT: 3535: f:\dd\vctools\crt\vcstartup\src\defaults\file_mode.cpp
2289 ; BIG-NEXT: Name: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o…
2301 ; BIG-NEXT: f:\dd\vctools\crt\vcstartup\src\defaults\file_mode.cpp