From f1979ce4ceb34d1140e759ec920d0cd2532993d3 Mon Sep 17 00:00:00 2001 From: Jan Rybar Date: Thu, 25 Feb 2021 18:34:30 +0000 Subject: test: Fix a typo in a comment Signed-off-by: Philip Withnall --- docs/man/polkit.xml | 23 +++++---- docs/polkit-1-diagrams.svg | 108 ++++++++++++++++++++++++------------------- docs/polkit-architecture.png | Bin 63503 -> 73726 bytes 3 files changed, 75 insertions(+), 56 deletions(-) (limited to 'docs') diff --git a/docs/man/polkit.xml b/docs/man/polkit.xml index 99aa474..8f6a26f 100644 --- a/docs/man/polkit.xml +++ b/docs/man/polkit.xml @@ -107,10 +107,11 @@ System Context | | | | /usr/share/polkit-1/actions/*.policy | | +--------------------------------------+ | - +--------------------------------------+ - | /etc/polkit-1/rules.d/*.rules | - | /usr/share/polkit-1/rules.d/*.rules | - +--------------------------------------+ + +--------------------------------------------+ + | /etc/polkit-1/rules.d/*.rules | + | /usr/local/share/polkit-1/rules.d/*.rules | + | /usr/share/polkit-1/rules.d/*.rules | + +--------------------------------------------+ ]]> @@ -473,24 +474,28 @@ System Context | | polkitd reads .rules files from the - /etc/polkit-1/rules.d and - /usr/share/polkit-1/rules.d + /etc/polkit-1/rules.d, + /usr/local/share/polkit-1/rules.d + and /usr/share/polkit-1/rules.d directories by sorting the files in lexical order based on the basename on each file (if there's a tie, files in /etc are processed before files in - /usr). - For example, for the following four + /usr/local, which is in turn + processed before /usr). + For example, for the following six files, the order is /etc/polkit-1/rules.d/10-auth.rules + /usr/local/share/polkit-1/rules.d/10-auth.rules /usr/share/polkit-1/rules.d/10-auth.rules /etc/polkit-1/rules.d/15-auth.rules /usr/share/polkit-1/rules.d/20-auth.rules + /usr/local/share/polkit-1/rules.d/25-others.rules - Both directories are monitored so if a rules file is changed, + All three directories are monitored so if a rules file is changed, added or removed, existing rules are purged and all files are read and processed again. Rules files are written in the JavaScript diff --git a/docs/polkit-1-diagrams.svg b/docs/polkit-1-diagrams.svg index d595ce8..235e22e 100644 --- a/docs/polkit-1-diagrams.svg +++ b/docs/polkit-1-diagrams.svg @@ -14,7 +14,7 @@ height="1052.3622047" id="svg270" sodipodi:version="0.32" - inkscape:version="0.48.2 r9819" + inkscape:version="0.92.3 (2405546, 2018-03-11)" sodipodi:docname="polkit-1-diagrams.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1"> @@ -562,7 +562,7 @@ x2="196.4196" y1="89.181732" x1="52.07793" - gradientTransform="matrix(1.5328769,0,0,0.51700825,173.82749,458.25449)" + gradientTransform="matrix(1.7257205,0,0,0.71046269,163.79547,451.35903)" gradientUnits="userSpaceOnUse" id="linearGradient4001" xlink:href="#linearGradient3144-1-7-5" @@ -677,13 +677,13 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1.4" - inkscape:cx="347.45975" - inkscape:cy="686.70778" + inkscape:cx="251.03118" + inkscape:cy="629.56492" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" - inkscape:window-width="1600" - inkscape:window-height="841" + inkscape:window-width="1920" + inkscape:window-height="1016" inkscape:window-x="0" inkscape:window-y="27" inkscape:window-maximized="1" /> @@ -695,7 +695,7 @@ image/svg+xml - + @@ -745,7 +745,7 @@ inkscape:export-ydpi="96.720001" /> Subject + style="font-size:12px;line-height:1.25;text-align:center;text-anchor:middle">Subject AuthenticationAgent org.freedesktop.PolicyKit1 Mechanism SystemMessageBus User Session System Context libpolkit-gobject-1 libpolkit-agent-1 /usr/share/polkit-1/actions/*.policy /usr/share/polkit-1/rules.d/*.rules + x="378.04199" + y="514.10132" + style="font-size:12px;line-height:1.25;text-align:center;text-anchor:middle" + id="tspan740-0-5">/usr/local/share/polkit-1/rules.d/*.rules /etc/polkit-1/rules.d/*.rules polkitd(8) + /usr/share/polkit-1/rules.d/*.rules diff --git a/docs/polkit-architecture.png b/docs/polkit-architecture.png index 57e1ba2..c107922 100644 Binary files a/docs/polkit-architecture.png and b/docs/polkit-architecture.png differ -- cgit v1.2.1