Skip to content

XSM labels support in dom0less

Sergiy Kibrik xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2flask: add const qualifier to security_context_to_sid()xen/xsm/flask/include/security.h xen/xsm/flask/ss/services.c+2 -24 replies
2/2common: dom0less-bindings: introduce XSM labelsdocs/misc/arm/device-tree/booting.txt xen/common/device-tree/Makefile xen/common/device-tree/dom0less-bindings.c+21 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDaniel P. Smith
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] XSM labels support in dom0less

Currently FLASK can't really be enforced for domains being brought up in dom0less mode, as security contexts are not assigned for domains in this configuration. Thus domains are left with default SECINITSID_UNLABELED SID which policy forbids to create:

(XEN) [ 0.637379] avc: denied { create } for current=d[IDLE] scontext=system_u:system_r:xenboot_t tcontext=system_u:system_r:unlabeled_t tclass=domain

This series extends dom0less bindings with ability to provide human-readable security context in domain's DTS configuration, replicating a toolstack approach and naming.

-Sergiy

Sergiy Kibrik (2):
flask: add const qualifier to security_context_to_sid()
common: dom0less-bindings: introduce XSM labels

 docs/misc/arm/device-tree/booting.txt      |  8 ++++++++
 xen/common/device-tree/Makefile            |  2 ++
 xen/common/device-tree/dom0less-bindings.c | 11 +++++++++++
 xen/xsm/flask/include/security.h           |  2 +-
 xen/xsm/flask/ss/services.c                |  2 +-
 5 files changed, 23 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0