]> 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>
Thu, 8 Dec 2011 04:42:56 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Dec 2011 07:35:38 +0000 (18:35 +1100)
commitf77d7a5f846baad47d4aded11daaa7f72ffdfac2
treedb1234027f36b15751b96459f1e902927b8f7eeb
parentcd7dc64a1fcacfb576edb28ab23734d69844fc6a
__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