flask/policy: use naming convention xenpolicy-$(XEN_FULLVERSION)
PATCH 1/1 flask/policy: use naming convention xenpolicy-$(XEN_FULLVERSION)
Daniel suggested we use xenpolicy-$(XEN_FULLVERSION) as flask policy naming convention.
Signed-off-by Wei Liu <[email protected]>
Cc Daniel De Graaf <[email protected]>
Cc Ian Campbell <[email protected]>
--- .gitignore | 2 +- tools/flask/policy/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
.gitignore +1 -1
@@ -272,7 +272,7 @@ xen/xsm/flask/include/class_to_string.h xen/xsm/flask/include/flask.h xen/xsm/flask/include/initial_sid_to_string.h tools/flask/policy/policy.conf -tools/flask/policy/xenpolicy.24 +tools/flask/policy/xenpolicy-* xen/xen xen/xen-syms xen/xen.*
tools/flask/policy/Makefile +1 -1
@@ -32,7 +32,7 @@ M4 ?= m4 # include the Xen policy type (needed for static device policy). OUTPUT_POLICY = 24 -POLICY_FILENAME = xenpolicy.$(OUTPUT_POLICY) +POLICY_FILENAME = xenpolicy-$(shell $(MAKE) -C $(XEN_ROOT)/xen xenversion --no-print-directory) POLICY_LOADPATH = /boot # policy source layout
Signature · 1 line
1.7.10.4
Ian, I forgot to label this for 4.5. Sorry.
Daniel, can you ack / nack this patch if you have time? We are approaching freeze. However small this patch is we'd better get it in sooner rather than later.
Wei.
Quoted 6 lines · Wei Liu
Daniel suggested we use xenpolicy-$(XEN_FULLVERSION) as flask policy naming convention.
Signed-off-by Wei Liu <[email protected]>Cc Daniel De Graaf <[email protected]>Cc Ian Campbell <[email protected]>
Acked-by Daniel De Graaf <[email protected]>
Quoted 32 lines
--- .gitignore | 2 +- tools/flask/policy/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-).gitignore +1
-1@@ -272,7 +272,7 @@ xen/xsm/flask/include/class_to_string.h xen/xsm/flask/include/flask.h xen/xsm/flask/include/initial_sid_to_string.h tools/flask/policy/policy.conf -tools/flask/policy/xenpolicy.24 +tools/flask/policy/xenpolicy-* xen/xen xen/xen-syms xen/xen.*tools/flask/policy/Makefile +1
-1@@ -32,7 +32,7 @@ M4 ?= m4 # include the Xen policy type (needed for static device policy). OUTPUT_POLICY = 24 -POLICY_FILENAME = xenpolicy.$(OUTPUT_POLICY) +POLICY_FILENAME = xenpolicy-$(shell $(MAKE) -C $(XEN_ROOT)/xen xenversion --no-print-directory) POLICY_LOADPATH = /boot # policy source layout
Signature · 2 lines
Daniel De Graaf National Security Agency
Ian Campbell
AppliedQuoted 10 lines · Daniel De Graaf
Quoted 6 lines · Wei Liu
Daniel suggested we use xenpolicy-$(XEN_FULLVERSION) as flask policy naming convention.
Signed-off-by Wei Liu <[email protected]>Cc Daniel De Graaf <[email protected]>Cc Ian Campbell <[email protected]>Acked-by Daniel De Graaf <[email protected]>
Applied, thanks.