projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7e2e50
)
core: tiny comment fix
author
Lennart Poettering
<lennart@poettering.net>
Wed, 27 Jun 2018 18:02:49 +0000
(20:02 +0200)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 28 Jun 2018 02:55:44 +0000
(11:55 +0900)
src/core/dbus-unit.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-unit.c
b/src/core/dbus-unit.c
index ae0410414e37a63437cd4b78b064e134f26a73ce..3fb53c5381ad0e4690189a858bb5e5b043d64004 100644
(file)
--- a/
src/core/dbus-unit.c
+++ b/
src/core/dbus-unit.c
@@
-1033,7
+1033,7
@@
int bus_unit_method_attach_processes(sd_bus_message *message, void *userdata, sd
if (r < 0)
return r;
- /* Let's validate security: if the sender is root, then all is OK. If the sender is
is
any other unit,
+ /* Let's validate security: if the sender is root, then all is OK. If the sender is any other unit,
* then the process' UID and the target unit's UID have to match the sender's UID */
if (sender_uid != 0 && sender_uid != getuid()) {
r = get_process_uid(pid, &process_uid);