From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>,
SE Linux <selinux@tycho.nsa.gov>
Subject: nis changes for policy
Date: Tue, 20 Feb 2007 12:15:59 -0500 [thread overview]
Message-ID: <45DB2CCF.8020205@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 35 bytes --]
Lots of additional rules for ypxfr
[-- Attachment #2: nis.patch --]
[-- Type: text/x-patch, Size: 1372 bytes --]
--- nsaserefpolicy/policy/modules/services/nis.te 2007-02-19 11:32:53.000000000 -0500
+++ serefpolicy-2.5.4/policy/modules/services/nis.te 2007-02-20 12:12:48.000000000 -0500
@@ -323,17 +323,18 @@
#
# ypxfr local policy
#
-
+allow ypxfr_t self:unix_dgram_socket create_stream_socket_perms;
allow ypxfr_t self:unix_stream_socket create_stream_socket_perms;
-allow ypxfr_t self:tcp_socket connected_socket_perms;
+allow ypxfr_t self:tcp_socket create_stream_socket_perms;
allow ypxfr_t self:udp_socket create_socket_perms;
-
-manage_files_pattern(ypxfr_t, var_yp_t, var_yp_t)
+allow ypxfr_t self:netlink_route_socket r_netlink_socket_perms;
allow ypxfr_t ypserv_t:tcp_socket { read write };
allow ypxfr_t ypserv_t:udp_socket { read write };
-read_files_pattern(ypxfr_t,var_yp_t,var_yp_t)
+allow ypxfr_t ypserv_conf_t:file { getattr read };
+
+manage_files_pattern(ypxfr_t, var_yp_t, var_yp_t)
corenet_non_ipsec_sendrecv(ypxfr_t)
corenet_tcp_sendrecv_all_if(ypxfr_t)
@@ -355,7 +356,18 @@
files_read_etc_files(ypxfr_t)
files_search_usr(ypxfr_t)
+init_use_fds(ypxfr_t)
+
libs_use_shared_libs(ypxfr_t)
libs_use_ld_so(ypxfr_t)
+logging_send_syslog_msg(ypxfr_t)
+
+miscfiles_read_localization(ypxfr_t)
+
sysnet_read_config(ypxfr_t)
+
+ifdef(`targeted_policy', `
+ term_dontaudit_use_unallocated_ttys(ypxfr_t)
+ term_dontaudit_use_generic_ptys(ypxfr_t)
+')
next reply other threads:[~2007-02-20 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 17:15 Daniel J Walsh [this message]
2007-02-23 18:49 ` nis changes for policy Christopher J. PeBenito
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=45DB2CCF.8020205@redhat.com \
--to=dwalsh@redhat.com \
--cc=cpebenito@tresys.com \
--cc=selinux@tycho.nsa.gov \
/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.