Home
last modified time | relevance | path

Searched refs:fchmod (Results 1 - 25 of 75) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dfchmod.c34 int result = fchmod(fd, in fchmod_0100()
54 int result = fchmod(fd, S_IRWXU | S_IRWXG | S_IRWXO); in fchmod_0200()
69 int result = fchmod(-1, S_IRWXU | S_IRWXG | S_IRWXO); in fchmod_0300()
/third_party/node/test/parallel/
H A Dtest-trace-events-fs-async.js63 function fchmod() { function
67 fs.fchmod(fd, 100, () => {
275 tests.fchmod = wrapper(fchmod);
H A Dtest-fs-chmod-mask.js46 const file = path.join(tmpdir.path, `fchmod-async-${suffix}.txt`);
49 fs.fchmod(fd, input, common.mustSucceed(() => {
H A Dtest-fs-chmod.js99 fs.fchmod(fd, mode_async.toString(8), common.mustSucceed(() => {
107 () => fs.fchmod(fd, {}),
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dpolyfills.js54 fs.fchmod = chmodFix(fs.fchmod)
177 fs.fchmod(fd, mode, function (err) {
/third_party/musl/src/stat/
H A Dfchmod.c6 int fchmod(int fd, mode_t mode) in fchmod() function
/third_party/ltp/testcases/kernel/syscalls/fchmod/
H A Dfchmod03.c9 * Verify that, fchmod(2) will succeed to change the mode of a file
19 #include "fchmod.h"
31 TST_EXP_PASS_SILENT(fchmod(fd, PERMS)); in verify_fchmod()
41 tst_res(TPASS, "Functionality of fchmod(%d, " in verify_fchmod()
H A Dfchmod04.c9 * Verify that, fchmod(2) will succeed to change the mode of a directory
20 #include "fchmod.h"
31 TST_EXP_PASS_SILENT(fchmod(fd, PERMS)); in verify_fchmod()
38 tst_res(TPASS, "Functionality of fchmod(%d, " in verify_fchmod()
H A Dfchmod01.c7 * fchmod() will succeed to change the mode permissions of a file specified
14 #include "fchmod.h"
28 TEST(fchmod(fd, mode)); in verify_fchmod()
30 tst_res(TFAIL | TTERRNO, "fchmod() failed unexpectly"); in verify_fchmod()
41 "Functionality of fchmod(%d, %#o) successful", in verify_fchmod()
H A Dfchmod02.c9 * Verify that, fchmod(2) will succeed to change the mode of a file/directory
23 #include "fchmod.h"
32 TEST(fchmod(fd, PERMS)); in verify_fchmod()
34 tst_res(TFAIL | TTERRNO, "fchmod() failed unexpectly"); in verify_fchmod()
43 tst_res(TPASS, "Functionality of fchmod(%d, %#o) Successful", in verify_fchmod()
H A Dfchmod05.c7 * Verify that, fchmod(2) will succeed to change the mode of a directory
15 * fchmod() should return value 0 on success and though succeeds to change
24 #include "fchmod.h"
35 TEST(fchmod(fd, PERMS_DIR)); in verify_fchmod()
37 tst_res(TFAIL | TTERRNO, "fchmod() failed unexpectly"); in verify_fchmod()
46 tst_res(TPASS, "Functionality of fchmod(%d, %#o) successful", in verify_fchmod()
H A Dfchmod06.c8 * Test that fchmod() fails and sets the proper errno values.
39 TEST(fchmod(*tc->fd, tc->mode)); in verify_fchmod()
42 tst_res(TFAIL, "fchmod() passed unexpectedly (%li)", in verify_fchmod()
48 tst_res(TPASS | TTERRNO, "fchmod() failed expectedly"); in verify_fchmod()
53 "fchmod() failed unexpectedly, expected %i - %s", in verify_fchmod()
/third_party/rust/crates/rustix/src/fs/
H A Dfd.rs113 /// `fchmod(fd)`—Sets open file or directory permissions.
122 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fchmod.html
123 /// [Linux]: https://man7.org/linux/man-pages/man2/fchmod.2.html
126 pub fn fchmod<Fd: AsFd>(fd: Fd, mode: Mode) -> io::Result<()> { in fchmod() functions
127 backend::fs::syscalls::fchmod(fd.as_fd(), mode) in fchmod()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen13.c22 * not opened, the operations read(2), write(2), fchmod(2), fchown(2)
123 TEST(fchmod(fd, 0666)); in verify_fchmod()
124 check_result("fchmod(2)"); in verify_fchmod()
/third_party/pcre2/pcre2/src/sljit/
H A DsljitProtExecAllocator.c120 fchmod(fd, 0); in create_tempfile()
174 fchmod(fd, 0); in create_tempfile()
/third_party/node/lib/internal/fs/
H A Dpromises.js153 return fsCall(fchmod, this, mode);
902 async function fchmod(handle, mode) {
904 return binding.fchmod(handle.fd, mode, kUsePromises);
918 return handleFdClose(fchmod(fd, mode), fd.close);
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs39 use nix::sys::stat::{fchmod, stat};
158 fchmod(file.as_raw_fd(), mode1).unwrap(); in test_fchmod()
165 fchmod(file.as_raw_fd(), mode2).unwrap(); in test_fchmod()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h78 int fchmod(int, mode_t);
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h78 int fchmod(int, mode_t);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h78 int fchmod(int, mode_t);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h78 int fchmod(int, mode_t);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h78 int fchmod(int, mode_t);
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap03.c188 if (fchmod(fildes, 0555) < 0) { in setup()
189 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE); in setup()
H A Dmmap04.c159 if (fchmod(fildes, 0555) < 0) { in setup()
160 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE); in setup()
/third_party/musl/libc-test/src/api/
H A Dsys_stat.c87 {int(*p)(int,mode_t) = fchmod;} in f()

Completed in 8 milliseconds

123