sepolicy: fix misspelling of _ra_content_t suffix
When "sepolicy manpage" generates descriptions for file type, it uses a mispelled _ra_content_t suffix for prettyprinting, which results in an unwanted double-space on the line. For example sepolicy manpage -d httpd_t produces: .EX .P .B httpd_apcupsd_cgi_ra_content_t .EE - Set files with the httpd_apcupsd_cgi_ra_content_t type, if you want to treat the files as httpd apcupsd cgi read/append content. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
d329bb5465
commit
07d06cc430
1 changed files with 1 additions and 1 deletions
|
@ -956,7 +956,7 @@ def get_description(f, markup=markup):
|
|||
if f.endswith("_db_t"):
|
||||
return txt + "treat the files as %s database content." % prettyprint(f, "_db_t")
|
||||
if f.endswith("_ra_content_t"):
|
||||
return txt + "treat the files as %s read/append content." % prettyprint(f, "_ra_conten_t")
|
||||
return txt + "treat the files as %s read/append content." % prettyprint(f, "_ra_content_t")
|
||||
if f.endswith("_cert_t"):
|
||||
return txt + "treat the files as %s certificate data." % prettyprint(f, "_cert_t")
|
||||
if f.endswith("_key_t"):
|
||||
|
|
Loading…
Reference in a new issue