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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Linus Torvalds <torvalds@...>, Ahmed S. Darwish <darwish.07@...>, Pavel Machek <pavel@...>, Casey Schaufler <casey@...>, <akpm@...>, <linux-security-module@...>, <linux-kernel@...>, Al Viro <viro@...>
Date: Wednesday, November 7, 2007 - 11:08 am

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

Absolutely true - but completely missing the point.

When I open a UTF-8 file name as displayed by nautilus the kernel does
byte comparisons. The kernel doesn't care what character set is in use.


If your regexps are reasonably complete you just have to turn the unicode
match into a byte match. That is a user interface problem - in user space.

Alan
-
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..., Alan Cox, (Wed Nov 7, 11:08 am)