On Wed, 7 Nov 2007, Adrian Bunk wrote: > > But if you want to match "one character" (like TOMOYO does) or want to > check for printable characters except space (like Smack does) you must > know whether the byte string 0xC3 0xA0 is the character à or a sequence > of two characters with the second one being NBSP. No you don't. You just check the binary value, and decide that ' ', '\t' and '\n' are special. Don't go get excited. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Adrian Bunk <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- References:
- [PATCH] Version 10 (2.6.24-rc1) Smack: Simplified Mandatory Access Control Kernel
- From: Casey Schaufler <[email protected]>
- [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: "Ahmed S. Darwish" <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Pavel Machek <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: "Ahmed S. Darwish" <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Adrian Bunk <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Adrian Bunk <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- From: Adrian Bunk <[email protected]>
- [PATCH] Version 10 (2.6.24-rc1) Smack: Simplified Mandatory Access Control Kernel
- Prev by Date: Linux 2.6.24-rc2
- Next by Date: Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- Previous by thread: Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- Next by thread: Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- Index(es):