1FUNCTION::SET_KERNEL(3staSpt)ring and data writing funcFtUiNCTION::SET_KERNEL(3stap)
2
3
4

NAME

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

SYNOPSIS

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

ARGUMENTS

13       addr
14           The kernel address to write the string to
15
16       n
17           The maximum length of the string
18
19       val
20           The string which is to be written
21

DESCRIPTION

23       Writes the given string up to a maximum given length to a given kernel
24       memory address. Reports an error on string copy fault. Requires the use
25       of guru mode (-g).
26

SEE ALSO

28       tapset::conversions-guru(3stap)
29
30
31
32SystemTap Tapset Reference         June 2018       FUNCTION::SET_KERNEL(3stap)
Impressum