is_enabled (656B)
- # Copyright (C) 2012 Canonical Ltd.
- #
- # This program is free software; you can redistribute it and/or
- # modify it under the terms of version 2 of the GNU General Public
- # License published by the Free Software Foundation.
- #
- # ------------------------------------------------------------------
- abi <abi/3.0>,
- # permissions needed for aa_is_enabled
- # Make sure to include tunables/apparmorfs and tunables/global
- # when using this abstraction
- include <abstractions/apparmor_api/find_mountpoint>
- @{sys}/module/apparmor/parameters/enabled r,
- @{sys}/module/apparmor/parameters/available r,
- # TODO: add alternate apparmorfs interface for enabled