/usr/share/doc/systemtap-doc/tapsets/API-set-kernel-string.html is in systemtap-doc 3.1-3ubuntu0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>function::set_kernel_string</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="conversions-guru.stp.html" title="Chapter 26. String and data writing functions Tapset"><link rel="prev" href="API-set-kernel-short.html" title="function::set_kernel_short"><link rel="next" href="API-set-kernel-string-n.html" title="function::set_kernel_string_n"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">function::set_kernel_string</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-set-kernel-short.html">Prev</a> </td><th width="60%" align="center">Chapter 26. String and data writing functions Tapset</th><td width="20%" align="right"> <a accesskey="n" href="API-set-kernel-string-n.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-set-kernel-string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::set_kernel_string —
Writes a string to kernel memory
</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
set_kernel_string(addr:long,val:string)
</pre></div><div class="refsect1"><a name="idm19708"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>addr</code></em></span></dt><dd><p>
The kernel address to write the string to
</p></dd><dt><span class="term"><em class="parameter"><code>val</code></em></span></dt><dd><p>
The string which is to be written
</p></dd></dl></div></div><div class="refsect1"><a name="idm19721"></a><h2>Description</h2><p>
Writes the given string to a given kernel
memory address. Reports an error on string copy fault.
Requires the use of guru mode (-g).
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-set-kernel-short.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="conversions-guru.stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-set-kernel-string-n.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">function::set_kernel_short</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">function::set_kernel_string_n</span></td></tr></table></div></body></html>
|