Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kauth and sched_{get,set}param



Hi,

With the following set of changes I'm not able to use schedctl(8)
anymore even when I'm root:

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@.

$ sudo schedctl -p696
schedctl: _sched_getparam: Permission denied
$ sudo schedctl -p696 -P32
schedctl: _sched_setparam: Operation not permitted
$

Could you please fix this? thanks.

-- 
Juan Romero Pardines             The NetBSD Project
http://plog.xtrarom.org/         NetBSD/pkgsrc news in Spanish
http://mklivecd.xtrarom.org/     Make your own NetBSD Live CD/DVD!



Home | Main Index | Thread Index | Old Index