summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/include/camellia/flags.h1
-rw-r--r--src/shared/include/camellia/syscalls.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/include/camellia/flags.h b/src/shared/include/camellia/flags.h
index 632ac3e..5ff9f10 100644
--- a/src/shared/include/camellia/flags.h
+++ b/src/shared/include/camellia/flags.h
@@ -31,3 +31,4 @@
/* special handles */
#define HANDLE_NULLFS -2
+#define HANDLE_PROCFS -3
diff --git a/src/shared/include/camellia/syscalls.h b/src/shared/include/camellia/syscalls.h
index f9e3832..01b1b5d 100644
--- a/src/shared/include/camellia/syscalls.h
+++ b/src/shared/include/camellia/syscalls.h
@@ -22,6 +22,8 @@
#define _SYSCALL_SLEEP 15
+#define _SYSCALL_PROCFS 16
+
#define _SYSCALL_EXECBUF 100
#define _SYSCALL_DEBUG_KLOG 101
@@ -78,6 +80,8 @@ long _syscall_pipe(handle_t __user user_ends[2], int flags);
void _syscall_sleep(long ms);
+handle_t _syscall_procfs(void);
+
/* see shared/execbuf.h */
long _syscall_execbuf(void __user *buf, size_t len);