mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
usernsd: also pass pid of process that made the req
We'll use this in the next patch to correctly write sysctls. Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
72ff44d0dc
commit
85ebf0a83b
5 changed files with 67 additions and 23 deletions
|
|
@ -80,7 +80,7 @@ extern int userns_gid(int gid);
|
|||
extern int dump_user_ns(pid_t pid, int ns_id);
|
||||
extern void free_userns_maps(void);
|
||||
|
||||
typedef int (*uns_call_t)(void *arg, int fd);
|
||||
typedef int (*uns_call_t)(void *arg, int fd, pid_t pid);
|
||||
/*
|
||||
* Async call -- The call is guaranteed to be done till the
|
||||
* CR_STATE_COMPLETE happens. The function may return even
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue