Show Table of Contents
function::set_kernel_string_n
Name
function::set_kernel_string_n — Writes a string of given length to kernel memory
Synopsis
set_kernel_string_n(addr:long,n:long,val:string)
Arguments
addr- The kernel address to write the string to
n- The maximum length of the string
val- The string which is to be written
Description
Writes the given string up to a maximum given length to a given kernel memory address. Reports an error on string copy fault. Requires the use of guru mode (-g).

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.