diff options
author | Brian Geffon <bgeffon@google.com> | 2018-06-17 17:05:36 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-17 17:06:40 -0700 |
commit | 563a71ef243360bc20db0e481b3adbfb07cd8702 (patch) | |
tree | c4bcfc2b58224fe879166bb1b0b5ef9401dcdb25 /pkg/sentry/socket/rpcinet/syscall_rpc.proto | |
parent | 0786707cd94b8feffaeb083077eccaf10873e682 (diff) |
Add rpcinet support for control messages.
Add support for control messages, but at this time the only
control message that the sentry will support here is SO_TIMESTAMP.
PiperOrigin-RevId: 200922230
Change-Id: I63a852d9305255625d9df1d989bd46a66e93c446
Diffstat (limited to 'pkg/sentry/socket/rpcinet/syscall_rpc.proto')
-rw-r--r-- | pkg/sentry/socket/rpcinet/syscall_rpc.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/socket/rpcinet/syscall_rpc.proto b/pkg/sentry/socket/rpcinet/syscall_rpc.proto index 996962aae..c056e4c9d 100644 --- a/pkg/sentry/socket/rpcinet/syscall_rpc.proto +++ b/pkg/sentry/socket/rpcinet/syscall_rpc.proto @@ -40,6 +40,7 @@ message RecvmsgRequest { bool sender = 3; bool peek = 4; bool trunc = 5; + uint32 cmsg_length = 6; } message OpenRequest { @@ -110,6 +111,7 @@ message RecvmsgResponse { bytes data = 1 [ctype = CORD]; AddressResponse address = 2; uint32 length = 3; + bytes cmsg_data = 4; } oneof result { uint32 error_number = 1; |