kern/81951: [patch] linux emulation: getpriority() returns incorrect value

Andriy Gapon avg at icyb.net.ua
Mon Jun 13 14:10:24 GMT 2005


The following reply was made to PR kern/81951; it has been noted by GNATS.

From: Andriy Gapon <avg at icyb.net.ua>
To: Bruce Evans <bde at zeta.org.au>
Cc: freebsd-gnats-submit at freebsd.org, freebsd-emulation at freebsd.org
Subject: Re: kern/81951: [patch] linux emulation: getpriority() returns incorrect
 value
Date: Mon, 13 Jun 2005 17:09:36 +0300

 on 13.06.2005 15:34 Andriy Gapon said the following:
 > As to the [-20,+20] range, I see in HP-UX, Solaris and AIX man pages
 > that they also have this range. Seems that BSD won over POSIX (and SysV)
 > in this case.
 
 Another idea - all the above OSes and FreeBSD are POSIX compliant with
 NZERO=21 and further restriction (which is allowed by POSIX) of
 prohibiting -21 priority. How does this sound ? :-)
 
 -- 
 Andriy Gapon


More information about the freebsd-emulation mailing list