summaryrefslogtreecommitdiff
path: root/src/kernel/handle.h
diff options
context:
space:
mode:
authordzwdz2022-05-01 20:21:55 +0200
committerdzwdz2022-05-01 20:21:55 +0200
commit5f6767972f1550c54dd6f28267dc3d882f67d7ed (patch)
tree0e16411f440e191084a6e61c81fd5416425ba12e /src/kernel/handle.h
parentd996f88bfda890df5d2b76e7c06cae329e04ab00 (diff)
kernel/proc: `process_handle_get` for safely accepting handle ids
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r--src/kernel/handle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/handle.h b/src/kernel/handle.h
index 86c1dbe..df5ad36 100644
--- a/src/kernel/handle.h
+++ b/src/kernel/handle.h
@@ -3,6 +3,7 @@
#include <shared/types.h>
#include <stddef.h>
+// TODO make accessible only from proc.c
#define HANDLE_MAX 16
enum handle_type {