selinux-refpolicy/policy/modules
Paul Moore 9dc3cd1635 refpol: Policy for the new TUN driver access controls
Add policy for the new TUN driver access controls which allow policy to
control which domains have the ability to create and attach to TUN/TAP
devices.  The policy rules for creating and attaching to a device are as
shown below:

  # create a new device
  allow domain_t self:tun_socket { create };

  # attach to a persistent device (created by tunlbl_t)
  allow domain_t tunlbl_t:tun_socket { relabelfrom };
  allow domain_t self:tun_socket { relabelto };

Further discussion can be found on this thread:

 * http://marc.info/?t=125080850900002&r=1&w=2

Signed-off-by: Paul Moore <paul.moore@hp.com>
2009-08-31 08:36:06 -04:00
..
admin refpol: Policy for the new TUN driver access controls 2009-08-31 08:36:06 -04:00
apps refpol: Policy for the new TUN driver access controls 2009-08-31 08:36:06 -04:00
kernel split dev_create_cardmgr_dev() into a create and a filetrans interface. 2009-08-25 09:56:56 -04:00
roles module version number bump for release 2.20090730 that was mistakenly omitted. 2009-08-05 10:59:21 -04:00
services refpol: Policy for the new TUN driver access controls 2009-08-31 08:36:06 -04:00
system refpol: Policy for the new TUN driver access controls 2009-08-31 08:36:06 -04:00