apparmor/libraries/libapparmor/src
John Johansen d0c4fc7d68 [4/7] libapparmor: fix available and enabled checks
Make it easier to separate errors from an actual answer, and ensure
we do a fallback check if there was an error.

Also fix the error code returned from aa_is_enabled() which got
broken by the addition of the private_enabled() check.

Finally make sure the private enabled error code is documented.

Fixes: https://gitlab.com/apparmor/apparmor/-/issues/150
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/713
Signed-off-by: John Johansen <john.johansen@canonical.com>
2021-07-21 14:31:44 -07:00
..
features.c binutils: Add tool to enable extraction of the kernel features abi 2020-09-27 16:28:27 -07:00
grammar.y treewide: spelling/typo fixes in comments and docs 2020-12-01 12:47:11 -08:00
kernel.c [4/7] libapparmor: fix available and enabled checks 2021-07-21 14:31:44 -07:00
kernel_interface.c treewide: spelling/typo fixes in comments and docs 2020-12-01 12:47:11 -08:00
libaalogparse.c Fix comparison of signed/unsigned int in hex_to_string() 2020-05-31 21:35:42 +02:00
libapparmor.map libapparmor: add _aa_asprintf to private symbols 2020-10-03 21:08:41 +02:00
libapparmor.pc.in Given that we want to do more apparmor things in user space (dbus 2012-11-14 11:00:06 -08:00
Makefile.am libapparmor: Sync library version bump done for the 3.0.1 release 2020-12-02 04:16:28 -08:00
parser.h libraries/libapparmor/: more license cleanups, adjust my email address 2011-02-23 14:02:45 -08:00
PMurHash.c libapparmor: convert multicache from using djb2 hashing to murmur3 hash 2018-04-14 15:51:23 -07:00
PMurHash.h libapparmor: convert multicache from using djb2 hashing to murmur3 hash 2018-04-14 15:51:23 -07:00
policy_cache.c libapparmor/policy_cache.c: asprintf returns a signed int 2020-05-28 09:27:12 -07:00
private.c libapparmor: alphasort directory traversals 2021-03-14 07:22:59 -07:00
private.h libapparmor: handle feature hash collision by falling back to next dir 2018-04-14 15:51:23 -07:00
scanner.l libapparmor: logparse: fix RECORD_INVALID for valid log 2019-07-02 01:01:37 -07:00
tst_aalogmisc.c libapparmor: fix memory leaks in aalogmisc unit tests. 2015-08-27 13:47:52 -07:00
tst_features.c libapparmor: Move the aa_features API 2015-03-25 17:09:27 -05:00
tst_kernel.c libapparmor: Strip a trailing newline character in aa_splitcon(3) 2015-05-19 21:31:53 -05:00