Additional docs for logging_log_filetrans().
This commit is contained in:
parent
42eb0f10a9
commit
5fb5bf2686
|
@ -433,6 +433,23 @@ interface(`logging_domtrans_syslog',`
|
||||||
## of the general system log type. To accomplish this goal,
|
## of the general system log type. To accomplish this goal,
|
||||||
## either the program must be SELinux-aware, or use this interface.
|
## either the program must be SELinux-aware, or use this interface.
|
||||||
## </p>
|
## </p>
|
||||||
|
## <p>
|
||||||
|
## Related interfaces:
|
||||||
|
## </p>
|
||||||
|
## <ul>
|
||||||
|
## <li>logging_log_file()</li>
|
||||||
|
## </ul>
|
||||||
|
## <p>
|
||||||
|
## Example usage with a domain that can create
|
||||||
|
## and append to a private log file stored in the
|
||||||
|
## general directories (e.g., /var/log):
|
||||||
|
## </p>
|
||||||
|
## <p>
|
||||||
|
## type mylogfile_t;
|
||||||
|
## logging_log_file(mylogfile_t)
|
||||||
|
## allow mydomain_t mylogfile_t:file { create_file_perms append_file_perms };
|
||||||
|
## logging_log_filetrans(mydomain_t, mylogfile_t, file)
|
||||||
|
## </p>
|
||||||
## </desc>
|
## </desc>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
## <summary>
|
## <summary>
|
||||||
|
|
Loading…
Reference in New Issue