From 75becc94d33f8733def2565013ad9a71cf99f9dc Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 12 May 2014 13:29:43 +0200 Subject: [PATCH] fork.2: ERRORS: SCHED_DEADLINE tasks can fail with EAGAIN SCHED_DEADLINE tasks can fail with EAGAIN unless the reset-on-fork flag is set. Signed-off-by: Michael Kerrisk --- man2/fork.2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man2/fork.2 b/man2/fork.2 index ac999b6a1..a74fdd162 100644 --- a/man2/fork.2 +++ b/man2/fork.2 @@ -36,7 +36,7 @@ .\" Greatly expanded, to describe all attributes that differ .\" parent and child. .\" -.TH FORK 2 2013-03-12 "Linux" "Linux Programmer's Manual" +.TH FORK 2 2014-05-12 "Linux" "Linux Programmer's Manual" .SH NAME fork \- create a child process .SH SYNOPSIS @@ -194,6 +194,13 @@ or the .B CAP_SYS_RESOURCE capability. .TP +.B EAGAIN +The caller is operating under the +.BR SCHED_DEADLINE +scheduling policy and does not have the reset-on-fork flag set. +See +.BR sched (7). +.TP .B ENOMEM .BR fork () failed to allocate the necessary kernel structures because memory is tight.