]> git.kernelconcepts.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>
Tue, 13 Dec 2011 06:43:37 +0000 (17:43 +1100)
commit0bafedba418b51d856a8eba03a43a7c0b81ae30a
tree615b30bb08df2cbcdfb177ea52ec786af29ac89f
parenta206cd2897727d2b1fc4ab9452422fb7f519fbca
__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