Home
last modified time | relevance | path

Searched refs:F_SEAL_SEAL (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/tools/testing/selftests/memfd/
Dmemfd_test.c607 mfd_assert_add_seals(fd, F_SEAL_GROW | F_SEAL_SEAL); in test_basic()
611 F_SEAL_SEAL); in test_basic()
623 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
627 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
751 mfd_assert_add_seals(fd, F_SEAL_SEAL); in test_share_dup()
752 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
753 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
757 mfd_fail_add_seals(fd, F_SEAL_SEAL); in test_share_dup()
758 mfd_fail_add_seals(fd2, F_SEAL_SEAL); in test_share_dup()
824 mfd_fail_add_seals(fd, F_SEAL_SEAL); in test_share_open()
[all …]
/linux-4.1.27/include/uapi/linux/
Dfcntl.h39 #define F_SEAL_SEAL 0x0001 /* prevent further seals from being set */ macro
/linux-4.1.27/mm/
Dshmem.c1418 info->seals = F_SEAL_SEAL; in shmem_get_inode()
1941 #define F_ALL_SEALS (F_SEAL_SEAL | \
1991 if (info->seals & F_SEAL_SEAL) { in shmem_add_seals()
2964 info->seals &= ~F_SEAL_SEAL; in SYSCALL_DEFINE2()