Exploit does not work here on Jaunty. sched_setscheduler returns -1 (failure) for a normal user (0 for root). Has this been fixed?
Updated code to print out the return value: #include <sched.h> #include <stdio.h> int main() { struct sched_param param; param.sched_priority = sched_get_priority_max(SCHED_FIFO); int r=sched_setscheduler(0,SCHED_FIFO,¶m); printf("sched_setschedule return code (0 on success, -1 on error): %i\n",r); while(1); } -- Unprivileged users can monopolize CPU using SCHED_FIFO and max priority https://bugs.launchpad.net/bugs/52600 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs