/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | fchmod.c | 34 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 D | test-trace-events-fs-async.js | 63 function fchmod() { function 67 fs.fchmod(fd, 100, () => { 275 tests.fchmod = wrapper(fchmod);
|
H A D | test-fs-chmod-mask.js | 46 const file = path.join(tmpdir.path, `fchmod-async-${suffix}.txt`); 49 fs.fchmod(fd, input, common.mustSucceed(() => {
|
H A D | test-fs-chmod.js | 99 fs.fchmod(fd, mode_async.toString(8), common.mustSucceed(() => { 107 () => fs.fchmod(fd, {}),
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
H A D | polyfills.js | 54 fs.fchmod = chmodFix(fs.fchmod) 177 fs.fchmod(fd, mode, function (err) {
|
/third_party/musl/src/stat/ |
H A D | fchmod.c | 6 int fchmod(int fd, mode_t mode) in fchmod() function
|
/third_party/ltp/testcases/kernel/syscalls/fchmod/ |
H A D | fchmod03.c | 9 * 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 D | fchmod04.c | 9 * 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 D | fchmod01.c | 7 * 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 D | fchmod02.c | 9 * 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 D | fchmod05.c | 7 * 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 D | fchmod06.c | 8 * 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 D | fd.rs | 113 /// `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 D | open13.c | 22 * 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 D | sljitProtExecAllocator.c | 120 fchmod(fd, 0); in create_tempfile() 174 fchmod(fd, 0); in create_tempfile()
|
/third_party/node/lib/internal/fs/ |
H A D | promises.js | 153 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 D | test_stat.rs | 39 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 D | stat.h | 78 int fchmod(int, mode_t);
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | stat.h | 78 int fchmod(int, mode_t);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | stat.h | 78 int fchmod(int, mode_t);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | stat.h | 78 int fchmod(int, mode_t);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | stat.h | 78 int fchmod(int, mode_t);
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap03.c | 188 if (fchmod(fildes, 0555) < 0) { in setup() 189 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE); in setup()
|
H A D | mmap04.c | 159 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 D | sys_stat.c | 87 {int(*p)(int,mode_t) = fchmod;} in f()
|