summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-11-29 20:05:16 +0000
committerPhilip Withnall <withnall@endlessm.com>2018-11-29 20:05:16 +0000
commite726f2c78d308d4a092887da1df2fe623a0e6807 (patch)
tree2853baa8521cb7d9cfd818e0d0d84aecdeca00ed /src
parent4f795e0d99c64ef8ef309bb76c62e1f08607d9c0 (diff)
downloadpolkit-e726f2c78d308d4a092887da1df2fe623a0e6807.tar.gz
polkitbackend: Fix some minor typos in an internal comment
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'src')
-rw-r--r--src/polkitbackend/polkitbackendinteractiveauthority.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c b/src/polkitbackend/polkitbackendinteractiveauthority.c
index cb6fdab..a1630b9 100644
--- a/src/polkitbackend/polkitbackendinteractiveauthority.c
+++ b/src/polkitbackend/polkitbackendinteractiveauthority.c
@@ -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)