mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
Add close_safe helper
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
@@ -148,6 +148,7 @@ void printk_vma(struct vma_area *vma_area);
|
||||
|
||||
int reopen_fd_as(int new_fd, int old_fd);
|
||||
int parse_maps(pid_t pid, struct list_head *vma_list);
|
||||
int close_safe(int *fd);
|
||||
|
||||
#define __xalloc(op, size, ...) \
|
||||
({ \
|
||||
|
Reference in New Issue
Block a user