Home
last modified time | relevance | path

Searched refs:file_mode (Results 1 – 15 of 15) 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/
Dfchmod03.c103 mode_t file_mode; /* mode permissions set on testfile */ in main() local
126 file_mode = stat_buf.st_mode; in main()
129 if ((file_mode & PERMS) != PERMS) in main()
131 "Expected 0777", TESTFILE, file_mode); in main()
/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/kernel-headers/original/uapi/linux/
Dncp_mount.h41 __kernel_mode_t file_mode; member
66 unsigned long file_mode; member
/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.c1452 sh->conf->file_mode); in semanage_direct_commit()
1465 sh->conf->file_mode); in semanage_direct_commit()
1549 sh->conf->file_mode); in semanage_direct_commit()
1558 sh->conf->file_mode); in semanage_direct_commit()
1568 sh->conf->file_mode); in semanage_direct_commit()
1578 sh->conf->file_mode); in semanage_direct_commit()
1597 sh->conf->file_mode); in semanage_direct_commit()
Dsemanage_store.c1597 ret = semanage_copy_file(src, dst, sh->conf->file_mode); in semanage_install_final_tmp()
/external/syslinux/core/fs/ufs/
Dufs.h155 uint16_t file_mode; member
181 uint16_t file_mode; member
Dufs.c212 inode->mode = IFTODT(ufs_inode->file_mode); in ufs1_iget_by_inr()
246 inode->mode = IFTODT(ufs_inode->file_mode); in ufs2_iget_by_inr()
/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/libbrillo/brillo/streams/
Dfile_stream_unittest.cc150 void CreateStream(mode_t file_mode, Stream::AccessMode access_mode) { in CreateStream() argument
152 EXPECT_CALL(*fd, GetFileMode()).WillOnce(Return(file_mode)); in CreateStream()
/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