All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Adds starting the idle domain privileged
@ 2022-04-20 22:28 Daniel P. Smith
  2022-04-20 22:28 ` [PATCH v2 1/2] xsm: create idle domain privieged and demote after setup Daniel P. Smith
  2022-04-20 22:28 ` [PATCH v2 2/2] flask: implement xsm_transtion_running Daniel P. Smith
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel P. Smith @ 2022-04-20 22:28 UTC (permalink / raw)
  To: xen-devel; +Cc: Daniel P. Smith, scott.davis, jandryuk

This series makes it so that the idle domain is started privileged under the
default policy, which the SILO policy inherits, and under the flask policy. It
then introduces a new one-way XSM hook, xsm_transition_running, that is hooked
by an XSM policy to transition the idle domain to its running privilege level.

Changes in v2:
- renamed flask_domain_runtime_security() to flask_transition_running()
- added the missed assignment of self_sid

Daniel P. Smith (2):
  xsm: create idle domain privieged and demote after setup
  flask: implement xsm_transtion_running

 tools/flask/policy/modules/xen.if      |  6 ++++++
 tools/flask/policy/modules/xen.te      |  1 +
 tools/flask/policy/policy/initial_sids |  1 +
 xen/arch/arm/setup.c                   |  6 ++++++
 xen/arch/x86/setup.c                   |  6 ++++++
 xen/common/sched/core.c                |  7 ++++++-
 xen/include/xsm/dummy.h                | 12 ++++++++++++
 xen/include/xsm/xsm.h                  |  6 ++++++
 xen/xsm/dummy.c                        |  1 +
 xen/xsm/flask/hooks.c                  | 22 +++++++++++++++++++++-
 xen/xsm/flask/policy/initial_sids      |  1 +
 11 files changed, 67 insertions(+), 2 deletions(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-04-21 14:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 22:28 [PATCH v2 0/2] Adds starting the idle domain privileged Daniel P. Smith
2022-04-20 22:28 ` [PATCH v2 1/2] xsm: create idle domain privieged and demote after setup Daniel P. Smith
2022-04-21  9:20   ` Jan Beulich
2022-04-21 13:05     ` Daniel P. Smith
2022-04-21  9:53   ` Roger Pau Monné
2022-04-21 14:14     ` Daniel P. Smith
2022-04-21 14:56       ` Roger Pau Monné
2022-04-20 22:28 ` [PATCH v2 2/2] flask: implement xsm_transtion_running Daniel P. Smith
2022-04-21  9:22   ` Jan Beulich
2022-04-21 14:39     ` Daniel P. Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.