]> git.karo-electronics.de Git - karo-tx-linux.git/commit
__send_signal: pass q->info, not info, to userns_fixup_signal_uid (v2)
authorSerge Hallyn <serge.hallyn@canonical.com>
Wed, 30 Nov 2011 04:12:06 +0000 (15:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:14:09 +0000 (15:14 +1100)
commita8dfadec92437fa4939589a99b8376c90783dd22
treec9dcd42d93532207dde35c600390bedf4a4e31c1
parentb085f4bd6b21ffeefd8e39997304b1d46aa58ee5
__send_signal: pass q->info, not info, to userns_fixup_signal_uid (v2)

Eric Biederman pointed out that passing info is a bug and could lead to a
NULL pointer deref to boot.

A collection of signal, securebits, filecaps, cap_bounds, and a few other
ltp tests passed with this kernel.

Changelog:
    Nov 18: previous patch missed a leading '&'

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/signal.c