aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rpctype/rpctype.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go
index 2f09e9788..8a7fe7aa6 100644
--- a/pkg/rpctype/rpctype.go
+++ b/pkg/rpctype/rpctype.go
@@ -82,6 +82,23 @@ type RunnerConnectArgs struct {
Pool, VM int
}
+type RunnerConnectRes struct {
+ // CheckUnsupportedCalls is set to true if the Runner needs to query the kernel
+ // for unsupported system calls and report them back to the server.
+ CheckUnsupportedCalls bool
+}
+
+// UpdateUnsupportedArgs contains the data passed from client to server in an
+// UpdateSupported call, namely the system calls not supported by the client's
+// kernel.
+type UpdateUnsupportedArgs struct {
+ // Pool is used to identify the checked kernel.
+ Pool int
+ // UnsupportedCalls contains the ID's of system calls not supported by the
+ // client and the reason for this.
+ UnsupportedCalls []SyscallReason
+}
+
// NextExchangeArgs contains the data passed from client to server namely
// identification information of the VM and program execution results.
type NextExchangeArgs struct {