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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ahmed S. Darwish <darwish.07@...>
Cc: Adrian Bunk <bunk@...>, Casey Schaufler <casey@...>, <akpm@...>, <torvalds@...>, <linux-security-module@...>, <linux-kernel@...>
Date: Tuesday, November 6, 2007 - 8:49 am

On Nov 06, 2007, at 07:23:36, Ahmed S. Darwish wrote:

Well the VFS (for example) certainly doesn't support any encodings  
other than various extended-ASCII forms (which includes UTF-8).   
Something like UTF-16 has extra null characters in-between every  
normal character, and as such would fail completely if passed to the  
VFS.

Personally I think that isspace() accepting character 0xA0 is a bug,  
as there are several variants of extended ASCII only one of which has  
that character as a space.  Others have it as á (accented A), etc.   
In addition the "canonical" internal text format of the kernel is  
UTF-8 as that encoding can represent any character in any other  
encoding and it is backwards-compatible with traditional ASCII.

Cheers,
Kyle Moffett-
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..., Kyle Moffett, (Tue Nov 6, 8:49 am)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p..., Jakob Oestergaard, (Sat Nov 10, 1:05 pm)