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

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