On 9/10/26 00:36, Daniel P. Berrangé wrote:
This introduces a new flag "secure" against the Type/TypeInfo
structs, and helpers to check this against the ObjectClass
struct.

If an object is considered to provide a security boundary to
protect against untrusted code, the "secure" flag must be
explicitly set to true.

If it is set to false, or left unset, this indicates that
the object does not intend to provide a security boundary.
Bugs related to this object class will be ineligible for
CVE assignment.

Reviewed-by: Marc-André Lureau<[email protected]>
Signed-off-by: Daniel P. Berrangé<[email protected]>
---
  include/qom/object.h | 13 +++++++++++++
  qom/object.c         |  7 +++++++
  2 files changed, 20 insertions(+)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to