Skip to contentSkip to conversation

sysadm_t: allow writes to proc_net_t files

refpolicy Luis Ressel 1 participant 1 message Nov 16, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I propose to allow sysadm_t not only to read, but also to write proc_net_t files. This is needed for the /proc/net/xt_recent/* files, which are used to manually control the sets of netfilter's "recent" module.

Sure, the normal approach would be to create another domain for these files. But as I'm not aware of any other proc_net_t files which can be written to, I don't see any harm in just adding that permission.

Regards,
Luis Ressel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20131116/f36942a0/attachment.bin