Re: UIO sysfs attributes broken in 2.6.25-rc1

From: Greg KH
Date: Wed Feb 13 2008 - 12:39:03 EST


On Wed, Feb 13, 2008 at 06:03:04PM +0100, Hans-J??rgen Koch wrote:
> In 2.6.25-rc1, there's a strange effect:
> Although the map attributes "addr" and "size" show up correctly:
>
> -r--r--r-- 1 root root 4096 2008-02-13 17:49 addr
> -r--r--r-- 1 root root 4096 2008-02-13 17:49 size
>
> you cannot access them, not even as root. Something like "cat addr"
> fails with a no-permission-error. It works fine in 2.6.24-rc8.
>
> This is probably related to this patch:
>
> http://lkml.org/lkml/2008/1/25/149
>
> Unfortunately, I signed-off that one, too... I checked if all sysfs
> files appear, but didn't try to access them. Sorry.

Heh, well at least it wasn't just me that thought the patch was correct
:)

> Greg, any ideas?

I'll look into it this afternoon...

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/