Skip to content

Commit f9d6bcc

Browse files
committed
libcrun: add krun. as a potentially unsafe annotation
Signed-off-by: Jake Correnti <[email protected]>
1 parent 6daed3a commit f9d6bcc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libcrun/container.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ static char *potentially_unsafe_annotations[] = {
383383
"io.kubernetes.cri.container-type",
384384
"run.oci.",
385385
"org.criu.",
386+
"krun.",
386387
};
387388

388389
#define SYNC_SOCKET_MESSAGE_LEN(x, l) (offsetof (struct sync_socket_message_s, message) + l)

tests/test_oci_features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def test_crun_features():
175175
"io.kubernetes.cri.container-type",
176176
"run.oci.",
177177
"org.criu.",
178+
"krun.",
178179
]
179180
}
180181

0 commit comments

Comments
 (0)