diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-17 11:34:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-17 11:35:31 +0100 |
commit | 6d337300f2526cba6de14e6439b8539f72f4ffde (patch) | |
tree | 980a98021b73bbf9f3944ee95c605a1f90cf6f83 /src | |
parent | 80002f6640a00b46b74188f2eb47082d7e03817c (diff) |
coredump: store the full coredump kernel context in xattrs on the coredump file
We didn't include the resource limit field, add it.
Diffstat (limited to 'src')
-rw-r--r-- | src/coredump/coredump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c index c1827d764e..838396b0c2 100644 --- a/src/coredump/coredump.c +++ b/src/coredump/coredump.c @@ -187,6 +187,7 @@ static int fix_xattr(int fd, const char *context[_CONTEXT_MAX]) { [CONTEXT_GID] = "user.coredump.gid", [CONTEXT_SIGNAL] = "user.coredump.signal", [CONTEXT_TIMESTAMP] = "user.coredump.timestamp", + [CONTEXT_RLIMIT] = "user.coredump.rlimit", [CONTEXT_COMM] = "user.coredump.comm", [CONTEXT_EXE] = "user.coredump.exe", }; |