]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: Fix volatile SELinux label
authorDominick Grift <dac.override@gmail.com>
Fri, 12 Apr 2019 18:15:35 +0000 (20:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 Apr 2019 10:03:02 +0000 (12:03 +0200)
nspawn should associate the specified nspawn container apifs object label instead of the nspawn container process label with the volatile tmpfs

src/nspawn/nspawn.c

index e05fa3dbf2e2b11ae3692e21dbed9d7d9a61e822..0f64aa68f3285492c4d3e82622f31470ebfbd0b0 100644 (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;