File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ The following parameters can be specified to set up seccomp:
556
556
557
557
* ** ` index ` ** * (uint, REQUIRED)* - the index for syscall arguments in seccomp.
558
558
* ** ` value ` ** * (uint64, REQUIRED)* - the value for syscall arguments in seccomp.
559
- * ** ` valueTwo ` ** * (uint64, REQUIRED )* - the value for syscall arguments in seccomp.
559
+ * ** ` valueTwo ` ** * (uint64, OPTIONAL )* - the value for syscall arguments in seccomp.
560
560
* ** ` op ` ** * (string, REQUIRED)* - the operator for syscall arguments in seccomp.
561
561
A valid list of constants as of libseccomp v2.3.2 is shown below.
562
562
Original file line number Diff line number Diff line change 113
113
" layerFolders"
114
114
]
115
115
}
116
- }
116
+ }
Original file line number Diff line number Diff line change 69
69
"op" : {
70
70
"$ref" : " #/definitions/SeccompOperators"
71
71
}
72
- }
72
+ },
73
+ "required" : [
74
+ " index" ,
75
+ " value" ,
76
+ " op"
77
+ ]
73
78
},
74
79
"Syscall" : {
75
80
"type" : " object" ,
Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ const (
550
550
type LinuxSeccompArg struct {
551
551
Index uint `json:"index"`
552
552
Value uint64 `json:"value"`
553
- ValueTwo uint64 `json:"valueTwo"`
553
+ ValueTwo uint64 `json:"valueTwo,omiempty "`
554
554
Op LinuxSeccompOperator `json:"op"`
555
555
}
556
556
You can’t perform that action at this time.
0 commit comments