]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273733, r273740 and r273773:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 30 Oct 2014 08:04:48 +0000 (08:04 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 30 Oct 2014 08:04:48 +0000 (08:04 +0000)
commitcf9acb2e0d95d929bb328dcfce40695f86f362c8
treeb10daf90a34256f49336c4827661577d2b1339d3
parentd8a1af7d6cda5d559a49b7ca3fe96d90a87700ce
MFC r273733, r273740 and r273773:

The SYSCTL data pointers can come from userspace and must not be
directly accessed. Although this will work on some platforms, it can
throw an exception if the pointer is invalid and then panic the kernel.

Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@273847 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/acpi_support/acpi_ibm.c
sys/dev/acpica/acpi.c
sys/dev/asmc/asmc.c
sys/kern/kern_ffclock.c
sys/net/bpf.c
sys/netinet/cc/cc.c
sys/netinet/sctp_sysctl.c
sys/netinet/siftr.c