selinux/libselinux/src
Nicolas Iooss d819de173d libselinux: close the subs file if fstat failed
selabel_subs_init() returned without closing cfg when a call to fstat()
failed. Fix this.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2017-05-15 16:36:54 -04:00
..
.gitignore libselinux: additional makefile support for rubywrap 2012-06-28 11:21:16 -04:00
audit2why.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
avc_internal.c libselinux: normalize enforce values from the kernel 2016-11-18 09:48:25 -05: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 libselinux: Add permissive= entry to avc audit log 2017-04-28 09:42:37 -04:00
booleans.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
callbacks.c libselinux: add ifdef'ing for ANDROID and BUILD_HOST 2016-09-26 15:15:31 -04:00
callbacks.h Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
canonicalize_context.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
check_context.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
checkAccess.c libselinux: flush the class/perm string mapping cache on policy reload 2015-09-22 12:16:44 -04:00
checkreqprot.c libselinux: add security_get_checkreqprot 2017-05-08 12:44:07 -04:00
compute_av.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
compute_create.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
compute_member.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
compute_relabel.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
compute_user.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04: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 libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
disable.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
dso.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
enabled.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
exception.sh libselinux, libsemanage: swig: use SWIG_fail when an error occurs 2016-11-15 11:11:25 -05:00
fgetfilecon.c libselinux: Fix unitialized variable compiler warnings 2017-01-06 12:15:12 -05:00
file_path_suffixes.h libselinux: Add openrc_contexts functions 2016-09-22 13:27:45 -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 libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04: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: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
get_initial_context.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
getenforce.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
getfilecon.c libselinux: Fix unitialized variable compiler warnings 2017-01-06 12:15:12 -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: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
is_customizable_type.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
label_backends_android.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
label_db.c libselinux: always free catalog in db_init() 2017-01-19 08:48:49 -05:00
label_file.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
label_file.h label_file.h: actually use the results of compat_validate 2016-11-21 09:24:31 -05:00
label_internal.h libselinux: fix mac build warning when ANDROID_HOST=y 2016-10-18 13:49:55 -04:00
label_media.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
label_support.c read_spec_entry: fail on non-ascii 2016-02-17 09:10:41 -05:00
label_x.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
label.c libselinux: close the subs file if fstat failed 2017-05-15 16:36:54 -04:00
lgetfilecon.c libselinux: Fix unitialized variable compiler warnings 2017-01-06 12:15:12 -05:00
libselinux.pc.in Remove -lpthread from pkg-config file. 2013-11-06 14:55:23 -05:00
load_policy.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
lsetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
Makefile libselinux: Fix CFLAGS definition 2017-05-09 10:47:39 -04:00
mapping.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
mapping.h libselinux: drop DISABLE_AVC=y 2016-09-28 11:43:36 -04:00
matchmediacon.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
matchpathcon.c libselinux: fix pointer handling in realpath_not_final 2016-10-27 10:40:36 -04:00
policy.h Fix redefinition of XATTR_NAME_SELINUX 2016-09-22 13:21:39 -04:00
policyvers.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
procattr.c procattr.c: Use __BIONIC__ instead of __ANDROID__ 2017-05-12 08:54:04 -04:00
query_user_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
regex.c libselinux/src/regex.c: support old compilers for the endian check 2017-01-25 09:18:16 -05:00
regex.h libselinux: Add architecture string to file_context.bin 2016-09-28 07:51:58 -04:00
selinux_check_securetty_context.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
selinux_config.c config: Don't finalize mount state in selinux_set_policy_root() 2017-04-27 08:38:58 -04:00
selinux_internal.h libselinux: add security_get_checkreqprot 2017-05-08 12:44:07 -04:00
selinux_netlink.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
selinux_restorecon.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
selinuxswig_python.i libselinux: Rewrite restorecon() python method 2017-01-09 13:23:20 -05:00
selinuxswig_ruby.i libselinux: remove rpm_execcon from SWIG wrappers 2016-11-07 15:55:08 -05:00
selinuxswig.i libselinux: initialize temp value in SWIG wrapper to prevent freeing garbage 2017-03-01 10:42:45 -05:00
sestatus.c libselinux: selinux_status_open: do not leak statusfd on exec 2013-02-05 20:14:44 -05:00
setenforce.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -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: include errno.h instead of sys/errno.h 2017-01-09 16:00:22 -05:00
setrans_internal.h define SELINUX_TRANS_DIR in selinux.h 2013-10-24 13:58:37 -04:00
seusers.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
sha1.c libselinux: fix required alignment for sha1.c on mac 2016-10-18 13:51:11 -04:00
sha1.h libselinux: Replace selabel_digest hash function 2015-10-22 11:55:02 -04:00
stringrep.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00