[CRIU] [PATCH 1/2] userns: set uid and gid before entering into userns
Pavel Emelyanov
xemul at virtuozzo.com
Sat Feb 20 02:48:08 PST 2016
> +static uid_t host_uid(uid_t uid)
> +{
> + UsernsEntry *e = &userns_entry;
> + return host_id(uid, e->uid_map, e->n_uid_map);
> +}
> +
> +static gid_t host_gid(gid_t gid)
> +{
> + UsernsEntry *e = &userns_entry;
> + return host_id(gid, e->gid_map, e->n_gid_map);
> +}
> +
> uid_t userns_uid(uid_t uid)
In my sources this is in userns_uid(int uid); What other patches are in your backlog? :)
Applied
More information about the CRIU
mailing list