Re: [Libcg-devel] [PATCH] Substitutions in the destinations of the rules

2010-12-23 Thread Jan Safranek
On 12/22/2010 08:39 PM, Michal Hrusecky wrote: > Rules can be written using wildcards, but destinations had to be static. > This patch adds support for following strings in destination: > > %u - uid > %U - username, uid in case of error > %g - gid > %G - group name, gid in case of e

[Libcg-devel] [PATCH] Substitutions in the destinations of the rules

2010-12-22 Thread Michal Hrusecky
Rules can be written using wildcards, but destinations had to be static. This patch adds support for following strings in destination: %u - uid %U - username, uid in case of error %g - gid %G - group name, gid in case of error %p - pid %P - proccess name, pid in case of error Mo

Re: [Libcg-devel] [PATCH] Substitutions in the destinations of the rules

2010-12-22 Thread Michal Hrusecky
Jan Safranek - 13:40 20.12.10 wrote: > On 12/15/2010 08:18 PM, Michal Hrusecky wrote: > > Rules can be written using wildcards, but destinations had to be static. > > This patch adds support for following strings in destination: > > > > %u - uid > > %U - username, uid in case of error > >

Re: [Libcg-devel] [PATCH] Substitutions in the destinations of the rules

2010-12-20 Thread Jan Safranek
On 12/15/2010 08:18 PM, Michal Hrusecky wrote: > Rules can be written using wildcards, but destinations had to be static. > This patch adds support for following strings in destination: > > %u - uid > %U - username, uid in case of error > %g - gid > %G - group name, gid in case of e

[Libcg-devel] [PATCH] Substitutions in the destinations of the rules

2010-12-15 Thread Michal Hrusecky
Rules can be written using wildcards, but destinations had to be static. This patch adds support for following strings in destination: %u - uid %U - username, uid in case of error %g - gid %G - group name, gid in case of error %p - pid %P - proccess name, pid in case of error Mo