/usr/share/doc/policykit-1-doc/html/polkit-extending.html is in policykit-1-doc 0.104-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 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Extending PolicyKit</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="PolicyKit Reference Manual">
<link rel="up" href="overview.html" title="Part I. PolicyKit Overview">
<link rel="prev" href="polkit-agents.html" title="Writing PolicyKit Authentication Agents">
<link rel="next" href="ref-dbus-api.html" title="Part II. D-Bus API Reference">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="polkit-agents.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="overview.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">PolicyKit Reference Manual</th>
<td><a accesskey="n" href="ref-dbus-api.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h2 class="title">
<a name="polkit-extending"></a>Extending PolicyKit</h2></div></div></div>
<p>
PolicyKit exports a number of extension points to
replace/customize behavior of the PolicyKit daemon. Note that
all extensions run with super user privileges in the same
process as the PolicyKit daemon.
</p>
<p>
The PolicyKit daemons loads extensions
from the <code class="filename">${prefix}/lib/i386-linux-gnu/polkit-1/extensions
</code> directory. See
the <GTKDOCLINK HREF="gio-Extension-Points">GIO Extension Point
documentation</GTKDOCLINK> for more information about the extension
system used by PolicyKit.
</p>
<p>
The following extension points are currently defined by
PolicyKit:
</p>
<p><b>POLKIT_BACKEND_AUTHORITY_EXTENSION_POINT_NAME. </b>
Allows replacing the Authority – the entity responsible for
making authorization decisions. Implementations of this
extension point must be derived from the
PolkitBackendAuthority class. See
the <code class="filename">src/nullbackend/</code> directory in the
PolicyKit sources for an example.
</p>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|