linux/security/apparmor
John Johansen 1b5a6198f5 apparmor: Fix abi check to include v8 abi
The v8 abi is supported by the kernel but the userspace supported
version check does not allow for it. This was missed when v8 was added
due to a bug in the userspace compiler which was setting an older abi
version for v8 encoding (which is forward compatible except on the
network encoding). However it is possible to detect the network
encoding by checking the policydb network support which the code
does. The end result was that missing the abi flag worked until
userspace was fixed and began correctly checking for the v8 abi
version.

Fixes: 56974a6fcf ("apparmor: add base infastructure for socket mediation")
Signed-off-by: John Johansen <john.johansen@canonical.com>
2022-10-03 14:49:03 -07:00
..
include apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
apparmorfs.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
audit.c apparmor: fix quiet_denied for file rules 2022-07-09 15:13:59 -07:00
capability.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
crypto.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
domain.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
file.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
ipc.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
Kconfig apparmor: use zstd compression for profile data 2022-10-03 14:49:02 -07:00
label.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
lib.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
lsm.c apparmor: use zstd compression for profile data 2022-10-03 14:49:02 -07:00
Makefile apparmor: add base infastructure for socket mediation 2018-03-13 17:25:48 -07:00
match.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
mount.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
net.c apparmor: preparse for state being more than just an integer 2022-10-03 14:49:03 -07:00
nulldfa.in apparmor: cleanup add proper line wrapping to nulldfa.in 2018-02-09 11:30:01 -08:00
path.c security: apparmor: delete repeated words in comments 2021-02-07 04:15:46 -08:00
policy.c apparmor: convert xmatch to using the new shared policydb struct 2022-10-03 14:49:03 -07:00
policy_ns.c apparmor: Fix some kernel-doc comments 2022-07-19 02:39:15 -07:00
policy_unpack.c apparmor: Fix abi check to include v8 abi 2022-10-03 14:49:03 -07:00
policy_unpack_test.c apparmor: test: Remove some casts which are no-longer required 2022-07-09 15:14:14 -07:00
procattr.c apparmor: Fix kernel-doc 2022-07-09 15:13:59 -07:00
resource.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
secid.c apparmor: disable showing the mode as part of a secid to secctx 2022-07-13 17:18:29 -07:00
stacksplitdfa.in apparmor: use the dfa to do label parse string splitting 2018-02-09 11:30:01 -08:00
task.c apparmor: move ptrace mediation to more logical task.{h,c} 2022-07-19 04:14:22 -07:00