From 59f7f7c241253293c25e001c9340f1deeb138311 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Fri, 1 Sep 2023 10:16:36 +0200 Subject: cooker, seitan: add sched_setscheduler The sched_setscheduler requires to set the pid of the process we want to change the priority, this adds a new metadata for getting the target pid at runtime. Add a couple of syscalls for the scheduler in the string parsing. Signed-off-by: Alice Frosi --- cooker/calls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cooker/calls.c') diff --git a/cooker/calls.c b/cooker/calls.c index f486777..f4e7d49 100644 --- a/cooker/calls.c +++ b/cooker/calls.c @@ -16,9 +16,10 @@ #include "calls/process.h" #include "calls/fs.h" #include "calls/io.h" +#include "calls/scheduler.h" struct call *call_sets[] = { syscalls_net, syscalls_ioctl, syscalls_process, syscalls_fs, - syscalls_io, + syscalls_io, syscalls_scheduler, NULL, }; -- cgit v1.2.3