Re: since when does linkat() on deleted /proc/$PID/fd/$num returnENOENT ?

From: David Madore
Date: Sat Mar 31 2012 - 07:06:49 EST


On Sat, Mar 31, 2012 at 09:53:05AM +0300, Alexey Dobriyan wrote:
> It was explicitly prohibited since 2.6.39:
>
> commit aae8a97d3ec30788790d1720b71d76fd8eb44b73
> Author: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx>
> Date: Sat Jan 29 18:43:27 2011 +0530
>
> fs: Don't allow to create hardlink for deleted file
<snip>

Thanks for digging this for me!

--
David A. Madore
( http://www.madore.org/~david/ )
--
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/