platform_external_selinux/sandbox
Petr Lautrbach 0fb988c86b sandbox: Do not try to remove tmpdir twice if uid == 0
If the user is root, tmpdir is already wiped out.

Fixes:
    # sandbox -T /root/tmp -- id
    uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:sandbox_t:s0:c696,c756
    Failed to remove directory /tmp/.sandbox-root-KIlB59: No such file or directory

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-11-09 07:48:48 -05:00
..
po Update translations 2022-10-05 08:13:26 -04:00
ru Add man pages translation by Olesya Gerasimenko 2019-01-28 12:03:57 +01:00
.gitignore Move policycoreutils/sandbox to sandbox. 2016-11-16 11:19:50 -05:00
LICENSE docs: provide a top level LICENSE file 2022-10-05 08:20:38 -04:00
Makefile Split po/ translation files into the relevant sub-directories 2022-04-06 10:52:41 +02:00
sandbox python: remove IOError in certain cases 2022-07-19 11:10:08 +02:00
sandbox.5 Move policycoreutils/sandbox to sandbox. 2016-11-16 11:19:50 -05:00
sandbox.8 Move policycoreutils/sandbox to sandbox. 2016-11-16 11:19:50 -05:00
sandbox.conf Move policycoreutils/sandbox to sandbox. 2016-11-16 11:19:50 -05:00
sandbox.config Move policycoreutils/sandbox to sandbox. 2016-11-16 11:19:50 -05:00
sandbox.init Move policycoreutils/sandbox to sandbox. 2016-11-16 11:19:50 -05:00
sandboxX.sh Move policycoreutils/sandbox to sandbox. 2016-11-16 11:19:50 -05:00
seunshare.8 Fix minor typos 2018-06-30 20:28:25 +02:00
seunshare.c sandbox: Do not try to remove tmpdir twice if uid == 0 2022-11-09 07:48:48 -05:00
start Always use /usr/bin/python3 in Python scripts 2019-02-20 16:43:27 +01:00
test_sandbox.py sandbox: make test not fail on systems without SELinux 2016-11-17 16:44:57 -05:00
VERSION Update VERSIONs to 3.4 for release. 2022-05-18 16:51:03 +02:00