Blame SOURCES/1095371-clone-and-open-for-aarch64.patch

c2a259
From f08174d07173579bd1597779c344b6b8e8445621 Mon Sep 17 00:00:00 2001
c2a259
From: Jan Chaloupka <jchaloup@redhat.com>
c2a259
Date: Thu, 16 Oct 2014 14:27:29 +0200
c2a259
Subject: [PATCH] clone and open for aarch64
c2a259
c2a259
---
c2a259
 man-pages/man2/____clone.2 | 17 +++++++++++++++++
c2a259
 man-pages/man2/____open.2  |  8 ++++++++
c2a259
 2 files changed, 25 insertions(+)
c2a259
c2a259
diff --git a/man-pages/man2/____clone.2 b/man-pages/man2/____clone.2
c2a259
index 1baad11..96e5006 100644
c2a259
--- a/man-pages/man2/____clone.2
c2a259
+++ b/man-pages/man2/____clone.2
c2a259
@@ -1024,6 +1024,23 @@ On i386,
c2a259
 .BR clone ()
c2a259
 should not be called through vsyscall, but directly through
c2a259
 .IR "int $0x80" .
c2a259
+
c2a259
+.BR clone()
c2a259
+replaces
c2a259
+.BR fork(2)
c2a259
+and
c2a259
+.BR vfork(2)
c2a259
+system calls.
c2a259
+A call to
c2a259
+.BR fork()
c2a259
+is equivalent to a call to
c2a259
+.BR clone()
c2a259
+specifying flags as just SIGCHLD.
c2a259
+A call to
c2a259
+.BR vfork()
c2a259
+is equivalent to calling
c2a259
+.BR clone()
c2a259
+with flags specified as: CLONE_VM | CLONE_VFORK | SIGCHLD
c2a259
 .SH BUGS
c2a259
 Versions of the GNU C library that include the NPTL threading library
c2a259
 contain a wrapper function for
c2a259
diff --git a/man-pages/man2/____open.2 b/man-pages/man2/____open.2
c2a259
index 84331c6..f298e34 100644
c2a259
--- a/man-pages/man2/____open.2
c2a259
+++ b/man-pages/man2/____open.2
c2a259
@@ -63,6 +63,14 @@ open, creat \- open and possibly create a file or device
c2a259
 .BI "int creat(const char *" pathname ", mode_t " mode );
c2a259
 .fi
c2a259
 .SH DESCRIPTION
c2a259
+.BR open(2)
c2a259
+and
c2a259
+.BR creat(2)
c2a259
+system calls are DEPRECATED, use
c2a259
+.BR openat(2)
c2a259
+instead!!! This man page is only a reference for
c2a259
+.BR openat(2).
c2a259
+.LP
c2a259
 Given a
c2a259
 .I pathname
c2a259
 for a file,
c2a259
-- 
c2a259
1.9.3
c2a259