2005-11-30 13:06:22 +00:00
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule/Makefile policycoreutils-1.27.30/semodule/Makefile
--- nsapolicycoreutils/semodule/Makefile 2005-10-10 09:02:48.000000000 -0400
+++ policycoreutils-1.27.30/semodule/Makefile 2005-11-29 16:11:32.000000000 -0500
@@ -17,6 +17,8 @@
install: all
-mkdir -p $(SBINDIR)
install -m 755 semodule $(SBINDIR)
+ test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8
+ install -m 644 semodule.8 $(MANDIR)/man8/
2005-11-29 05:05:11 +00:00
2005-11-30 13:06:22 +00:00
relabel:
2005-11-29 05:05:11 +00:00
2005-11-30 13:06:22 +00:00
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule/semodule.8 policycoreutils-1.27.30/semodule/semodule.8
--- nsapolicycoreutils/semodule/semodule.8 1969-12-31 19:00:00.000000000 -0500
+++ policycoreutils-1.27.30/semodule/semodule.8 2005-11-29 15:47:33.000000000 -0500
@@ -0,0 +1,53 @@
+.TH SEMODULE "8" "Nov 2005" "Security Enhanced Linux" NSA
+.SH NAME
+semodule \- Manage SELinux policy modules.
+
+.SH SYNOPSIS
+.B semodule
+.br
+.SH DESCRIPTION
+.PP
+semodule is the tool used to manage policy, it can call functions to load/replace the policy in the kernel, as well as setup load_able modules.
2005-11-29 05:05:11 +00:00
+
2005-11-30 13:06:22 +00:00
+.SH "OPTIONS"
2005-11-29 05:05:11 +00:00
+.TP
2005-11-30 13:06:22 +00:00
+.B \-R, \-\-reload
+reload policy
2005-11-29 05:05:11 +00:00
+.TP
2005-11-30 13:06:22 +00:00
+.B \-B, \-\-build
+build and reload policy
2005-11-29 05:05:11 +00:00
+.TP
2005-11-30 13:06:22 +00:00
+.B \-i,\-\-install=MODULE_PKG
+install a new module
2005-11-29 05:05:11 +00:00
+.TP
2005-11-30 13:06:22 +00:00
+.B \-u,\-\-upgrade=MODULE_PKG
+upgrade existing module
+.TP
+.B \-b,\-\-base=MODULE_PKG
+install new base module
+.TP
+.B \-r,\-\-remove=MODULE_NAME
+remove existing module
+.TP
+.B \-l,\-\-list-modules
+display list of installed modules
+.TP
+.B \-s,\-\-store
+name of the store to operate on
+.TP
+.B \-n,\-\-noreload
+do not reload policy after commit
+.TP
+.B \-h,\-\-help
+prints help message and quit
+.TP
+.B \-v,\-\-verbose
+be verbose reset the policy boolean values to the saved policy settings.
+
+.SH SEE ALSO
+.B load_policy(8), semodule_package(8), semodule_expand(8), semodule_link(8)
+(8),
+.SH AUTHORS
+.nf
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
+The program was written by Karl MacMillan <kmacmillan@tresys.com>, Joshua Brindle <jbrindle@tresys.com>, Jason Tang <jtang@tresys.com>
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule_expand/Makefile policycoreutils-1.27.30/semodule_expand/Makefile
--- nsapolicycoreutils/semodule_expand/Makefile 2005-10-12 15:25:33.000000000 -0400
+++ policycoreutils-1.27.30/semodule_expand/Makefile 2005-11-29 16:06:55.000000000 -0500
@@ -3,6 +3,7 @@
INCLUDEDIR ?= $(PREFIX)/include
BINDIR ?= $(PREFIX)/bin
LIBDIR ?= ${PREFIX}/lib
+MANDIR ?= $(PREFIX)/share/man
2005-11-29 05:05:11 +00:00
2005-11-30 13:06:22 +00:00
CFLAGS ?= -Werror -Wall -W
override CFLAGS += -I$(INCLUDEDIR)
@@ -15,6 +16,8 @@
install: all
-mkdir -p $(BINDIR)
install -m 755 semodule_expand $(BINDIR)
+ test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8
+ install -m 644 semodule_expand.8 $(MANDIR)/man8/
relabel:
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule_expand/semodule_expand.8 policycoreutils-1.27.30/semodule_expand/semodule_expand.8
--- nsapolicycoreutils/semodule_expand/semodule_expand.8 1969-12-31 19:00:00.000000000 -0500
+++ policycoreutils-1.27.30/semodule_expand/semodule_expand.8 2005-11-29 15:58:23.000000000 -0500
@@ -0,0 +1,26 @@
+.TH SEMODULE_EXPAND "8" "Nov 2005" "Security Enhanced Linux" NSA
+.SH NAME
+semodule_expand \- Manage SELinux policy modules.
+
+.SH SYNOPSIS
+.B semodule_expand [-V -c [version]] basemodpkg outputfile
2005-11-29 05:05:11 +00:00
+.br
2005-11-30 13:06:22 +00:00
+.SH DESCRIPTION
+.PP
+semodule_expand is the tool used to create a policy file from a base policy module. Tool takes to arguments: The name of the base policy package (usually base.pp) and the name of the policy output file (policy.20).
2005-11-29 05:05:11 +00:00
+
+.SH "OPTIONS"
2005-11-30 13:06:22 +00:00
+.TP
+.B \-V
+verbose mode
+.TP
+.B \-c [version]
+policy version to create
+
+.SH SEE ALSO
+.B load_policy(8), semodule_package(8), semodule(8), semodule_link(8)
+(8),
+.SH AUTHORS
+.nf
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
+The program was written by Karl MacMillan <kmacmillan@tresys.com>, Joshua Brindle <jbrindle@tresys.com>
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule_link/Makefile policycoreutils-1.27.30/semodule_link/Makefile
--- nsapolicycoreutils/semodule_link/Makefile 2005-10-12 15:25:33.000000000 -0400
+++ policycoreutils-1.27.30/semodule_link/Makefile 2005-11-29 16:06:48.000000000 -0500
@@ -2,6 +2,7 @@
PREFIX ?= ${DESTDIR}/usr
INCLUDEDIR ?= $(PREFIX)/include
BINDIR ?= $(PREFIX)/bin
+MANDIR ?= $(PREFIX)/share/man
LIBDIR ?= ${PREFIX}/lib
2005-11-09 22:43:40 +00:00
2005-11-30 13:06:22 +00:00
CFLAGS ?= -Werror -Wall -W
@@ -15,6 +16,8 @@
install: all
-mkdir -p $(BINDIR)
install -m 755 semodule_link $(BINDIR)
+ test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8
+ install -m 644 semodule_link.8 $(MANDIR)/man8/
2005-11-09 19:13:13 +00:00
2005-11-30 13:06:22 +00:00
relabel:
2005-11-17 16:06:39 +00:00
2005-11-30 13:06:22 +00:00
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule_link/semodule_link.8 policycoreutils-1.27.30/semodule_link/semodule_link.8
--- nsapolicycoreutils/semodule_link/semodule_link.8 1969-12-31 19:00:00.000000000 -0500
+++ policycoreutils-1.27.30/semodule_link/semodule_link.8 2005-11-29 16:04:14.000000000 -0500
@@ -0,0 +1,27 @@
+.TH SEMODULE_LINK "8" "Nov 2005" "Security Enhanced Linux" NSA
+.SH NAME
+semodule_link \- Link a group of modules together with a base module
+
+.SH SYNOPSIS
+.B semodule_link [-V] [-o outfile] basemodpkg modpkg1 [modpkg2]...
+.br
+.SH DESCRIPTION
+.PP
+semodule_link is the tool used to create a policy file from a base policy module. and one of more loadable policy modules: The name of the base policy package (usually base.pp) and the name of the policy output file (policy.20).
2005-11-29 05:05:11 +00:00
+
2005-11-30 13:06:22 +00:00
+.SH "OPTIONS"
+.TP
+.B \-V
+verbose mode
+.TP
+.B \-o \-\-outfile <output file>
+Loadable package Output file
+
+
+.SH SEE ALSO
+.B load_policy(8), semodule_package(8), semodule(8), semodule_expand(8)
+(8),
+.SH AUTHORS
+.nf
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
+The program was written by Karl MacMillan <kmacmillan@tresys.com>
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule_package/Makefile policycoreutils-1.27.30/semodule_package/Makefile
--- nsapolicycoreutils/semodule_package/Makefile 2005-10-12 15:25:33.000000000 -0400
+++ policycoreutils-1.27.30/semodule_package/Makefile 2005-11-29 16:06:08.000000000 -0500
@@ -3,6 +3,7 @@
INCLUDEDIR ?= $(PREFIX)/include
BINDIR ?= $(PREFIX)/bin
LIBDIR ?= ${PREFIX}/lib
+MANDIR ?= $(PREFIX)/share/man
2005-11-29 05:05:11 +00:00
2005-11-30 13:06:22 +00:00
CFLAGS ?= -Werror -Wall -W
override CFLAGS += -I$(INCLUDEDIR)
@@ -15,6 +16,8 @@
install: all
-mkdir -p $(BINDIR)
install -m 755 semodule_package $(BINDIR)
+ test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8
+ install -m 644 semodule_package.8 $(MANDIR)/man8/
2005-11-17 16:06:39 +00:00
2005-11-30 13:06:22 +00:00
relabel:
2005-11-17 16:06:39 +00:00
2005-11-30 13:06:22 +00:00
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/semodule_package/semodule_package.8 policycoreutils-1.27.30/semodule_package/semodule_package.8
--- nsapolicycoreutils/semodule_package/semodule_package.8 1969-12-31 19:00:00.000000000 -0500
+++ policycoreutils-1.27.30/semodule_package/semodule_package.8 2005-11-29 16:02:13.000000000 -0500
@@ -0,0 +1,29 @@
+.TH SEMODULE_PACKAGE "8" "Nov 2005" "Security Enhanced Linux" NSA
+.SH NAME
+semodule_package \- Create loadable policy modules.
+
+.SH SYNOPSIS
+.B semodule_package -o <output file> -m <module> [-f <file contexts>]
+.br
+.SH DESCRIPTION
+.PP
+semodule_package is the tool used to create a policy file from a base policy module. Tool takes to arguments: The name of the base policy package (usually base.pp) and the name of the policy output file (policy.20).
+
+.SH "OPTIONS"
+.TP
+.B \-o \-\-outfile <output file>
+Loadable package Output file
+.TP
+.B \-m \-\-module <Module file>
+Module file (te file)
+.TP
+.B \-f \-\-fc <File context file>
+Policy File contexts file
+
+.SH SEE ALSO
+.B load_policy(8), semodule(8), semodule_expand(8), semodule_link(8)
+(8),
+.SH AUTHORS
+.nf
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
+The program was written by Karl MacMillan <kmacmillan@tresys.com>