Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

function::set_kernel_string


Name

function::set_kernel_string — Writes a string to kernel memory

Synopsis

set_kernel_string(addr:long,val:string)

Arguments

addr
The kernel address to write the string to
val
The string which is to be written

Description

Writes the given string to a given kernel memory address. Reports an error on string copy fault. Requires the use of guru mode (-g).