This is the upstream repository for the Security Enhanced Linux (SELinux) userland libraries and tools. The software provided by this project complements the SELinux features integrated into the Linux kernel and is used by Linux distributions. All bugs an
Go to file
Guido Trentalancia b8067636b6 policycoreutils: semanage: skip comments while reading external configuration files
Fix fcontextRecords() in policycoreutils/semanage/seobject.py so
that semanage does not produce an error in fcontext mode when
the file_contexts.subs_dist file contains comments (prefixed by #).

Properly skip blank lines.

Treat both white space and tab as valid separators for the above
mentioned policy configuration file (v2). Minimum number of
changes (v2bis).

Signed-off-by: Guido Trentalancia <guido@trentalancia.com>
Reported-by: Sven Vermeulen <sven.vermeulen@siphos.be>
Signed-off-by: Eric Paris <eparis@redhat.com>
2012-09-12 21:11:28 -04:00
checkpolicy checkpolicy: check return code on ebitmap_set_bit 2012-09-12 14:30:20 -04:00
libselinux libselinux: Ensure that we only close the selinux netlink socket once. 2012-09-12 21:06:55 -04:00
libsemanage libsemanage: do boolean name substitution 2012-09-12 13:17:30 -04:00
libsepol libsepol: Add always_check_network policy capability 2012-09-12 14:30:24 -04:00
policycoreutils policycoreutils: semanage: skip comments while reading external configuration files 2012-09-12 21:11:28 -04:00
scripts release script 2009-03-12 01:23:32 -04:00
sepolgen sepolgen: audit2allow: one role/type pair per line 2012-09-12 20:57:24 -04:00
.gitignore .gitignore: More files to ignore 2011-09-16 11:54:04 -04:00
Makefile libselinux: additional makefile support for rubywrap 2012-06-28 11:21:16 -04:00