Searched refs:MFD_ALLOW_SEALING (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 851 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 D | fuse_test.c | 271 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
/openbmc/qemu/include/qemu/ |
H A D | memfd.h | 23 #ifndef MFD_ALLOW_SEALING 24 #define MFD_ALLOW_SEALING 0x0002U macro
|
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/kexec-tools/ |
H A D | 0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch | 39 - 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 D | memfd.h | 9 #define MFD_ALLOW_SEALING 0x0002U macro
|
/openbmc/qemu/linux-headers/linux/ |
H A D | memfd.h | 9 #define MFD_ALLOW_SEALING 0x0002U macro
|
/openbmc/linux/mm/ |
H A D | memfd.c | 269 #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 D | udmabuf.c | 40 memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING); in main()
|
/openbmc/qemu/util/ |
H A D | memfd.c | 67 flags |= MFD_ALLOW_SEALING; in qemu_memfd_create()
|
/openbmc/qemu/backends/ |
H A D | hostmem-memfd.c | 166 if (qemu_memfd_check(MFD_ALLOW_SEALING)) { in register_types()
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vugbm.c | 64 buf->memfd = memfd_create("udmabuf-bo", MFD_ALLOW_SEALING); in udmabuf_alloc_bo()
|
/openbmc/qemu/tests/qtest/ |
H A D | vhost-user-test.c | 228 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 D | libvhost-user.c | 1677 #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 D | meson.build | 2754 int main(void) { return memfd_create("foo", MFD_ALLOW_SEALING); }'''))
|