Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create01.c26 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic()
27 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic()
30 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic()
31 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic()
36 F_SEAL_WRITE | F_SEAL_SEAL); in test_basic()
51 F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE); in test_no_sealing_without_flag()
62 CHECK_MFD_ADD_SEALS(fd, F_SEAL_WRITE); in test_seal_write()
63 CHECK_MFD_HAS_SEALS(fd, F_SEAL_WRITE); in test_seal_write()
136 CHECK_MFD_ADD_SEALS(fd, F_SEAL_WRITE); in test_share_dup()
137 CHECK_MFD_HAS_SEALS(fd, F_SEAL_WRITE); in test_share_dup()
[all …]
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c703 F_SEAL_WRITE); in test_basic()
705 F_SEAL_WRITE); in test_basic()
709 F_SEAL_WRITE); in test_basic()
711 F_SEAL_WRITE); in test_basic()
717 F_SEAL_WRITE | in test_basic()
733 F_SEAL_WRITE); in test_basic()
752 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_seal_write()
753 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write()
900 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_share_dup()
901 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_dup()
[all …]
Dfuse_test.c185 r = mfd_busy_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
193 mfd_assert_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
297 was_sealed = mfd_assert_get_seals(mfd) & F_SEAL_WRITE; in main()
302 mfd_assert_has_seals(mfd, F_SEAL_WRITE); in main()
/external/strace/xlat/
Df_seals.h27 #if defined(F_SEAL_WRITE) || (defined(HAVE_DECL_F_SEAL_WRITE) && HAVE_DECL_F_SEAL_WRITE)
29 static_assert((F_SEAL_WRITE) == (8), "F_SEAL_WRITE != 8");
32 # define F_SEAL_WRITE 8
48 XLAT(F_SEAL_WRITE),
Df_seals.in4 F_SEAL_WRITE 8
/external/ltp/include/lapi/
Dfcntl.h74 #ifndef F_SEAL_WRITE
75 # define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/external/crosvm/sys_util/src/
Dshm.rs13 F_SEAL_WRITE, MFD_ALLOW_SEALING,
80 self.0 & F_SEAL_WRITE != 0 in write_seal()
86 self.0 |= F_SEAL_WRITE; in set_write_seal()
/external/perfetto/src/tracing/ipc/
Dmemfd.h40 #define F_SEAL_WRITE 0x0008 macro
/external/virglrenderer/vtest/
Dvtest_shm.h15 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/external/kernel-headers/original/uapi/linux/
Dfcntl.h44 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
Dmod.rs198 pub const F_SEAL_WRITE: ::c_int = 0x0008; constant
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/
Dmod.rs198 pub const F_SEAL_WRITE: ::c_int = 0x0008; constant
/external/python/cpython3/Modules/
Dfcntlmodule.c660 if (PyModule_AddIntMacro(m, F_SEAL_WRITE)) return -1; in all_ins()
/external/rust/crates/nix/src/
Dfcntl.rs311 F_SEAL_WRITE;
/external/rust/crates/libc/src/unix/linux_like/
Dmod.rs475 pub const F_SEAL_WRITE: ::c_int = 0x0008; constant
/external/rust/crates/libc/src/fuchsia/
Dmod.rs1424 pub const F_SEAL_WRITE: ::c_int = 0x0008; constant