selinux/libselinux/utils
Eric Paris ce39302fd0 libselinux: sefcontext_compile: do not leak fd on error
We open the file which is to be used to write the binary format of file
contexts.  If we hit an error actually writing things out, we return,
but never close the fd.  Do not leak.

Signed-off-by: Eric Paris <eparis@redhat.com>
2013-02-05 20:21:52 -05:00
..
.gitignore libselinux: utils: new file context regex compiler 2013-02-01 12:08:56 -05:00
Makefile libselinux: utils: new file context regex compiler 2013-02-01 12:08:56 -05:00
avcstat.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
compute_av.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
compute_create.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
compute_member.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
compute_relabel.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
compute_user.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
getconlist.c libselinux: Fix const-ness of parameters & make usage() methods static 2012-03-28 14:52:12 -04:00
getdefaultcon.c libselinux: utils: add service to getdefaultcon 2012-09-12 12:16:18 -04:00
getenforce.c libselinux: use -W and -Werror in utils 2011-12-05 16:14:17 -05:00
getfilecon.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
getpidcon.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
getsebool.c libselinux: getsebool: support boolean name substitution 2012-09-12 13:14:29 -04:00
getseuser.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
matchpathcon.c libselinux: matchpathcon: add -m option to force file type check 2012-09-12 14:23:22 -04:00
policyvers.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
sefcontext_compile.c libselinux: sefcontext_compile: do not leak fd on error 2013-02-05 20:21:52 -05:00
selinux_check_securetty_context.c libselinux: Fix const-ness of parameters & make usage() methods static 2012-03-28 14:52:12 -04:00
selinuxenabled.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
selinuxexeccon.c libselinux: Fix const-ness of parameters & make usage() methods static 2012-03-28 14:52:12 -04:00
setenforce.c libselinux: Fix const-ness of parameters & make usage() methods static 2012-03-28 14:52:12 -04:00
setfilecon.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
togglesebool.c libselinux: Fix const-ness of parameters & make usage() methods static 2012-03-28 14:52:12 -04:00