public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jason Zaman" <perfinion@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/support/
Date: Mon,  1 Feb 2021 02:10:08 +0000 (UTC)	[thread overview]
Message-ID: <1612142502.2a706fe10f808aac846cef19c5362a22a6e5253c.perfinion@gentoo> (raw)

commit:     2a706fe10f808aac846cef19c5362a22a6e5253c
Author:     Chris PeBenito <pebenito <AT> ieee <DOT> org>
AuthorDate: Thu Jan 28 15:51:39 2021 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Mon Feb  1 01:21:42 2021 +0000
URL:        https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=2a706fe1

file_patterns.spt: Add a mmap_manage_files_pattern().

Signed-off-by: Chris PeBenito <pebenito <AT> ieee.org>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 policy/support/file_patterns.spt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/policy/support/file_patterns.spt b/policy/support/file_patterns.spt
index 6ce53fa9..19fcf275 100644
--- a/policy/support/file_patterns.spt
+++ b/policy/support/file_patterns.spt
@@ -154,6 +154,11 @@ define(`manage_files_pattern',`
 	allow $1 $3:file manage_file_perms;
 ')
 
+define(`mmap_manage_files_pattern',`
+	allow $1 $2:dir rw_dir_perms;
+	allow $1 $3:file { manage_file_perms map };
+')
+
 define(`relabelfrom_files_pattern',`
 	allow $1 $2:dir search_dir_perms;
 	allow $1 $3:file relabelfrom_file_perms;


             reply	other threads:[~2021-02-01  2:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01  2:10 Jason Zaman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-01 19:56 [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/support/ Kenton Groombridge
2023-10-06 16:44 Kenton Groombridge
2022-12-13 20:55 Kenton Groombridge
2021-11-21  3:00 Jason Zaman
2018-11-11 23:29 Jason Zaman
2018-11-11 23:29 Jason Zaman
2018-09-11  9:06 Jason Zaman
2018-09-11  9:06 Jason Zaman
2018-01-18 16:37 Sven Vermeulen
2017-12-14  5:15 Jason Zaman
2017-02-21  7:11 Jason Zaman
2017-02-17  8:50 [gentoo-commits] proj/hardened-refpolicy:next " Jason Zaman
2017-02-17  8:44 ` [gentoo-commits] proj/hardened-refpolicy:master " Jason Zaman
2016-12-06 13:39 Jason Zaman
2016-12-06 13:39 Jason Zaman
2014-08-26 14:55 Sven Vermeulen
2012-12-09 22:25 Sven Vermeulen

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=1612142502.2a706fe10f808aac846cef19c5362a22a6e5253c.perfinion@gentoo \
    --to=perfinion@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: link
Be 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