android_kernel_oneplus_msm8998/net/unix
David Herrmann ca4a744b18 net: drop write-only stack variable
[ Upstream commit 3575dbf2cbbc8e598f17ec441aed526dbea0e1bd ]

Remove a write-only stack variable from unix_attach_fds(). This is a
left-over from the security fix in:

    commit 712f4aad406bb1ed67f3f98d04c044191f0ff593
    Author: willy tarreau <w@1wt.eu>
    Date:   Sun Jan 10 07:54:56 2016 +0100

        unix: properly account for FDs passed over unix sockets

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:41:34 -08:00
..
af_unix.c net: drop write-only stack variable 2018-11-10 07:41:34 -08:00
diag.c net/unix: don't show information about sockets from other namespaces 2017-11-18 11:11:06 +01:00
garbage.c net: unix: properly re-increment inflight counter of GC discarded candidates 2017-03-30 09:35:13 +02:00
Kconfig
Makefile
sysctl_net_unix.c