Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107053172
D43835.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
454 B
Referenced Files
None
Subscribers
None
D43835.diff
View Options
diff --git a/sys/kern/p1003_1b.c b/sys/kern/p1003_1b.c
--- a/sys/kern/p1003_1b.c
+++ b/sys/kern/p1003_1b.c
@@ -233,8 +233,8 @@
targetp = targettd->td_proc;
PROC_LOCK_ASSERT(targetp, MA_OWNED);
- /* Don't allow non root user to set a scheduler policy. */
- error = priv_check(td, PRIV_SCHED_SET);
+ /* Only privileged users are allowed to set a scheduler policy. */
+ error = priv_check(td, PRIV_SCHED_SETPOLICY);
if (error)
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 11:02 AM (13 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15741963
Default Alt Text
D43835.diff (454 B)
Attached To
Mode
D43835: sched_setscheduler(2): Fix realtime privilege check
Attached
Detach File
Event Timeline
Log In to Comment