[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 3/3] lib/posix-process: Add setpriority stub



Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx>
---
 lib/posix-process/process.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/posix-process/process.c b/lib/posix-process/process.c
index e2668177..73d214fe 100644
--- a/lib/posix-process/process.c
+++ b/lib/posix-process/process.c
@@ -228,3 +228,9 @@ int nice(int inc __unused)
        errno = EPERM;
        return -1;
 }
+
+int setpriority(int which __unused, id_t who __unused, int prio __unused)
+{
+       WARN_STUBBED();
+       return 0;
+}
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.