Chapter 25. String and data writing functions Tapset

Table of Contents

function::set_kernel_char — Writes a char value to kernel memory
function::set_kernel_int — Writes an int value to kernel memory
function::set_kernel_long — Writes a long value to kernel memory
function::set_kernel_pointer — Writes a pointer value to kernel memory.
function::set_kernel_short — Writes a short value to kernel memory
function::set_kernel_string — Writes a string to kernel memory
function::set_kernel_string_n — Writes a string of given length to kernel memory

The SystemTap guru mode can be used to test error handling in kernel code by simulating faults. The functions in the this tapset provide standard methods of writing to primitive types in the kernel's memory. All the functions in this tapset require the use of guru mode (-g).