summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
commite48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch)
treef8848b871cd5e3a0d07853083e024a231438085c /pkg/abi/linux
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r--pkg/abi/linux/linux_amd64_state_autogen.go2
-rw-r--r--pkg/abi/linux/linux_arm64_state_autogen.go2
-rw-r--r--pkg/abi/linux/linux_state_autogen.go10
3 files changed, 14 insertions, 0 deletions
diff --git a/pkg/abi/linux/linux_amd64_state_autogen.go b/pkg/abi/linux/linux_amd64_state_autogen.go
index 3d3dea994..d233a69df 100644
--- a/pkg/abi/linux/linux_amd64_state_autogen.go
+++ b/pkg/abi/linux/linux_amd64_state_autogen.go
@@ -50,6 +50,7 @@ func (p *PtraceRegs) StateFields() []string {
func (p *PtraceRegs) beforeSave() {}
+// +checklocksignore
func (p *PtraceRegs) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
stateSinkObject.Save(0, &p.R15)
@@ -83,6 +84,7 @@ func (p *PtraceRegs) StateSave(stateSinkObject state.Sink) {
func (p *PtraceRegs) afterLoad() {}
+// +checklocksignore
func (p *PtraceRegs) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &p.R15)
stateSourceObject.Load(1, &p.R14)
diff --git a/pkg/abi/linux/linux_arm64_state_autogen.go b/pkg/abi/linux/linux_arm64_state_autogen.go
index adc1f568e..8b08b2925 100644
--- a/pkg/abi/linux/linux_arm64_state_autogen.go
+++ b/pkg/abi/linux/linux_arm64_state_autogen.go
@@ -26,6 +26,7 @@ func (p *PtraceRegs) StateFields() []string {
func (p *PtraceRegs) beforeSave() {}
+// +checklocksignore
func (p *PtraceRegs) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
stateSinkObject.Save(0, &p.Regs)
@@ -36,6 +37,7 @@ func (p *PtraceRegs) StateSave(stateSinkObject state.Sink) {
func (p *PtraceRegs) afterLoad() {}
+// +checklocksignore
func (p *PtraceRegs) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &p.Regs)
stateSourceObject.Load(1, &p.Sp)
diff --git a/pkg/abi/linux/linux_state_autogen.go b/pkg/abi/linux/linux_state_autogen.go
index 3791000da..780edd2ee 100644
--- a/pkg/abi/linux/linux_state_autogen.go
+++ b/pkg/abi/linux/linux_state_autogen.go
@@ -21,6 +21,7 @@ func (i *IOEvent) StateFields() []string {
func (i *IOEvent) beforeSave() {}
+// +checklocksignore
func (i *IOEvent) StateSave(stateSinkObject state.Sink) {
i.beforeSave()
stateSinkObject.Save(0, &i.Data)
@@ -31,6 +32,7 @@ func (i *IOEvent) StateSave(stateSinkObject state.Sink) {
func (i *IOEvent) afterLoad() {}
+// +checklocksignore
func (i *IOEvent) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &i.Data)
stateSourceObject.Load(1, &i.Obj)
@@ -53,6 +55,7 @@ func (b *BPFInstruction) StateFields() []string {
func (b *BPFInstruction) beforeSave() {}
+// +checklocksignore
func (b *BPFInstruction) StateSave(stateSinkObject state.Sink) {
b.beforeSave()
stateSinkObject.Save(0, &b.OpCode)
@@ -63,6 +66,7 @@ func (b *BPFInstruction) StateSave(stateSinkObject state.Sink) {
func (b *BPFInstruction) afterLoad() {}
+// +checklocksignore
func (b *BPFInstruction) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &b.OpCode)
stateSourceObject.Load(1, &b.JumpIfTrue)
@@ -84,6 +88,7 @@ func (c *ControlMessageIPPacketInfo) StateFields() []string {
func (c *ControlMessageIPPacketInfo) beforeSave() {}
+// +checklocksignore
func (c *ControlMessageIPPacketInfo) StateSave(stateSinkObject state.Sink) {
c.beforeSave()
stateSinkObject.Save(0, &c.NIC)
@@ -93,6 +98,7 @@ func (c *ControlMessageIPPacketInfo) StateSave(stateSinkObject state.Sink) {
func (c *ControlMessageIPPacketInfo) afterLoad() {}
+// +checklocksignore
func (c *ControlMessageIPPacketInfo) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &c.NIC)
stateSourceObject.Load(1, &c.LocalAddr)
@@ -118,6 +124,7 @@ func (t *KernelTermios) StateFields() []string {
func (t *KernelTermios) beforeSave() {}
+// +checklocksignore
func (t *KernelTermios) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
stateSinkObject.Save(0, &t.InputFlags)
@@ -132,6 +139,7 @@ func (t *KernelTermios) StateSave(stateSinkObject state.Sink) {
func (t *KernelTermios) afterLoad() {}
+// +checklocksignore
func (t *KernelTermios) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &t.InputFlags)
stateSourceObject.Load(1, &t.OutputFlags)
@@ -156,6 +164,7 @@ func (w *WindowSize) StateFields() []string {
func (w *WindowSize) beforeSave() {}
+// +checklocksignore
func (w *WindowSize) StateSave(stateSinkObject state.Sink) {
w.beforeSave()
stateSinkObject.Save(0, &w.Rows)
@@ -164,6 +173,7 @@ func (w *WindowSize) StateSave(stateSinkObject state.Sink) {
func (w *WindowSize) afterLoad() {}
+// +checklocksignore
func (w *WindowSize) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &w.Rows)
stateSourceObject.Load(1, &w.Cols)