aboutgitcodelistschat:MatrixIRC
path: root/cooker/calls/scheduler.h
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-09-01 10:16:36 +0200
committerAlice Frosi <afrosi@redhat.com>2023-09-01 10:37:04 +0200
commit59f7f7c241253293c25e001c9340f1deeb138311 (patch)
tree4be7c160cbec552f5d5d3dcd88e85c1b98407749 /cooker/calls/scheduler.h
parentaecd6adbd2f5ce12437215fe2e64e004d28db86b (diff)
downloadseitan-59f7f7c241253293c25e001c9340f1deeb138311.tar
seitan-59f7f7c241253293c25e001c9340f1deeb138311.tar.gz
seitan-59f7f7c241253293c25e001c9340f1deeb138311.tar.bz2
seitan-59f7f7c241253293c25e001c9340f1deeb138311.tar.lz
seitan-59f7f7c241253293c25e001c9340f1deeb138311.tar.xz
seitan-59f7f7c241253293c25e001c9340f1deeb138311.tar.zst
seitan-59f7f7c241253293c25e001c9340f1deeb138311.zip
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 <afrosi@redhat.com>
Diffstat (limited to 'cooker/calls/scheduler.h')
-rw-r--r--cooker/calls/scheduler.h12
1 files changed, 12 insertions, 0 deletions
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 <afrosi@redhat.com>
+ */
+
+#ifndef CALLS_SCHEDULER_H
+#define CALLS_SCHEDULER_H
+
+extern struct call syscalls_scheduler[];
+
+#endif /* CALLS_IO_H */
+