NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: kern/41489: setpriority(2) returns EACCES instead of EPERM
The following reply was made to PR kern/41489; it has been noted by GNATS.
From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, ekamperi%gmail.com@localhost
Subject: re: kern/41489: setpriority(2) returns EACCES instead of EPERM
Date: Tue, 26 May 2009 07:29:27 +1000
Matthias Drochner wrote:
> dholland-bugs%NetBSD.org@localhost said:
>> Didn't Elad just fix this? Does the fix need to be pulled up to -5?
>
> Afaict he did not fix it but he did botch it, in kern_resource.c rev.
1.111.
> (This was before the -5 branch. If it gets fixed, it should be pulled up.
> It looks easy, but some care is needed to get the corner cases right.)
How can you tell I botched it?
before your revision 1.111 donice() could return either EPERM or EACCESS.
.mrg.
Home |
Main Index |
Thread Index |
Old Index