From: "Sven Vermeulen" <swift@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/
Date: Tue, 9 Jun 2015 10:52:06 +0000 (UTC) [thread overview]
Message-ID: <1433668740.abcbaf9dd3597c68f75999fb3f755dd4c158e3d4.swift@gentoo> (raw)
Message-ID: <20150609105206.OLankNDCUGNengGqfWBXaMBGjEF2UqFp8lq8lcTkrKs@z> (raw)
commit: abcbaf9dd3597c68f75999fb3f755dd4c158e3d4
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Jun 7 09:19:00 2015 +0000
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Jun 7 09:19:00 2015 +0000
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=abcbaf9d
Fix bug 535988 - Do not audit device reads when invoking tcpdump
Occurs when invoking tcpdump without any options:
~# tcpdump
Denials:
time->Sun Jun 7 10:52:50 2015
type=AVC msg=audit(1433667170.527:83): avc: denied { read } for
pid=17708 comm="tcpdump" name="usbmon4" dev="devtmpfs" ino=163
scontext=staff_u:sysadm_r:netutils_t:s0
tcontext=system_u:object_r:usbmon_device_t:s0 tclass=chr_file
permissive=0
time->Sun Jun 7 10:52:50 2015
type=AVC msg=audit(1433667170.527:84): avc: denied { search } for
pid=17708 comm="tcpdump" name="/" dev="debugfs" ino=1
scontext=staff_u:sysadm_r:netutils_t:s0
tcontext=system_u:object_r:debugfs_t:s0 tclass=dir permissive=0
X-Gentoo-Bug: 535988
policy/modules/admin/netutils.te | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/policy/modules/admin/netutils.te b/policy/modules/admin/netutils.te
index b8169a8..54e1603 100644
--- a/policy/modules/admin/netutils.te
+++ b/policy/modules/admin/netutils.te
@@ -216,3 +216,14 @@ userdom_use_user_terminals(traceroute_t)
dev_read_rand(traceroute_t)
dev_read_urand(traceroute_t)
files_read_usr_files(traceroute_t)
+
+ifdef(`distro_gentoo',`
+ ########################################
+ #
+ # netutils_t policy updates
+ #
+
+ # Fix bug 535988
+ kernel_dontaudit_search_debugfs(netutils_t)
+ dev_dontaudit_read_usbmon_dev(netutils_t)
+')
next reply other threads:[~2015-06-09 10:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-07 9:31 Sven Vermeulen [this message]
2015-06-09 10:52 ` [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/ Sven Vermeulen
2015-06-09 13:24 ` [gentoo-commits] proj/hardened-refpolicy:swift " Sven Vermeulen
-- strict thread matches above, loose matches on Subject: below --
2017-02-17 8:44 [gentoo-commits] proj/hardened-refpolicy:master " Jason Zaman
2017-02-17 8:50 ` [gentoo-commits] proj/hardened-refpolicy:next " Jason Zaman
2017-01-01 16:36 [gentoo-commits] proj/hardened-refpolicy:master " Jason Zaman
2017-01-01 16:37 ` [gentoo-commits] proj/hardened-refpolicy:next " Jason Zaman
2015-08-02 19:06 Jason Zaman
2015-06-09 10:45 Sven Vermeulen
2015-01-29 6:51 Jason Zaman
2014-11-28 10:04 Sven Vermeulen
2014-11-27 22:23 [gentoo-commits] proj/hardened-refpolicy:master " Sven Vermeulen
2014-11-28 10:04 ` [gentoo-commits] proj/hardened-refpolicy:next " Sven Vermeulen
2014-10-12 8:59 Sven Vermeulen
2014-10-12 8:44 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=1433668740.abcbaf9dd3597c68f75999fb3f755dd4c158e3d4.swift@gentoo \
--to=swift@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