Home
last modified time | relevance | path

Searched refs:openat (Results 1 – 25 of 118) sorted by relevance

12345

/external/valgrind/memcheck/tests/linux/
Dsys-openat.c12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY); in main()
14 __attribute__((unused)) int fd2 = openat (0x12345678, "/tmp/abc", O_RDONLY); in main()
15 __attribute__((unused)) int fd3 = openat (AT_FDCWD, "abc", O_RDONLY); in main()
17 __attribute__((unused)) int fd4 = openat (0x12345678, "abc", O_RDONLY); in main()
DMakefile.am19 sys-openat.vgtest sys-openat.stderr.exp sys-openat.stdout.exp \
42 check_PROGRAMS += sys-openat
Dsys-openat.vgtest1 prereq: test -e ./sys-openat
2 prog: sys-openat
DMakefile.in129 @HAVE_AT_FDCWD_TRUE@am__append_8 = sys-openat
141 @HAVE_AT_FDCWD_TRUE@am__EXEEXT_1 = sys-openat$(EXEEXT)
175 sys_openat_SOURCES = sys-openat.c
176 sys_openat_OBJECTS = sys-openat.$(OBJEXT)
218 stack_switch.c sys-openat.c syscalls-2007.c syslog-syscall.c \
222 stack_switch.c sys-openat.c syscalls-2007.c syslog-syscall.c \
632 sys-openat.vgtest sys-openat.stderr.exp sys-openat.stdout.exp \
722 sys-openat$(EXEEXT): $(sys_openat_OBJECTS) $(sys_openat_DEPENDENCIES) $(EXTRA_sys_openat_DEPENDENCI…
723 @rm -f sys-openat$(EXEEXT)
755 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sys-openat.Po@am__quote@
Dsys-openat.stderr.exp2 Warning: invalid file descriptor 305419896 in syscall openat()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c123 TEST(openat(AT_FDCWD, TEST_FILE, O_APPEND | O_RDWR, 0777)); in testfunc_append()
154 TEST(openat(AT_FDCWD, TEST_FILE, O_CLOEXEC | O_RDWR, 0777)); in testfunc_cloexec()
210 TEST(openat(AT_FDCWD, LARGE_FILE, O_LARGEFILE | O_RDONLY, 0777)); in testfunc_largefile()
245 TEST(openat(AT_FDCWD, TEST_FILE, O_NOATIME | O_RDONLY, 0777)); in testfunc_noatime()
266 TEST(openat(AT_FDCWD, SFILE, O_NOFOLLOW | O_RDONLY, 0777)); in testfunc_nofollow()
280 TEST(openat(AT_FDCWD, TEST_FILE, O_TRUNC | O_RDWR, 0777)); in testfunc_trunc()
Dopenat.h29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) in openat() function
Dopenat03.c53 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, 0600); in setup()
67 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, mode); in openat_tmp()
Dopenat01.c73 TEST(openat(*test->dir_fd, test->pathname, O_RDWR, 0600)); in verify_openat()
/external/valgrind/memcheck/tests/solaris/
Dsyscall_at.c80 openat(dfd, FILENAME, O_RDONLY); in main()
81 openat(0x9038151, DIRECTORY FILENAME, O_RDONLY); in main()
82 openat(AT_FDCWD, FILENAME, O_RDONLY); in main()
83 openat(0x9038152, FILENAME, O_RDONLY); /* warning for this one */ in main()
Dsyscall_at.stderr.exp12 Warning: invalid file descriptor 151224658 in syscall openat()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c156 fd = openat(dirfd, "makefile", O_CREAT | O_RDWR, in thread_fn()
170 fd = openat(dirfd, cfile, O_CREAT | O_RDWR, in thread_fn()
187 dirfd = openat(dirfd, "dir", O_DIRECTORY); in thread_fn()
/external/valgrind/none/tests/solaris/
Dproc_psinfo.stdout.exp19 openat for /proc/self/psinfo:
28 openat for /proc/<pid>/psinfo:
Dproc_psinfo.c27 fd = openat(AT_FDCWD, path, O_RDONLY); in test_psinfo()
/external/toybox/toys/other/
Dlspci.c50 if (-1 == (dirfd = openat(dirtree_parentfd(new), new->name, O_RDONLY)))
61 if (-1 == (fd = openat(dirfd, *fields, O_RDONLY))) {
Dacpi.c37 if ((fd = openat(dirfd, name, O_RDONLY)) < 0) return -1;
56 if ((fd = openat(dfd, "type", O_RDONLY)) < 0) goto done; in acpi_callback()
/external/libbrillo/brillo/
Dfile_utils.cc62 base::ScopedFD scoped_fd(HANDLE_EINTR(openat( in RegularFileOrDelete()
116 HANDLE_EINTR(openat(AT_FDCWD, in TouchFileInternal()
/external/ltp/include/lapi/syscalls/
Dhppa.in1 openat 275
/external/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-tests.cpp219 openat(0, "/", 0, 0, 0); in testFcntl()
232 openat(0, "/", O_CREAT); in testFcntl()
234 openat(0, "/", O_TMPFILE); in testFcntl()
/external/toybox/toys/posix/
Dcp.c209 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLOW))) in cp_node()
266 fdin = openat(tfd, try->name, O_RDONLY); in cp_node()
271 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); in cp_node()
/external/ltp/testcases/kernel/syscalls/
DMakefile41 mq_timedsend mq_unlink mmap mremap open openat profil ptrace quotactl \
/external/elfutils/tests/
Dlfs-symbols56 openat
/external/strace/
Dopen.c147 SYS_FUNC(openat) in SYS_FUNC() argument
/external/ltp/m4/
Dltp-openat.m424 AC_CHECK_FUNCS(openat,,)
/external/strace/tests-mx32/
Dbtrfs.c444 subvolfd = openat(btrfs_test_dir_fd, subvol_name, in btrfs_test_subvol_ioctls()
1213 fd = openat(btrfs_test_dir_fd, "file1", O_RDWR|O_CREAT, 0600); in btrfs_test_ino_path_ioctls()
1660 fd1 = openat(btrfs_test_dir_fd, "file1", O_RDWR|O_CREAT, 0600); in btrfs_test_extent_same_ioctl()
1664 fd2 = openat(btrfs_test_dir_fd, "file2", O_RDWR|O_CREAT, 0600); in btrfs_test_extent_same_ioctl()
1678 fd2 = openat(btrfs_test_dir_fd, "file2", O_RDONLY); in btrfs_test_extent_same_ioctl()
1884 btrfs_test_dir_fd = openat(rootfd, "strace-test", in main()

12345