Skip to contentSkip to conversation

kernel_devices.patch

refpolicy Daniel J Walsh 2 participants 3 messages Feb 23, 2010 – Mar 5, 2010

lore
Share & tools
lore
#0 lore raw

http://people.fedoraproject.org/~dwalsh/SELinux/F13/kernel_devices.patch

New devices
btrfs-control
dahdi
etherd
misc/dlm
pps
usbmon
uinput
uio

+dev_rw_generic_chr_files(devicekit_power_t)

+    dev_dontaudit_write_all_chr_files(abrt_helper_t)
+    dev_dontaudit_write_all_blk_files(abrt_helper_t)
+    dev_dontaudit_write_mtrr(iptables_t)

+dev_rw_all_inherited_chr_files(sandbox_domain)
+dev_rw_all_inherited_blk_files(sandbox_domain)
+dev_setattr_dlm_control(rgmanager_t)
+dev_setattr_dlm_control(gfs_controld_t
+dev_rw_dlm_control(dlm_controld_t)
+dev_write_kmsg(initrc_t)

#1 lore raw
Quoted 11 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F13/kernel_devices.patch

New devices
btrfs-control
dahdi
etherd
misc/dlm
pps
usbmon
uinput
uio

Merged, except for usbmod, only because I wonder if it should be debugfs_t, since the same info is available
under /sys/kernel/debug/usb/usbmon/* on a per-device basis.

Quoted 11 lines
(quoted diff) +10 -0
+dev_rw_generic_chr_files(devicekit_power_t)
+    dev_dontaudit_write_all_chr_files(abrt_helper_t)
+    dev_dontaudit_write_all_blk_files(abrt_helper_t)
+    dev_dontaudit_write_mtrr(iptables_t)
+dev_rw_all_inherited_chr_files(sandbox_domain)
+dev_rw_all_inherited_blk_files(sandbox_domain)
+dev_setattr_dlm_control(rgmanager_t)
+dev_setattr_dlm_control(gfs_controld_t
+dev_rw_dlm_control(dlm_controld_t)
+dev_write_kmsg(initrc_t)
Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
#2 lore raw
Quoted 19 lines · Christopher J. PeBenito
Quoted 12 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F13/kernel_devices.patch

New devices
btrfs-control
dahdi
etherd
misc/dlm
pps
usbmon
uinput
uio

Merged, except for usbmod, only because I wonder if it should be debugfs_t, since the same info is available
under /sys/kernel/debug/usb/usbmon/* on a per-device basis.

Quoted 12 lines

Review

Quoted 12 lines
(quoted diff) +10 -0
+dev_rw_generic_chr_files(devicekit_power_t)
+    dev_dontaudit_write_all_chr_files(abrt_helper_t)
+    dev_dontaudit_write_all_blk_files(abrt_helper_t)
+    dev_dontaudit_write_mtrr(iptables_t)
+dev_rw_all_inherited_chr_files(sandbox_domain)
+dev_rw_all_inherited_blk_files(sandbox_domain)
+dev_setattr_dlm_control(rgmanager_t)
+dev_setattr_dlm_control(gfs_controld_t
+dev_rw_dlm_control(dlm_controld_t)
+dev_write_kmsg(initrc_t)

Should we label both usbmon_dev_t? usmonfs_t?