Searched refs:F_SEAL_SHRINK (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create01.c | 36 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 37 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 40 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 41 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 45 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_GROW | in test_basic() 61 F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE); in test_no_sealing_without_flag() 89 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK); in test_seal_shrink() 90 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK); in test_seal_shrink() 123 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 124 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() [all …]
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 664 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 666 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 670 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 672 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 677 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 693 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic() 773 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 774 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 833 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 834 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() [all …]
|
/external/strace/xlat/ |
D | f_seals.h | 5 #if !(defined(F_SEAL_SHRINK) || (defined(HAVE_DECL_F_SEAL_SHRINK) && HAVE_DECL_F_SEAL_SHRINK)) 6 # define F_SEAL_SHRINK 2 macro 24 XLAT(F_SEAL_SHRINK),
|
D | f_seals.in | 2 F_SEAL_SHRINK 2
|
/external/ltp/include/lapi/ |
D | fcntl.h | 68 #ifndef F_SEAL_SHRINK 69 # define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | fcntl.h | 41 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/external/perfetto/src/tracing/ipc/ |
D | posix_shared_memory.cc | 64 res = fcntl(*fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in Create()
|