From d1ff7bcc91886626dc9060ec5fb67ee102ab7c1d Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Mon, 11 Mar 2024 21:30:31 -0400 Subject: usermode capable kernel with logging syscall --- tsk/thread.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tsk/thread.c (limited to 'tsk/thread.c') diff --git a/tsk/thread.c b/tsk/thread.c new file mode 100644 index 0000000..7fbafa6 --- /dev/null +++ b/tsk/thread.c @@ -0,0 +1,7 @@ +#include "tasking.h" + +void +thread_perm_release(struct Thread *thread, size_t mask) +{ + thread->perm &= ~mask; +} -- cgit v1.2.1