git: add missing file contexts

Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
Kenton Groombridge 2022-04-27 14:29:32 -04:00
parent b6998e496d
commit ba4971ba89
No known key found for this signature in database
GPG Key ID: 16DEEFE55F45B79E
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
HOME_DIR/public_git(/.*)? gen_context(system_u:object_r:git_user_content_t,s0)
HOME_DIR/\.config/git(/.*)? gen_context(system_u:object_r:git_xdg_config_t,s0)
HOME_DIR/\.gitconfig -- gen_context(system_u:object_r:git_xdg_config_t,s0)
HOME_DIR/\.git-credentials -- gen_context(system_u:object_r:git_xdg_config_t,s0)
/usr/bin/git -- gen_context(system_u:object_r:git_exec_t,s0)
/usr/lib/git-core/git-daemon -- gen_context(system_u:object_r:gitd_exec_t,s0)