aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07binder: remove redundant variable page_addrColin Ian King1-2/+0
2024-01-17Merge tag 'char-misc-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-420/+440
2023-12-12list_lru: allow explicit memcg and NUMA node selectionNhat Pham1-4/+3
2023-12-05binder: switch alloc->mutex to spinlock_tCarlos Llamas1-23/+23
2023-12-05binder: reverse locking order in shrinker callbackCarlos Llamas1-24/+22
2023-12-05binder: avoid user addresses in debug logsCarlos Llamas1-9/+6
2023-12-05binder: refactor binder_delete_free_buffer()Carlos Llamas1-33/+11
2023-12-05binder: collapse print_binder_buffer() into callerCarlos Llamas1-13/+9
2023-12-05binder: document the final page calculationCarlos Llamas1-7/+11
2023-12-05binder: rename lru shrinker utilitiesCarlos Llamas1-20/+20
2023-12-05binder: make oversized buffer code more readableCarlos Llamas1-11/+10
2023-12-05binder: remove redundant debug logCarlos Llamas1-3/+0
2023-12-05binder: perform page installation outside of locksCarlos Llamas1-28/+73
2023-12-05binder: initialize lru pages in mmap callbackCarlos Llamas1-5/+7
2023-12-05binder: malloc new_buffer outside of locksCarlos Llamas1-21/+23
2023-12-05binder: refactor page range allocationCarlos Llamas1-60/+47
2023-12-05binder: relocate binder_alloc_clear_buf()Carlos Llamas1-63/+61
2023-12-05binder: relocate low space calculationCarlos Llamas1-10/+11
2023-12-05binder: separate the no-space debugging logicCarlos Llamas1-31/+40
2023-12-05binder: remove pid param in binder_alloc_new_buf()Carlos Llamas1-10/+8
2023-12-05binder: do unlocked work in binder_alloc_new_buf()Carlos Llamas1-39/+56
2023-12-05binder: split up binder_update_page_range()Carlos Llamas1-39/+40
2023-12-05binder: keep vma addresses type as unsigned longCarlos Llamas1-51/+40
2023-12-05binder: fix comment on binder_alloc_new_buf() return valueCarlos Llamas1-1/+1
2023-12-05binder: fix trivial typo of binder_free_buf_locked()Carlos Llamas1-1/+1
2023-12-05binder: fix unused alloc->free_async_spaceCarlos Llamas1-7/+4
2023-12-05binder: fix async space check for 0-sized buffersCarlos Llamas1-3/+4
2023-12-05binder: fix race between mmput() and do_exit()Carlos Llamas1-2/+2
2023-12-05binder: fix use-after-free in shinker's callbackCarlos Llamas1-1/+5
2023-10-04binder: dynamically allocate the android-binder shrinkerQi Zheng1-12/+18
2023-08-04binder: fix memory leak in binder_init()Qi Zheng1-0/+6
2023-05-20binder: fix UAF of alloc->vma in race with munmap()Carlos Llamas1-3/+3
2023-05-13binder: add lockless binder_alloc_(set|get)_vma()Carlos Llamas1-10/+14
2023-05-13Revert "android: binder: stop saving a pointer to the VMA"Carlos Llamas1-8/+9
2023-05-13Revert "binder_alloc: add missing mmap_lock calls when using the VMA"Carlos Llamas1-21/+10
2023-01-18mm: remove zap_page_range and create zap_vma_pagesMike Kravetz1-1/+1
2022-11-09binder: validate alloc->mm in ->mmap() handlerCarlos Llamas1-0/+7
2022-09-06binder: remove binder_alloc_set_vma()Carlos Llamas1-23/+2
2022-09-06binder: rename alloc->vma_vm_mm to alloc->mmCarlos Llamas1-17/+17
2022-09-02Merge tag 'char-misc-6.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2022-09-01binder: fix alloc->vma_vm_mm null-ptr dereferenceCarlos Llamas1-2/+2
2022-08-28binder_alloc: add missing mmap_lock calls when using the VMALiam Howlett1-10/+21
2022-08-19Revert "binder_alloc: Add missing mmap_lock calls when using the VMA"Greg Kroah-Hartman1-21/+10
2022-08-18binder_alloc: Add missing mmap_lock calls when using the VMALiam Howlett1-10/+21
2022-07-29android: binder: fix lockdep check on clearing vmaLiam Howlett1-1/+8
2022-07-29android: binder: stop saving a pointer to the VMALiam R. Howlett1-16/+14
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-1/+1
2022-04-26binder: Use memcpy_{to,from}_page() in binder_alloc_do_buffer_copy()Fabio M. De Francesco1-11/+2
2022-04-26binder: Use kmap_local_page() in binder_alloc_copy_user_to_buffer()Fabio M. De Francesco1-2/+2
2022-04-26binder: Use memset_page() in binder_alloc_clear_buf()Fabio M. De Francesco1-4/+1
2022-02-04drivers/android: remove redundant ret variableMinghao Chi1-6/+2
2021-12-21binder: fix async_free_space accounting for empty parcelsTodd Kjos1-1/+1
2021-04-10binder: tell userspace to dump current backtrace when detected oneway spammingHang Lu1-3/+12
2020-12-09binder: add flag to clear buffer on txn completeTodd Kjos1-0/+48
2020-09-16binder: remove redundant assignment to pointer nColin Ian King1-1/+1
2020-09-03binder: print warnings when detecting oneway spamming.Martijn Coenen1-3/+52
2020-09-03binder: Modify commentsYangHui1-1/+1
2020-07-29drivers: android: Fix a variable declaration coding style issueMrinal Pandey1-0/+1
2020-07-23binder: Don't use mmput() from shrinker function.Tetsuo Handa1-1/+1
2020-06-09mmap locking API: convert mmap_sem API commentsMichel Lespinasse1-2/+2
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-5/+5
2019-11-14binder: Handle start==NULL in binder_update_page_range()Jann Horn1-3/+5
2019-11-14binder: Prevent repeated use of ->mmap() via NULL mappingJann Horn1-5/+6
2019-11-14binder: Fix race between mmap() and binder_alloc_print_pages()Jann Horn1-8/+14
2019-10-27Merge 5.4-rc5 into char-misc-nextGreg Kroah-Hartman1-2/+4
2019-10-21binder: Remove incorrect comment about vm_insert_page() behaviorJann Horn1-1/+0
2019-10-17binder: Don't modify VMA bounds in ->mmap handlerJann Horn1-2/+4
2019-10-10binder: Fix comment headers on binder_alloc_prepare_to_free()Joel Fernandes (Google)1-1/+1
2019-07-01binder: return errors from buffer copy functionsTodd Kjos1-21/+23
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282Thomas Gleixner1-10/+1
2019-04-25binder: take read mode of mmap_sem in binder_alloc_free_page()Tyler Hicks1-4/+4
2019-03-21binder: fix race between munmap() and direct reclaimTodd Kjos1-10/+8
2019-02-19binder: reduce mmap_sem write-side lockMinchan Kim1-2/+2
2019-02-12binder: use userspace pointer as base of buffer spaceTodd Kjos1-42/+45
2019-02-12binder: remove user_buffer_offsetTodd Kjos1-10/+6
2019-02-12binder: remove kernel vm_area for buffer spaceTodd Kjos1-38/+2
2019-02-12binder: add functions to copy to/from binder buffersTodd Kjos1-0/+59
2019-02-12binder: create userspace-to-binder-buffer copy functionTodd Kjos1-0/+113
2018-12-03Merge 4.20-rc5 into char-misc-nextGreg Kroah-Hartman1-10/+6
2018-11-26binder: fix sparse warnings on locking contextTodd Kjos1-0/+1
2018-11-26binder: fix race that allows malicious free of live bufferTodd Kjos1-10/+6
2018-09-12android: binder: fix the race mmap and alloc_new_buf_lockedMinchan Kim1-8/+35
2018-08-08android: binder: Rate-limit debug and userspace triggered err msgsSherry Yang1-15/+26
2018-07-24android: binder_alloc: Include asm/cacheflush.h after linux/ include filesGuenter Roeck1-1/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-2/+2
2018-05-14ANDROID: binder: change down_write to down_readMinchan Kim1-3/+3
2018-01-25android: binder: use VM_ALLOC to get vm areaGanesh Mahendran1-1/+1
2017-12-19ANDROID: binder: make binder_alloc_new_buf_locked static and indent its argum...Xiongwei Song1-5/+6
2017-12-18android: binder: Check for errors in binder_alloc_shrinker_init().Tetsuo Handa1-3/+9
2017-11-28ANDROID: binder: show high watermark of alloc->pages.Martijn Coenen1-0/+4
2017-10-23Merge 4.14-rc6 into char-misc-nextGreg Kroah-Hartman1-14/+10
2017-10-21android: binder: Fix null ptr dereference in debug msgSherry Yang1-1/+1
2017-10-21android: binder: Don't get mm from taskSherry Yang1-13/+9
2017-10-20android: binder: Change binder_shrinker to staticSherry Yang1-1/+1
2017-10-20android: binder: Remove unused vma argumentSherry Yang1-9/+7
2017-10-03android: binder: drop lru lock in isolate callbackSherry Yang1-6/+12
2017-09-01android: binder: Add page usage in binder statsSherry Yang1-0/+28
2017-09-01android: binder: fixup crash introduced by moving buffer hdrSherry Yang1-1/+1
2017-08-28android: binder: Add shrinker tracepointsSherry Yang1-2/+25
2017-08-28android: binder: Add global lru shrinker to binderSherry Yang1-23/+149
2017-08-28android: binder: Move buffer out of area shared with user spaceSherry Yang1-60/+84
2017-08-28android: binder: Refactor prev and next buffer into a helper functionSherry Yang1-9/+15
2017-07-17binder: add more debug info when allocation fails.Martijn Coenen1-1/+30
2017-07-17binder: protect against two threads freeing bufferTodd Kjos1-5/+17
2017-07-17binder: add log information for binder transaction failuresTodd Kjos1-9/+11
2017-07-17binder: move binder_alloc to separate fileTodd Kjos1-0/+759