---
name: "function::cve_tmpdisable"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::cve_tmpdisable"
---

# function::cve\_tmpdisable(3stap)

Disable the cve livepatch

## NAME

function::cve\_tmpdisable - Disable the cve livepatch

## SYNOPSIS

```
    cve_tmpdisable(duration:long)
```

## ARGUMENTS

*duration*

The number of seconds to disable

## DESCRIPTION

This function temporarily disables the conditionals which use cve\_enabled\_p for duration seconds. If duration is -1, disable the livepatch until reenabled.

## SEE ALSO0

[*tapset::livepatch*(3stap)](/tapset::livepatch/3stap.md)
