PolicyKit: Branch 'master' - 2 commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 30 02:51:40 UTC 2018
src/polkitbackend/polkitbackendinteractiveauthority.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit eac6fa70a753064a947b33b1d9ca702cf53f23e0
Merge: 4f795e0 e726f2c
Author: Ray Strode <halfline at gmail.com>
Date: Fri Nov 30 02:51:39 2018 +0000
Merge branch 'typo-fix' into 'master'
polkitbackend: Fix some minor typos in an internal comment
See merge request polkit/polkit!12
commit e726f2c78d308d4a092887da1df2fe623a0e6807
Author: Philip Withnall <withnall at endlessm.com>
Date: Thu Nov 29 20:05:16 2018 +0000
polkitbackend: Fix some minor typos in an internal comment
Signed-off-by: Philip Withnall <withnall at endlessm.com>
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)
More information about the hal-commit
mailing list