logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

is_enabled (656B)


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