[tomoyo-dev-en 68] Re: Access Logs

Back to archive index

Tetsuo Handa from-****@I-lov*****
Thu Dec 30 11:17:22 JST 2010


Jamie Nguyen wrote:
> Tetsuo Handa wrote:
> > Well, we will want something like
> >
> >   if {
> >     domain.contains /usr/bin/firefox
> >     acl.starts
> >   } then {
> >     rewrite path_pattern /home/jamie/.mozilla/          @FIREFOX-HOME
> >     rewrite path_pattern /home/jamie/.mozilla/\*        @FIREFOX-HOME
> >     rewrite path_pattern /home/jamie/.mozilla/\{\*\}/   @FIREFOX-HOME
> >     rewrite path_pattern /home/jamie/.mozilla/\{\*\}/\* @FIREFOX-HOME
> >   }
> >
> > because users want to apply multiple conditions against multiple actions.
> 
> Yes, this would be good.
> 
> 
> > Should we support userspace specific extended expression like \~ which refers
> > uncompared substring of head_pattern/tail_pattern part so that users can
> > specify like
> >
> >   rewrite head_pattern /home/jamie/.mozilla/ @FIREFOX-HOME
> >
> > (drop uncompared substring in new_pattern) and
> >
> >   rewrite head_pattern proc:/\$/task/\$/ proc:/\$/task/\$/\~
> >
> > (don't drop uncompared substring in new_pattern)?
> 
> Yes, sounds good. Would save many lines, as a lot of my patterns are like:
> /foo/
> /foo/\*
> /foo/\{\*\}/
> /foo/\{\*\}/\*
> 
> This could be done with one line:
> rewrite head_pattern /foo/ @bar
> 
Thank you for proofreading the documentation.
I've finished updating texts/pictures/movies in
tags/htdocs/1.8-tmp/{install,initialize,learning,tuning,enforcing}.html .

Although I haven't implemented above changes, I want to upload a new tar ball
and overwrite tags/htdocs/1.8/ with tags/htdocs/1.8-tmp/ because the 2.6.37
seems to come out shortly and I added patches for 2.6.38 .




More information about the tomoyo-dev-en mailing list
Back to archive index