From 19ed44c560e6edc38356c39887b5a342394cae4f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 7 Feb 2017 14:56:07 -0800 Subject: [PATCH] config: Do not allow runtimes to ignore properties defined by the spec Otherwise a runtime could silently ignore a property it didn't want to implement, which would be confusing for runtime callers [1]. This closes a potential loophole in the restriction from 766abd6f (runtime.md: Require 'create' to fail if config.json asks for the impossible, 2016-09-08, #559). [1]: https://github.com/opencontainers/runtime-spec/pull/472#r78088802 Signed-off-by: W. Trevor King --- config.md | 1 + 1 file changed, 1 insertion(+) diff --git a/config.md b/config.md index 6f1d1dea7..20e1f5f5f 100644 --- a/config.md +++ b/config.md @@ -415,6 +415,7 @@ Values MAY be an empty string. ## Extensibility Implementations that are reading/processing this configuration file MUST NOT generate an error if they encounter an unknown property. Instead they MUST ignore unknown properties. +Properties defined for the [target platform](#platform) by the [declared version](#specification-version) of this specification MUST NOT be ignored. ## Configuration Schema Example