progmaweb
The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.
Clonegit clone https://git.progmasoft.com/progmaweb
mainroot / ops / git / selinux / progmasoft_githttp.te
# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
# SPDX-License-Identifier: AGPL-3.0-or-later
# fcgiwrap@githttp runs in httpd_t under NoNewPrivileges, which systemd sets for its sandboxing.
# This lets git-http-backend move from there into git_script_t, the narrower domain the
# policy gives it; nothing else is allowed. Built and loaded with:
# checkmodule -M -m -o progmasoft_githttp.mod progmasoft_githttp.te
# semodule_package -o progmasoft_githttp.pp -m progmasoft_githttp.mod
# semodule -i progmasoft_githttp.pp
module progmasoft_githttp 1.0;
require {
type httpd_t;
type git_script_t;
class process2 nnp_transition;
}
allow httpd_t git_script_t:process2 nnp_transition;