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/scheduler.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cooker/calls/scheduler.h (limited to 'cooker/calls/scheduler.h') diff --git a/cooker/calls/scheduler.h b/cooker/calls/scheduler.h new file mode 100644 index 0000000..751d65b --- /dev/null +++ b/cooker/calls/scheduler.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later + * Copyright 2023 Red Hat GmbH + * Author: Alice Frosi + */ + +#ifndef CALLS_SCHEDULER_H +#define CALLS_SCHEDULER_H + +extern struct call syscalls_scheduler[]; + +#endif /* CALLS_IO_H */ + -- cgit v1.2.3