Martijn Coenen b9079579b0 UPSTREAM: binder: Set end of SG buffer area properly.
In case the target node requests a security context, the
extra_buffers_size is increased with the size of the security context.
But, that size is not available for use by regular scatter-gather
buffers; make sure the ending of that buffer is marked correctly.

Bug: 136210786
Acked-by: Todd Kjos <tkjos@google.com>
Fixes: ec74136ded ("binder: create node flag to request sender's security context")
Signed-off-by: Martijn Coenen <maco@android.com>
Cc: stable@vger.kernel.org # 5.1+
Link: https://lore.kernel.org/r/20190709110923.220736-1-maco@android.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit a565870650)
2019-07-24 12:42:52 +02:00
2019-07-22 14:36:16 +02:00
2019-07-14 08:44:38 +02:00
2019-07-10 11:40:00 +02:00
2019-07-22 14:36:16 +02:00
2019-07-22 14:36:16 +02:00
2019-06-15 16:12:59 +02:00
2019-06-15 16:12:59 +02:00
2019-07-22 14:36:16 +02:00
2019-07-10 11:40:00 +02:00
2019-07-10 11:40:00 +02:00
2019-07-14 08:44:38 +02:00
2019-07-10 11:40:00 +02:00
2019-06-25 15:46:46 +08:00
2019-07-14 08:44:38 +02:00
2019-07-22 14:36:16 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%