selinux/python/semanage
Vit Mojzis adcc353f6e python/semanage: fix moduleRecords.customized()
Return value of "customized" has to be iterable.

Fixes:
   "semanage export" with no modules in the system (eg. monolithic policy)
   crashes:

   Traceback (most recent call last):
     File "/usr/sbin/semanage", line 970, in <module>
       do_parser()
     File "/usr/sbin/semanage", line 949, in do_parser
       args.func(args)
     File "/usr/sbin/semanage", line 771, in handleExport
       for c in OBJECT.customized():
   TypeError: 'NoneType' object is not iterable

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2019-10-01 14:04:03 -04:00
..
ru Update man pages translation by Olesya Gerasimenko 2019-05-28 07:50:34 -04:00
Makefile Switch to python3 by default 2019-02-20 16:43:27 +01:00
semanage python/semanage: Improve handling of "permissive" statements 2019-10-01 14:03:55 -04:00
semanage-bash-completion.sh Minor update for bash completion. Bash completion for ports is missing '-' for type. Based on documentation, it should be --type, not -type. 2018-02-26 09:33:19 -05:00
semanage-boolean.8 semanage/semanage-boolean.8: Fix a minor typo 2019-04-30 17:49:00 +02:00
semanage-dontaudit.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-export.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-fcontext.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-ibendport.8 semanage: Fix manpage author for ibpkey and ibendport pages. 2017-05-30 09:40:33 -04:00
semanage-ibpkey.8 semanage: Fix manpage author for ibpkey and ibendport pages. 2017-05-30 09:40:33 -04:00
semanage-import.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
semanage-interface.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-login.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-module.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-node.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
semanage-permissive.8 python/semanage: Improve handling of "permissive" statements 2019-10-01 14:03:55 -04:00
semanage-port.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-user.8 semanage: "semanage user" does not use -s, fix documentation 2018-09-09 21:35:44 +02:00
semanage.8 python/semanage: Examples are no longer in the main semanage man page 2019-02-04 22:11:26 +01:00
seobject.py python/semanage: fix moduleRecords.customized() 2019-10-01 14:04:03 -04:00
test-semanage.py semanage, sepolicy: make tests not fail on systems without SELinux 2017-01-17 16:48:46 -05:00