Skip to contentSkip to conversation

docs: update FLASK cmd line instructions

PATCH In review Doug Goldstein 6 participants 7 messages Mar 18, 2016 – Apr 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs: update FLASK cmd line instructions

The command line instructions for FLASK include a note on how to compile Xen with FLASK but the note was out of date after the change to Kconfig.

---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Daniel De Graaf <[email protected]>

change since v1:
- add menuconfig and config entries as suggested by Konrad
- caught another place mentioning XSM_ENABLE

---
 docs/misc/xen-command-line.markdown | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
docs/misc/xen-command-line.markdown +5 -3
index ca77e3b..e4e4437 100644
@@ -665,8 +665,10 @@ to use the default.
 > Default: `permissive`
 
 Specify how the FLASK security server should be configured.  This option is only
-available if the hypervisor was compiled with XSM support (which can be enabled
-by setting XSM\_ENABLE = y in .config).
+available if the hypervisor was compiled with FLASK support.  This can be
+enabled by running either:
+- make -C xen config and enabling XSM and FLASK.
+- make -C xen menuconfig and enabling 'FLux Advanced Security Kernel support' and 'Xen Security Modules support'
 
 * `permissive`: This is intended for development and is not suitable for use
   with untrusted guests.  If a policy is provided by the bootloader, it will be
@@ -805,7 +807,7 @@ Paging (HAP).
 Enable late hardware domain creation using the specified domain ID.  This is
 intended to be used when domain 0 is a stub domain which builds a disaggregated
 system including a hardware domain with the specified domain ID.  This option is
-supported only when compiled with XSM\_ENABLE=y on x86.
+supported only when compiled with XSM on x86.
 
 ### hest\_disable
 > ` = <boolean>`
Signature · 7 lines
2.7.3


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Reviewed-by on v2 1/1
#1 lore raw
Quoted 4 lines · Doug Goldstein

The command line instructions for FLASK include a note on how to compile Xen with FLASK but the note was out of date after the change to Kconfig.

Quoted 44 lines

---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Daniel De Graaf <[email protected]>

change since v1:
- add menuconfig and config entries as suggested by Konrad
- caught another place mentioning XSM_ENABLE

---
 docs/misc/xen-command-line.markdown | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
docs/misc/xen-command-line.markdown +5 -3
index ca77e3b..e4e4437 100644
@@ -665,8 +665,10 @@ to use the default.
 > Default: `permissive`
 
 Specify how the FLASK security server should be configured.  This option is only
-available if the hypervisor was compiled with XSM support (which can be enabled
-by setting XSM\_ENABLE = y in .config).
+available if the hypervisor was compiled with FLASK support.  This can be
+enabled by running either:
+- make -C xen config and enabling XSM and FLASK.
+- make -C xen menuconfig and enabling 'FLux Advanced Security Kernel support' and 'Xen Security Modules support'
 
 * `permissive`: This is intended for development and is not suitable for use
   with untrusted guests.  If a policy is provided by the bootloader, it will be
@@ -805,7 +807,7 @@ Paging (HAP).
 Enable late hardware domain creation using the specified domain ID.  This is
 intended to be used when domain 0 is a stub domain which builds a disaggregated
 system including a hardware domain with the specified domain ID.  This option is
-supported only when compiled with XSM\_ENABLE=y on x86.
+supported only when compiled with XSM on x86.
 
 ### hest\_disable
 > ` = <boolean>`
Signature · 1 line
2.7.3

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
In reply to Doug Goldstein
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 18.03.16 at 17:46, <[email protected]> wrote:

The command line instructions for FLASK include a note on how to compile Xen with FLASK but the note was out of date after the change to Kconfig.

Quoted 8 lines

---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Daniel De Graaf <[email protected]>

Daniel,

any chance we could get your ack (or otherwise) on this?

Thanks, Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw

Jan Beulich writes ("Re: [Xen-devel] [PATCH v2] docs: update FLASK cmd line instructions"):

Quoted 3 lines · On 18.03.16 at 17:46, <[email protected]> wrote:
Quoted 2 lines

The command line instructions for FLASK include a note on how to compile Xen with FLASK but the note was out of date after the change to Kconfig.

...

Quoted 2 lines

Daniel,
any chance we could get your ack (or otherwise) on this?

TBH I would have just committed this - it being only a docs patch.

But I am happy to wait a bit to give Daniel a chance to comment.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
In reply to Jan Beulich
Quoted 13 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 18.03.16 at 17:46, <[email protected]> wrote:

The command line instructions for FLASK include a note on how to compile Xen with FLASK but the note was out of date after the change to Kconfig.

Quoted 8 lines

---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Daniel De Graaf <[email protected]>

Quoted 7 lines

Daniel,

any chance we could get your ack (or otherwise) on this?

Thanks, Jan

Sure, I didn't realize you were waiting on it. The patch looks good.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 18 lines · Daniel De Graaf
Quoted 17 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 18.03.16 at 17:46, <[email protected]> wrote:

The command line instructions for FLASK include a note on how to compile Xen with FLASK but the note was out of date after the change to Kconfig.

Quoted 8 lines

---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Daniel De Graaf <[email protected]>

Daniel,

any chance we could get your ack (or otherwise) on this?

Quoted 8 lines
Quoted 3 lines

Thanks, Jan

Sure, I didn't realize you were waiting on it. The patch looks good.

Thank you all. Queued.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw
Quoted 23 lines · Wei Liu
Quoted 22 lines · Daniel De Graaf
Quoted 20 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 18.03.16 at 17:46, <[email protected]> wrote:

The command line instructions for FLASK include a note on how to compile Xen with FLASK but the note was out of date after the change to Kconfig.

Quoted 8 lines

---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Daniel De Graaf <[email protected]>

Daniel,

any chance we could get your ack (or otherwise) on this?

Thanks, Jan

Quoted 7 lines
Quoted 4 lines

Sure, I didn't realize you were waiting on it. The patch looks good.

Thank you all. Queued.

Strangely this patch doesn't apply cleanly for me. I fixed it up by hand. Please check the patch in staging if you are keen. :-)

Wei.

Quoted 1 line

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel