Home
last modified time | relevance | path

Searched refs:AT_FDCWD (Results 1 – 10 of 10) sorted by relevance

/DragonOS/user/apps/test_statx/src/
H A Dmain.rs2 use libc::AT_FDCWD;
50 AT_FDCWD, in main()
/DragonOS/user/apps/test_utimensat/
H A Dmain.c10 int res = utimensat(AT_FDCWD, "/bin/about.elf", NULL, 0); in main()
/DragonOS/kernel/src/common/
H A Dfcntl.h46 #define AT_FDCWD -100 macro
/DragonOS/kernel/src/filesystem/vfs/
H A Dfcntl.rs72 const AT_FDCWD = -100; constant
H A Dcore.rs268 let (old_begin_inode, old_remain_path) = user_path_at(&pcb, AtFlags::AT_FDCWD.bits(), from)?; in do_symlinkat()
316 AtFlags::AT_FDCWD.bits(), in do_mount()
348 AtFlags::AT_FDCWD.bits(), in do_mount_mkdir()
H A Dsyscall.rs497 AtFlags::AT_FDCWD.bits(), in open()
807 AtFlags::AT_FDCWD.bits(), in mkdir()
903 AtFlags::AT_FDCWD.bits(), in link()
905 AtFlags::AT_FDCWD.bits(), in link()
977 return do_remove_dir(AtFlags::AT_FDCWD.bits(), &path).map(|v| v as usize); in rmdir()
984 return do_unlink_at(AtFlags::AT_FDCWD.bits(), &path).map(|v| v as usize); in unlink()
988 return do_symlinkat(oldname, AtFlags::AT_FDCWD.bits(), newname); in symlink()
1589 return Self::readlink_at(AtFlags::AT_FDCWD.bits(), path, user_buf, buf_size); in readlink()
1594 AtFlags::AT_FDCWD.bits(), in access()
1617 AtFlags::AT_FDCWD.bits(), in chmod()
[all …]
H A Dutils.rs50 if dirfd != AtFlags::AT_FDCWD.bits() { in user_path_at()
H A Dopen.rs302 AtFlags::AT_FDCWD.bits(),
/DragonOS/user/apps/test-chown/src/
H A Dmain.rs3 chown, fchown, fchownat, getgrnam, getpwnam, gid_t, lchown, mount, uid_t, umount, AT_FDCWD,
32 let result = unsafe { fchownat(AT_FDCWD, c_filename.as_ptr(), new_uid, new_gid, flags) }; in test_fchownat()
/DragonOS/kernel/src/syscall/
H A Dmod.rs105 AtFlags::AT_FDCWD.bits(), in handle()
107 AtFlags::AT_FDCWD.bits(), in handle()