[PATCH] open.2: O_CLOEXEC no longer is Linux specific

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

 



Hi,

Here's a patch to the problem described in the subject.

I gained this knowledge by reading
http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html

Patch against version 3.32 of the man-pages.


diff -uNrBbd man-pages-3.32.org/man2/open.2 man-pages-3.32/man2/open.2
--- man-pages-3.32.org/man2/open.2	2010-12-03 08:01:59.000000000 +0100
+++ man-pages-3.32/man2/open.2	2011-05-30 14:55:53.766064010 +0200
@@ -43,6 +43,8 @@
 .\" 2008-01-11, Greg Banks <gnb@xxxxxxxxxxxxxxxxx>: add more detail
 .\"     on O_DIRECT.
 .\" 2008-02-26, Michael Haardt: Reorganized text for O_CREAT and mode
+.\" 2011-05-30, Folkert van Heusden <folkert@xxxxxxxxxxxxxx: O_CLOEXEC
+.\"     no longer is Linux-specific
 .\"
 .\" FIXME . Apr 08: The next POSIX revision has O_EXEC, O_SEARCH, and
 .\" O_TTYINIT.  Eventually these may need to be documented.  --mtk
@@ -79,7 +81,7 @@
 .B FD_CLOEXEC
 file descriptor flag described in
 .BR fcntl (2)
-is initially disabled; the Linux-specific
+is initially disabled; the
 .B O_CLOEXEC
 flag, described below, can be used to change this default).
 The file offset is set to the beginning of the file (see


Really hoping that I'm not mistaken while waisting your time :-)



-- 
www.vanheusden.com

Attachment: mp-3.32-CLOEXEC.patch.bz2
Description: BZip2 compressed data


[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