/external/strace/ |
chmod.c | 26 SYS_FUNC(fchmod)
|
/bionic/libc/bionic/ |
fchmod.cpp | 40 int fchmod(int fd, mode_t mode) { function 48 // may not directly support fchmod() on such a file descriptor. 52 // As of February 2015, there are no kernels which support fchmod 53 // on an O_PATH file descriptor, and "man open" documents fchmod
|
fchmodat.cpp | 59 // fchmod() function to get errno correct. 60 int result = fchmod(fd, mode);
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
fchmod01.c | 58 * 1.) fchmod(2) returns...(See Description) 86 * This is a Phase I test for the fchmod(2) system call. It is intended 89 * fchmod(2). 138 TEST(fchmod(fd, 0700)); 142 "fchmod(%s, 0700) failed", fname); 144 tst_resm(TPASS, "fchmod(%s, 0700) returned %ld",
|
fchmod03.c | 24 * Verify that, fchmod(2) will succeed to change the mode of a file 32 * fchmod() should return value 0 on success and succeeds to change 113 TEST(fchmod(fd, PERMS)); 116 tst_resm(TFAIL | TTERRNO, "fchmod failed"); 133 tst_resm(TPASS, "Functionality of fchmod(%d, "
|
fchmod04.c | 24 * Verify that, fchmod(2) will succeed to change the mode of a directory 32 * fchmod() should return value 0 on success and succeeds to set sticky bit 117 * Call fchmod(2) with mode argument to 120 TEST(fchmod(fd, PERMS)); 123 tst_resm(TFAIL | TTERRNO, "fchmod failed"); 132 tst_resm(TPASS, "Functionality of fchmod(%d, "
|
fchmod07.c | 24 * Verify that, fchmod(2) succeeds when used to change the mode permissions 28 * fchmod(2) should return 0 and the mode permissions set on file should match 112 * Call fchmod(2) with different mode permission 115 TEST(fchmod(fd, mode)); 118 tst_resm(TFAIL, "fchmod(%d, %#o) Failed, " 142 "fchmod(%d, %#o) successful",
|
fchmod02.c | 24 * Verify that, fchmod(2) will succeed to change the mode of a file/directory 32 * fchmod() should return value 0 on success and succeeds to set sticky bit 120 * Call fchmod(2) with specified mode argument 123 TEST(fchmod(fd, PERMS)); 126 tst_resm(TFAIL, "fchmod(%d, %#o) Failed, errno=%d : %s", 142 tst_resm(TPASS, "Functionality of fchmod(%d, "
|
fchmod05.c | 24 * Verify that, fchmod(2) will succeed to change the mode of a directory 32 * fchmod() should return value 0 on success and though succeeds to change 118 * Call fchmod(2) with mode argument 122 TEST(fchmod(fd, PERMS)); 125 tst_resm(TFAIL, "fchmod(%d, %#o) Failed, errno=%d : %s", 144 tst_resm(TPASS, "Functionality of fchmod(%d, "
|
fchmod06.c | 22 * Test that fchmod() fails and sets the proper errno values. 84 TEST(fchmod(*test_cases[i].fd, test_cases[i].mode)); 89 "fchmod: test %s success", 93 "fchmod: test %s FAILED with " 100 "fchmod: test %s success unexpectly",
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap04.c | 159 if (fchmod(fildes, 0555) < 0) { 160 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE);
|
mmap02.c | 157 if (fchmod(fildes, 0444) < 0) { 158 tst_brkm(TFAIL | TERRNO, cleanup, "fchmod(%s, 0444) failed",
|
mmap03.c | 188 if (fchmod(fildes, 0555) < 0) { 189 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE);
|
mmap05.c | 165 if (fchmod(fildes, 0444) < 0) { 166 tst_brkm(TFAIL | TERRNO, cleanup, "fchmod of %s failed",
|
/external/ltp/testcases/kernel/syscalls/open/ |
open13.c | 22 * not opened, the operations read(2), write(2), fchmod(2), fchown(2) 128 TEST(fchmod(fd, 0666)); 129 check_result("fchmod(2)");
|
/external/libbrillo/brillo/ |
file_utils.cc | 150 HANDLE_EINTR(fchmod(scoped_fd.get(), new_file_permissions)) == -1) {
|
/external/libvncserver/common/ |
vncauth.c | 83 fchmod(fileno(fp), S_IRUSR|S_IWUSR);
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ |
ext4_test_inode_version.c | 54 if (fchmod(fd, S_IRUSR | S_IWUSR)) { 55 fprintf(stderr, "fchmod failed\n");
|
/external/ltp/testcases/kernel/syscalls/chown/ |
chown02.c | 266 if (fchmod(fd, NEW_PERMS2) != 0) 267 tst_brkm(TBROK | TERRNO, cleanup, "fchmod failed");
|
/frameworks/base/cmds/bootanimation/iot/ |
BootParameters.cpp | 66 if (fchmod(fd, DEFFILEMODE))
|
/external/syslinux/libinstaller/ |
syslxcom.c | 143 fchmod(fd, st.st_mode | S_IWUSR); 152 fchmod(fd, st.st_mode & (S_IRUSR | S_IRGRP | S_IROTH));
|
/bionic/libc/include/sys/ |
stat.h | 155 int fchmod(int __fd, mode_t __mode);
|
/bionic/tests/headers/posix/ |
sys_stat_h.c | 140 FUNCTION(fchmod, int (*f)(int, mode_t));
|
/external/e2fsprogs/lib/blkid/ |
save.c | 110 fchmod(fd, 0644);
|
/external/elfutils/libelf/ |
elf_update.c | 135 /* fchmod ignores the bits we cannot change. */ 136 && unlikely (fchmod (elf->fildes, st.st_mode) != 0))
|