shm implemented as memfd syscall
cheliequan
2022-12-27 54951dfb930bea890aef14be02236f81b3a19f2e
1
2
3
4
5
6
7
8
9
cmake_minimum_required(VERSION 3.9)
 
file(GLOB SOURCES *.c)
 
include_directories(../include)
 
# add library
add_library(memfd SHARED memfd.c list_in_shm.c shmht.c)
target_link_libraries(memfd PRIVATE pthread)