Home
last modified time | relevance | path

Searched refs:fchown (Results 1 - 25 of 53) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dfchown.c37 int result = fchown(fd, 0, 0); in fchown_0100()
54 int result = fchown(fd, 0, -1); in fchown_0200()
71 int result = fchown(fd, -1, 0); in fchown_0300()
89 int result = fchown(fd, 0, 0); in fchown_0400()
102 int result = fchown(-1, 0, 0); in fchown_0500()
/third_party/node/test/parallel/
H A Dtest-fs-fchown.js8 assert.throws(() => fs.fchown(input), errObj);
13 assert.throws(() => fs.fchown(1, input), errObj);
18 assert.throws(() => fs.fchown(1, 1, input), errObj);
H A Dtest-trace-events-fs-async.js72 function fchown({ uid, gid }) { function
76 fs.fchown(fd, uid, gid, () => {
276 tests.fchown = wrapper(fchown, { uid, gid });
/third_party/musl/src/unistd/
H A Dfchown.c6 int fchown(int fd, uid_t uid, gid_t gid) in fchown() function
/third_party/rust/crates/rustix/src/fs/
H A Dfd.rs130 /// `fchown(fd)`—Sets open file or directory ownership.
136 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fchown.html
137 /// [Linux]: https://man7.org/linux/man-pages/man2/fchown.2.html
140 pub fn fchown<Fd: AsFd>(fd: Fd, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown() functions
141 backend::fs::syscalls::fchown(fd.as_fd(), owner, group) in fchown()
H A Dmod.rs162 pub use fd::{fchmod, fchown};
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen13.c22 * not opened, the operations read(2), write(2), fchmod(2), fchown(2)
129 TEST(fchown(fd, 1000, 1000)); in verify_fchown()
130 check_result("fchown(2)"); in verify_fchown()
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dpolyfills.js50 fs.fchown = chownFix(fs.fchown)
/third_party/toybox/toys/posix/
H A Dcpio.c177 err = fchown(fd, uid, gid); in cpio_main()
198 err = fchown(fd, uid, gid); in cpio_main()
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h143 TST_CREATE_SYSCALL(fchown, fd, owner, group); in FCHOWN()
H A Dcompat_16.h156 LTP_CREATE_SYSCALL(fchown, cleanup, fd, owner, group); in FCHOWN()
/third_party/toybox/toys/other/
H A Dlogin.c119 if (fchown(tty, pwd->pw_uid, pwd->pw_gid) || fchmod(tty, 0600)) in login_main()
/third_party/node/lib/internal/fs/
H A Dpromises.js157 return fsCall(fchown, this, uid, gid);
929 async function fchown(handle, uid, gid) {
932 return binding.fchown(handle.fd, uid, gid, kUsePromises);
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs521 fchown(fd, uid, gid).unwrap(); in test_fchown()
522 fchown(fd, uid, None).unwrap(); in test_fchown()
523 fchown(fd, None, gid).unwrap(); in test_fchown()
524 fchown(999999999, uid, gid).unwrap_err(); in test_fchown()
/third_party/elfutils/src/
H A Dranlib.c263 /* Never complain about fchown failing. */ in handle_file()
264 if (fchown (newfd, st.st_uid, st.st_gid) != 0) { ; } in handle_file()
H A Dar.c803 /* Never complain about fchown failing. */ in do_oper_extract()
804 if (fchown (newfd, st.st_uid, st.st_gid) != 0) { ; } in do_oper_extract()
1056 has. Never complain about fchown failing. But do it before in do_oper_delete()
1059 if (fchown (newfd, st.st_uid, st.st_gid) != 0) { ; } in do_oper_delete()
1542 /* Never complain about fchown failing. But do it before in do_oper_insert()
1545 if (fchown (newfd, st.st_uid, st.st_gid) != 0) { ; } in do_oper_insert()
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h52 int fchown(int, uid_t, gid_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h50 int fchown(int, uid_t, gid_t);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h56 int fchown(int, uid_t, gid_t);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h52 int fchown(int, uid_t, gid_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h50 int fchown(int, uid_t, gid_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h56 int fchown(int, uid_t, gid_t);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h50 int fchown(int, uid_t, gid_t);
/third_party/musl/include/
H A Dunistd.h66 int fchown(int, uid_t, gid_t);
/third_party/toybox/toys/pending/
H A Dcrontab.c242 fchown(fdout, getuid(), geteuid()); in update_crontab()

Completed in 18 milliseconds

123