From: "Kenton Groombridge" <concord@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/hardened-refpolicy:concord-dev commit in: policy/modules/services/ Date: Mon, 6 Jun 2022 15:13:47 +0000 (UTC) [thread overview] Message-ID: <1654528382.0d5ccab85bdcf69ce73f5702eaed97ee4d539533.concord@gentoo> (raw) commit: 0d5ccab85bdcf69ce73f5702eaed97ee4d539533 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org> AuthorDate: Fri Nov 12 01:24:07 2021 +0000 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> CommitDate: Mon Jun 6 15:13:02 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0d5ccab8 apache: add gentoo-specific interface to map httpd sys content Signed-off-by: Kenton Groombridge <me <AT> concord.sh> policy/modules/services/apache.if | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/policy/modules/services/apache.if b/policy/modules/services/apache.if index 2b3a7f3c..8daa613b 100644 --- a/policy/modules/services/apache.if +++ b/policy/modules/services/apache.if @@ -1466,3 +1466,23 @@ interface(`apache_rw_runtime_files',` allow $1 httpd_runtime_t:file rw_file_perms; ') + +######################################## +## <summary> +## Map httpd sys content files. +## This interface is Gentoo-specific. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`apache_map_sys_content',` + gen_require(` + type httpd_sys_content_t, httpd_sys_rw_content_t; + ') + + allow $1 httpd_sys_content_t:file map; + allow $1 httpd_sys_rw_content_t:file map; +')
WARNING: multiple messages have this Message-ID (diff)
From: "Kenton Groombridge" <concord@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/hardened-refpolicy:various-20211111 commit in: policy/modules/services/ Date: Mon, 6 Jun 2022 15:13:32 +0000 (UTC) [thread overview] Message-ID: <1654528382.0d5ccab85bdcf69ce73f5702eaed97ee4d539533.concord@gentoo> (raw) Message-ID: <20220606151332.5dYKlXB-tQCxFoY_4N-0pFtmMCjmk136D1xUNX_zlew@z> (raw) commit: 0d5ccab85bdcf69ce73f5702eaed97ee4d539533 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org> AuthorDate: Fri Nov 12 01:24:07 2021 +0000 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> CommitDate: Mon Jun 6 15:13:02 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0d5ccab8 apache: add gentoo-specific interface to map httpd sys content Signed-off-by: Kenton Groombridge <me <AT> concord.sh> policy/modules/services/apache.if | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/policy/modules/services/apache.if b/policy/modules/services/apache.if index 2b3a7f3c..8daa613b 100644 --- a/policy/modules/services/apache.if +++ b/policy/modules/services/apache.if @@ -1466,3 +1466,23 @@ interface(`apache_rw_runtime_files',` allow $1 httpd_runtime_t:file rw_file_perms; ') + +######################################## +## <summary> +## Map httpd sys content files. +## This interface is Gentoo-specific. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`apache_map_sys_content',` + gen_require(` + type httpd_sys_content_t, httpd_sys_rw_content_t; + ') + + allow $1 httpd_sys_content_t:file map; + allow $1 httpd_sys_rw_content_t:file map; +')
next reply other threads:[~2022-06-06 15:14 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-06 15:13 Kenton Groombridge [this message] 2022-06-06 15:13 ` [gentoo-commits] proj/hardened-refpolicy:various-20211111 commit in: policy/modules/services/ Kenton Groombridge -- strict thread matches above, loose matches on Subject: below -- 2022-10-12 13:34 [gentoo-commits] proj/hardened-refpolicy:concord-dev " Kenton Groombridge 2022-10-12 13:34 Kenton Groombridge 2022-10-12 13:34 Kenton Groombridge 2022-10-12 13:34 Kenton Groombridge 2022-10-12 13:34 Kenton Groombridge 2022-10-12 13:34 Kenton Groombridge 2022-10-12 13:34 Kenton Groombridge 2022-10-12 13:34 Kenton Groombridge 2022-09-03 20:04 [gentoo-commits] proj/hardened-refpolicy:master " Kenton Groombridge 2022-10-12 13:34 ` [gentoo-commits] proj/hardened-refpolicy:concord-dev " Kenton Groombridge 2022-06-06 15:15 Kenton Groombridge 2022-06-06 15:08 Kenton Groombridge
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1654528382.0d5ccab85bdcf69ce73f5702eaed97ee4d539533.concord@gentoo \ --to=concord@gentoo.org \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox