Home
last modified time | relevance | path

Searched refs:fchmod (Results 1 – 24 of 24) sorted by relevance

/linux/tools/perf/util/
H A Dcopyfile.c106 if (!err && fchmod(tofd, mode)) in copyfile_mode_ns()
111 if (fchmod(tofd, mode)) in copyfile_mode_ns()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_setattr_test.c56 ASSERT_LT(fchmod(self->child_pidfd, 0777), 0); in TEST_F()
/linux/tools/testing/selftests/filesystems/
H A Danon_inode_test.c32 ASSERT_LT(fchmod(fd_context, 0777), 0); in TEST()
/linux/tools/testing/selftests/exec/
H A Dcheck-exec.c157 ASSERT_EQ(0, fchmod(self->memfd, variant->file_exec ? 0700 : 0600)); in FIXTURE_SETUP()
166 ASSERT_EQ(0, fchmod(self->pipefd, variant->file_exec ? 0700 : 0600)); in FIXTURE_SETUP()
/linux/tools/testing/selftests/filesystems/mount_cycle/
H A Dmount_cover_test.c415 EXPECT_EQ(fchmod(self->fd, 0777), -1); in TEST_F()
531 EXPECT_EQ(fchmod(fd, 0600), -1); in TEST_F()
/linux/tools/objtool/
H A Dbuiltin-check.c237 if (fchmod(dst_fd, stat.st_mode) == -1) { in save_argv()
238 ERROR_GLIBC("fchmod"); in save_argv()
/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c753 if (fchmod(fd, mode) < 0) { in mfd_assert_chmod()
754 printf("fchmod(%s, 0%04o) failed: %m\n", buf, mode); in mfd_assert_chmod()
773 if (fchmod(fd, mode) == 0) { in mfd_fail_chmod()
774 printf("fchmod(%s, 0%04o) didn't fail as expected\n", in mfd_fail_chmod()
/linux/arch/um/os-Linux/
H A Dfile.c113 CATCH_EINTR(err = fchmod(fd, mode)); in os_mode_fd()
/linux/arch/um/os-Linux/skas/
H A Dprocess.c408 if (fchmod(stub_exe_fd, 00500) < 0) { in init_stub_exe_fd()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl99 89 n64 fchmod sys_fchmod
/linux/scripts/
H A Dsyscall.tbl70 52 common fchmod sys_fchmod
H A Dunifdef.c352 fchmod(ofd, ist.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)); in main()
/linux/tools/scripts/
H A Dsyscall.tbl70 52 common fchmod sys_fchmod
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl74 94 common fchmod sys_fchmod
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl104 94 common fchmod sys_fchmod
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl63 52 common fchmod sys_fchmod
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl103 91 common fchmod sys_fchmod
H A Dsyscall_32.tbl109 94 i386 fchmod sys_fchmod
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl157 124 common fchmod sys_fchmod
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl110 94 common fchmod sys_fchmod
/linux/arch/microblaze/kernel/syscalls/
H A Dsyscall.tbl104 94 common fchmod sys_fchmod
/linux/Documentation/filesystems/spufs/
H A Dspufs.rst55 All files support the chmod(2)/fchmod(2) and chown(2)/fchown(2) opera-
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl131 94 common fchmod sys_fchmod
/linux/fs/
H A Dopen.c706 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument