diff --git a/man2/setreuid.2 b/man2/setreuid.2 index 9c0cc767d..d07f4e45f 100644 --- a/man2/setreuid.2 +++ b/man2/setreuid.2 @@ -95,6 +95,13 @@ On success, zero is returned. On error, \-1 is returned, and .I errno is set appropriately. + +.IR Note : +there are cases where +.BR setreuid () +can fail even when the caller is UID 0; +it is a grave security error to omit checking for a faulure return from +.BR setreuid (). .SH ERRORS .TP .B EAGAIN