All,
I have a small program that simply changes the scheduling policy to SCHED_RR 
with sched_setscheduler and then exec's into another program. This worked fine 
in FBSD 5.x and 6.x. Now when I'm migrating to 8.1 I get EPERM from the the 
setscheduler call.
I have learned that If I start the same program with 'rtprio' it is allowed to 
change the scheduler. Strange to me - since I have always run it as root. What 
is the policy in 8.1?? Can this behavior be circumvented somehow? Some sysctl?
regards 
/Mats_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to