chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-bus: rename "connection name" to "description" for the sd-bus API too
[elogind.git]
/
src
/
journal
/
coredump.c
diff --git
a/src/journal/coredump.c
b/src/journal/coredump.c
index 79f51d1590dff639840182388e7c69c22b0bf9b9..88d720f6517c8c82e4b73cecfbe4771f570bf95d 100644
(file)
--- a/
src/journal/coredump.c
+++ b/
src/journal/coredump.c
@@
-673,9
+673,9
@@
int main(int argc, char* argv[]) {
/* Now, let's drop privileges to become the user who owns the
* segfaulted process and allocate the coredump memory under
/* Now, let's drop privileges to become the user who owns the
* segfaulted process and allocate the coredump memory under
- *
his uid. This also ensures that the credentials journald
- *
will see are the ones of the coredumping user, thus making
- *
sure the user himself
gets access to the core dump. */
+ *
the user's uid. This also ensures that the credentials
+ *
journald will see are the ones of the coredumping user,
+ *
thus making sure the user
gets access to the core dump. */
if (setresgid(gid, gid, gid) < 0 ||
setresuid(uid, uid, uid) < 0) {
log_error("Failed to drop privileges: %m");
if (setresgid(gid, gid, gid) < 0 ||
setresuid(uid, uid, uid) < 0) {
log_error("Failed to drop privileges: %m");