Re: Trashing kernel data structures from user space?

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Wed, 18 Feb 1998 01:38:15 +0100 (MET)


On Tue, 17 Feb 1998, Chris the Elder wrote:

> I'm running RH 5.0 + all official updates + linux-2.0.33 +
> e2fscompr-0.3.6
>
> Now unless you do a 'chattr -m lzo +c filename' everything works just
> fine.
>
> I've been using e2compress to try debug my LZO code by running
> 'e2compress
> -m lzo filename'. Sometimes it suceeds, sometimes
> it doesn't. I've examined the execution in gdb and it certainly seems
> to be doing
> everything in user space.
>
> But when it's done (either success or failure) the kernel will start
> oopsing. Hey?

If the chattr +c oopses, then how does the e2compress
program change the attribute?
Does the kernel know the file and it's attributes have
changed underneath it?

Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ). | H.H.vanRiel@fys.ruu.nl |
| ...submissions welcome... | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu