git.if 385 B

123456789101112131415161718
  1. ########################################
  2. ## <summary>
  3. ## Execute the git binary in the caller domain.
  4. ## </summary>
  5. ## <param name="domain">
  6. ## <summary>
  7. ## Domain allowed access.
  8. ## </summary>
  9. ## </param>
  10. #
  11. interface(`git_exec',`
  12. gen_require(`
  13. type git_exec_t;
  14. ')
  15. corecmd_search_bin($1)
  16. can_exec($1, git_exec_t)
  17. ')