projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c12626
)
execute: properly enforce group
author
Lennart Poettering
<lennart@poettering.net>
Mon, 1 Aug 2011 19:34:42 +0000
(21:34 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 1 Aug 2011 19:34:42 +0000
(21:34 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=723892
src/execute.c
patch
|
blob
|
history
diff --git
a/src/execute.c
b/src/execute.c
index
f07d018
..
668bf9d
100644
(file)
--- a/
src/execute.c
+++ b/
src/execute.c
@@
-1193,7
+1193,7
@@
int exec_spawn(ExecCommand *command,
}
if (apply_permissions)
- if (enforce_groups(context, username,
u
id) < 0) {
+ if (enforce_groups(context, username,
g
id) < 0) {
r = EXIT_GROUP;
goto fail_child;
}