PR/37986: YAMAMOTO Takashi: any user can hog the all cpu with
commit17140001500b3ce0d7ca801cdc3186f78edac645
authorElad Efrat <elad@NetBSD.org>
Sun, 17 Feb 2008 19:22:36 +0000 (17 19:22 +0000)
committerElad Efrat <elad@NetBSD.org>
Sun, 17 Feb 2008 19:22:36 +0000 (17 19:22 +0000)
tree627c2416398701b8fe7b2b983f594ca295c6b372
parentdd169466469bad43d4e90973d99d602522ff90bb
PR/37986: YAMAMOTO Takashi: any user can hog the all cpu with
    _sched_setparam.

Pass proper context to kauth(9) for a decision to made based on the
scheduling policy and priority.
sys/kern/sys_sched.c
sys/secmodel/bsd44/secmodel_bsd44_suser.c