e8c9487
diff --exclude-from=exclude -N -u -r nsacheckpolicy/checkmodule.8 checkpolicy-1.27.19/checkmodule.8
e8c9487
--- nsacheckpolicy/checkmodule.8	1969-12-31 19:00:00.000000000 -0500
e8c9487
+++ checkpolicy-1.27.19/checkmodule.8	2005-12-01 15:00:22.000000000 -0500
e8c9487
@@ -0,0 +1,45 @@
e8c9487
+.TH CHECKMODULE 8
e8c9487
+.SH NAME
e8c9487
+checkmodule \- SELinux policy module compiler
e8c9487
+.SH SYNOPSIS
e8c9487
+.B checkmodule
e8c9487
+.I "[-b] [-d] [-M] [-c policyvers] [-o output_file] [input_file]"
e8c9487
+ .br
e8c9487
+.SH "DESCRIPTION"
e8c9487
+This manual page describes the
e8c9487
+.BR checkmodule
e8c9487
+command.
e8c9487
+.PP
e8c9487
+.B checkmodule
e8c9487
+is a program that checks and compiles a SELinux security policy module
e8c9487
+into a binary representation.  Use semodule_package to combine this module with
e8c9487
+its optional file context to create a policy package that can be loaded into the kernel.  
e8c9487
+
e8c9487
+.SH OPTIONS
e8c9487
+.TP
e8c9487
+.B \-b
e8c9487
+Read an existing binary policy file rather than a source policy.conf file.
e8c9487
+.TP
e8c9487
+.B \-d
e8c9487
+Enter debug mode after loading the policy.
e8c9487
+.TP
e8c9487
+.B \-M
e8c9487
+Enable the MLS policy when checking and compiling the policy.
e8c9487
+.TP
e8c9487
+.B \-o filename
e8c9487
+Write a binary policy file to the specified filename.
e8c9487
+.TP
e8c9487
+.B \-c policyvers
e8c9487
+Specify the policy version, defaults to the latest.
e8c9487
+
e8c9487
+.SH "SEE ALSO"
e8c9487
+.B load_policy(8), semodule(8), semodule_package(8), semodule_expand(8), semodule_link(8)
e8c9487
+SELinux documentation at http://www.nsa.gov/selinux/docs.html,
e8c9487
+especially "Configuring the SELinux Policy".
e8c9487
+
e8c9487
+
e8c9487
+.SH AUTHOR
e8c9487
+This manual page was copied from the checkpolicy man page 
e8c9487
+written by Arpad Magosanyi <mag@bunuel.tii.matav.hu>, 
e8c9487
+and edited by Dan Walsh <dwalsh@redhat.com>.
e8c9487
+The program was written by Stephen Smalley <sds@epoch.ncsc.mil>.
e8c9487
diff --exclude-from=exclude -N -u -r nsacheckpolicy/Makefile checkpolicy-1.27.19/Makefile
e8c9487
--- nsacheckpolicy/Makefile	2005-09-12 16:30:34.000000000 -0400
e8c9487
+++ checkpolicy-1.27.19/Makefile	2005-12-01 15:00:34.000000000 -0500
e8c9487
@@ -45,6 +45,7 @@
e8c9487
 	-mkdir -p $(MANDIR)/man8
e8c9487
 	install -m 755 $(TARGETS) $(BINDIR)	
e8c9487
 	install -m 644 checkpolicy.8 $(MANDIR)/man8
e8c9487
+	install -m 644 checkmodule.8 $(MANDIR)/man8
2395713
 
e8c9487
 relabel: install
e8c9487
 	/sbin/restorecon $(BINDIR)/checkpolicy