Allow a parent to set up a child's fd's via a new system call
[akaros.git] / kern / include / ros / syscall.h
index 0f6f52f..01f3521 100644 (file)
@@ -32,6 +32,12 @@ struct syscall {
        char                                            errstr[MAX_ERRSTR_LEN];
 };
 
+struct childfdmap {
+       int parentfd;
+       int childfd;
+       int ok;
+};
+
 #ifndef ROS_KERNEL
 
 /* Temp hack, til the rest of glibc/userspace uses sys/syscall.h */