Scroll to navigation

FUNCTION::SET_KERNEL(3stap) String and data writing functi FUNCTION::SET_KERNEL(3stap)

NAME

function::set_kernel_char - Writes a char value to kernel memory

SYNOPSIS


set_kernel_char(addr:long,val:long)

ARGUMENTS

addr

The kernel address to write the char to

val

The char which is to be written

DESCRIPTION

Writes the char value to a given kernel memory address. Reports an error when writing to the given address fails. Requires the use of guru mode (-g).

SEE ALSO0

tapset::conversions-guru(3stap)

November 2023 SystemTap Tapset Reference