]> git.baikalelectronics.ru Git - kernel.git/commit
connector: Added coredumping event to the process connector
authorJesper Derehag <jderehag@hotmail.com>
Tue, 19 Mar 2013 20:50:05 +0000 (20:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 17:23:21 +0000 (13:23 -0400)
commitc4a8b2a50ffcafa5845b647260ad4d53543b873d
tree91d6d907a0bc8ef659fee414d5415a84aee7b58b
parent5bcb0b853d641fe0c5dc2fa210da276c9436f3eb
connector: Added coredumping event to the process connector

Process connector can now also detect coredumping events.

Main aim of patch is get notified at start of coredumping, instead of
having to wait for it to finish and then being notified through EXIT
event.

Could be used for instance by process-managers that want to get
notified as soon as possible about process failures, and not
necessarily beeing notified after coredump, which could be in the
order of minutes depending on size of coredump, piping and so on.

Signed-off-by: Jesper Derehag <jderehag@hotmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/cn_proc.c
include/linux/cn_proc.h
include/uapi/linux/cn_proc.h
kernel/signal.c