git: fix typo in git hook exec access

Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
Kenton Groombridge 2021-11-08 11:59:03 -05:00
parent 7be64d4bfa
commit bfc4fb4955
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ template(`git_client_role_template',`
auth_use_nsswitch($1_git_t)
# allow userdomains to exec git hooks
exec_files_pattern($3, git_home_t, git_home_t)
exec_files_pattern($3, git_home_hook_t, git_home_hook_t)
# transition back to the user domain when executing git hooks
domtrans_pattern($1_git_t, git_home_t, $3)