apparmor/libraries/libapparmor
Christian Boltz a724c79483
Ignore 'x' in mixed file mode log events
Probably thanks to O_MAYEXEC, denials for file access can now contain a
mix of x (exec) and other file permissions.

The actual exec should appear in a separate "exec" log event, therefore
ignore 'x' in file events for now if it's mixed with other permissions.

Note that file events ("open", "link" etc.) that contain denied_mask="x"
without another permission will still cause an error. (So far, this
hasn't been seen in the wild.)

Fixes: https://gitlab.com/apparmor/apparmor/-/issues/303

Also add the log line from the bugreport and the (for now) expected
result as test_multi testcase.
2023-03-30 13:30:33 +02:00
..
doc [4/7] libapparmor: fix available and enabled checks 2021-07-21 14:31:44 -07:00
include libapparmor: add support for class in logparsing 2022-10-27 18:16:53 +00:00
m4 replace deprecated distutils with setuptools 2021-11-11 20:23:35 -03:00
src Bump library version to keep in sync with 3.1.3 library version change 2023-02-27 17:32:42 -08:00
swig Change string formatting method in Python tests 2023-02-19 16:54:38 -05:00
testsuite Ignore 'x' in mixed file mode log events 2023-03-30 13:30:33 +02:00
AUTHORS libraries/libapparmor/: more license cleanups, adjust my email address 2011-02-23 14:02:45 -08:00
autogen.sh libapparmor: Force libtoolize to replace existing files 2016-09-14 12:48:58 -05:00
ChangeLog move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
configure.ac Do not abuse AC_CHECK_FILE 2021-03-20 05:41:48 +00: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 docs: update documentation to point bug reporting to gitlab 2020-05-05 00:10:53 -07:00

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

Please file bugs using https://gitlab.com/apparmor/apparmor/-/issues