Home
last modified time | relevance | path

Searched refs:F_SEAL_WRITE (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c36 F_SEAL_WRITE | \
887 F_SEAL_WRITE); in test_basic()
889 F_SEAL_WRITE); in test_basic()
893 F_SEAL_WRITE); in test_basic()
895 F_SEAL_WRITE); in test_basic()
901 F_SEAL_WRITE | in test_basic()
917 F_SEAL_WRITE); in test_basic()
936 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_seal_write()
1480 mfd_fail_add_seals(fd, F_SEAL_WRITE); in test_share_mmap()
1559 mfd_fail_add_seals(fd, F_SEAL_WRITE); in test_share_fork()
[all …]
H A Dfuse_test.c186 r = mfd_busy_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
194 mfd_assert_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
298 was_sealed = mfd_assert_get_seals(mfd) & F_SEAL_WRITE; in main()
303 mfd_assert_has_seals(mfd, F_SEAL_WRITE); in main()
/openbmc/linux/mm/
H A Dmemfd.c154 F_SEAL_WRITE | \
213 if ((seals & F_SEAL_WRITE) && !(*file_seals & F_SEAL_WRITE)) { in memfd_add_seals()
229 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
H A Dshmem.c2692 F_SEAL_WRITE | F_SEAL_FUTURE_WRITE))) { in shmem_write_begin()
2693 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) in shmem_write_begin()
3059 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in shmem_fallocate()
/openbmc/qemu/include/qemu/
H A Dmemfd.h16 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/openbmc/linux/tools/include/uapi/linux/
H A Dfcntl.h44 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/openbmc/linux/include/uapi/linux/
H A Dfcntl.h44 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c195 #define SEALS_DENIED (F_SEAL_WRITE)
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c787 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in hugetlbfs_punch_hole()