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



   
    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