Home
last modified time | relevance | path

Searched refs:AT_SYMLINK_NOFOLLOW (Results 1 - 25 of 87) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dfchmodat.c41 AT_SYMLINK_NOFOLLOW); in fchmodat_0100()
64 AT_SYMLINK_NOFOLLOW); in fchmodat_0200()
79 int result = fchmodat(-1, "test.txt", S_IRWXU | S_IRWXG | S_IRWXO, AT_SYMLINK_NOFOLLOW); in fchmodat_0300()
/third_party/ltp/include/lapi/
H A Dfcntl.h89 #ifndef AT_SYMLINK_NOFOLLOW
90 # define AT_SYMLINK_NOFOLLOW 0x100 macro
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dfchownat.c33 int ret = fchownat(fd, ptr, 0, 0, AT_SYMLINK_NOFOLLOW); in fchownat_0100()
55 int ret = fchownat(AT_FDCWD, ptr, 0, 0, AT_SYMLINK_NOFOLLOW); in fchownat_0200()
/third_party/musl/src/stat/
H A Dlchmod.c7 return fchmodat(AT_FDCWD, path, mode, AT_SYMLINK_NOFOLLOW); in lchmod()
H A Dlstat.c6 return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW); in lstat()
H A Dfchmodat.c15 if (flag != AT_SYMLINK_NOFOLLOW) in fchmodat()
/third_party/musl/src/unistd/
H A Dlchown.c12 return syscall(SYS_fchownat, AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
/third_party/musl/porting/liteos_a/user/src/unistd/
H A Dlchown.c12 return syscall(SYS_fchownat, AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
/third_party/musl/src/legacy/
H A Dlutimes.c15 return utimensat(AT_FDCWD, filename, tv ? times : 0, AT_SYMLINK_NOFOLLOW); in lutimes()
/third_party/musl/porting/liteos_a/user/src/stdio/
H A Dtmpnam.c27 &(struct kstat){0}, AT_SYMLINK_NOFOLLOW); in tmpnam()
/third_party/toybox/lib/
H A Dportability.h54 #ifndef AT_SYMLINK_NOFOLLOW
55 #define AT_SYMLINK_NOFOLLOW 0x100 macro
/third_party/libbpf/include/uapi/linux/
H A Dfcntl.h99 #define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */ macro
/third_party/ltp/testcases/kernel/syscalls/faccessat2/
H A Dfaccessat201.c45 {&atcwd_fd, &sym_path, AT_SYMLINK_NOFOLLOW},
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/
H A Dstat_fstatat_test.cpp49 EXPECT_EQ(0, fstatat(AT_FDCWD, linkname, &st, AT_SYMLINK_NOFOLLOW)); in HWTEST_F()
H A Dstat_fstatat64_test.cpp15 * information using fstatat64() with the AT_SYMLINK_NOFOLLOW flag to ensure that any symbolic links in the
37 * information using fstatat64() with the AT_SYMLINK_NOFOLLOW flag to ensure that any symbolic links in the
50 int ret = fstatat64(AT_FDCWD, linkName, &st, AT_SYMLINK_NOFOLLOW); in HWTEST_F()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dtouch.c68 if (!utimensat(AT_FDCWD, s, ts, FLAG(h)*AT_SYMLINK_NOFOLLOW)) continue; in touch_main()
/third_party/toybox/toys/posix/
H A Dtouch.c75 if (!utimensat(AT_FDCWD, s, ts, FLAG(h)*AT_SYMLINK_NOFOLLOW)) continue; in touch_main()
H A Dchgrp.c56 AT_SYMLINK_NOFOLLOW*(!(flags&(FLAG_L|FLAG_H)) && (flags&(FLAG_h|FLAG_R)))); in do_chgrp()
/third_party/ltp/testcases/kernel/syscalls/execveat/
H A Dexecveat02.c12 * pathname is a symbolic link and flag includes AT_SYMLINK_NOFOLLOW.
45 {&fd, app_sym_path, AT_SYMLINK_NOFOLLOW, ELOOP},
/third_party/ltp/testcases/kernel/syscalls/fchownat/
H A Dfchownat02.c19 * The flag of fchownat() is AT_SYMLINK_NOFOLLOW and the pathname would
103 AT_SYMLINK_NOFOLLOW)); in fchownat_verify()
123 tst_resm(TPASS, "fchownat() test AT_SYMLINK_NOFOLLOW success"); in test_verify()
126 "fchownat() test AT_SYMLINK_NOFOLLOW fail with uid=%d " in test_verify()
/third_party/ltp/testcases/kernel/syscalls/mount_setattr/
H A Dmount_setattr01.c86 AT_SYMLINK_NOFOLLOW | OPEN_TREE_CLOEXEC | OPEN_TREE_CLONE)); in run()
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx02.c13 * - AT_SYMLINK_NOFOLLOW
76 TEST(statx(AT_FDCWD, LINK_FILE, AT_SYMLINK_NOFOLLOW, 0, &lbuf)); in test_sym_link()
80 "statx(AT_FDCWD, %s, AT_SYMLINK_NOFOLLOW, 0,&lbuf)", in test_sym_link()
84 "statx(AT_FDCWD, %s, AT_SYMLINK_NOFOLLOW, 0,&lbuf)", in test_sym_link()
/third_party/musl/Benchmark/musl/
H A Dlibc_stat.cpp46 fd = fstatat(AT_FDCWD, DATA_ROOT"/data/local/tmp/passwd_link", &st, AT_SYMLINK_NOFOLLOW); in Bm_function_Fstatat_symbollink()
/third_party/rust/crates/nix/src/
H A Dfcntl.rs33 AT_SYMLINK_NOFOLLOW;
326 super::sys::stat::fstatat(dirfd, path, flags | AtFlags::AT_SYMLINK_NOFOLLOW) in inner_readlink()
329 Some(dirfd) => super::sys::stat::fstatat(dirfd, path, AtFlags::AT_SYMLINK_NOFOLLOW), in inner_readlink()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h62 #define AT_SYMLINK_NOFOLLOW 0x100 macro

Completed in 11 milliseconds

1234