Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Priority yes, but that's barely useful. cgroups, rlimits, cpulimit, etc... are far more useful here, and are all per-process.


You can use timer_create to arrange to deliver a signal after some amount of CPU time elapsed, then terminate the sandbox from the signal handler.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: