shm implemented as memfd syscall
cheliequan
2022-12-08 7e877be8fb34ab99421a2eaf3d8fb1b96ed95206
sample/CMakeLists.txt
@@ -7,6 +7,7 @@
add_executable(sample_create sample_create.c)
add_executable(sample_open sample_open.c)
add_executable(test_list_in_shm test_list_in_shm.c)
add_executable(shmht_mytests shmht_mytests.c)
target_link_libraries(sample_create
                 PRIVATE 
@@ -23,3 +24,9 @@
            pthread
           )
target_link_libraries(shmht_mytests
                 PRIVATE
                 memfd
            pthread
           )