---
name: "add_taint"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/add_taint"
---

# add\_taint(9)

## NAME

add\_taint -

## SYNOPSIS

**void add\_taint(unsigned** *flag***, enum lockdep\_ok** *lockdep\_ok***);**

## ARGUMENTS

*flag*

one of the TAINT\_\* constants.

*lockdep\_ok*

whether lock debugging is still OK.

## DESCRIPTION

If something bad has gone wrong, you'll want *lockdebug\_ok* = false, but for some notewortht-but-not-corrupting cases, it can be set to true.

## COPYRIGHT
