Home
last modified time | relevance | path

Searched refs:fchown (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
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()
Dtest_src_functionalext_supplement_unistd.gni52 "fchown",
/third_party/node/test/parallel/
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);
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/node/typings/internalBinding/
Dfs.d.ts80 function fchown(fd: number, uid: number, gid: number, req: FSReqCallback): void;
81 function fchown(fd: number, uid: number, gid: number, req: undefined, ctx: FSSyncContext): void;
82 …function fchown(fd: number, uid: number, gid: number, usePromises: typeof kUsePromises): Promise<v…
242 fchown: typeof InternalFSBinding.fchown;
/third_party/musl/src/unistd/
Dfchown.c6 int fchown(int fd, uid_t uid, gid_t gid) in fchown() function
/third_party/rust/crates/rustix/src/fs/
Dfd.rs140 pub fn fchown<Fd: AsFd>(fd: Fd, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown() function
141 backend::fs::syscalls::fchown(fd.as_fd(), owner, group) in fchown()
/third_party/toybox/toys/posix/
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/open/
Dopen13.c134 TEST(fchown(fd, 1000, 1000)); in verify_fchown()
/third_party/node/deps/npm/node_modules/graceful-fs/
Dpolyfills.js50 fs.fchown = chownFix(fs.fchown)
/third_party/ltp/testcases/kernel/syscalls/utils/
Dcompat_tst_16.h143 TST_CREATE_SYSCALL(fchown, fd, owner, group); in FCHOWN()
Dcompat_16.h156 LTP_CREATE_SYSCALL(fchown, cleanup, fd, owner, group); in FCHOWN()
/third_party/toybox/toys/other/
Dlogin.c119 if (fchown(tty, pwd->pw_uid, pwd->pw_gid) || fchmod(tty, 0600)) in login_main()
/third_party/ltp/include/lapi/syscalls/
Daarch64.in56 fchown 55
Darc.in56 fchown 55
Dmips_n32.in92 fchown 6091
Dmips_n64.in92 fchown 5091
Dsparc64.in108 fchown 123
Dia64.in77 fchown 1100
Ds390x.in157 fchown 207
Dx86_64.in94 fchown 93
Dsh.in86 fchown 95
/third_party/elfutils/src/
Dranlib.c264 if (fchown (newfd, st.st_uid, st.st_gid) != 0) { ; } in handle_file()
/third_party/rust/crates/nix/test/
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/node/lib/internal/fs/
Dpromises.js158 return fsCall(fchown, this, uid, gid);
934 async function fchown(handle, uid, gid) { function
937 return binding.fchown(handle.fd, uid, gid, kUsePromises);

1234