| /third_party/ltp/include/ |
| D | tst_safe_file_at.h | 14 #define SAFE_OPENAT(dirfd, path, oflags, ...) \ argument 18 #define SAFE_FILE_READAT(dirfd, path, buf, nbyte) \ argument 23 #define SAFE_FILE_PRINTFAT(dirfd, path, fmt, ...) \ argument 27 #define SAFE_UNLINKAT(dirfd, path, flags) \ argument 30 #define SAFE_FCHOWNAT(dirfd, path, owner, group, flags) \ argument 34 #define SAFE_FSTATAT(dirfd, path, statbuf, flags) \ argument
|
| /third_party/ltp/lib/ |
| D | tst_safe_file_at.c | 36 const int dirfd, const char *const path, const int oflags, ...) in safe_openat() 61 const int dirfd, const char *const path, in safe_file_readat() 86 int tst_file_vprintfat(const int dirfd, const char *const path, in tst_file_vprintfat() 107 int tst_file_printfat(const int dirfd, const char *const path, in tst_file_printfat() 121 const int dirfd, const char *const path, in safe_file_vprintfat() 161 const int dirfd, const char *const path, in safe_file_printfat() 175 const int dirfd, const char *const path, const int flags) in safe_unlinkat() 203 const int dirfd, const char *const path, uid_t owner, gid_t group, int flags) in safe_fchownat() 223 const int dirfd, const char *const path, struct stat *statbuf, int flags) in safe_fstatat()
|
| /third_party/musl/porting/linux/user/include/fortify/ |
| D | fcntl.h | 64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) in openat() 76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes) in openat() 105 int openat64(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) in openat64() 117 int openat64(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes) in openat64()
|
| /third_party/musl/include/fortify/linux/ |
| D | fcntl.h | 64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) in openat() 76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes) in openat() 105 int openat64(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) in openat64() 117 int openat64(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes) in openat64()
|
| /third_party/rust/crates/nix/test/ |
| D | test_stat.rs | 116 let dirfd = in test_fstatat() localVariable 180 let dirfd = in test_fchmodat() localVariable 291 let dirfd = in test_utimensat() localVariable 323 let dirfd = in test_mkdirat_success_path() localVariable 337 let dirfd = in test_mkdirat_success_mode() localVariable 354 let dirfd = fcntl::open( in test_mkdirat_fail() localVariable
|
| D | test_unistd.rs | 160 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat() localVariable 198 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat_directory() localVariable 541 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_fchownat() localVariable 882 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_symlinkat() localVariable 909 let dirfd = in test_linkat_file() localVariable 942 let dirfd = fcntl::open( in test_linkat_olddirfd_none() localVariable 979 let dirfd = fcntl::open( in test_linkat_newdirfd_none() localVariable 1026 let dirfd = in test_linkat_no_follow_symlink() localVariable 1069 let dirfd = in test_linkat_follow_symlink() localVariable 1107 let dirfd = in test_unlinkat_dir_noremovedir() localVariable [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/fstatat/ |
| D | fstatat01.c | 63 int fstatat(int dirfd, const char *filename, struct stat64 *statbuf, int flags) in fstatat() 68 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat() 73 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat()
|
| /third_party/rust/crates/rustix/tests/fs/ |
| D | readdir.rs | 13 let dirfd = File::open(tmpdir.path()).expect("open tempdir as file"); in dir_entries() localVariable 82 let mut dirfd = File::open(tmpdir.path()).expect("open tempdir as file"); in test_raw_dir() localVariable 147 let dirfd = rustix::fs::openat( in dir_from_openat() localVariable
|
| /third_party/NuttX/fs/vfs/ |
| D | fs_unlink.c | 72 int do_unlink(int dirfd, const char *pathname) in do_unlink() 176 int unlinkat(int dirfd, const char *pathname, int flag) in unlinkat()
|
| D | fs_readlink.c | 35 ssize_t do_readlink(int dirfd, const char *path, char *buf, size_t bufsize) in do_readlink() 106 ssize_t readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsize) in readlinkat()
|
| D | fs_mkdir.c | 38 int do_mkdir(int dirfd, const char *pathname, mode_t mode) in do_mkdir() 180 int mkdirat(int dirfd, const char *pathname, mode_t mode) in mkdirat()
|
| D | fs_open.c | 145 int fp_open(int dirfd, const char *path, int oflags, mode_t mode) in fp_open() 318 int do_open(int dirfd, const char *path, int oflags, mode_t mode) in do_open()
|
| /third_party/musl/src/dirent/ |
| D | dirfd.c | 4 int dirfd(DIR *d) in dirfd() function
|
| /third_party/musl/compat/time32/ |
| D | futimesat_time32.c | 7 int __futimesat_time32(int dirfd, const char *pathname, const struct timeval32 times32[2]) in __futimesat_time32()
|
| /third_party/ltp/include/lapi/ |
| D | mkdirat.h | 14 static inline int mkdirat(int dirfd, const char *dirname, int mode) in mkdirat()
|
| D | readlinkat.h | 14 static inline int readlinkat(int dirfd, const char *pathname, in readlinkat()
|
| D | faccessat.h | 16 int faccessat2(int dirfd, const char *pathname, int mode, int flags) in faccessat2()
|
| D | execveat.h | 14 static inline int execveat(int dirfd, const char *pathname, in execveat()
|
| D | fsmount.h | 86 static inline int fspick(int dirfd, const char *pathname, unsigned int flags) in fspick() 103 static inline int open_tree(int dirfd, const char *pathname, unsigned int flags) in open_tree() 110 static inline int mount_setattr(int dirfd, const char *from_pathname, unsigned int flags, in mount_setattr()
|
| /third_party/ltp/testcases/kernel/syscalls/openat/ |
| D | openat.h | 29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) in openat()
|
| /third_party/ltp/testcases/kernel/syscalls/mknodat/ |
| D | mknodat.h | 29 int mknodat(int dirfd, const char *filename, mode_t mode, dev_t dev) in mknodat()
|
| /third_party/ltp/testcases/kernel/syscalls/fchownat/ |
| D | fchownat.h | 29 static inline int fchownat(int dirfd, const char *filename, uid_t owner, in fchownat()
|
| /third_party/musl/src/linux/ |
| D | name_to_handle_at.c | 5 int name_to_handle_at(int dirfd, const char *pathname, in name_to_handle_at()
|
| /third_party/musl/src/stat/ |
| D | futimesat.c | 7 int __futimesat(int dirfd, const char *pathname, const struct timeval times[2]) in __futimesat()
|
| /third_party/libfuse/example/ |
| D | passthrough_helpers.h | 30 static int mknod_wrapper(int dirfd, const char *path, const char *link, in mknod_wrapper()
|