This file is indexed.

/usr/share/doc/libpion-doc/html/classpion_1_1admin__rights.html is in libpion-doc 5.0.4+dfsg-2.

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
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!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/xhtml;charset=UTF-8"/>
<title>pion: pion::admin_rights Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><b>pion</b>::<a class="el" href="classpion_1_1admin__rights.html">admin_rights</a>
  </div>
</div>
<div class="contents">
<h1>pion::admin_rights Class Reference</h1><!-- doxytag: class="pion::admin_rights" -->
<p><code>#include &lt;<a class="el" href="admin__rights_8hpp_source.html">admin_rights.hpp</a>&gt;</code></p>

<p><a href="classpion_1_1admin__rights-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpion_1_1admin__rights.html#abfb9f3aea1e085f4a5a666a98fa36c7c">admin_rights</a> (bool use_log=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3dd9a6d85bdeffe1243a25b78e562716"></a><!-- doxytag: member="pion::admin_rights::~admin_rights" ref="a3dd9a6d85bdeffe1243a25b78e562716" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpion_1_1admin__rights.html#a3dd9a6d85bdeffe1243a25b78e562716">~admin_rights</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">destructor releases administrative rights <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2979c3b20e89e29113a9593d14a563b8"></a><!-- doxytag: member="pion::admin_rights::release" ref="a2979c3b20e89e29113a9593d14a563b8" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpion_1_1admin__rights.html#a2979c3b20e89e29113a9593d14a563b8">release</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">releases administrative rights <br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8ebba2984ee6610829fbac64c149f06"></a><!-- doxytag: member="pion::admin_rights::run_as_user" ref="ab8ebba2984ee6610829fbac64c149f06" args="(const std::string &amp;user_name)" -->
static long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpion_1_1admin__rights.html#ab8ebba2984ee6610829fbac64c149f06">run_as_user</a> (const std::string &amp;user_name)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">calculates the <a class="el" href="classpion_1_1user.html">user</a> id based upon the <a class="el" href="classpion_1_1user.html">user</a> configuration parameter <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2b1e96be191af3cf81851cdf2c69e2a"></a><!-- doxytag: member="pion::admin_rights::run_as_group" ref="ae2b1e96be191af3cf81851cdf2c69e2a" args="(const std::string &amp;group_name)" -->
static long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpion_1_1admin__rights.html#ae2b1e96be191af3cf81851cdf2c69e2a">run_as_group</a> (const std::string &amp;group_name)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">calculates the group id based upon the group configuration parameter <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="classpion_1_1admin__rights.html">admin_rights</a>: obtains administrative rights for the <a class="el" href="classpion_1_1process.html">process</a> </p>

<p>Definition at line <a class="el" href="admin__rights_8hpp_source.html#l00025">25</a> of file <a class="el" href="admin__rights_8hpp_source.html">admin_rights.hpp</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abfb9f3aea1e085f4a5a666a98fa36c7c"></a><!-- doxytag: member="pion::admin_rights::admin_rights" ref="abfb9f3aea1e085f4a5a666a98fa36c7c" args="(bool use_log=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pion::admin_rights::admin_rights </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>use_log</em> = <code>true</code></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>constructs object, obtaining administrative rights; will block if another thread has already obtained rights</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>use_log</em>&nbsp;</td><td>if false, then no logging will be performed </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="admin__rights_8cpp_source.html#l00062">62</a> of file <a class="el" href="admin__rights_8cpp_source.html">admin_rights.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/pion/<a class="el" href="admin__rights_8hpp_source.html">admin_rights.hpp</a></li>
<li>src/<a class="el" href="admin__rights_8cpp_source.html">admin_rights.cpp</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 16 Sep 2013 for pion by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>