Hello.

Thomas Mueller wrote:
> I use TOMOYO Linux 2.2 from Kernel 2.6.30 with
> tomoyo-tools-2.2.0-20090727.
> This is a great enhancement for the Linux kernel and very easy to use,
> thanks a lot.
Thank you for trying TOMOYO.

> On LKML (http://lkml.org/lkml/2008/11/14/73) I found a post that says that
> there is a 'path_group'. This sounds like a very useful feature but it does
> not work for me. When I add a path_group in the Exception Policy Editor it
> is not shown and I can't use it, the rule is ignored.
TOMOYO 2.2.0 dropped various features/syntaxes to make the code minimum.
Dropped features/syntaxes will be added in future versions.

> I can't find the path_group in the sources as well so I guess this feature
> was removed? Will you add this again in future or is there another way to
> achieve the same path_group did?
If you wanted to use path_group to specify recursive pathnames, you can try
below patches.

(1) Patch for 2.6.30.6 kernel.

  
http://sourceforge.jp/projects/tomoyo/svn/view/trunk/2.2.x/tomoyo-kernel-wildcard.patch?revision=3032&root=tomoyo

 security/tomoyo/common.c |  160 ++++++++++++++++++++++++++++-------------------
 security/tomoyo/common.h |    1 
 2 files changed, 98 insertions(+), 63 deletions(-)

(2) Patch for tomoyo-tools-2.2.0-20090727 .

  
http://sourceforge.jp/projects/tomoyo/svn/view/trunk/2.2.x/tomoyo-tools-wildcard.patch?revision=3032&root=tomoyo

 tomoyotools.src/pathmatch.c   |  178 +++++++++++++++++-------------------------
 tomoyotools.src/tomoyotools.c |  125 +++++++++++++++++++----------
 tomoyotools.src/tomoyotools.h |    3 
 3 files changed, 158 insertions(+), 148 deletions(-)

Above patches add /\{dir\}/ matching support to TOMOYO 2.2.0
( 
http://sourceforge.jp/projects/tomoyo/lists/archive/users-en/2009-September/000094.html
 ).

If you wanted to use path_group for other purposes, please use TOMOYO 1.6/1.7
or wait for TOMOYO 2.3 , for introducing path_group keyword needs a lot of
changes.

Regards.

_______________________________________________
tomoyo-users-en mailing list
[email protected]
http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en

Reply via email to