HomeSort by relevance Sort by last modified time
    Searched refs:SAFE_OPEN (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/ltp/testcases/kernel/containers/userns/
userns02.c 94 fd = SAFE_OPEN(cleanup, path, O_WRONLY, 0644);
100 fd = SAFE_OPEN(cleanup, path, O_WRONLY, 0644);
107 fd = SAFE_OPEN(cleanup, path, O_WRONLY, 0644);
userns_helper.h 58 fd = SAFE_OPEN(cleanup, path, O_WRONLY, 0644);
  /external/ltp/testcases/kernel/syscalls/preadv/
preadv02.c 107 fd1 = SAFE_OPEN("file1", O_RDWR | O_CREAT, 0644);
109 fd2 = SAFE_OPEN("file2", O_WRONLY | O_CREAT, 0644);
110 fd4 = SAFE_OPEN(".", O_RDONLY);
  /external/ltp/testcases/kernel/syscalls/splice/
splice01.c 73 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_RDONLY);
95 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_RDONLY);
97 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666);
142 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777);
splice03.c 117 rdfd = SAFE_OPEN(cleanup, TEST_FILE, O_RDONLY);
119 wrfd = SAFE_OPEN(cleanup, TEST_FILE2,
122 appendfd = SAFE_OPEN(cleanup, TEST_FILE3,
splice02.c 77 fd = SAFE_OPEN(cleanup, av[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);
  /external/ltp/testcases/kernel/syscalls/tee/
tee01.c 78 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_RDONLY);
101 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_RDONLY);
102 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777);
156 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777);
  /external/ltp/testcases/kernel/syscalls/readlinkat/
readlinkat02.c 90 dir_fd = SAFE_OPEN(cleanup, "./", O_RDONLY);
92 file_fd = SAFE_OPEN(cleanup, TEST_FILE, O_RDWR | O_CREAT, 0644);
  /external/ltp/testcases/kernel/syscalls/readv/
readv01.c 112 fd = SAFE_OPEN(cleanup, "data_file", O_WRONLY | O_CREAT, 0666);
115 fd = SAFE_OPEN(cleanup, "data_file", O_RDONLY);
  /external/ltp/testcases/kernel/syscalls/fchmod/
fchmod06.c 149 fd3 = SAFE_OPEN(cleanup, "mntpoint/tfile_3", O_RDONLY);
151 fd1 = SAFE_OPEN(cleanup, "tfile_1", O_RDWR | O_CREAT, 0666);
153 fd2 = SAFE_OPEN(cleanup, "tfile_2", O_RDWR | O_CREAT, 0666);
  /external/ltp/testcases/kernel/syscalls/getdents/
getdents02.c 142 fd = SAFE_OPEN(cleanup, ".", O_RDONLY);
161 fd = SAFE_OPEN(cleanup, "test", O_CREAT | O_RDWR);
181 fd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY);
  /external/ltp/testcases/kernel/syscalls/pwrite/
pwrite02.c 163 fd = SAFE_OPEN(cleanup, TEMPFILE, O_RDWR | O_CREAT, 0666);
186 fd = SAFE_OPEN(cleanup, TEMPFILE, O_RDONLY | O_CREAT, 0666);
201 fd = SAFE_OPEN(cleanup, TEMPFILE, O_RDWR | O_CREAT, 0666);
  /external/ltp/testcases/kernel/syscalls/read/
read02.c 109 fd2 = SAFE_OPEN(cleanup, ".", O_DIRECTORY);
113 fd3 = SAFE_OPEN(cleanup, "test_file", O_RDWR);
125 fd4 = SAFE_OPEN(cleanup, "test_file", O_RDWR | O_DIRECT);
  /external/ltp/testcases/kernel/syscalls/readdir/
readdir21.c 106 del_dir_fd = SAFE_OPEN(cleanup, TEST_DIR, O_RDONLY | O_DIRECTORY);
109 file_fd = SAFE_OPEN(cleanup, TEST_FILE, O_RDWR | O_CREAT, 0777);
112 dir_fd = SAFE_OPEN(cleanup, TEST_DIR4, O_RDONLY | O_DIRECTORY);
  /external/ltp/testcases/kernel/syscalls/renameat2/
renameat202.c 96 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY);
97 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY);
145 fd = SAFE_OPEN(cleanup, contentfile, O_RDONLY);
  /external/ltp/lib/tests/
tst_safe_macros.c 29 fd = SAFE_OPEN(cleanup, __FILE__ "~", O_RDWR);
  /external/ltp/testcases/kernel/syscalls/fanotify/
fanotify02.c 94 fd = SAFE_OPEN(cleanup, fname, O_RDWR | O_CREAT, 0700);
114 fd = SAFE_OPEN(cleanup, fname, O_RDONLY);
147 fd = SAFE_OPEN(cleanup, fname, O_RDONLY);
151 fd = SAFE_OPEN(cleanup, ".", O_RDONLY | O_DIRECTORY);
  /external/ltp/testcases/kernel/syscalls/fchown/
fchown01.c 91 fd = SAFE_OPEN(cleanup, "tempfile", O_RDWR | O_CREAT, 0700);
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl08.c 91 fd = SAFE_OPEN(cleanup, "test_file", O_RDWR | O_CREAT, 0700);
fcntl33.c 149 fd = SAFE_OPEN(cleanup, "file", O_RDONLY);
220 SAFE_OPEN(NULL, "file", O_RDONLY);
223 SAFE_OPEN(NULL, "file", O_WRONLY);
226 SAFE_OPEN(NULL, "file", O_RDWR);
fcntl32.c 101 fd1 = SAFE_OPEN(cleanup, "file", test_cases[i].fd1_flag);
102 fd2 = SAFE_OPEN(cleanup, "file", test_cases[i].fd2_flag);
  /external/ltp/testcases/kernel/syscalls/fchownat/
fchownat01.c 100 dir_fd = SAFE_OPEN(cleanup, "./", O_DIRECTORY);
104 fd = SAFE_OPEN(cleanup, "testfile2", O_CREAT | O_RDWR, 0600);
  /external/ltp/testcases/kernel/syscalls/futimesat/
futimesat01.c 112 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
118 fds[2] = SAFE_OPEN(cleanup, testfile3, O_CREAT | O_RDWR, 0600);
  /external/ltp/testcases/kernel/syscalls/kcmp/
kcmp02.c 124 fd1 = SAFE_OPEN(cleanup, TEST_FILE, O_CREAT | O_RDWR | O_TRUNC);
125 fd2 = SAFE_OPEN(cleanup, TEST_FILE2, O_CREAT | O_RDWR | O_TRUNC);
  /external/ltp/testcases/kernel/syscalls/mkdirat/
mkdirat01.c 101 dir_fd = SAFE_OPEN(cleanup, testdir, O_DIRECTORY);
138 fd = SAFE_OPEN(cleanup, "mkdirattestfile", O_CREAT | O_RDWR, 0600);

Completed in 722 milliseconds

1 2 3 4 5