GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KVM_KERNDISP(3) FreeBSD Library Functions Manual KVM_KERNDISP(3)

kvm_kerndisp
get kernel displacement

Kernel Data Access Library (libkvm, -lkvm)

#include <kvm.h>

kssize_t
kvm_kerndisp(kvm_t *kd);

kvm_kerndisp() returns the number of bytes by which the kernel referenced by kd is displaced. This is the difference between the kernel's base virtual address at run time and the kernel base virtual address specified in the kernel image file.

Note that if the kernel is moved to a lower memory address, the displacement will be negative.

kvm_kerndisp() returns the number of bytes by which the kernel is displaced. If the kernel is not displaced or if it is not possible to find the displacement then 0 is returned.

kvm(3), kvm_close(3), kvm_open(3)
February 5, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.