From 01f41fbff821be7264a4b0aac83ed04747395055 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Thu, 28 Jun 2018 13:34:08 +0200 Subject: [PATCH] adjust abstractions/python for python 3.7 Python 3.7 was released yesterday - and to make the abstraction future-proof, also cover 3.8 and 3.9 in advance ;-) --- profiles/apparmor.d/abstractions/python | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/profiles/apparmor.d/abstractions/python b/profiles/apparmor.d/abstractions/python index 1e0f1b2a3..2ec2a4b77 100644 --- a/profiles/apparmor.d/abstractions/python +++ b/profiles/apparmor.d/abstractions/python @@ -10,18 +10,18 @@ # # ------------------------------------------------------------------ - /usr/lib{,32,64}/python{2.[4-7],3.[0-6]}/**.{pyc,so} mr, - /usr/lib{,32,64}/python{2.[4-7],3.[0-6]}/**.{egg,py,pth} r, - /usr/lib{,32,64}/python{2.[4-7],3.[0-6]}/{site,dist}-packages/ r, - /usr/lib{,32,64}/python3.[0-6]/lib-dynload/*.so mr, + /usr/lib{,32,64}/python{2.[4-7],3.[0-9]}/**.{pyc,so} mr, + /usr/lib{,32,64}/python{2.[4-7],3.[0-9]}/**.{egg,py,pth} r, + /usr/lib{,32,64}/python{2.[4-7],3.[0-9]}/{site,dist}-packages/ r, + /usr/lib{,32,64}/python3.[0-9]/lib-dynload/*.so mr, - /usr/local/lib{,32,64}/python{2.[4-7],3.[0-6]}/**.{pyc,so} mr, - /usr/local/lib{,32,64}/python{2.[4-7],3.[0-6]}/**.{egg,py,pth} r, - /usr/local/lib{,32,64}/python{2.[4-7],3.[0-6]}/{site,dist}-packages/ r, - /usr/local/lib{,32,64}/python3.[0-6]/lib-dynload/*.so mr, + /usr/local/lib{,32,64}/python{2.[4-7],3.[0-9]}/**.{pyc,so} mr, + /usr/local/lib{,32,64}/python{2.[4-7],3.[0-9]}/**.{egg,py,pth} r, + /usr/local/lib{,32,64}/python{2.[4-7],3.[0-9]}/{site,dist}-packages/ r, + /usr/local/lib{,32,64}/python3.[0-9]/lib-dynload/*.so mr, # Site-wide configuration - /etc/python{2.[4-7],3.[0-6]}/** r, + /etc/python{2.[4-7],3.[0-9]}/** 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.[4-7],3.[0-6]}*/pyconfig.h r, + /usr/include/python{2.[4-7],3.[0-9]}*/pyconfig.h r,