Skip to contentSkip to conversation

docs: update FLASK cmd line instructions

PATCH Superseded Doug Goldstein 2 participants 5 messages Mar 15, 2016 – Mar 17, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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]>

Not sure if you want backticks around make -C menuconfig. I also figured we should route people towards menuconfig by default. The committer of this patch is welcome to change the wording or style in anyway they see fit.

---
 docs/misc/xen-command-line.markdown | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +2 -2
index ca77e3b..949e210 100644
@@ -665,8 +665,8 @@ 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 make -C xen menuconfig and enabling XSM and FLASK.
 
 * `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
Signature · 7 lines
2.4.10


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#1 lore raw
Quoted 26 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.

---
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]>

Not sure if you want backticks around make -C menuconfig. I also figured we should route people towards menuconfig by default. The committer of this patch is welcome to change the wording or style in anyway they see fit.

---
 docs/misc/xen-command-line.markdown | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +0 -0
index ca77e3b..949e210 100644

docs/misc/xen-command-line.markdown to use the default. · line 669

Quoted 7 lines
docs/misc/xen-command-line.markdown +2 -2
@@ -665,8 +665,8 @@ 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 make -C xen menuconfig and enabling XSM and FLASK.

Would it be better said:

.. "and enabling Common Features|Xen Security Module support (FLux Advanced Security Kernel support gets enabled automatically)."
?

Quoted 6 lines
docs/misc/xen-command-line.markdown +0 -0
 * `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
Signature · 1 line
2.4.10

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

#2 lore raw
Quoted 37 lines · Konrad Rzeszutek Wilk
Quoted 26 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.

---
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]>

Not sure if you want backticks around make -C menuconfig. I also figured we should route people towards menuconfig by default. The committer of this patch is welcome to change the wording or style in anyway they see fit.

---
 docs/misc/xen-command-line.markdown | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +0 -0
index ca77e3b..949e210 100644

docs/misc/xen-command-line.markdown to use the default. · line 669

Quoted 7 lines
docs/misc/xen-command-line.markdown +2 -2
@@ -665,8 +665,8 @@ 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 make -C xen menuconfig and enabling XSM and FLASK.

Would it be better said:

Quoted 3 lines

.. "and enabling Common Features|Xen Security Module support (FLux Advanced Security Kernel support gets enabled automatically)."
?

My response falls in the bucket of a tristate boolean. It depends on how you want to document these values. By the pretty strings or the searchable names. And then making sure all the doc places are consistent with that.

Signature · 1 line
Doug Goldstein

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

#3 lore raw
Quoted 38 lines · Doug Goldstein
Quoted 37 lines · Konrad Rzeszutek Wilk
Quoted 26 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.

---
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]>

Not sure if you want backticks around make -C menuconfig. I also figured we should route people towards menuconfig by default. The committer of this patch is welcome to change the wording or style in anyway they see fit.

---
 docs/misc/xen-command-line.markdown | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +0 -0
index ca77e3b..949e210 100644

docs/misc/xen-command-line.markdown to use the default. · line 669

Quoted 7 lines
docs/misc/xen-command-line.markdown +2 -2
@@ -665,8 +665,8 @@ 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 make -C xen menuconfig and enabling XSM and FLASK.

Would it be better said:

Quoted 8 lines
Quoted 3 lines

.. "and enabling Common Features|Xen Security Module support (FLux Advanced Security Kernel support gets enabled automatically)."
?

My response falls in the bucket of a tristate boolean. It depends on how you want to document these values. By the pretty strings or the searchable names. And then making sure all the doc places are consistent with that.

That was more of what I saw - when I tried 'make -C xen menuconfig' I didn't see XSM or FLASK (I am being anal here, but the point is that newbies may need crystal clear explanations).
Perhaps both?

enabled by running:
* make -C xen menuconfig and enabling Common.... blahblah
* make -C xen oldconfig and enabling XSM and FLASK

?

Quoted 4 lines
Signature · 2 lines
-- 
Doug Goldstein

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

#4 lore raw
Quoted 54 lines · Konrad Rzeszutek Wilk
Quoted 38 lines · Doug Goldstein
Quoted 37 lines · Konrad Rzeszutek Wilk
Quoted 26 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.

---
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]>

Not sure if you want backticks around make -C menuconfig. I also figured we should route people towards menuconfig by default. The committer of this patch is welcome to change the wording or style in anyway they see fit.

---
 docs/misc/xen-command-line.markdown | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +0 -0
index ca77e3b..949e210 100644

docs/misc/xen-command-line.markdown to use the default. · line 669

Quoted 7 lines
docs/misc/xen-command-line.markdown +2 -2
@@ -665,8 +665,8 @@ 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 make -C xen menuconfig and enabling XSM and FLASK.

Would it be better said:

Quoted 8 lines
Quoted 3 lines

.. "and enabling Common Features|Xen Security Module support (FLux Advanced Security Kernel support gets enabled automatically)."
?

My response falls in the bucket of a tristate boolean. It depends on how you want to document these values. By the pretty strings or the searchable names. And then making sure all the doc places are consistent with that.

That was more of what I saw - when I tried 'make -C xen menuconfig' I didn't see XSM or FLASK (I am being anal here, but the point is that newbies may need crystal clear explanations).
Perhaps both?

Quoted 12 lines

enabled by running:
* make -C xen menuconfig and enabling Common.... blahblah
* make -C xen oldconfig and enabling XSM and FLASK

?

Quoted 4 lines
Signature · 2 lines
-- 
Doug Goldstein

I waited to see if some others wanted weigh in because this is the first of quite a few places in the docs that will need to be updated as I touch the remaining items in Rules.mk and wanted to make sure that however I things were documented they remained consistent. I'll take silence to mean acceptance and update this patch accordingly.

Thanks for your help Konrad!

Signature · 1 line
Doug Goldstein

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