Blob Blame History Raw
From 97978b3f5eae5700a12cdfc1fb37e55a7460e1f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Tue, 28 Jun 2016 14:13:48 +0200
Subject: [PATCH 12/19] clone.2, fork.2: document ERESTARTNOINTR error code

---
 man-pages/man2/____clone.2 | 4 ++++
 man-pages/man2/clone.2     | 4 ++++
 man-pages/man2/fork.2      | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/man-pages/man2/____clone.2 b/man-pages/man2/____clone.2
index 1baad11..d9ffe3e 100644
--- a/man-pages/man2/____clone.2
+++ b/man-pages/man2/____clone.2
@@ -988,6 +988,10 @@ was specified by an unprivileged process (process without \fBCAP_SYS_ADMIN\fP).
 .B EPERM
 .B CLONE_PID
 was specified by a process other than process 0.
+.TP
+.BR ERESTARTNOINTR " (since Linux 2.6.17)"
+System call was interrupted by a signal and will be restarted.
+(This can be seen only during a trace.)
 .SH VERSIONS
 There is no entry for
 .BR clone ()
diff --git a/man-pages/man2/clone.2 b/man-pages/man2/clone.2
index 1baad11..d9ffe3e 100644
--- a/man-pages/man2/clone.2
+++ b/man-pages/man2/clone.2
@@ -988,6 +988,10 @@ was specified by an unprivileged process (process without \fBCAP_SYS_ADMIN\fP).
 .B EPERM
 .B CLONE_PID
 was specified by a process other than process 0.
+.TP
+.BR ERESTARTNOINTR " (since Linux 2.6.17)"
+System call was interrupted by a signal and will be restarted.
+(This can be seen only during a trace.)
 .SH VERSIONS
 There is no entry for
 .BR clone ()
diff --git a/man-pages/man2/fork.2 b/man-pages/man2/fork.2
index 6a327a3..a1664e4 100644
--- a/man-pages/man2/fork.2
+++ b/man-pages/man2/fork.2
@@ -203,6 +203,10 @@ failed to allocate the necessary kernel structures because memory is tight.
 is not supported on this platform (for example,
 .\" e.g., arm (optionally), blackfin, c6x, frv, h8300, microblaze, xtensa
 hardware without a Memory-Management Unit).
+.TP
+.BR ERESTARTNOINTR " (since Linux 2.6.17)"
+System call was interrupted by a signal and will be restarted.
+(This can be seen only during a trace.)
 .SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
 .SH NOTES
-- 
2.7.4