X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fcoredump.c;h=88d720f6517c8c82e4b73cecfbe4771f570bf95d;hb=cc821d02a37c8c76aaf15bae2d33fee1bdc4b2e0;hp=79f51d1590dff639840182388e7c69c22b0bf9b9;hpb=4d229b318af339c7a4711f3812335cb3ae6fb5aa;p=elogind.git diff --git a/src/journal/coredump.c b/src/journal/coredump.c index 79f51d159..88d720f65 100644 --- 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 - * 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");