Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 09:56:25 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243144 - head/lib/libc/sys
Message-ID:  <201211160956.qAG9uPN3060672@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Fri Nov 16 09:56:25 2012
New Revision: 243144
URL: http://svnweb.freebsd.org/changeset/base/243144

Log:
  Document that rtprio(2) and rtprio_thread(2) can fail with EFAULT
  due to the invoked copyout(9).
  
  Reviewed by:	davidxu

Modified:
  head/lib/libc/sys/rtprio.2

Modified: head/lib/libc/sys/rtprio.2
==============================================================================
--- head/lib/libc/sys/rtprio.2	Fri Nov 16 09:15:15 2012	(r243143)
+++ head/lib/libc/sys/rtprio.2	Fri Nov 16 09:56:25 2012	(r243144)
@@ -145,13 +145,21 @@ Higher real/idle priority threads
 preempt lower real/idle priority threads.
 Threads of equal real/idle priority are run round-robin.
 .Sh RETURN VALUES
-.Rv -std rtprio
+.Rv -std rtprio rtprio_thread
 .Sh ERRORS
 The
 .Fn rtprio
-system call
+and
+.Fn rtprio_thread
+system calls
 will fail if:
 .Bl -tag -width Er
+.It Bq Er EFAULT
+The rtp pointer passed to
+.Fn rtprio
+or
+.Fn rtprio_thread
+was invalid.
 .It Bq Er EINVAL
 The specified
 .Fa prio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211160956.qAG9uPN3060672>