|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
--- a/kernel/rh_taint.c 2020-10-16 10:41:51.000000000 -0500
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+++ b/kernel/rh_taint.c 2020-11-19 10:50:24.853039167 -0600
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
@@ -2,12 +2,12 @@
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
#include <linux/module.h>
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
/*
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * The following functions are used by Red Hat to indicate to users that
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * hardware and drivers are unsupported, or have limited support in RHEL major
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * The following functions are used by CentOS Linux to indicate to users that
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * hardware and drivers are unsupported, or have limited support in CentOS Linux major
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* and minor releases. These functions output loud warning messages to the end
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* user and should be USED WITH CAUTION.
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * Any use of these functions _MUST_ be documented in the RHEL Release Notes,
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * Any use of these functions _MUST_ be documented in the CentOS Linux Release Notes,
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* and have approval of management.
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*/
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
@@ -16,15 +16,15 @@
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* @msg: Hardware name, class, or type
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* Called to mark a device, class of devices, or types of devices as not having
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * support in any RHEL minor release. This does not TAINT the kernel. Red Hat
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * will not fix bugs against this hardware in this minor release. Red Hat may
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * support in any CentOS Linux minor release. This does not TAINT the kernel. CentOS Linux
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * will not fix bugs against this hardware in this minor release. CentOS Linux may
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* declare support in a future major or minor update release. This cannot be
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* used to mark drivers unsupported.
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*/
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
void mark_hardware_unsupported(const char *msg)
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
{
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
/* Print one single message */
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- pr_crit("Warning: %s - this hardware has not undergone testing by Red Hat and might not be certified. Please consult https://catalog.redhat.com for certified hardware.\n", msg);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ pr_crit("Warning: %s - this hardware has not undergone testing by CentOS Linux and might not be certified. Please consult https://catalog.redhat.com for certified hardware.\n", msg);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
}
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
EXPORT_SYMBOL(mark_hardware_unsupported);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
@@ -35,12 +35,12 @@ EXPORT_SYMBOL(mark_hardware_unsupported)
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* Called to minimize the support status of a previously supported device in
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* a minor release. This does not TAINT the kernel. Marking hardware
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* deprecated is usually done in conjunction with the hardware vendor. Future
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * RHEL major releases may not include this driver. Driver updates and fixes
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * CentOS Linux major releases may not include this driver. Driver updates and fixes
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* for this device will be limited to critical issues in future minor releases.
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*/
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
void mark_hardware_deprecated(const char *msg)
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
{
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- pr_crit("Warning: %s - this hardware is not recommended for new deployments. It continues to be supported in this RHEL release, but it is likely to be removed in the next major release. Driver updates and fixes for this device will be limited to critical issues. Please contact Red Hat Support or your device's hardware vendor for additional information.\n", msg);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ pr_crit("Warning: %s - this hardware is not recommended for new deployments. It continues to be supported in this CentOS Linux release, but it is likely to be removed in the next major release. Driver updates and fixes for this device will be limited to critical issues. Please contact CentOS Linux Support or your device's hardware vendor for additional information.\n", msg);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
}
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
EXPORT_SYMBOL(mark_hardware_deprecated);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
@@ -50,9 +50,9 @@ EXPORT_SYMBOL(mark_hardware_deprecated);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* Called to minimize the support status of a new driver. This does TAINT the
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* kernel. Calling this function indicates that the driver or subsystem has
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * had limited testing and is not marked for full support within this RHEL
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * minor release. The next RHEL minor release may contain full support for
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * this driver. Red Hat does not guarantee that bugs reported against this
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * had limited testing and is not marked for full support within this CentOS Linux
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * minor release. The next CentOS Linux minor release may contain full support for
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * this driver. CentOS Linux does not guarantee that bugs reported against this
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* driver or subsystem will be resolved.
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*/
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
void mark_tech_preview(const char *msg, struct module *mod)
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
@@ -81,13 +81,13 @@ EXPORT_SYMBOL(mark_tech_preview);
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* mark_driver_unsupported - drivers that we know we don't want to support
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* @name: the name of the driver
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- * In some cases Red Hat has chosen to build a driver for internal QE
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ * In some cases CentOS Linux has chosen to build a driver for internal QE
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* use. Use this function to mark those drivers as unsupported for
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
* customers.
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
*/
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
void mark_driver_unsupported(const char *name)
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
{
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
- pr_crit("Warning: %s - This driver has not undergone sufficient testing by Red Hat for this release and therefore cannot be used in production systems.\n",
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
+ pr_crit("Warning: %s - This driver has not undergone sufficient testing by CentOS Linux for this release and therefore cannot be used in production systems.\n",
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
name ? name : "kernel");
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
}
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
f99797 |
EXPORT_SYMBOL(mark_driver_unsupported);
|