logo

apparmor.d

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

python (1860B)


  1. # vim:syntax=apparmor
  2. # ------------------------------------------------------------------
  3. #
  4. # Copyright (C) 2002-2006 Novell/SUSE
  5. # Copyright (C) 2009 Canonical Ltd.
  6. #
  7. # This program is free software; you can redistribute it and/or
  8. # modify it under the terms of version 2 of the GNU General Public
  9. # License published by the Free Software Foundation.
  10. #
  11. # ------------------------------------------------------------------
  12. abi <abi/3.0>,
  13. /usr/{local/,}lib{,32,64}/python{2.[4-7],3,3.[0-9],3.1[0-9]}/**.{pyc,so,so.*[0-9]} mr,
  14. /usr/{local/,}lib{,32,64}/python{2.[4-7],3,3.[0-9],3.1[0-9]}/**.{egg,py,pth} r,
  15. /usr/{local/,}lib{,32,64}/python{2.[4-7],3,3.[0-9],3.1[0-9]}/{site,dist}-packages/ r,
  16. /usr/{local/,}lib{,32,64}/python{2.[4-7],3,3.[0-9],3.1[0-9]}/{site,dist}-packages/**/ r,
  17. /usr/{local/,}lib{,32,64}/python{2.[4-7],3,3.[0-9],3.1[0-9]}/{site,dist}-packages/*.dist-info/{METADATA,namespace_packages.txt} r,
  18. /usr/{local/,}lib{,32,64}/python{2.[4-7],3,3.[0-9],3.1[0-9]}/{site,dist}-packages/*.VERSION r,
  19. /usr/{local/,}lib{,32,64}/python{2.[4-7],3,3.[0-9],3.1[0-9]}/{site,dist}-packages/*.egg-info/PKG-INFO r,
  20. /usr/{local/,}lib{,32,64}/python3.{1,}[0-9]/lib-dynload/*.so mr,
  21. # Site-wide configuration
  22. /etc/python{2.[4-7],3.[0-9],3.1[0-9]}/** r,
  23. # shared python paths
  24. /usr/share/{pyshared,pycentral,python-support}/** r,
  25. /{var,usr}/lib/{pyshared,pycentral,python-support}/** r,
  26. /usr/lib/{pyshared,pycentral,python-support}/**.so mr,
  27. /var/lib/{pyshared,pycentral,python-support}/**.pyc mr,
  28. /usr/lib/python3/dist-packages/**.so mr,
  29. # wx paths
  30. /usr/lib/wx/python/*.pth r,
  31. # python build configuration and headers
  32. /usr/include/python{2.[4-7],3.[0-9],3.1[0-9]}*/pyconfig.h r,
  33. # Include additions to the abstraction
  34. include if exists <abstractions/python.d>