Searched refs:openat2 (Results 1 - 12 of 12) sorted by relevance
/third_party/rust/crates/rustix/src/fs/ |
H A D | openat2.rs | 6 /// `openat2(dirfd, path, OpenHow { oflags, mode, resolve }, sizeof(OpenHow))` 11 /// [Linux]: https://man7.org/linux/man-pages/man2/openat2.2.html 13 pub fn openat2<Fd: AsFd, P: path::Arg>( in openat2() functions 21 backend::fs::syscalls::openat2(dirfd.as_fd(), path, oflags, mode, resolve) in openat2()
|
H A D | mod.rs | 53 mod openat2; modules 207 pub use openat2::openat2;
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | openat2.rs | 2 use rustix::fs::{cwd, mkdirat, openat, openat2, symlinkat, Mode, OFlags, ResolveFlags}; 5 /// Like `openat2`, but keep retrying until it fails or succeeds. 15 match openat2(dirfd.as_fd(), &path, oflags, mode, resolve) { in openat2_more() 28 // Detect whether `openat2` is available. in test_openat2() 29 match openat2( in test_openat2()
|
H A D | main.rs | 37 mod openat2; modules
|
/third_party/ltp/include/lapi/ |
H A D | openat2.h | 19 * Arguments for how openat2(2) should open the target path. If only @flags and 20 * @mode are non-zero, then openat2(2) operates very similarly to openat(2). 36 /* how->resolve flags for openat2(2). */ 50 static inline int openat2(int dfd, const char *pathname, in openat2() function
|
/third_party/libbpf/include/uapi/linux/ |
H A D | fcntl.h | 6 #include <linux/openat2.h>
|
/third_party/ltp/testcases/kernel/syscalls/openat2/ |
H A D | openat202.c | 5 * openat2() tests with various resolve flags. 8 #include "lapi/openat2.h" 48 TEST(openat2(AT_FDCWD, tc->pathname, how, sizeof(*how))); in run() 52 tst_res(TFAIL | TTERRNO, "%s: openat2() failed", in run() 58 tst_res(TPASS, "%s: openat2() passed", tc->name); in run() 62 tst_res(TFAIL, "%s: openat2() passed unexpectedly", in run() 68 tst_res(TFAIL | TTERRNO, "%s: openat2() should fail with %s", in run() 73 tst_res(TPASS | TTERRNO, "%s: openat2() failed as expected", in run()
|
H A D | openat201.c | 5 * Basic openat2() test. 8 #include "lapi/openat2.h" 71 TEST(fd = openat2(*tc->dfd, tc->pathname, myhow, tc->size)); in run() 73 tst_res(TFAIL | TTERRNO, "openat2() failed (%d)", n); in run() 80 tst_res(TPASS, "openat2() passed (%d)", n); in run()
|
H A D | openat203.c | 5 * Basic openat2() test to check various failures. 8 #include "lapi/openat2.h" 52 TEST(openat2(tc->dfd, tc->pathname, myhow, tc->size)); in run() 56 tst_res(TFAIL, "%s: openat2() passed unexpectedly", in run() 62 tst_res(TFAIL | TTERRNO, "%s: openat2() should fail with %s", in run() 67 tst_res(TPASS | TTERRNO, "%s: openat2() failed as expected", tc->name); in run()
|
/third_party/libbpf/scripts/ |
H A D | sync-kernel.sh | 46 [tools/include/uapi/linux/openat2.h]=include/uapi/linux/openat2.h \
|
/third_party/rust/crates/linux-raw-sys/gen/modules/ |
H A D | general.h | 56 #include <linux/openat2.h>
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | syscalls.rs | 1264 pub(crate) fn openat2(
|
Completed in 5 milliseconds