]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Make sure sound_devices controlC* are labeled correctly on creation
authorDan Walsh <dwalsh@redhat.com>
Tue, 20 Dec 2011 17:13:30 +0000 (17:13 +0000)
committerDan Walsh <dwalsh@redhat.com>
Tue, 20 Dec 2011 17:13:30 +0000 (17:13 +0000)
policy/modules/kernel/devices.if

index cc3f02e2873b4c62f601918a5d5f8429e3c4939e..1082bb5312b05ef705232e971ed336a12c787a5d 100644 (file)
@@ -5899,6 +5899,16 @@ gen_require(`
        filetrans_pattern($1, device_t, xen_device_t, chr_file, "blktap9")
        filetrans_pattern($1, device_t, xen_device_t, chr_file, "gntdev")
        filetrans_pattern($1, device_t, xen_device_t, chr_file, "gntalloc")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC0")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC1")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC2")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC3")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC4")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC5")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC6")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC7")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC8")
+       filetrans_pattern($1, device_t, sound_device_t, chr_file, "controlC9")
        filetrans_pattern($1, device_t, sound_device_t, chr_file, "patmgr0")
        filetrans_pattern($1, device_t, sound_device_t, chr_file, "patmgr1")
        filetrans_pattern($1, device_t, sound_device_t, chr_file, "srnd0")