Searched refs:AT_FDCWD (Results 1 – 10 of 10) sorted by relevance
/DragonOS/user/apps/test_statx/src/ |
H A D | main.rs | 2 use libc::AT_FDCWD; 50 AT_FDCWD, in main()
|
/DragonOS/user/apps/test_utimensat/ |
H A D | main.c | 10 int res = utimensat(AT_FDCWD, "/bin/about.elf", NULL, 0); in main()
|
/DragonOS/kernel/src/common/ |
H A D | fcntl.h | 46 #define AT_FDCWD -100 macro
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | fcntl.rs | 72 const AT_FDCWD = -100; constant
|
H A D | core.rs | 268 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 D | syscall.rs | 497 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 D | utils.rs | 50 if dirfd != AtFlags::AT_FDCWD.bits() { in user_path_at()
|
H A D | open.rs | 302 AtFlags::AT_FDCWD.bits(),
|
/DragonOS/user/apps/test-chown/src/ |
H A D | main.rs | 3 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 D | mod.rs | 105 AtFlags::AT_FDCWD.bits(), in handle() 107 AtFlags::AT_FDCWD.bits(), in handle()
|