]> git.ipfire.org Git - thirdparty/systemd.git/commit
coredump: store crashing process UID and GID in Context
authorNick Rosbrook <enr0n@ubuntu.com>
Wed, 6 Sep 2023 15:01:33 +0000 (11:01 -0400)
committerNick Rosbrook <enr0n@ubuntu.com>
Fri, 13 Oct 2023 19:13:11 +0000 (15:13 -0400)
commit9764bca98edb98613ceae2e011ccc076b80608c7
treeea351cf5aa18a1ad91b1a41fd4c8b6e5b1921235
parent6cf96ab4568e39c534e6db6aa80a44fcf43b0c24
coredump: store crashing process UID and GID in Context

For convenience, store the crashing process's UID and GID in Context (as
uid_t and gid_t, respectively), as is currently done for the PID. This
means we can just parse the UID/GID once in save_context(), and use
those values in other places.

This is just re-factoring, and is a preparation commit for container
support.
src/coredump/coredump.c