diff options
author | Jakub Filak <jfilak@redhat.com> | 2016-04-27 15:23:49 +0200 |
---|---|---|
committer | Jakub Filak <jfilak@redhat.com> | 2016-08-02 16:01:18 +0200 |
commit | 7ed03ce69ede34b03107702efd6efb100e9a23bc (patch) | |
tree | 104859f8c2d18e3ec2d5cd32b42c643b8249a6f3 /src/core/socket.h | |
parent | d7032b1fcd6e51b736698a8b264273c625084643 (diff) |
coredump: save process container parent cmdline
Process container parent is the process used to start processes with a new
user namespace - e.g systemd-nspawn, runc, lxc, etc.
There is not standard way how to find such a process - or I do not know
about it - hence I have decided to find the first process in the parent
process hierarchy with a different mount namespace and different
/proc/self/root's inode.
I have decided for this criteria because in ABRT we take special care
only if the crashed process runs different code than installed on the
host. Other processes with namespaces different than PID 1's namespaces
are just processes running code shipped by the OS vendor and bug
reporting tools can get information about the provider of the code
without the need to deal with changed root and so on.
Diffstat (limited to 'src/core/socket.h')
0 files changed, 0 insertions, 0 deletions