Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c37 F_SEAL_WRITE | \
900 F_SEAL_WRITE); in test_basic()
902 F_SEAL_WRITE); in test_basic()
906 F_SEAL_WRITE); in test_basic()
908 F_SEAL_WRITE); in test_basic()
914 F_SEAL_WRITE | in test_basic()
930 F_SEAL_WRITE); in test_basic()
949 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_seal_write()
950 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write()
1012 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_seal_write_map_read_shared()
[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()
/linux/mm/
H A Dmemfd.c190 F_SEAL_WRITE | \
249 if ((seals & F_SEAL_WRITE) && !(*file_seals & F_SEAL_WRITE)) { in memfd_add_seals()
265 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
H A Dshmem.c3113 F_SEAL_WRITE | F_SEAL_FUTURE_WRITE))) { in shmem_write_begin()
3114 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) in shmem_write_begin()
3501 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in shmem_fallocate()
/linux/tools/include/uapi/linux/
H A Dfcntl.h
/linux/include/uapi/linux/
H A Dfcntl.h49 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h49 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/linux/arch/um/os-Linux/skas/
H A Dprocess.c285 F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in init_stub_exe_fd()
/linux/drivers/dma-buf/
H A Dudmabuf.c300 #define SEALS_DENIED (F_SEAL_WRITE|F_SEAL_FUTURE_WRITE)
/linux/fs/hugetlbfs/
H A Dinode.c693 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in hugetlbfs_punch_hole()
/linux/include/linux/
H A Dmm.h4107 return seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE); in is_write_sealed()