Skip to content

Commit

Permalink
Label /usr/local/share/ca-certificates(/.*)? as cert_t
Browse files Browse the repository at this point in the history
On Debian, this directory can contain locally trusted certificates that
will be then be symlinked to /etc/ssl/certs by
update-ca-certificates(8), the files should be labelled as cert_t.
  • Loading branch information
bigon authored and pebenito committed Apr 11, 2014
1 parent b7bd94f commit d30d36a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions policy/modules/system/miscfiles.fc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ ifdef(`distro_redhat',`

/usr/lib/perl5/man(/.*)? gen_context(system_u:object_r:man_t,s0)

/usr/local/share/ca-certificates(/.*)? gen_context(system_u:object_r:cert_t,s0)

/usr/local/man(/.*)? gen_context(system_u:object_r:man_t,s0)
/usr/local/share/man(/.*)? gen_context(system_u:object_r:man_t,s0)

Expand Down

0 comments on commit d30d36a

Please sign in to comment.