kernel.tainted
This article has last been updated at .
This is a setting that you would normally not change. It is a state that shows if the kernel was tainted. If the value is higher than zero, than it is tainted.
Relevant FAQ: What is a tainted kernel?
Values
| Value | Description |
|---|---|
| 0 | kernel is not tainted |
| >0 | kernel is tainted by one ore more causes |
Show current value
The value of the kernel.tainted can be retrieved using the sysctl command.
sysctl kernel.taintedor using the proc file system:
sysctl /proc/sys/kernel/taintedConfigure new value
To apply a new value, use the option --write, followed by the key and value.
sysctl --write kernel.tainted=NEWVALUETo ensure that these changes are also applied during the next boot, add them to a configuration file, typically something like /etc/sysctl.d/99-custom.conf.
