From ffa1718e57f80ee8393fa0c097160e8a2c336812 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 a886baf10..2d99c4b25 100644 --- a/config.md +++ b/config.md @@ -436,6 +436,7 @@ Cleanup or debugging functions are examples of such a hook. Runtimes that are reading or 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](spec.md#platforms) by the [declared version](#specification-version) of this specification MUST NOT be ignored. ## Valid values