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:
Dominick Grift
2019-04-13 12:03:02 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent cc83684947
commit 8f1ed04ad6
+1 -1
View File
@@ -3262,7 +3262,7 @@ static int outer_child(
arg_userns_mode != USER_NAMESPACE_NO,
arg_uid_shift,
arg_uid_range,
arg_selinux_context);
arg_selinux_apifs_context);
if (r < 0)
return r;