mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-24 10:38:06 +00:00
This is also a code move plus two changes: * shmems renamed to dump_shmems * shmem area size is shared with restorer (it's one page for both for now) Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
16 lines
400 B
C
16 lines
400 B
C
#ifndef __CR_SHMEM_H__
|
|
#define __CR_SHMEM_H__
|
|
int prepare_shmem_pid(int pid);
|
|
int prepare_shmem_restore(void);
|
|
void show_saved_shmems(void);
|
|
struct vma_entry;
|
|
int get_shmem_fd(int pid, struct vma_entry *vi);
|
|
|
|
struct shmems;
|
|
extern struct shmems *rst_shmems;
|
|
|
|
int cr_dump_shmem(void);
|
|
int add_shmem_area(pid_t pid, struct vma_entry *vma);
|
|
int init_shmem_dump(void);
|
|
void fini_shmem_dump(void);
|
|
#endif
|