Skip to content

Commit f76484b

Browse files
skosachiovradosroka
authored andcommitted
fix man
1 parent 2e7b115 commit f76484b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/fapolicyd.rules.5

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ in favor of using obj_trust with execute permission when writing rules.
8787
.RE
8888
.TP
8989
.B ftype
90-
This option takes the mime type of a file as an argument. If you wish to check the mime type of a file while writing rules, run the following command:
90+
This option takes the mime type of a file as an argument. Mime is determined based on magic patterns files. Fapolicyd uses two precompiled magic files /usr/share/fapolicyd/fapolicyd-magic.mgc and /usr/share/misc/magic.mgc. To compile a magic file run the command \fBfile -C -m <magic file>\fP. If you wish to check the mime type of a file while writing rules, run the following command:
9191

9292
.nf
9393
.B fapolicyd-cli \-\-ftype /path-to-file
@@ -169,7 +169,7 @@ will run and compile all these component files into one master file, compiled.ru
169169
.B fagenrules
170170
man page for more information.
171171

172-
When you are writing a rule for the execute permission, remember that the file to be executed is an
172+
When you are writing a rule for the execute permission, remember that the file to be executed is an
173173
.B object.
174174
For example, you type ssh into the shell. The shell calls execve on /usr/bin/ssh. At that instant in time, ssh is the object that bash is working on. However, if you are blocking execution
175175
.I from

0 commit comments

Comments
 (0)