aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2009-09-28 12:57:44 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-28 12:57:44 -0700
commit47379052b5c87707bc6e20a2a4f6ac156fb8357c (patch)
tree178c84b77edbc7cac3223cbe930bd5927a4bf86f /net/decnet
parent30df94f800368a016d09ee672c9fcc20751d0260 (diff)
downloadkernel_samsung_aries-47379052b5c87707bc6e20a2a4f6ac156fb8357c.zip
kernel_samsung_aries-47379052b5c87707bc6e20a2a4f6ac156fb8357c.tar.gz
kernel_samsung_aries-47379052b5c87707bc6e20a2a4f6ac156fb8357c.tar.bz2
net: Add explicit bound checks in net/socket.c
The sys_socketcall() function has a very clever system for the copy size of its arguments. Unfortunately, gcc cannot deal with this in terms of proving that the copy_from_user() is then always in bounds. This is the last (well 9th of this series, but last in the kernel) such case around. With this patch, we can turn on code to make having the boundary provably right for the whole kernel, and detect introduction of new security accidents of this type early on. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions