aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Coker <russell@coker.com.au>2021-01-23 00:10:54 +1100
committerJason Zaman <perfinion@gentoo.org>2021-01-31 17:21:42 -0800
commitbc541ace6d0bcb65a05ada4dad2d37ae41057a8e (patch)
tree7354661bde1bfe50125ee0783464ac442e4b7f7f /policy/modules/kernel/devices.if
parentvarious: Module version bump. (diff)
downloadhardened-refpolicy-bc541ace6d0bcb65a05ada4dad2d37ae41057a8e.tar.gz
hardened-refpolicy-bc541ace6d0bcb65a05ada4dad2d37ae41057a8e.tar.bz2
hardened-refpolicy-bc541ace6d0bcb65a05ada4dad2d37ae41057a8e.zip
remove deprecated from 20190201
This patch removes every macro and interface that was deprecated in 20190201. Some of them date back to 2016 or 2017. I chose 20190201 as that is the one that is in the previous release of Debian. For any distribution I don't think it makes sense to carry interfaces that were deprecated in version N to version N+1. One thing that particularly annoys me is when audit2allow -R gives deprecated interfaces in it's output. Removing some of these should reduce the incidence of that. I believe this is worthy of merging. Signed-off-by: Russell Coker <russell@coker.com.au> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'policy/modules/kernel/devices.if')
-rw-r--r--policy/modules/kernel/devices.if14
1 files changed, 0 insertions, 14 deletions
diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
index a9190621e..6d1c5ae81 100644
--- a/policy/modules/kernel/devices.if
+++ b/policy/modules/kernel/devices.if
@@ -3631,20 +3631,6 @@ interface(`dev_rw_pmqos',`
########################################
## <summary>
-## Read printk devices (e.g., /dev/kmsg /dev/mcelog)
-## </summary>
-## <param name="domain" unused="true">
-## <summary>
-## Domain allowed access.
-## </summary>
-## </param>
-#
-interface(`dev_read_printk',`
- refpolicywarn(`$0() has been deprecated.')
-')
-
-########################################
-## <summary>
## Get the attributes of the QEMU
## microcode and id interfaces.
## </summary>