Comment 4 for bug 1717714

Revision history for this message
John Johansen (jjohansen) wrote : Re: [Bug 1717714] Re: @{pid} variable broken on systems with pid_max more than 6 digits

On 09/25/2017 12:16 PM, Vincas Dargis wrote:
> I can provide merge request, and I would like to suggest simplifying
> that ever-growing expression.
>
> Couldn't it be just [0-9]*? Are there possibility that `/proc` will have
well it could but, its not as tight as I would like, ideally we could give
access to more than just apparmorre and make this tighter.

well actually ideally this will switch over to a kernel var, but that is
not ready yet

> some item, starting with digit, *not* being a pid?
>

I don't know of any atm, its possible but unlikely