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: Casey Schaufler <casey@...>, <akpm@...>, <torvalds@...>, <linux-security-module@...>, <linux-kernel@...>
Date: Saturday, November 3, 2007 - 2:30 pm

On Nov 03, 2007, at 12:43:06, Ahmed S. Darwish wrote:

Actually, what causes problems here is something between a bug and a  
feature in libc's buffering.  Basically the -EINVAL error causes libc  
to leave its data in the file-output buffer despite the file being  
closed and reopened. Since a standalone echo just exits that buffer  
is discarded, but for the bash builtin it hangs around in the buffer  
for a while and ends up getting prepended to the following echo  
statement.  There's actually multiple ways to make this fail; this is  
just the simplest.

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..., Jakob Oestergaard, (Sat Nov 10, 1:05 pm)
Re: [PATCH] Smackv10: Smack rules grammar + their stateful p..., Kyle Moffett, (Sat Nov 3, 2:30 pm)