Re: [PATCH] open,linkat: Update AT_EMPTY_PATH and O_PATH documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 8, 2014 at 2:45 AM, Michael Kerrisk (man-pages)
<mtk.manpages@xxxxxxxxx> wrote:
> On 08/09/2013 08:58 PM, Andy Lutomirski wrote:
>> The current text reflects the general worry in the kernel about
>> recipients of O_PATH fds being able to hardlink the referenced files.
>> It turns out that it was possible to link these files regardless of
>> any possible security concerns.
>>
>> Linux 3.11 removes the capability chech in AT_EMPTY_PATH.  I expect
>> that this functionality will be generally useful, so let's document it
>> better.
>
> Andy,
>
> Again, long after the fact, sorry. But, I've applied this now (with
> your spelling "chech" fixed in the change log, as you mentioned in the
> follow-on mail).
>
> Nicely constructed patch by the way: I liked the way that the additions
> to the linkat() text explained why capability check (and thus the man
> page text describing the need for that check) was removed.

Thanks.  Unfortunately, this was reverted in
f0cc6ffb8ce8961db587e5072168cac0cbc25f05 due to never-quite-explained
security issues. :(

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux