Subject: Re: kauth and sched_{get,set}param
To: Mindaugas R. <rmind@NetBSD.org>
From: Elad Efrat <elad@NetBSD.org>
List: current-users
Date: 01/31/2008 03:23:03
Mindaugas R. wrote:
>> Module Name: src
>> Committed By: elad
>> Date: Wed Jan 30 17:54:56 UTC 2008
>>
>> Modified Files:
>> src/share/examples/secmodel: secmodel_example.c
>> src/share/man/man9: kauth.9
>> src/sys/kern: sys_pset.c sys_sched.c
>> src/sys/secmodel/bsd44: secmodel_bsd44_suser.c
>> src/sys/sys: kauth.h
>>
>> Log Message:
>> Use proper kauth(9) actions/requests for native scheduler stuff and the
>> recently introduced processor-sets.
>>
>> Discussed with and okay rmind@, yamt@, and christos@.
>
> Can you please also change the error code from EACCESS to EPERM (as it was
> changed before your commit)?
Before my commit there was no kauth call where now it returned EACCES.
It was a copy/paste of the code before you changed it to return EPERM.
Anyway, done.
-e.