platform_external_selinux/policycoreutils/sandbox
Petr Lautrbach 964bf69a65 sandbox: fix file labels on copied files
Since python 3.3, shutil.copy2() tries to preserve extended file
system attributes. It means that when a user uses -i or -I, copied files
have the original labels and sandboxed process can't read them.

With this change, homedir and tmpdir is recursively relabeled with the
expected sandbox labels after all items are in their place.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1294020

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
2016-09-15 13:47:25 -04:00
..
.gitignore Repo: update .gitignore 2011-08-02 13:31:51 -04:00
Makefile Use $(PYTHON) instead of "python" in every Makefile 2014-10-02 09:56:49 -04:00
sandbox sandbox: fix file labels on copied files 2016-09-15 13:47:25 -04:00
sandbox.5 policycoreutils: sandbox: move sandbox.conf.5 to just sandbox.5 2011-12-05 16:10:35 -05:00
sandbox.8 Update sandbox types in sandbox manual to match actual usage as I understand it (based on Fedora 23) 2016-06-17 18:24:35 +01:00
sandbox.conf policycoreutils: sandbox: Removing sandbox init script, should no longer be necessary 2012-03-28 08:39:08 -04:00
sandbox.config Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00
sandbox.init policycoreutils: sandbox: Add back in . functions to sandbox.init script 2011-12-21 12:25:28 -05:00
sandboxX.sh Xephry now supports resizable flag 2013-10-24 13:58:39 -04:00
seunshare.8 Fix multiple spelling errors 2016-05-02 08:45:45 -04:00
seunshare.c Fix gcc -Wstrict-prototypes warnings 2014-10-02 09:56:38 -04:00
start policycoreutils: Don't use subprocess.getstatusoutput() in Python 2 code 2016-08-09 15:55:02 -04:00
test_sandbox.py sandbox: fix file labels on copied files 2016-09-15 13:47:25 -04:00