mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Improve cross-distro compatibility by supporting python 2.[4-7] and python 3.[0-4]. Fixes LP: #1198672
This commit is contained in:
@@ -10,18 +10,18 @@
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
/usr/lib{,32,64}/python{2,3}.[34567]/**.{pyc,so} mr,
|
||||
/usr/lib{,32,64}/python{2,3}.[34567]/**.{egg,py,pth} r,
|
||||
/usr/lib{,32,64}/python{2,3}.[34567]/{site,dist}-packages/ r,
|
||||
/usr/lib{,32,64}/python3.[234]/lib-dynload/*.so mr,
|
||||
/usr/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{pyc,so} mr,
|
||||
/usr/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{egg,py,pth} r,
|
||||
/usr/lib{,32,64}/python{2.[4-7],3.[0-4]}/{site,dist}-packages/ r,
|
||||
/usr/lib{,32,64}/python3.[0-4]/lib-dynload/*.so mr,
|
||||
|
||||
/usr/local/lib{,32,64}/python{2,3}.[34567]/**.{pyc,so} mr,
|
||||
/usr/local/lib{,32,64}/python{2,3}.[34567]/**.{egg,py,pth} r,
|
||||
/usr/local/lib{,32,64}/python{2,3}.[34567]/{site,dist}-packages/ r,
|
||||
/usr/local/lib{,32,64}/python3.[234]/lib-dynload/*.so mr,
|
||||
/usr/local/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{pyc,so} mr,
|
||||
/usr/local/lib{,32,64}/python{2.[4-7],3.[0-4]}/**.{egg,py,pth} r,
|
||||
/usr/local/lib{,32,64}/python{2.[4-7],3.[0-4]}/{site,dist}-packages/ r,
|
||||
/usr/local/lib{,32,64}/python3.[0-4]/lib-dynload/*.so mr,
|
||||
|
||||
# Site-wide configuration
|
||||
/etc/python{2,3}.[34567]/** r,
|
||||
/etc/python{2.[4-7],3.[0-4]}/** r,
|
||||
|
||||
# shared python paths
|
||||
/usr/share/{pyshared,pycentral,python-support}/** r,
|
||||
@@ -34,4 +34,4 @@
|
||||
/usr/lib/wx/python/*.pth r,
|
||||
|
||||
# python build configuration and headers
|
||||
/usr/include/python{2,3}.[0-7]*/pyconfig.h r,
|
||||
/usr/include/python{2.[4-7],3.[0-4]}*/pyconfig.h r,
|
||||
|
Reference in New Issue
Block a user