netdev
[Top] [All Lists]

Re: skge: reboot on sysfs resource0 access

To: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Subject: Re: skge: reboot on sysfs resource0 access
From: Bernd Schubert <bernd.schubert@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Sep 2005 13:01:39 +0200
Cc: Stephen Hemminger <shemminger@xxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <4321D2C0.10800@candelatech.com>
References: <200509091938.18079.bernd.schubert@pci.uni-heidelberg.de> <20050909110153.5a2e2e90@localhost.localdomain> <4321D2C0.10800@candelatech.com>
Reply-to: bernd-schubert@xxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.7.2
> > Sorry, this is not a driver bug.
>
> Does that mean if you do this:
>
> find /sys -name "*" -print|xargs grep foo
>
> that the system will crash?

I would also guess it would happen, though I won't try that now.

>
> I certainly would consider that a bug, and even if that somehow works, I'd
> think that at the least you should be able to read every file in the file
> system without crashing the system!
>
> Do you at least have to be root to cause this crash?

Yes, the resource0 file has rw access to root only.


Cheers,
        Bernd

<Prev in Thread] Current Thread [Next in Thread>