Home
last modified time | relevance | path

Searched refs:MFD_ALLOW_SEALING (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c851 mfd_fail_new("", ~MFD_ALLOW_SEALING); in test_create()
863 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING); in test_create()
867 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create()
883 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
935 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
962 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write()
1001 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
1027 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
1053 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
1081 MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_EXEC); in test_exec_seal()
[all …]
H A Dfuse_test.c271 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/openbmc/qemu/include/qemu/
H A Dmemfd.h23 #ifndef MFD_ALLOW_SEALING
24 #define MFD_ALLOW_SEALING 0x0002U macro
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/kexec-tools/
H A D0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch39 - fd = memfd_create("kernel", MFD_ALLOW_SEALING);
40 + fd = memfd_create("kernel", MFD_ALLOW_SEALING | MFD_NOEXEC_SEAL);
/openbmc/linux/include/uapi/linux/
H A Dmemfd.h9 #define MFD_ALLOW_SEALING 0x0002U macro
/openbmc/qemu/linux-headers/linux/
H A Dmemfd.h9 #define MFD_ALLOW_SEALING 0x0002U macro
/openbmc/linux/mm/
H A Dmemfd.c269 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB | MFD_NOEXEC_SEAL | MFD_EXEC)
380 } else if (flags & MFD_ALLOW_SEALING) { in SYSCALL_DEFINE2()
/openbmc/linux/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c40 memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING); in main()
/openbmc/qemu/util/
H A Dmemfd.c67 flags |= MFD_ALLOW_SEALING; in qemu_memfd_create()
/openbmc/qemu/backends/
H A Dhostmem-memfd.c166 if (qemu_memfd_check(MFD_ALLOW_SEALING)) { in register_types()
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvugbm.c64 buf->memfd = memfd_create("udmabuf-bo", MFD_ALLOW_SEALING); in udmabuf_alloc_bo()
/openbmc/qemu/tests/qtest/
H A Dvhost-user-test.c228 memfd = qemu_memfd_check(MFD_ALLOW_SEALING) ? TEST_MEMFD_YES in append_mem_opts()
1110 if (qemu_memfd_check(MFD_ALLOW_SEALING)) { in register_vhost_user_test()
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c1677 #ifndef MFD_ALLOW_SEALING in vu_get_protocol_features_exec()
1878 #ifdef MFD_ALLOW_SEALING
1885 *fd = memfd_create(name, MFD_ALLOW_SEALING); in memfd_alloc()
1934 #ifdef MFD_ALLOW_SEALING in vu_get_inflight_fd()
/openbmc/qemu/
H A Dmeson.build2754 int main(void) { return memfd_create("foo", MFD_ALLOW_SEALING); }'''))