|
|
d51d46 |
From 51bfe6f1336d8924ebfab5839412833387a618e1 Mon Sep 17 00:00:00 2001
|
|
|
d51d46 |
From: Scorpion <zfridric@redhat.com>
|
|
|
d51d46 |
Date: Wed, 10 Jul 2019 16:20:13 +0200
|
|
|
d51d46 |
Subject: [PATCH] manpage for fapolicyd-cli added (#38)
|
|
|
d51d46 |
|
|
|
d51d46 |
---
|
|
|
d51d46 |
doc/Makefile.am | 2 +-
|
|
|
d51d46 |
doc/fapolicyd-cli.1 | 22 ++++++++++++++++++++++
|
|
|
d51d46 |
doc/fapolicyd.8 | 3 ++-
|
|
|
d51d46 |
doc/fapolicyd.conf.5 | 7 ++++---
|
|
|
d51d46 |
doc/fapolicyd.rules.5 | 5 +++--
|
|
|
d51d46 |
fapolicyd.spec | 1 +
|
|
|
d51d46 |
6 files changed, 33 insertions(+), 7 deletions(-)
|
|
|
d51d46 |
create mode 100644 doc/fapolicyd-cli.1
|
|
|
d51d46 |
|
|
|
d51d46 |
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
|
|
d51d46 |
index 7fabe91..bd56170 100644
|
|
|
d51d46 |
--- a/doc/Makefile.am
|
|
|
d51d46 |
+++ b/doc/Makefile.am
|
|
|
d51d46 |
@@ -22,5 +22,5 @@
|
|
|
d51d46 |
|
|
|
d51d46 |
EXTRA_DIST = $(man_MANS)
|
|
|
d51d46 |
|
|
|
d51d46 |
-man_MANS = fapolicyd.8 fapolicyd.rules.5 fapolicyd.conf.5
|
|
|
d51d46 |
+man_MANS = fapolicyd.8 fapolicyd-cli.1 fapolicyd.rules.5 fapolicyd.conf.5
|
|
|
d51d46 |
|
|
|
d51d46 |
diff --git a/doc/fapolicyd-cli.1 b/doc/fapolicyd-cli.1
|
|
|
d51d46 |
new file mode 100644
|
|
|
d51d46 |
index 0000000..85d29cf
|
|
|
d51d46 |
--- /dev/null
|
|
|
d51d46 |
+++ b/doc/fapolicyd-cli.1
|
|
|
d51d46 |
@@ -0,0 +1,22 @@
|
|
|
d51d46 |
+.TH "FAPOLICYD-CLI" "1" "July 2019" "Red Hat" "System Administration Utilities"
|
|
|
d51d46 |
+.SH NAME
|
|
|
d51d46 |
+fapolicyd-cli \- Fapolicyd CLI Tool
|
|
|
d51d46 |
+.SH SYNOPSIS
|
|
|
d51d46 |
+\fBfapolicyd-cli\fP [\fIoptions\fP]
|
|
|
d51d46 |
+.SH DESCRIPTION
|
|
|
d51d46 |
+Fapolicyd CLI Tool.
|
|
|
d51d46 |
+.SH OPTIONS
|
|
|
d51d46 |
+.TP
|
|
|
d51d46 |
+.B \-h, \-\-help
|
|
|
d51d46 |
+Prints this help message.
|
|
|
d51d46 |
+.TP
|
|
|
d51d46 |
+.B \-u, \-\-update
|
|
|
d51d46 |
+Notifies fapolicyd to perform update of database.
|
|
|
d51d46 |
+.SH "SEE ALSO"
|
|
|
d51d46 |
+.BR fapolicyd (8),
|
|
|
d51d46 |
+.BR fapolicyd.rules (5)
|
|
|
d51d46 |
+and
|
|
|
d51d46 |
+.BR fapolicyd.conf (5)
|
|
|
d51d46 |
+
|
|
|
d51d46 |
+.SH AUTHOR
|
|
|
d51d46 |
+Zoltan Fridrich
|
|
|
d51d46 |
diff --git a/doc/fapolicyd.8 b/doc/fapolicyd.8
|
|
|
d51d46 |
index 01745d4..3cfaaef 100644
|
|
|
d51d46 |
--- a/doc/fapolicyd.8
|
|
|
d51d46 |
+++ b/doc/fapolicyd.8
|
|
|
d51d46 |
@@ -1,4 +1,4 @@
|
|
|
d51d46 |
-.TH "FAPOLICYD" "8" "June 2018" "Red Hat" "System Administration Utilities"
|
|
|
d51d46 |
+.TH "FAPOLICYD" "8" "July 2019" "Red Hat" "System Administration Utilities"
|
|
|
d51d46 |
.SH NAME
|
|
|
d51d46 |
fapolicyd \- File Access Policy Daemon
|
|
|
d51d46 |
.SH SYNOPSIS
|
|
|
d51d46 |
@@ -58,6 +58,7 @@ To get audit events, you must have auditing enabled and at least one systemcall
|
|
|
d51d46 |
- information about what was being accessed.
|
|
|
d51d46 |
|
|
|
d51d46 |
.SH "SEE ALSO"
|
|
|
d51d46 |
+.BR fapolicyd-cli (1),
|
|
|
d51d46 |
.BR fapolicyd.rules (5)
|
|
|
d51d46 |
and
|
|
|
d51d46 |
.BR fapolicyd.conf (5)
|
|
|
d51d46 |
diff --git a/doc/fapolicyd.conf.5 b/doc/fapolicyd.conf.5
|
|
|
d51d46 |
index 2e758cc..87e994c 100644
|
|
|
d51d46 |
--- a/doc/fapolicyd.conf.5
|
|
|
d51d46 |
+++ b/doc/fapolicyd.conf.5
|
|
|
d51d46 |
@@ -1,4 +1,4 @@
|
|
|
d51d46 |
-.TH FAPOLICYD.CONF: "5" "June 2018" "Red Hat" "System Administration Utilities"
|
|
|
d51d46 |
+.TH FAPOLICYD.CONF: "5" "July 2019" "Red Hat" "System Administration Utilities"
|
|
|
d51d46 |
.SH NAME
|
|
|
d51d46 |
fapolicyd.conf \- fapolicyd configuration file
|
|
|
d51d46 |
.SH DESCRIPTION
|
|
|
d51d46 |
@@ -47,9 +47,10 @@ This option controls how many entries the subject cache holds. You want the size
|
|
|
d51d46 |
This option controls how many entries the object cache holds. You want the size to be big enough that you are not getting too many evictions compared to hits. But you don't want to waste memory. Whenever there is an eviction, fapolicyd has to regenerate information about the subject and this slows performance. The default value is 4096.
|
|
|
d51d46 |
|
|
|
d51d46 |
.SH "SEE ALSO"
|
|
|
d51d46 |
-.BR fapolicyd(8)
|
|
|
d51d46 |
+.BR fapolicyd (8),
|
|
|
d51d46 |
+.BR fapolicyd-cli (1)
|
|
|
d51d46 |
and
|
|
|
d51d46 |
-.BR fapolicy.rules(5).
|
|
|
d51d46 |
+.BR fapolicy.rules (5).
|
|
|
d51d46 |
|
|
|
d51d46 |
.SH AUTHOR
|
|
|
d51d46 |
Steve Grubb
|
|
|
d51d46 |
diff --git a/doc/fapolicyd.rules.5 b/doc/fapolicyd.rules.5
|
|
|
d51d46 |
index 887bdf7..067fa43 100644
|
|
|
d51d46 |
--- a/doc/fapolicyd.rules.5
|
|
|
d51d46 |
+++ b/doc/fapolicyd.rules.5
|
|
|
d51d46 |
@@ -1,4 +1,4 @@
|
|
|
d51d46 |
-.TH FAPOLICYD.RULES: "7" "May 2016" "Red Hat" "System Administration Utilities"
|
|
|
d51d46 |
+.TH FAPOLICYD.RULES: "7" "July 2019" "Red Hat" "System Administration Utilities"
|
|
|
d51d46 |
.SH NAME
|
|
|
d51d46 |
fapolicyd.rules \- fapolicyd rules to determine access rights
|
|
|
d51d46 |
.SH DESCRIPTION
|
|
|
d51d46 |
@@ -129,7 +129,8 @@ The following rules show how rules may look.
|
|
|
d51d46 |
.fi
|
|
|
d51d46 |
|
|
|
d51d46 |
.SH "SEE ALSO"
|
|
|
d51d46 |
-.BR fapolicyd (8)
|
|
|
d51d46 |
+.BR fapolicyd (8),
|
|
|
d51d46 |
+.BR fapolicyd-cli (1)
|
|
|
d51d46 |
and
|
|
|
d51d46 |
.BR fapolicyd.conf (5)
|
|
|
d51d46 |
|
|
|
d51d46 |
diff --git a/fapolicyd.spec b/fapolicyd.spec
|
|
|
d51d46 |
index 66656b6..fed4dd4 100644
|
|
|
d51d46 |
--- a/fapolicyd.spec
|
|
|
d51d46 |
+++ b/fapolicyd.spec
|
|
|
d51d46 |
@@ -61,6 +61,7 @@ getent passwd %{name} >/dev/null || useradd -r -M -d %{_localstatedir}/lib/%{nam
|
|
|
d51d46 |
%attr(755,root,root) %{_sbindir}/%{name}-cli
|
|
|
d51d46 |
%attr(644,root,root) %{_mandir}/man8/*
|
|
|
d51d46 |
%attr(644,root,root) %{_mandir}/man5/*
|
|
|
d51d46 |
+%attr(644,root,root) %{_mandir}/man1/*
|
|
|
d51d46 |
%ghost %{_localstatedir}/log/%{name}-access.log
|
|
|
d51d46 |
%attr(770,root,%{name}) %dir %{_localstatedir}/lib/%{name}
|
|
|
d51d46 |
%attr(770,root,%{name}) %dir /run/%{name}
|