On 08/18/2017 06:16 PM, Seth Arnold wrote:
> On Thu, Aug 17, 2017 at 10:47:05PM +0300, artiom wrote:
>> $ man select
>> man: can't open /usr/share/postgresql/9.6/man/man7/SELECT.7.gz:
>> Отказано в доступе
> 
> I slightly modified artiom's suggestion. It might not make a difference
> with our DFA walking but it'd help regular regex engines.
> 
at worst its a couple of extra transitions in the state machine (* doesn't match
/ and that has to be tracked) but in could save a some depending on what other
expressions overlap. So I would call it a wash, but I do like that its a tad
tighter, and I always prefer going tight and loosing and needed.

> Signed-off-by: Seth Arnold <seth.arn...@canonical.com>
> 
Acked-by: John Johansen <john.johan...@canonical.com>
> Thanks
> 
> === modified file 'profiles/apparmor/profiles/extras/usr.lib.man-db.man'
> --- profiles/apparmor/profiles/extras/usr.lib.man-db.man      2016-12-03 
> 09:59:01 +0000
> +++ profiles/apparmor/profiles/extras/usr.lib.man-db.man      2017-08-19 
> 01:14:01 +0000
> @@ -61,6 +61,7 @@
>    /usr/share/man/** r,
>    /usr/share/terminfo/** r,
>    /usr/share/texmf/teTeX/man/** r,
> +  /usr/share/postgresql/*/man/** rk,
>  
>    /var/cache/man/** rk,
>  
> 
> 
> 


-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to