Re: close_range.2: misleading what CLOSE_RANGE_UNSHARE unshares

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

 



On Mon, Jun 06, 2022 at 08:59:30PM +0200, Alejandro Colomar wrote:
> Hi Stephen and Christian!
> 
> On 6/2/22 06:22, Joseph C. Sible wrote:
> > The DESCRIPTION section of close_range.2 makes it sound like
> > CLOSE_RANGE_UNSHARE will only unshare the file descriptors that you
> > specified for it to close, but unsharing actually operates at the
> > granularity of the file descriptor table, so any FDs that remained
> > open as well as any opened in the future will be unshared too.
> 
> Could you please have a look at this report?

The NOTES section explains the workings of this flag in detail. Maybe
link to it from DESCRIPTION.



[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