/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | fchown.c | 37 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 D | test-fs-fchown.js | 8 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 D | test-trace-events-fs-async.js | 72 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 D | fchown.c | 6 int fchown(int fd, uid_t uid, gid_t gid) in fchown() function
|
/third_party/rust/crates/rustix/src/fs/ |
H A D | fd.rs | 130 /// `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 D | mod.rs | 162 pub use fd::{fchmod, fchown};
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open13.c | 22 * 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 D | polyfills.js | 50 fs.fchown = chownFix(fs.fchown)
|
/third_party/toybox/toys/posix/ |
H A D | cpio.c | 177 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 D | compat_tst_16.h | 143 TST_CREATE_SYSCALL(fchown, fd, owner, group); in FCHOWN()
|
H A D | compat_16.h | 156 LTP_CREATE_SYSCALL(fchown, cleanup, fd, owner, group); in FCHOWN()
|
/third_party/toybox/toys/other/ |
H A D | login.c | 119 if (fchown(tty, pwd->pw_uid, pwd->pw_gid) || fchmod(tty, 0600)) in login_main()
|
/third_party/node/lib/internal/fs/ |
H A D | promises.js | 157 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 D | test_unistd.rs | 521 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 D | ranlib.c | 263 /* Never complain about fchown failing. */ in handle_file() 264 if (fchown (newfd, st.st_uid, st.st_gid) != 0) { ; } in handle_file()
|
H A D | ar.c | 803 /* 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 D | unistd.h | 52 int fchown(int, uid_t, gid_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 50 int fchown(int, uid_t, gid_t);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 56 int fchown(int, uid_t, gid_t);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 52 int fchown(int, uid_t, gid_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 50 int fchown(int, uid_t, gid_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 56 int fchown(int, uid_t, gid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 50 int fchown(int, uid_t, gid_t);
|
/third_party/musl/include/ |
H A D | unistd.h | 66 int fchown(int, uid_t, gid_t);
|
/third_party/toybox/toys/pending/ |
H A D | crontab.c | 242 fchown(fdout, getuid(), geteuid()); in update_crontab()
|