|
|
1bb262 |
From 97978b3f5eae5700a12cdfc1fb37e55a7460e1f1 Mon Sep 17 00:00:00 2001
|
|
|
1bb262 |
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
|
|
1bb262 |
Date: Tue, 28 Jun 2016 14:13:48 +0200
|
|
|
1bb262 |
Subject: [PATCH 12/19] clone.2, fork.2: document ERESTARTNOINTR error code
|
|
|
1bb262 |
|
|
|
1bb262 |
---
|
|
|
1bb262 |
man-pages/man2/____clone.2 | 4 ++++
|
|
|
1bb262 |
man-pages/man2/clone.2 | 4 ++++
|
|
|
1bb262 |
man-pages/man2/fork.2 | 4 ++++
|
|
|
1bb262 |
3 files changed, 12 insertions(+)
|
|
|
1bb262 |
|
|
|
1bb262 |
diff --git a/man-pages/man2/____clone.2 b/man-pages/man2/____clone.2
|
|
|
1bb262 |
index 1baad11..d9ffe3e 100644
|
|
|
1bb262 |
--- a/man-pages/man2/____clone.2
|
|
|
1bb262 |
+++ b/man-pages/man2/____clone.2
|
|
|
1bb262 |
@@ -988,6 +988,10 @@ was specified by an unprivileged process (process without \fBCAP_SYS_ADMIN\fP).
|
|
|
1bb262 |
.B EPERM
|
|
|
1bb262 |
.B CLONE_PID
|
|
|
1bb262 |
was specified by a process other than process 0.
|
|
|
1bb262 |
+.TP
|
|
|
1bb262 |
+.BR ERESTARTNOINTR " (since Linux 2.6.17)"
|
|
|
1bb262 |
+System call was interrupted by a signal and will be restarted.
|
|
|
1bb262 |
+(This can be seen only during a trace.)
|
|
|
1bb262 |
.SH VERSIONS
|
|
|
1bb262 |
There is no entry for
|
|
|
1bb262 |
.BR clone ()
|
|
|
1bb262 |
diff --git a/man-pages/man2/clone.2 b/man-pages/man2/clone.2
|
|
|
1bb262 |
index 1baad11..d9ffe3e 100644
|
|
|
1bb262 |
--- a/man-pages/man2/clone.2
|
|
|
1bb262 |
+++ b/man-pages/man2/clone.2
|
|
|
1bb262 |
@@ -988,6 +988,10 @@ was specified by an unprivileged process (process without \fBCAP_SYS_ADMIN\fP).
|
|
|
1bb262 |
.B EPERM
|
|
|
1bb262 |
.B CLONE_PID
|
|
|
1bb262 |
was specified by a process other than process 0.
|
|
|
1bb262 |
+.TP
|
|
|
1bb262 |
+.BR ERESTARTNOINTR " (since Linux 2.6.17)"
|
|
|
1bb262 |
+System call was interrupted by a signal and will be restarted.
|
|
|
1bb262 |
+(This can be seen only during a trace.)
|
|
|
1bb262 |
.SH VERSIONS
|
|
|
1bb262 |
There is no entry for
|
|
|
1bb262 |
.BR clone ()
|
|
|
1bb262 |
diff --git a/man-pages/man2/fork.2 b/man-pages/man2/fork.2
|
|
|
1bb262 |
index 6a327a3..a1664e4 100644
|
|
|
1bb262 |
--- a/man-pages/man2/fork.2
|
|
|
1bb262 |
+++ b/man-pages/man2/fork.2
|
|
|
1bb262 |
@@ -203,6 +203,10 @@ failed to allocate the necessary kernel structures because memory is tight.
|
|
|
1bb262 |
is not supported on this platform (for example,
|
|
|
1bb262 |
.\" e.g., arm (optionally), blackfin, c6x, frv, h8300, microblaze, xtensa
|
|
|
1bb262 |
hardware without a Memory-Management Unit).
|
|
|
1bb262 |
+.TP
|
|
|
1bb262 |
+.BR ERESTARTNOINTR " (since Linux 2.6.17)"
|
|
|
1bb262 |
+System call was interrupted by a signal and will be restarted.
|
|
|
1bb262 |
+(This can be seen only during a trace.)
|
|
|
1bb262 |
.SH CONFORMING TO
|
|
|
1bb262 |
SVr4, 4.3BSD, POSIX.1-2001.
|
|
|
1bb262 |
.SH NOTES
|
|
|
1bb262 |
--
|
|
|
1bb262 |
2.7.4
|
|
|
1bb262 |
|