summaryrefslogtreecommitdiff
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorMartijn Coenen <maco@android.com>2019-07-09 13:09:23 +0200
committerMartijn Coenen <maco@android.com>2019-07-24 12:49:38 +0200
commitc24d05f74cfd8c9e786e945363e48282370614d4 (patch)
tree0eb727b20caeb385b883febf4d7989db4ac9b77d /kernel/trace/trace.c
parentaeb051d19e9322a87670556316f01f27abc20eed (diff)
BACKPORT: 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: ec74136ded79 ("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 a56587065094fd96eb4c2b5ad65571daad32156d)
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions