YAMAMOTO Takashi wrote:
here's sched_linux2native/sched_native2linux. not tested at all.
Thanks for doing this. I'm not sure I like the panic() for an unknown policy. It seems to make it a lot easier for an unprivileged user to panic the machine with a Linux emulated binary that calls setscheduler() with an invalid parameter. Let's just return EINVAL? -e.