-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Paul Meyer <[email protected]>
- Loading branch information
1 parent
682d964
commit d4892d3
Showing
15 changed files
with
60 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,10 @@ Signed-off-by: Paul Meyer <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/tools/genpolicy/rules.rego b/src/tools/genpolicy/rules.rego | ||
index b9ea01e439b55c12600765a73321e76b8311d5a4..d86a8718e221e1b428d34db5af97911f9609d392 100644 | ||
index 96f33012ca5fbfef0dc748dc80ad1114dda47338..e6514cc2ced38b73ce925698edadee52b11ff9a7 100644 | ||
--- a/src/tools/genpolicy/rules.rego | ||
+++ b/src/tools/genpolicy/rules.rego | ||
@@ -954,7 +954,7 @@ allow_storage_options(p_storage, i_storage, layer_ids, root_hashes) { | ||
@@ -967,7 +967,7 @@ allow_storage_options(p_storage, i_storage, layer_ids, root_hashes) { | ||
i_count == p_count + 3 | ||
|
||
print("allow_storage_options 2: i_storage.options[0] =", i_storage.options[0]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,12 @@ Signed-off-by: Paul Meyer <[email protected]> | |
1 file changed, 3 deletions(-) | ||
|
||
diff --git a/src/tools/genpolicy/rules.rego b/src/tools/genpolicy/rules.rego | ||
index d86a8718e221e1b428d34db5af97911f9609d392..8562a2946889a9c52f46d86382821638c4ac59de 100644 | ||
index e6514cc2ced38b73ce925698edadee52b11ff9a7..63d5e30ac64cdd8bab94e982423646de1b8559e6 100644 | ||
--- a/src/tools/genpolicy/rules.rego | ||
+++ b/src/tools/genpolicy/rules.rego | ||
@@ -79,9 +79,6 @@ CreateContainerRequest:= {"ops": ops, "allowed": true} { | ||
|
||
p_oci := p_container.OCI | ||
@@ -88,9 +88,6 @@ CreateContainerRequest:= {"ops": ops, "allowed": true} { | ||
add_namespace_to_state := allow_namespace(p_namespace, i_namespace) | ||
ops := concat_op_if_not_null(ops_builder1, add_namespace_to_state) | ||
|
||
- print("CreateContainerRequest: p Version =", p_oci.Version, "i Version =", i_oci.Version) | ||
- p_oci.Version == i_oci.Version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ Signed-off-by: Fabiano Fidêncio <[email protected]> | |
1 file changed, 20 insertions(+) | ||
|
||
diff --git a/src/agent/rustjail/src/mount.rs b/src/agent/rustjail/src/mount.rs | ||
index 14e3d95608784d18c4978fa2c89d1f523335a7e3..b5f8579132f262be66f2d73baa76a73fdff13e5d 100644 | ||
index d02aabeedc331f5b872c509887eeee9819da3deb..993739e569809c8da1b19288aca75c4bd98e1387 100644 | ||
--- a/src/agent/rustjail/src/mount.rs | ||
+++ b/src/agent/rustjail/src/mount.rs | ||
@@ -288,6 +288,26 @@ pub fn init_rootfs( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Signed-off-by: Markus Rudy <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/tools/genpolicy/genpolicy-settings.json b/src/tools/genpolicy/genpolicy-settings.json | ||
index ef20413eacc029d4fcb0b1d2f538a13314a25670..a218a4d9c4717e4dd2abdc3fd4b0d1a6d8171661 100644 | ||
index 1b6ab8380d16fbf71638f3965719bf3a018a3f0c..1e43545320d474ce5994514165176cd8c48db425 100644 | ||
--- a/src/tools/genpolicy/genpolicy-settings.json | ||
+++ b/src/tools/genpolicy/genpolicy-settings.json | ||
@@ -179,7 +179,7 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ Signed-off-by: Markus Rudy <[email protected]> | |
3 files changed, 20 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/tools/genpolicy/genpolicy-settings.json b/src/tools/genpolicy/genpolicy-settings.json | ||
index a218a4d9c4717e4dd2abdc3fd4b0d1a6d8171661..a9ca4960e9e6879109a4f0b50b9aebe33430e674 100644 | ||
index 1e43545320d474ce5994514165176cd8c48db425..9b95f9f7462717d04f0b9ce685d97c0455f949da 100644 | ||
--- a/src/tools/genpolicy/genpolicy-settings.json | ||
+++ b/src/tools/genpolicy/genpolicy-settings.json | ||
@@ -240,7 +240,8 @@ | ||
|
@@ -31,10 +31,10 @@ index a218a4d9c4717e4dd2abdc3fd4b0d1a6d8171661..a9ca4960e9e6879109a4f0b50b9aebe3 | |
"common": { | ||
"cpath": "/run/kata-containers", | ||
diff --git a/src/tools/genpolicy/rules.rego b/src/tools/genpolicy/rules.rego | ||
index dba71d4785fccf4717f66013a56fbbd4bff764b6..73adb09377a57e25ae9171a43b314ac3fc26298b 100644 | ||
index 0e6d5dadd3a69f472a37326bb34a1b05d12bb85d..e83c35d54f273838d4b717c6c4dad03f52b1a04e 100644 | ||
--- a/src/tools/genpolicy/rules.rego | ||
+++ b/src/tools/genpolicy/rules.rego | ||
@@ -1266,7 +1266,7 @@ CopyFileRequest { | ||
@@ -1282,7 +1282,7 @@ CopyFileRequest { | ||
|
||
CreateSandboxRequest { | ||
print("CreateSandboxRequest: input.guest_hook_path =", input.guest_hook_path) | ||
|
@@ -43,7 +43,7 @@ index dba71d4785fccf4717f66013a56fbbd4bff764b6..73adb09377a57e25ae9171a43b314ac3 | |
|
||
print("CreateSandboxRequest: input.kernel_modules =", input.kernel_modules) | ||
count(input.kernel_modules) == 0 | ||
@@ -1277,6 +1277,21 @@ CreateSandboxRequest { | ||
@@ -1293,6 +1293,21 @@ CreateSandboxRequest { | ||
allow_sandbox_storages(input.storages) | ||
} | ||
|
||
|
@@ -66,10 +66,10 @@ index dba71d4785fccf4717f66013a56fbbd4bff764b6..73adb09377a57e25ae9171a43b314ac3 | |
print("ExecProcessRequest 1: input =", input) | ||
|
||
diff --git a/src/tools/genpolicy/src/policy.rs b/src/tools/genpolicy/src/policy.rs | ||
index 9e69126d9008f361e77086018414abc75a8cc092..9f4accaca8c57620f9becd1d10d9606004be3adb 100644 | ||
index 4601b85893e1c63eaf4b68403713894001dc9ffd..e2012bf6f2d80ffea678a38803d8e85f5369b9dc 100644 | ||
--- a/src/tools/genpolicy/src/policy.rs | ||
+++ b/src/tools/genpolicy/src/policy.rs | ||
@@ -408,6 +408,8 @@ pub struct ClusterConfig { | ||
@@ -406,6 +406,8 @@ pub struct ClusterConfig { | ||
pub struct SandboxData { | ||
/// Expected value of the CreateSandboxRequest storages field. | ||
pub storages: Vec<agent::Storage>, | ||
|
Oops, something went wrong.