From 3547868a8b48361ab0d5a67b1d77f6bb116fda0e Mon Sep 17 00:00:00 2001 From: bauen1 Date: Sat, 1 Feb 2020 21:47:29 +0100 Subject: [PATCH] udev: remove console-setup --- policy/modules/system/udev.fc | 1 - policy/modules/system/udev.te | 1 - 2 files changed, 2 deletions(-) diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc index 35b68d1cd..0ae7571cd 100644 --- a/policy/modules/system/udev.fc +++ b/policy/modules/system/udev.fc @@ -40,6 +40,5 @@ ifdef(`distro_redhat',` /run/udev(/.*)? gen_context(system_u:object_r:udev_runtime_t,s0) ifdef(`distro_debian',` -/run/console-setup(/.*)? gen_context(system_u:object_r:udev_runtime_t,s0) /run/xen-hotplug -d gen_context(system_u:object_r:udev_runtime_t,s0) ') diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te index 7e6441c5e..3fce6c743 100644 --- a/policy/modules/system/udev.te +++ b/policy/modules/system/udev.te @@ -86,7 +86,6 @@ manage_files_pattern(udev_t, udev_runtime_t, udev_runtime_t) manage_lnk_files_pattern(udev_t, udev_runtime_t, udev_runtime_t) manage_sock_files_pattern(udev_t, udev_runtime_t, udev_runtime_t) files_pid_filetrans(udev_t, udev_runtime_t, dir, "udev") -files_pid_filetrans(udev_t, udev_runtime_t, dir, "console-setup") kernel_load_module(udev_t) kernel_read_system_state(udev_t)