Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Ahmed S. Darwish <darwish.07@...>, Pavel Machek <pavel@...>, Casey Schaufler <casey@...>, <akpm@...>, <linux-security-module@...>, <linux-kernel@...>, Al Viro <viro@...>
Date: Tuesday, November 6, 2007 - 9:59 pm

On Tue, Nov 06, 2007 at 05:06:23PM -0800, Linus Torvalds wrote:

Users are used to work on characters, not on bytes.


Sure, you can limit what is possible and what not.

But there are still many pitfalls, e.g. if someone would allow the 
construct "[abc]" in patterns for matching one of these characters you'd 
have to ensure that your syntax contains explicit character delimiters 
or a pattern might match something completely different from what was 
intended.

My opinion is that extended parsing of non-ASCII strings will cause too 
many problems, but it seems we can only agree to disagree on this.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Smackv10: Smack rules grammar + their stateful parser, Ahmed S. Darwish, (Sat Nov 3, 12:43 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p..., Jakob Oestergaard, (Sat Nov 10, 1:05 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p..., Adrian Bunk, (Tue Nov 6, 9:59 pm)