proc(5) fdinfo should mention O_CLOEXEC may be set in file flags

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

 



The man page says this

"The flags field is an octal number that displays the file access mode
and file  status  flags  (see  open(2))."

flags may also include the file descriptor flags (F_GETFD). (Although
there is only the O_CLOEXEC flag and that is explicitly included [1])

[1] https://github.com/torvalds/linux/blob/master/fs/proc/fd.c#L41-L43

-- 
Patrick Donnelly
--
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