UBUNTU: SAUCE: Yama: check PTRACE using thread group leader
authorKees Cook <kees.cook@canonical.com>
Sat, 10 Jul 2010 19:12:20 +0000 (12:12 -0700)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:48:57 +0000 (06:48 -0700)
commit11f329bc23322c80acf011ca8644df8bc1b58e95
tree56d2ec4519c6472d85d6f8f04bf504c716fb31e4
parent7d9570ad83a863bbd25da425537bc52ffaf6ab93
UBUNTU: SAUCE: Yama: check PTRACE using thread group leader

When examining process ancestory, we must use the thread group leader
or else we end up missing potential matches.

[submitted upstream to security-next]

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