Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 3915

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>enum utrace_signal_action</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The utrace User Debugging Infrastructure" /><link rel="up" href="ch02.html" title="Chapter&#160;2.&#160;utrace core API" /><link rel="prev" href="re02.html" title="utrace_resume_action" /><link rel="next" href="re04.html" title="utrace_signal_action" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>enum utrace_signal_action</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re02.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;2.&#160;utrace core API</th><td width="20%" align="right">&#160;<a accesskey="n" href="re04.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="enum utrace_signal_action"><a id="API-enum-utrace-signal-action"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum utrace_signal_action &#8212; 
     disposition of signal
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
enum utrace_signal_action {
  UTRACE_SIGNAL_DELIVER,
  UTRACE_SIGNAL_IGN,
  UTRACE_SIGNAL_TERM,
  UTRACE_SIGNAL_CORE,
  UTRACE_SIGNAL_STOP,
  UTRACE_SIGNAL_TSTP,
  UTRACE_SIGNAL_REPORT,
  UTRACE_SIGNAL_HANDLER
};  </pre></div><div class="refsect1" title="Constants"><a id="id2888537"></a><h2>Constants</h2><div class="variablelist"><dl><dt><span class="term">UTRACE_SIGNAL_DELIVER</span></dt><dd><p>
   Deliver according to sigaction.
      </p></dd><dt><span class="term">UTRACE_SIGNAL_IGN</span></dt><dd><p>
   Ignore the signal.
      </p></dd><dt><span class="term">UTRACE_SIGNAL_TERM</span></dt><dd><p>
   Terminate the process.
      </p></dd><dt><span class="term">UTRACE_SIGNAL_CORE</span></dt><dd><p>
   Terminate with core dump.
      </p></dd><dt><span class="term">UTRACE_SIGNAL_STOP</span></dt><dd><p>
   Deliver as absolute stop.
      </p></dd><dt><span class="term">UTRACE_SIGNAL_TSTP</span></dt><dd><p>
   Deliver as job control stop.
      </p></dd><dt><span class="term">UTRACE_SIGNAL_REPORT</span></dt><dd><p>
   Reporting before pending signals.
      </p></dd><dt><span class="term">UTRACE_SIGNAL_HANDLER</span></dt><dd><p>
   Reporting after signal handler setup.
      </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2888639"></a><h2>Description</h2><p>
   This is encoded in the <em class="parameter"><code>action</code></em> argument and the return value for
   a <em class="parameter"><code>report_signal</code></em>() callback.  It says what will happen to the
   signal described by the <span class="structname">siginfo_t</span> parameter to the callback.
   </p><p>

   The <code class="constant">UTRACE_SIGNAL_REPORT</code> value is used in an <em class="parameter"><code>action</code></em> argument when
   a tracing report is being made before dequeuing any pending signal.
   If this is immediately after a signal handler has been set up, then
   <code class="constant">UTRACE_SIGNAL_HANDLER</code> is used instead.  A <em class="parameter"><code>report_signal</code></em> callback
   that uses <code class="constant">UTRACE_SIGNAL_DELIVER</code>|<code class="constant">UTRACE_SINGLESTEP</code> will ensure
   it sees a <code class="constant">UTRACE_SIGNAL_HANDLER</code> report.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re02.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>utrace_resume_action</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>utrace_signal_action</span></td></tr></table></div></body></html>