config: Clarify capabilities(7) as the canonical source of Linux caps#682
config: Clarify capabilities(7) as the canonical source of Linux caps#682wking wants to merge 1 commit intoopencontainers:masterfrom
Conversation
With the "valid values it chooses to not support" language from 718f9f3 (origin/pr/673) minor narrative cleanup regarding config compatibility, 2017-01-30, opencontainers#673), the runtime is clearly free to support a subset of the platform's capabilities. But the runtime should not be free to change the semantics of valid values (e.g. CAP_CHOWN should always mean the same thing on Linux, regardless of which runtime you use). Signed-off-by: W. Trevor King <wking@tremily.us>
|
Hmm, this is still not quite right. We may need to strengthen “semantics” and bind each property directly to something that can be directly tested for compliance. For example, by saying that values set in |
|
@wking You need to separate valid values and compliance from errors. Caps change and you have to defer to the underlying platform for validation. You cannot base compliance on the host system that you are running compliance tests on. The current wording in master is correct for what should happen. |
With the “valid values it chooses to not support” language from #673, the runtime is clearly free to support a subset of the platform's capabilities. But the runtime should not be free to change the semantics of valid values (e.g.
CAP_CHOWNshould always mean the same thing on Linux, regardless of which runtime you use).