Skip to contentSkip to conversation

radius needs to read netlink_route and fix r_dir_perms->list_dir_perms

PATCH Daniel J Walsh 2 participants 2 messages Mar 8, 2007 – Mar 19, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/services/radius.te +2 -1
@@ -36,8 +36,9 @@
 allow radiusd_t self:unix_stream_socket create_stream_socket_perms;
 allow radiusd_t self:tcp_socket create_stream_socket_perms;
 allow radiusd_t self:udp_socket create_socket_perms;
+allow radiusd_t self:netlink_route_socket r_netlink_socket_perms;
 
-allow radiusd_t radiusd_etc_t:dir r_dir_perms;
+allow radiusd_t radiusd_etc_t:dir list_dir_perms;
 read_files_pattern(radiusd_t,radiusd_etc_t,radiusd_etc_t)
 read_lnk_files_pattern(radiusd_t,radiusd_etc_t,radiusd_etc_t)
 files_search_etc(radiusd_t)
#1 lore raw

policy/modules/services/radius.te 2007-03-08 08:42:37.000000000 -0500 line 44

Quoted 13 lines · Daniel J Walsh
policy/modules/services/radius.te 2007-03-08 08:42:37.000000000 -0500 renamed from policy/modules/services/radius.te 2007-01-02 12:57:43.000000000 -0500 +2 -1
@@ -36,8 +36,9 @@
 allow radiusd_t self:unix_stream_socket create_stream_socket_perms;
 allow radiusd_t self:tcp_socket create_stream_socket_perms;
 allow radiusd_t self:udp_socket create_socket_perms;
+allow radiusd_t self:netlink_route_socket r_netlink_socket_perms;
 
-allow radiusd_t radiusd_etc_t:dir r_dir_perms;
+allow radiusd_t radiusd_etc_t:dir list_dir_perms;
 read_files_pattern(radiusd_t,radiusd_etc_t,radiusd_etc_t)
 read_lnk_files_pattern(radiusd_t,radiusd_etc_t,radiusd_etc_t)
 files_search_etc(radiusd_t)

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.