[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.999.0711061626410.15101@woody.linux-foundation.org>
Date: Tue, 6 Nov 2007 16:27:19 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Adrian Bunk <bunk@...nel.org>
cc: "Ahmed S. Darwish" <darwish.07@...il.com>,
Pavel Machek <pavel@....cz>,
Casey Schaufler <casey@...aufler-ca.com>,
akpm@...ux-foundation.org, linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, Al Viro <viro@....linux.org.uk>
Subject: Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists