apparmor/libraries/libapparmor
Steve Beattie 90b352c2ae Subject: libapparmor: don't close invalid fd
It's possible to end up unreferencing a kernel_interface object that
has ->dirfd set to -1. This patch avoids calling close(2) on that fd.
(close(-1) will just return EBADF anyway.)

Coverity CIDs #55996 and #55997

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
2016-03-19 01:51:00 -07:00
..
doc man page touchups 2016-03-19 01:48:11 -07:00
include libapparmor: Implement aa_stack_profile and aa_stack_onexec 2016-03-18 17:28:50 -05:00
m4 libapparmor: Check for podchecker during configure stage 2014-11-17 21:19:55 -06:00
src Subject: libapparmor: don't close invalid fd 2016-03-19 01:51:00 -07:00
swig libapparmor: Implement aa_stack_profile and aa_stack_onexec 2016-03-18 17:28:50 -05:00
testsuite Fix logparser.py crash on change_hat events 2015-12-12 13:05:14 +01:00
AUTHORS libraries/libapparmor/: more license cleanups, adjust my email address 2011-02-23 14:02:45 -08:00
autogen.sh libapparmor: require libtoolize instead of libtool 2014-01-03 15:13:26 -08:00
ChangeLog move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
configure.ac libapparmor: Fix FTBFS when secure_getenv() is not available 2015-03-26 16:25:16 -05:00
COPYING.LGPL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
INSTALL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
Makefile.am libapparmor: more Makefile cleanups 2015-01-26 15:39:10 -08:00
NEWS move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
README update the bugtracker link in the libapparmor README 2014-02-24 22:44:32 +01:00

What little documentation exists is in src/aalogparse.h.

Please file bugs using https://bugs.launchpad.net/apparmor/+filebug