Re: silent semantic changes with reiser4

From: Samium Gromoff
Date: Wed Sep 01 2004 - 17:29:02 EST


Alexander Viro wrote:
> Arguments about O_NOFOLLOW on the intermediate stages are bullshit, IMNSHO -
> if they want to make some parts of tree inaccessible, they should simply
> mkdir /tmp/FOAD; chmod 0 /tmp/FOAD; mount --bind /tmp/FOAD <blocked path>
> in the namespace their daemon is running in. And forget all that crap
> about filtering pathnames and blocking symlinks on intermediate stages
> the latter is obviously worthless without the former since one can simply
> substitute the symlink body in the pathname).

This made me wonder -- why not have a dedicated /dev/noaccess special node
for exactly such patterns of usage?

Yes that`ll made it Linux-specific and such... but hey -- if it saves
someone for for literally (?) no cost why not?

regards, Samium Gromoff
-
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/