File tree 2 files changed +71
-0
lines changed
2 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 141
141
"selinuxLabel" : {
142
142
"type" : " string"
143
143
},
144
+ "landlock" : {
145
+ "type" : " object" ,
146
+ "properties" : {
147
+ "ruleset" : {
148
+ "$ref" : " defs.json#/definitions/LandlockRuleset"
149
+ },
150
+ "rules" : {
151
+ "$ref" : " defs.json#/definitions/LandlockRules"
152
+ },
153
+ "disableBestEffort" : {
154
+ "type" : " boolean"
155
+ }
156
+ }
157
+ },
144
158
"noNewPrivileges" : {
145
159
"type" : " boolean"
146
160
},
Original file line number Diff line number Diff line change 153
153
},
154
154
"annotations" : {
155
155
"$ref" : " #/definitions/mapStringString"
156
+ },
157
+ "LandlockFSAction" : {
158
+ "type" : " string" ,
159
+ "enum" : [
160
+ " execute" ,
161
+ " write_file" ,
162
+ " read_file" ,
163
+ " read_dir" ,
164
+ " remove_dir" ,
165
+ " remove_file" ,
166
+ " make_char" ,
167
+ " make_dir" ,
168
+ " make_reg" ,
169
+ " make_sock" ,
170
+ " make_fifo" ,
171
+ " make_block" ,
172
+ " make_sym"
173
+ ]
174
+ },
175
+ "ArrayOfLandlockFSActions" : {
176
+ "type" : " array" ,
177
+ "items" : {
178
+ "$ref" : " #/definitions/LandlockFSAction"
179
+ }
180
+ },
181
+ "LandlockRuleset" : {
182
+ "type" : " object" ,
183
+ "properties" : {
184
+ "handledAccessFS" : {
185
+ "$ref" : " #/definitions/ArrayOfLandlockFSActions"
186
+ }
187
+ }
188
+ },
189
+ "LandlockRulePathBeneath" : {
190
+ "type" : " object" ,
191
+ "properties" : {
192
+ "allowedAccess" : {
193
+ "$ref" : " #/definitions/ArrayOfLandlockFSActions"
194
+ },
195
+ "paths" : {
196
+ "$ref" : " #/definitions/ArrayOfStrings"
197
+ }
198
+ }
199
+ },
200
+ "ArrayOfLandlockRulePathBeneaths" : {
201
+ "type" : " array" ,
202
+ "items" : {
203
+ "$ref" : " #/definitions/LandlockRulePathBeneath"
204
+ }
205
+ },
206
+ "LandlockRules" : {
207
+ "type" : " object" ,
208
+ "properties" : {
209
+ "pathBeneath" : {
210
+ "$ref" : " #/definitions/ArrayOfLandlockRulePathBeneaths"
211
+ }
212
+ }
156
213
}
157
214
}
158
215
}
You can’t perform that action at this time.
0 commit comments