From: sven.vermeulen@siphos.be (Sven Vermeulen)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 5/6] Dumpcap dumps the packets as packet_socket
Date: Sun, 4 Sep 2011 13:27:34 +0200 [thread overview]
Message-ID: <20110904112733.GF2631@siphos.be> (raw)
In-Reply-To: <20110904112506.GA2631@siphos.be>
The dumpcap utility (running in the wireshark_t domain) needs to be able
to write packet_sockets
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
policy/modules/apps/wireshark.te | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/policy/modules/apps/wireshark.te b/policy/modules/apps/wireshark.te
index 5ee2530..78afc39 100644
--- a/policy/modules/apps/wireshark.te
+++ b/policy/modules/apps/wireshark.te
@@ -40,7 +40,7 @@ allow wireshark_t self:fifo_file { getattr read write };
allow wireshark_t self:shm destroy;
allow wireshark_t self:shm create_shm_perms;
allow wireshark_t self:netlink_route_socket { nlmsg_read create_socket_perms };
-allow wireshark_t self:packet_socket { setopt bind ioctl getopt create read };
+allow wireshark_t self:packet_socket { setopt bind ioctl getopt create read write };
allow wireshark_t self:tcp_socket create_socket_perms;
allow wireshark_t self:udp_socket create_socket_perms;
--
1.7.3.4
next prev parent reply other threads:[~2011-09-04 11:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-04 11:25 [refpolicy] [PATCH 0/6] Wireshark application updates Sven Vermeulen
2011-09-04 11:25 ` [refpolicy] [PATCH 1/6] Allow using user terminals Sven Vermeulen
2011-09-06 18:30 ` Christopher J. PeBenito
2011-09-07 19:38 ` Sven Vermeulen
2011-09-04 11:26 ` [refpolicy] [PATCH 2/6] Allow wireshark to use the random device Sven Vermeulen
2011-09-04 11:26 ` [refpolicy] [PATCH 3/6] Remove duplicate corecmd_search_bin Sven Vermeulen
2011-09-04 11:27 ` [refpolicy] [PATCH 4/6] Allow wireshark to execute bin_t Sven Vermeulen
2011-09-04 11:27 ` Sven Vermeulen [this message]
2011-09-04 11:28 ` [refpolicy] [PATCH 6/6] Grant wireshark read access on sysfs 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=20110904112733.GF2631@siphos.be \
--to=sven.vermeulen@siphos.be \
--cc=refpolicy@oss.tresys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.