Message ID | 20190205085610.14029-1-vmojzis@redhat.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | checkpolicy: Add -S option to manpage | expand |
On Tue, Feb 5, 2019 at 9:56 AM Vit Mojzis <vmojzis@redhat.com> wrote: > > Signed-off-by: Vit Mojzis <vmojzis@redhat.com> Thanks for your patch. Nevertheless the synopsis of the command in the man page is still incomplete. Could you please update it too, and while at it add the missing flags that are already documented in the manpage too? Nicolas > --- > checkpolicy/checkpolicy.8 | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/checkpolicy/checkpolicy.8 b/checkpolicy/checkpolicy.8 > index 1c8805d5..a3e4acc0 100644 > --- a/checkpolicy/checkpolicy.8 > +++ b/checkpolicy/checkpolicy.8 > @@ -39,6 +39,9 @@ Write a binary policy file to the specified filename. > .B \-c policyvers > Specify the policy version, defaults to the latest. > .TP > +.B \-S,\-\-sort > +Sort ocontexts before writing out the binary policy. This option makes output of checkpolicy consistent with binary policies created by semanage and secilc. > +.TP > .B \-t,\-\-target > Specify the target platform (selinux or xen). > .TP > -- > 2.17.2 >
diff --git a/checkpolicy/checkpolicy.8 b/checkpolicy/checkpolicy.8 index 1c8805d5..a3e4acc0 100644 --- a/checkpolicy/checkpolicy.8 +++ b/checkpolicy/checkpolicy.8 @@ -39,6 +39,9 @@ Write a binary policy file to the specified filename. .B \-c policyvers Specify the policy version, defaults to the latest. .TP +.B \-S,\-\-sort +Sort ocontexts before writing out the binary policy. This option makes output of checkpolicy consistent with binary policies created by semanage and secilc. +.TP .B \-t,\-\-target Specify the target platform (selinux or xen). .TP
Signed-off-by: Vit Mojzis <vmojzis@redhat.com> --- checkpolicy/checkpolicy.8 | 3 +++ 1 file changed, 3 insertions(+)