Re: rm-ing files with open file descriptors

Alexander Viro (viro@math.psu.edu)
Sat, 19 Jan 2002 06:28:36 -0500 (EST)


On Sat, 19 Jan 2002, Miquel van Smoorenburg wrote:

> This could be hacked around ofcourse in fs/namei.c, so I tried
> it for fun. And indeed, with a minor correction it works:
>
> % perl flink.pl
> Success.
>
> I now have a flink-test2.txt file. That is pretty cool ;)

It's also a security hole.

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