[ovs-dev,v2,3/5] selinux: tag the custom policy version
diff mbox series

Message ID 20180504182818.24299-4-aconole@redhat.com
State Superseded
Headers show
Series
  • selinux: introduce a transition domain for loading kmods
Related show

Commit Message

Aaron Conole May 4, 2018, 6:28 p.m. UTC
Since the policy is an intermediate file, it can inherit the policy
module version from release version.

Suggested-by: Ansis Atteka <aatteka@ovn.org>
Signed-off-by: Aaron Conole <aconole@redhat.com>
---
 selinux/openvswitch-custom.te.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ansis Atteka May 12, 2018, 1:32 a.m. UTC | #1
On Fri, 4 May 2018 at 11:28, Aaron Conole <aconole@redhat.com> wrote:

> Since the policy is an intermediate file, it can inherit the policy
> module version from release version.

> Suggested-by: Ansis Atteka <aatteka@ovn.org>
> Signed-off-by: Aaron Conole <aconole@redhat.com>

Acked-by: Ansis Atteka <aatteka@ovn.org>

> ---
>     selinux/openvswitch-custom.te.in | 2 +-
>     1 file changed, 1 insertion(+), 1 deletion(-)

> diff --git a/selinux/openvswitch-custom.te.in b/selinux/
openvswitch-custom.te.in
> index 31e8fab15..df5013f48 100644
> --- a/selinux/openvswitch-custom.te.in
> +++ b/selinux/openvswitch-custom.te.in
> @@ -1,4 +1,4 @@
> -module openvswitch-custom 1.0.1;
> +module openvswitch-custom @VERSION@;

>     require {
>             role system_r;
> --
> 2.14.3

Patch
diff mbox series

diff --git a/selinux/openvswitch-custom.te.in b/selinux/openvswitch-custom.te.in
index 31e8fab15..df5013f48 100644
--- a/selinux/openvswitch-custom.te.in
+++ b/selinux/openvswitch-custom.te.in
@@ -1,4 +1,4 @@ 
-module openvswitch-custom 1.0.1;
+module openvswitch-custom @VERSION@;
 
 require {
         role system_r;