aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@ieee.org>2017-04-26 06:36:20 -0400
committerJason Zaman <jason@perfinion.com>2017-04-30 22:17:42 +0800
commit11fd807a7c11d8f8d070e121224040c6ad00c038 (patch)
treed4290b26f02f0f6c16c8948edfaedb649bd1feb5 /policy/modules/admin
parentLogin take 4 from Russell Coker. (diff)
downloadhardened-refpolicy-11fd807a7c11d8f8d070e121224040c6ad00c038.tar.gz
hardened-refpolicy-11fd807a7c11d8f8d070e121224040c6ad00c038.tar.bz2
hardened-refpolicy-11fd807a7c11d8f8d070e121224040c6ad00c038.zip
Rename apm to acpi from Russell Coker.
This patch is slightly more involved than just running sed. It also adds typealias rules and doesn't change the FC entries. The /dev/apm_bios device doesn't exist on modern systems. I have left that policy in for the moment on the principle of making one change per patch. But I might send another patch to remove that as it won't exist with modern kernels.
Diffstat (limited to 'policy/modules/admin')
-rw-r--r--policy/modules/admin/consoletype.te4
1 files changed, 2 insertions, 2 deletions
diff --git a/policy/modules/admin/consoletype.te b/policy/modules/admin/consoletype.te
index 4d295c2f0..b44c55ece 100644
--- a/policy/modules/admin/consoletype.te
+++ b/policy/modules/admin/consoletype.te
@@ -61,8 +61,8 @@ ifdef(`distro_redhat',`
')
optional_policy(`
- apm_use_fds(consoletype_t)
- apm_write_pipes(consoletype_t)
+ acpi_use_fds(consoletype_t)
+ acpi_write_pipes(consoletype_t)
')
optional_policy(`