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

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