kvm_native(3)

kvm_native3

Is a kvm descriptor opened on a native kernel image

Usage

#include <kvm.h>

int

kvm_native(kvm_t *kd);

Library

Kernel Data Access Library (libkvm, -lkvm)

Overview

The kvm library provides an interface for accessing kernel virtual memory images for both native kernel images (where the ABI of the kernel executable matches the host system) and non-native kernel images. The kvm_native() function returns a non-zero value if the kvm descriptor kd is attached to a native kernel image; otherwise it returns zero.

Return values

The kvm_native() function returns a non-zero value if the kvm descriptor kd is attached to a native kernel image; otherwise it returns zero.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 11 times.

  1. 11.0
  2. 11.1
  3. 11.2
  4. 11.3
  5. 11.4
  6. 12.0
  7. 12.1
  8. 12.2
  9. 12.3
  10. 12.4
  11. 13.0–13.2
  12. 13.3–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.