shm implemented as memfd syscall
cheliequan
2022-12-04 14278bd98326f0afdd86fe4ec24e747b0e0b712a
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)
target_link_libraries(memfd PRIVATE pthread)