Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: copy map_file before tokenizing in uidgidmap_helper
libcrun_set_usernamespace passes uid_map/gid_map to uidgidmap_helper which tokenizes it to pass as process args. But if the helper isn't available, the fallback (when host_uid != 0) reuses this tokenized string and tries writing it to /proc/pid/gid_map which fails with EINVAL Signed-off-by: Andrew Consroe <[email protected]>
- Loading branch information