nspawn: Fix volatile SELinux label
nspawn should associate the specified nspawn container apifs object label instead of the nspawn container process label with the volatile tmpfs
This commit is contained in:
parent
cc83684947
commit
8f1ed04ad6
|
@ -3262,7 +3262,7 @@ static int outer_child(
|
||||||
arg_userns_mode != USER_NAMESPACE_NO,
|
arg_userns_mode != USER_NAMESPACE_NO,
|
||||||
arg_uid_shift,
|
arg_uid_shift,
|
||||||
arg_uid_range,
|
arg_uid_range,
|
||||||
arg_selinux_context);
|
arg_selinux_apifs_context);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue