Re: procfs permissions on 2.6.x

From: viro
Date: Sun Jul 04 2004 - 16:36:35 EST


On Sat, Jul 03, 2004 at 02:35:58PM -0700, Andrew Morton wrote:
> > Because it turns the question what permissions a procfs file has into
> > a lottery game. He only changes the incore inode owner and as soon as
> > the inode is reclaimed the old ones return.
>
> procfs inodes aren't reclaimable.

WTF do you mean "not reclaimable"? They do get freed under memory pressure
and recreated on later lookups.
-
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/