syslets: add indirect args This adds the syslet indirect args to the indirect_params union. This is broken, but it lets us simply demonstrate the rest of the syslet universe around the indirect argument passing convention. A caller could well want to perform a syscall that uses indirect arguments as a syscall. Maybe we turn indirect_params into a struct that contains a union for arguments which can never be used concurrently. This needs wider discussion. Signed-off-by: Zach Brown --- include/linux/indirect.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/indirect.h b/include/linux/indirect.h index 97f9ac4..5d5abd7 100644 --- a/include/linux/indirect.h +++ b/include/linux/indirect.h @@ -3,6 +3,7 @@ #define _LINUX_INDIRECT_H #include +#include /* IMPORTANT: @@ -14,6 +15,7 @@ union indirect_params { struct { int flags; } file_flags; + struct syslet_args syslet; }; #define INDIRECT_PARAM(set, name) current->indirect_params.set.name