X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fsyscalls.h;h=2a880f641c78b60f02a002d30c6501418b7b801d;hb=9fb3c9f3a8eaaacefc5e01718b2c88512a153e75;hp=2a23031f656bf5f3ddaa2dac1da45291e219bdac;hpb=ae2d4bb945c417da4f5f0122243f714033f1b822;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/syscalls.h b/KernelLand/Kernel/include/syscalls.h index 2a23031f..2a880f64 100644 --- a/KernelLand/Kernel/include/syscalls.h +++ b/KernelLand/Kernel/include/syscalls.h @@ -71,8 +71,10 @@ #define SYS_GETCWD 87 // Get current directory #define SYS_MOUNT 88 // Mount a filesystem #define SYS_SELECT 89 // Wait for file handles +#define SYS_MARSHALFD 90 // Create a reference to a FD suitable for handing to another process +#define SYS_UNMARSHALFD 91 // Accept a marshaled FD -#define NUM_SYSCALLS 90 +#define NUM_SYSCALLS 92 #define SYS_DEBUG 0x100 #define SYS_DEBUGHEX 0x101 @@ -168,6 +170,8 @@ static const char *cSYSCALL_NAMES[] = { "SYS_GETCWD", "SYS_MOUNT", "SYS_SELECT", + "SYS_MARSHALFD", + "SYS_UNMARSHALFD", "" };