Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
polkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zbigniew Jędrzejewski-Szmek
polkit
Commits
e726f2c7
Commit
e726f2c7
authored
Nov 29, 2018
by
Philip Withnall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polkitbackend: Fix some minor typos in an internal comment
Signed-off-by:
Philip Withnall
<
withnall@endlessm.com
>
parent
4f795e0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/polkitbackend/polkitbackendinteractiveauthority.c
src/polkitbackend/polkitbackendinteractiveauthority.c
+2
-2
No files found.
src/polkitbackend/polkitbackendinteractiveauthority.c
View file @
e726f2c7
...
...
@@ -935,7 +935,7 @@ polkit_backend_interactive_authority_check_authorization (PolkitBackendAuthority
}
/* Not anyone is allowed to check that process XYZ is allowed to do ABC.
* We
only
allow this if, and only if,
* We allow this if, and only if,
*
* - processes may check for another process owned by the *same* user but not
* if details are passed (otherwise you'd be able to spoof the dialog);
...
...
@@ -947,7 +947,7 @@ polkit_backend_interactive_authority_check_authorization (PolkitBackendAuthority
*
* - if the action_id has the "org.freedesktop.policykit.owner" annotation
* then any uid referenced by that annotation is also allowed to check
*
to check
anything and pass any details
* anything and pass any details
*/
if
(
!
user_of_subject_matches
||
!
polkit_identity_equal
(
user_of_caller
,
user_of_subject
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment