Date: Thu, 26 Aug 2010 05:01:48 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/149978: [PATCH] Address missing EINVAL requirement for cpu_setaffinity(2) Message-ID: <201008260501.o7Q51m7u030695@www.freebsd.org> Resent-Message-ID: <201008260510.o7Q5A5Pb044821@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149978 >Category: docs >Synopsis: [PATCH] Address missing EINVAL requirement for cpu_setaffinity(2) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 26 05:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9-CURRENT >Organization: Cisco Systems, Inc. >Environment: FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #9 r211309M: Thu Aug 19 22:50:36 PDT 2010 root@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA amd64 >Description: The manpage as it stands doesn't note that the syscall can return EINVAL if the mask argument is invalid. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: lib/libc/sys/cpuset_getaffinity.2 =================================================================== --- lib/libc/sys/cpuset_getaffinity.2 (revision 210824) +++ lib/libc/sys/cpuset_getaffinity.2 (working copy) @@ -121,6 +121,12 @@ or .Fa which argument was not a valid value. +.It Bq Er EINVAL +The +.Fa mask +argument specified when calling +.Fn cpuset_setaffinity +was not a valid value. .It Bq Er EDEADLK The .Fn cpuset_setaffinity >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008260501.o7Q51m7u030695>