aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2019-04-14 17:37:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-16 13:31:58 +0200
commit060ea4271a82270be6d44e8e9aefe8f155fb5626 (patch)
tree6059c57e955a8600f007c2f785a2732cb9c8af25 /include/linux/start_kernel.h
parentstaging: most: Documentation: update driver documentation (diff)
staging: android: vsoc: fix copy_from_user overrun
The `np->permission' structure is smaller than the `np' structure but sizeof(*np) worth of data is copied in there. Fix the size passed to copy_from_user() to avoid overrun. Fixes: 3d2ec9dcd553 ("staging: Android: Add 'vsoc' driver for cuttlefish.") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions
06:53 -0700'>2012-08-22Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSCD case.Roland McGrath4-4/+16 2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath1-3/+3 2012-02-09Replace FSF snail mail address with URLs.Paul Eggert11-33/+22 2012-01-07Remove pre-ISO C supportUlrich Drepper1-6/+6 2009-05-10* version.h (VERSION): Bump to 2.10.1.cvs/fedora-glibc-20090510T1842Ulrich Drepper3-1/+3 2009-04-23* sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper1-1/+6 2009-04-23* shadow/Makefile (tests): Add tst-shadow.Ulrich Drepper1-3/+6 2009-04-23[BZ #9955]Ulrich Drepper13-0/+831