• John Johansen's avatar
    apparmor: Fix abi check to include v8 abi · 1b5a6198
    John Johansen authored
    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: 56974a6f ("apparmor: add base infastructure for socket mediation")
    Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
    1b5a6198
policy_unpack.c 35.2 KB