selinux/python
Vit Mojzis 48602370ac python: Harden tools against "rogue" modules
Python scripts present in "/usr/sbin" override regular modules.
Make sure /usr/sbin is not present in PYTHONPATH.

Fixes:
  #cat > /usr/sbin/audit.py <<EOF
  import sys
  print("BAD GUY!", file=sys.stderr)
  sys.exit(1)
  EOF
  #semanage boolean -l
  BAD GUY!

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-11-09 07:53:27 -05:00
..
audit2allow python: Harden tools against "rogue" modules 2022-11-09 07:53:27 -05:00
chcat python: Harden tools against "rogue" modules 2022-11-09 07:53:27 -05:00
po Update translations 2022-10-05 08:13:26 -04:00
semanage python: Harden tools against "rogue" modules 2022-11-09 07:53:27 -05:00
sepolgen python: Remove dependency on the Python module distutils 2022-11-09 07:51:36 -05:00
sepolicy python: Harden tools against "rogue" modules 2022-11-09 07:53:27 -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
VERSION Update VERSIONs to 3.4 for release. 2022-05-18 16:51:03 +02:00