mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
features: implement returning potentiallyUnsafeConfigAnnotations list
See https://github.com/opencontainers/runtime-spec/blob/v1.2.0/features.md#unsafe-annotations-in-configjson Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -64,6 +64,11 @@ var featuresCommand = cli.Command{
|
||||
},
|
||||
},
|
||||
},
|
||||
PotentiallyUnsafeConfigAnnotations: []string{
|
||||
"bundle",
|
||||
"org.systemd.property.", // prefix form
|
||||
"org.criu.config",
|
||||
},
|
||||
}
|
||||
|
||||
if seccomp.Enabled {
|
||||
|
||||
Reference in New Issue
Block a user