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

From: Alexey Dobriyan
Date: Sat Mar 31 2012 - 10:45:35 EST


On Sat, Mar 31, 2012 at 01:06:40PM +0200, David Madore wrote:
> 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!

Well, the question if this counts as userspace-visible change.
--
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/