[PATCH 46/84] policycoreutils: sandbox: Copy /var/tmp to /tmp as they

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD+pzcACgkQrlYvE4MpobPqtgCfY/B8gfpuiK81DHvjXITtCmJl
bHsAnRJLmk2axXAFitCjr9P1qnBk70hF
=0SX6
-----END PGP SIGNATURE-----
>From 61d0aa34d92dd46bc033a13de2327363afdd1937 Mon Sep 17 00:00:00 2001
From: rhatdan <dwalsh@xxxxxxxxxx>
Date: Tue, 16 Oct 2012 18:42:09 -0400
Subject: [PATCH 46/84] policycoreutils: sandbox: Copy /var/tmp to /tmp as they
 are the same inside

Since /tmp and /var/tmp get mounted over each other in sandbox we should
take the data from both.

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 policycoreutils/sandbox/sandbox | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policycoreutils/sandbox/sandbox b/policycoreutils/sandbox/sandbox
index 4546014..6760bc1 100644
--- a/policycoreutils/sandbox/sandbox
+++ b/policycoreutils/sandbox/sandbox
@@ -241,6 +241,7 @@ class Sandbox:
            for f in files:
                   copyfile(f, homedir, self.__homedir)
                   copyfile(f, "/tmp", self.__tmpdir)
+                  copyfile(f, "/var/tmp", self.__tmpdir)
 
     def __setup_sandboxrc(self, wm = "/usr/bin/matchbox-window-manager -use_titlebar no"):
            execfile =self.__homedir + "/.sandboxrc"
-- 
1.8.1


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux