Re: Using checkmodule to build "old module versions"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joshua,

On Wed, Jul 14, 2010 at 2:34 AM, Joshua Brindle <method@xxxxxxxxxxxxxxx> wrote:
> The writer is technically capable of writing old versions but we never added
> the option to checkmodule.
>
> There has been little testing around building modules on a different
> toolchain than the target so while it is suppose to work I wouldn't really
> recommend it.

Thanks for the explanation. Does anyone know if it is possible to
change the checkmodule man page to make it more clear that you can't
build old versions.

I propose to change:
Show policy versions created by this program

to this:
Show policy versions created by this program. Note that you cannot
currently build older versions.

I have attached a (trivial) patch that should apply against the
current head. Of course there may be better wording.

Thanks,
Jason

>From 517340f947a9f7b63a1ee890e53449db4e00e9a0 Mon Sep 17 00:00:00 2001
From: Jason Axelson <jason.axelson@xxxxxxxxx>
Date: Wed, 14 Jul 2010 09:13:16 -1000
Subject: [PATCH] Adding note to checkmodule man page

Note that you cannot build a module with an older policy version
---
 checkpolicy/checkmodule.8 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/checkpolicy/checkmodule.8 b/checkpolicy/checkmodule.8
index 54680e3..77f5f03 100644
--- a/checkpolicy/checkmodule.8
+++ b/checkpolicy/checkmodule.8
@@ -35,7 +35,7 @@ Generate a non-base policy module.
 Enable the MLS/MCS support when checking and compiling the policy module.
 .TP
 .B \-V,\-\-version
- Show policy versions created by this program
+ Show policy versions created by this program. Note that you cannot
currently build older versions.
 .TP
 .B \-o,\-\-output filename
 Write a binary policy module file to the specified filename.
-- 
1.7.1.1
From 517340f947a9f7b63a1ee890e53449db4e00e9a0 Mon Sep 17 00:00:00 2001
From: Jason Axelson <jason.axelson@xxxxxxxxx>
Date: Wed, 14 Jul 2010 09:13:16 -1000
Subject: [PATCH] Adding note to checkmodule man page

Note that you cannot build a module with an older policy version
---
 checkpolicy/checkmodule.8 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/checkpolicy/checkmodule.8 b/checkpolicy/checkmodule.8
index 54680e3..77f5f03 100644
--- a/checkpolicy/checkmodule.8
+++ b/checkpolicy/checkmodule.8
@@ -35,7 +35,7 @@ Generate a non-base policy module.
 Enable the MLS/MCS support when checking and compiling the policy module.
 .TP
 .B \-V,\-\-version
- Show policy versions created by this program
+ Show policy versions created by this program. Note that you cannot currently build older versions.
 .TP
 .B \-o,\-\-output filename
 Write a binary policy module file to the specified filename.
-- 
1.7.1.1


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux