1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

Kernel/LibC: Implement sched_* functionality to set/get process priority

Right now, we allow anything inside a user to raise or lower any other process's
priority. This feels simple enough to me. Linux disallows raising, but
that's annoying in practice.
This commit is contained in:
Robin Burchell 2019-05-29 23:20:51 +02:00 committed by Andreas Kling
parent b160677e9e
commit 9cd0f6ffac
8 changed files with 103 additions and 1 deletions

View file

@ -400,3 +400,7 @@ struct iovec {
void* iov_base;
size_t iov_len;
};
struct sched_param {
int sched_priority;
};