Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

function::set_kernel_string_n - Writes a string of given length to kernel memory

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).

Name

       function::set_kernel_string_n - Writes a string of given length to kernel memory

See Also

tapset::conversions-guru(3stap)

SystemTap Tapset Reference                         April 2024                        FUNCTION::SET_KERNEL(3stap)

Synopsis

           set_kernel_string_n(addr:long,n:long,val:string)

See Also