Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/memfd/
H A 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/mm/
H A 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()
H A Dshmem.c1196 if ((info->seals & F_SEAL_EXEC) && (attr->ia_valid & ATTR_MODE)) { in shmem_setattr()
/linux/tools/include/uapi/linux/
H A Dfcntl.h
/linux/include/uapi/linux/
H A Dfcntl.h51 #define F_SEAL_EXEC 0x0020 /* prevent chmod modifying exec bits */ macro