/usr/include/compel/plugins/shmem.h is in criu 3.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #ifndef __COMPEL_PLUGIN_SHMEM_H__
#define __COMPEL_PLUGIN_SHMEM_H__
/*
* Creates local shmem mapping and announces it
* to the peer. Peer can later "receive" one. The
* local area should be munmap()-ed at the end.
*/
extern void *shmem_create(unsigned long size);
/*
* "Receives" shmem from peer and maps it. The
* locally mapped area should be munmap()-ed at
* the end
*/
extern void *shmem_receive(unsigned long *size);
#endif /* __COMPEL_PLUGIN_SHMEM_H__ */
|