From 8bc4c2840932ebcc2aedfcc17bce1f2b621e21a3 Mon Sep 17 00:00:00 2001 From: Vilgot Fredenberg Date: Sat, 15 Feb 2020 09:06:16 +0100 Subject: [PATCH] Remove old exception This exception goes back 14 years to commit 85c20af3c10867e3d62afa4326ea3d0f5dec4e41 and 11a0508edeaa33538abdb74bb5ba033742a77a07. The tts exception is covered by a distro agnostic rule further up, and the udev rule doesn't even work (it's supposed to be /lib/udev/ not /usr/lib/udev on gentoo) so I seriously doubt anyone is going to miss them. Signed-off-by: Vilgot --- policy/modules/kernel/terminal.fc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/policy/modules/kernel/terminal.fc b/policy/modules/kernel/terminal.fc index 34175f752..34e7dc911 100644 --- a/policy/modules/kernel/terminal.fc +++ b/policy/modules/kernel/terminal.fc @@ -37,10 +37,3 @@ /dev/vcs[^/]* -c gen_context(system_u:object_r:tty_device_t,s0) /dev/xvc[0-9]* -c gen_context(system_u:object_r:tty_device_t,s0) - -ifdef(`distro_gentoo',` -/dev/tts/[0-9]+ -c gen_context(system_u:object_r:tty_device_t,s0) - -# used by init scripts to initally populate udev /dev -/usr/lib/udev/devices/console -c gen_context(system_u:object_r:console_device_t,s0) -')