summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-08-25 15:26:54 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-25 15:29:03 -0700
commit430487c9e7cb4425def8605c6730aa4a168b000d (patch)
treead06686df732f2882f1be0c3d99f1401f0af4f14 /pkg/abi
parentbee07a2d68dedd49fa5790803fb2f7076323a616 (diff)
[go-marshal] Enable auto-marshalling for host tty.
PiperOrigin-RevId: 328415633
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/tty.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/abi/linux/tty.go b/pkg/abi/linux/tty.go
index 8ac02aee8..e640969a6 100644
--- a/pkg/abi/linux/tty.go
+++ b/pkg/abi/linux/tty.go
@@ -23,6 +23,8 @@ const (
)
// Winsize is struct winsize, defined in uapi/asm-generic/termios.h.
+//
+// +marshal
type Winsize struct {
Row uint16
Col uint16
@@ -31,6 +33,8 @@ type Winsize struct {
}
// Termios is struct termios, defined in uapi/asm-generic/termbits.h.
+//
+// +marshal
type Termios struct {
InputFlags uint32
OutputFlags uint32