lseek() on entries in /proc/device-tree returns EINVAL

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Thu Apr 17 07:13:01 EST 2008


> -----Original Message-----
> From: Timur Tabi [mailto:timur at freescale.com]
> Sent: den 16 april 2008 23:11
> To: Joakim Tjernlund
> Cc: linuxppc-dev at ozlabs.org
> Subject: Re: lseek() on entries in /proc/device-tree returns EINVAL
> 
> Joakim Tjernlund wrote:
> 
> > Yeah, just reported a similar problem at LKML. busybox start-stop-daemon broke
> > between 2.6.23 and current tree. The change was intentional but the borkage
> > was not. Al Viro has been informed, lets see what comes of it.
> 
> I've changed my code to use fstat() instead, which is better for my purposes anyway.

Good, bb should probably do the same. I just hope Al will allow a grace period and restore
the old behavior so bb can catch up.

    Jocke




More information about the Linuxppc-dev mailing list