selinux/libselinux/man/man8
Richard Haines 3cb6078ae5 libselinux: Enhance file context support
Update file contexts generation and loading to use common code.

Remove "status = 0; after "status = sort_specs(data);" otherwise
the function will never indicate a failure.

The file labeling code also has minor formatting, white space
removal etc. changes.

label_file.c - Move process_line function to label_file.h
sefcontext_compile.c - Update to use common process_line code. Now frees
all malloc'ed memory, checked by valgrind. Also added optional -o output
file parameter - updated man page to reflect this change.

V2 - Revert to using compat_validate instead of selabel_validate.
V3 - Revert to using callback for validation now the problem has been
fixed by commit e889148494
("libselinux:  build sefcontext_compile with static libselinux")

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
2015-06-16 12:30:08 -04:00
..
avcstat.8 libselinux: man: Fix man pages formatting 2013-02-05 20:14:43 -05:00
booleans.8 libselinux: man: Fix man pages formatting 2013-02-05 20:14:43 -05:00
getenforce.8 Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
getsebool.8 libselinux: man: Fix man pages formatting 2013-02-05 20:14:43 -05:00
matchpathcon.8 Add selinux_set_policy_root sets an alternate policy root directory path 2013-10-24 13:58:37 -04:00
sefcontext_compile.8 libselinux: Enhance file context support 2015-06-16 12:30:08 -04:00
selinux.8 libselinux: fix typo in man page 2014-06-12 08:20:41 -04:00
selinuxenabled.8 Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
selinuxexeccon.8 Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
setenforce.8 Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
togglesebool.8 Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00