selinux/libselinux/src
Richard Haines 893c2924e0 libselinux: Fix if file_contexts not '\n' terminated
If the last line of a file_contexts file is not '\n' terminated
or if any line has additional isspace(3) characters at end, it
gave an invalid file type error.
read_spec_entries now handles these situations.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
2015-06-26 12:36:16 -04:00
..
.gitignore libselinux: additional makefile support for rubywrap 2012-06-28 11:21:16 -04:00
audit2why.c libselinux: fix audit2why error handling if SELinux is disabled. 2015-02-13 10:15:34 -05:00
avc_internal.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00
avc_internal.h libselinux: Add more printf format annotations 2012-03-28 14:52:12 -04:00
avc_sidtab.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00
avc_sidtab.h Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
avc.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00
booleans.c libselinux: booleans: initialize pointer to silence coveriety 2012-09-12 14:30:22 -04:00
callbacks.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
callbacks.h Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
canonicalize_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
check_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
checkAccess.c libselinux: Only check SELinux enabled status once in selinux_check_access(). 2015-02-02 14:09:06 -05:00
compute_av.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_create.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_member.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_relabel.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_user.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
context_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context.c Patch to context_new to set errno to EINVAL on bad values 2010-03-24 14:15:40 -04:00
deny_unknown.c It is useful for userspace object manager, if libselinux has an 2009-04-07 22:48:01 -04:00
disable.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
dso.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
enabled.c libselinux: is_selinux_enabled: Add /etc/selinux/config test. 2015-05-11 10:30:01 -04:00
exception.sh Properly build the swig exception file even if the headers are missing 2013-10-30 12:19:02 -04:00
fgetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
file_path_suffixes.h libselinux: add selinux_openssh_contexts_path() 2015-05-21 13:11:36 -04:00
freecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
freeconary.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
fsetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
get_context_list_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
get_context_list.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
get_default_type_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
get_default_type.c libselinux: Fix const-correctness 2012-03-28 14:52:12 -04:00
get_initial_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
getenforce.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
getfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
getpeercon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
init.c libselinux: is_selinux_enabled: Add /etc/selinux/config test. 2015-05-11 10:30:01 -04:00
is_customizable_type.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
label_android_property.c libselinux: Fix property processing and cleanup formatting 2015-06-15 11:53:38 -04:00
label_db.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00
label_file.c libselinux: Correctly handle an empty file_contexts file. 2015-06-22 09:11:33 -04:00
label_file.h libselinux: Enhance file context support 2015-06-16 12:30:08 -04:00
label_internal.h libselinux: Enhance file context support 2015-06-16 12:30:08 -04:00
label_media.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00
label_support.c libselinux: Fix if file_contexts not '\n' terminated 2015-06-26 12:36:16 -04:00
label_x.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00
label.c libselinux: Add selabel partial and best match APIs 2015-05-06 11:58:44 -04:00
lgetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
libselinux.pc.in Remove -lpthread from pkg-config file. 2013-11-06 14:55:23 -05:00
load_policy.c selinux_init_load_policy: setenforce(0) if security_disable() fails 2014-05-07 15:24:35 -04:00
lsetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
Makefile libselinux: Remove deprecated mudflap option. 2015-04-16 08:23:55 -04:00
mapping.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
mapping.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
matchmediacon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
matchpathcon.c Fix -Wformat errors 2015-03-13 14:14:23 -04:00
policy.h libselinux mountpoint changing patch. 2011-08-02 13:33:04 -04:00
policyvers.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
procattr.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
query_user_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
selinux_check_securetty_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
selinux_config.c libselinux: add selinux_openssh_contexts_path() 2015-05-21 13:11:36 -04:00
selinux_internal.h libselinux: add selinux_openssh_contexts_path() 2015-05-21 13:11:36 -04:00
selinux_netlink.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
selinuxswig_python.i libselinux: selinux.py - use os.walk() instead of os.path.walk() 2015-04-21 08:15:02 -04:00
selinuxswig_ruby.i Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
selinuxswig.i libselinux: Expunge remaining references to flask.h and av_permissions.h. 2015-05-27 11:44:40 -04:00
sestatus.c libselinux: selinux_status_open: do not leak statusfd on exec 2013-02-05 20:14:44 -05:00
setenforce.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
setexecfilecon.c Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00
setfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
setrans_client.c libselinux: setrans_client: minimize overhead when mcstransd is not present. 2015-05-20 16:19:20 -04:00
setrans_internal.h define SELINUX_TRANS_DIR in selinux.h 2013-10-24 13:58:37 -04:00
seusers.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
stringrep.c Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00