UBUNTU: SAUCE: Yama: add PTRACE exception tracking and interface
authorKees Cook <kees.cook@canonical.com>
Tue, 29 Jun 2010 05:36:00 +0000 (22:36 -0700)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:48:54 +0000 (06:48 -0700)
commit40422b1d75ba0ed4a036065c1774e9ca01bc1e23
treec7ba5bcd0292340d0d94381e8afde921a6425c60
parent9e0b7288559a1cb6f42df1cea0ee0ed15420540c
UBUNTU: SAUCE: Yama: add PTRACE exception tracking and interface

Some application suites have external crash handlers that depend on
being able to use PTRACE to generate crash reports (KDE, Chromium, etc).
Since the inferior process generally knows the PID of the debugger,
it can use PR_SET_PTRACER to allow a specific PID and its descendants
to perform the PTRACE instead of only a direct ancestor.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
include/linux/prctl.h
security/yama/yama_lsm.c