Home
last modified time | relevance | path

Searched refs:F_SEAL_EXEC (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/selftests/memfd/
Dmemfd_test.c32 #define F_SEAL_EXEC 0x0020 macro
38 F_SEAL_EXEC)
1080 mfd_assert_add_seals(fd, F_SEAL_EXEC); in test_exec_seal()
1081 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_exec_seal()
1102 mfd_assert_add_seals(fd, F_SEAL_EXEC); in test_exec_seal()
1145 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_noexec_seal()
1154 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_noexec_seal()
1190 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl1()
1206 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl1()
1227 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl2()
[all …]
/linux-6.12.1/mm/
Dmemfd.c187 F_SEAL_EXEC | \
264 if (seals & F_SEAL_EXEC && inode->i_mode & 0111) in memfd_add_seals()
408 *file_seals |= F_SEAL_EXEC; in SYSCALL_DEFINE2()
Dshmem.c1196 if ((info->seals & F_SEAL_EXEC) && (attr->ia_valid & ATTR_MODE)) { in shmem_setattr()
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/
Dfcntl.h51 #define F_SEAL_EXEC 0x0020 /* prevent chmod modifying exec bits */ macro
/linux-6.12.1/include/uapi/linux/
Dfcntl.h51 #define F_SEAL_EXEC 0x0020 /* prevent chmod modifying exec bits */ macro
/linux-6.12.1/Documentation/userspace-api/
Dmfd_noexec.rst42 with NX. F_SEAL_EXEC is set and the memfd can't be modified to