runc features should expose annotations related to libpathrs (i.e., whether it is enabled or not, and, its version)
Similar to:
|
// AnnotationRuncCheckpointEnabled is set to "true" if CRIU-based checkpointing is supported. |
|
// Unrelated to whether the host supports CRIU or not. |
|
// Always set to "true" in the current version of runc. |
|
// This is defined as an annotation because checkpointing is a runc-specific feature that is not defined in the OCI Runtime Spec. |
|
// Third party implementations such as crun and runsc MAY use this annotation. |
|
AnnotationRuncCheckpointEnabled = "org.opencontainers.runc.checkpoint.enabled" |
|
|
|
// AnnotationLibseccompVersion is the version of libseccomp, e.g., "2.5.1". |
|
// Note that the runtime MAY support seccomp even when this annotation is not present. |
|
AnnotationLibseccompVersion = "io.github.seccomp.libseccomp.version" |
It should be printed in runc --version too
|
fmt.Fprintf(w, "libseccomp: %d.%d.%d\n", major, minor, micro) |
runc featuresshould expose annotations related to libpathrs (i.e., whether it is enabled or not, and, its version)Similar to:
runc/types/features/features.go
Lines 15 to 24 in 5c48e21
It should be printed in
runc --versiontoorunc/main.go
Line 52 in 5c48e21