diff options
| author | Stéphane Graber <[email protected]> | 2013-09-11 21:24:32 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-09-11 22:59:01 +0000 |
| commit | 65aafb1e7484b7434a0c1d4c593191ebe5776a2f (patch) | |
| tree | 163b908974a487e6e8bdfd893d20fb28234255d2 /fs/file_table.c | |
| parent | __ptrace_may_access() should not deny sub-threads (diff) | |
| download | kernel-65aafb1e7484b7434a0c1d4c593191ebe5776a2f.tar.gz kernel-65aafb1e7484b7434a0c1d4c593191ebe5776a2f.zip | |
coredump: add new %P variable in core_pattern
Add a new %P variable to be used in core_pattern. This variable contains
the global PID (PID in the init namespace) as %p contains the PID in the
current namespace which isn't always what we want.
The main use for this is to make it easier to handle crashes that happened
within a container. With that new variables it's possible to have the
crashes dumped into the container or forwarded to the host with the right
PID (from the host's point of view).
Signed-off-by: Stéphane Graber <[email protected]>
Reported-by: Hans Feldt <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Acked-by: Serge E. Hallyn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
