Skip to contentSkip to conversation

SUPPORT.md: split XSM from Flask

PATCH Superseded Jan Beulich 2 participants 4 messages Jul 31, 2024

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 SUPPORT.md: split XSM from Flask

XSM is a generic framework, which in particular is also used by SILO. With this it can't really be experimental: Arm mandates SILO for having a security supported configuration.

---
v2: Terminology adjustments. Stronger description.

SUPPORT.md +13 -2
@@ -768,13 +768,20 @@ Compile time disabled for ARM by default
 
     Status, x86: Supported, not security supported
 
-### XSM & FLASK
+### XSM (Xen Security Module)
+
+    Status: Supported
+
+See below for use with FLASK and SILO.  The dummy implementation is covered here
+as well.
+
+### FLASK XSM Module
 
     Status: Experimental
 
 Compile time disabled by default.
 
-Also note that using XSM
+Also note that using FLASK
 to delegate various domain control hypercalls
 to particular other domains, rather than only permitting use by dom0,
 is also specifically excluded from security support for many hypercalls.
@@ -787,6 +794,10 @@ Please see XSA-77 for more details.
 The default policy includes FLASK labels and roles for a "typical" Xen-based system
 with dom0, driver domains, stub domains, domUs, and so on.
 
+### SILO XSM Module
+
+    Status: Supported
+
 ## Virtual Hardware, Hypervisor
 
 ### x86/Nested PV
#1 lore raw
Quoted 11 lines · Jan Beulich

XSM is a generic framework, which in particular is also used by SILO. With this it can't really be experimental: Arm mandates SILO for having a security supported configuration.

---
v2: Terminology adjustments. Stronger description.

SUPPORT.md Compile time disabled for ARM by default · line 771

Quoted 5 lines
SUPPORT.md +1 -1
@@ -768,13 +768,20 @@ Compile time disabled for ARM by default
 
     Status, x86: Supported, not security supported
 
-### XSM & FLASK
+### XSM (Xen Security Module)

I'd suggest using Modules (plural) here.

SUPPORT.md Compile time disabled for ARM by default · line 776

Quoted 5 lines
SUPPORT.md +5 -0
+
+    Status: Supported
+
+See below for use with FLASK and SILO.  The dummy implementation is covered here
+as well.

I still think we want a one-line description of what "dummy" is.

"XSM is a security policy framework.  The dummy implementation is covered by this statement, and implements a policy whereby dom0 is all powerful.  See below for alternative modules (FLASK, SILO)."

?

Quoted 13 lines
SUPPORT.md +3 -1
+
+### FLASK XSM Module
 
     Status: Experimental
 
 Compile time disabled by default.
 
-Also note that using XSM
+Also note that using FLASK
 to delegate various domain control hypercalls
 to particular other domains, rather than only permitting use by dom0,
 is also specifically excluded from security support for many hypercalls.

SUPPORT.md Please see XSA-77 for more details. · line 799

Quoted 6 lines
SUPPORT.md +3 -0
@@ -787,6 +794,10 @@ Please see XSA-77 for more details.
 The default policy includes FLASK labels and roles for a "typical" Xen-based system
 with dom0, driver domains, stub domains, domUs, and so on.
 
+### SILO XSM Module
+
+    Status: Supported

"SILO implements a policy whereby domUs can only communicate with dom0, and not with each other"

?

~Andrew

#2 lore raw
Quoted 13 lines · Andrew Cooper
Quoted 12 lines · Jan Beulich

XSM is a generic framework, which in particular is also used by SILO. With this it can't really be experimental: Arm mandates SILO for having a security supported configuration.

---
v2: Terminology adjustments. Stronger description.

SUPPORT.md +0 -0
@@ -768,13 +768,20 @@ Compile time disabled for ARM by default
 
Quoted 6 lines

SUPPORT.md Compile time disabled for ARM by default · line 771

Quoted 4 lines
SUPPORT.md +1 -1
     Status, x86: Supported, not security supported
 
-### XSM & FLASK
+### XSM (Xen Security Module)

I'd suggest using Modules (plural) here.

But XSM itself is just one thing?

Quoted 8 lines

SUPPORT.md Compile time disabled for ARM by default · line 776

Quoted 5 lines
SUPPORT.md +5 -0
+
+    Status: Supported
+
+See below for use with FLASK and SILO.  The dummy implementation is covered here
+as well.

I still think we want a one-line description of what "dummy" is.

Quoted 5 lines

"XSM is a security policy framework.  The dummy implementation is covered by this statement, and implements a policy whereby dom0 is all powerful.  See below for alternative modules (FLASK, SILO)."

?

Hmm, can do. Looking around in some cases we indeed have such explanations.

Jan

#3 lore raw
Quoted 14 lines · Jan Beulich
Quoted 13 lines · Andrew Cooper
Quoted 12 lines · Jan Beulich

XSM is a generic framework, which in particular is also used by SILO. With this it can't really be experimental: Arm mandates SILO for having a security supported configuration.

---
v2: Terminology adjustments. Stronger description.

SUPPORT.md +0 -0
@@ -768,13 +768,20 @@ Compile time disabled for ARM by default
 
Quoted 6 lines
Quoted 5 lines

SUPPORT.md Compile time disabled for ARM by default · line 771

Quoted 4 lines
SUPPORT.md +1 -1
     Status, x86: Supported, not security supported
 
-### XSM & FLASK
+### XSM (Xen Security Module)

I'd suggest using Modules (plural) here.

But XSM itself is just one thing?

In which case "XSM (Xen Security Module) Framework" ?

Quoted 8 lines
Quoted 8 lines

SUPPORT.md Compile time disabled for ARM by default · line 776

Quoted 6 lines
SUPPORT.md +5 -0
+
+    Status: Supported
+
+See below for use with FLASK and SILO.  The dummy implementation is covered here
+as well.

I still think we want a one-line description of what "dummy" is.

Quoted 6 lines
Quoted 5 lines

"XSM is a security policy framework.  The dummy implementation is covered by this statement, and implements a policy whereby dom0 is all powerful.  See below for alternative modules (FLASK, SILO)."

?

Hmm, can do. Looking around in some cases we indeed have such explanations.

Everything which isn't entirely obvious should come with a oneliner explanation.  Otherwise, SUPPORT.md is useless to non-Xen developers.

~Andrew