aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android
AgeCommit message (Expand)AuthorFilesLines
2022-09-02Merge tag 'char-misc-6.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-2/+14
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-08-18binder: fix UAF of ref->proc caused by race conditionCarlos Llamas1-0/+12
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-18/+23
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. Howlett3-18/+16
2022-07-08binder: fix redefinition of seq_file attributesCarlos Llamas3-107/+100
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-1/+1
2022-07-01remove CONFIG_ANDROIDChristoph Hellwig1-9/+0
2022-06-27Binder: add TF_UPDATE_TXN to replace outdated txnLi Li2-3/+86
2022-06-05Merge tag 'pull-work.fd-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+2
2022-06-05fix the breakage in close_fd_get_file() calling conventions changeAl Viro1-0/+2
2022-06-04Merge tag 'pull-18-rc1-work.fd' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-05-19binder: fix atomic sleep when get extended errorSchspa Shi1-9/+6
2022-05-19binder: fix potential UAF of target_{proc,thread}Carlos Llamas1-4/+5
2022-05-19binder: fix printk format for commandsCarlos Llamas1-2/+2
2022-05-14Unify the primitives for file descriptor closingAl Viro1-1/+1
2022-05-09binder: additional transaction error logsCarlos Llamas1-4/+44
2022-05-09binder: convert logging macros into functionsCarlos Llamas1-12/+29
2022-05-09binderfs: add extended_error feature entryCarlos Llamas1-0/+8
2022-05-09binder: add BINDER_GET_EXTENDED_ERROR ioctlCarlos Llamas2-0/+63
2022-05-09binder: add failed transaction logging infoCarlos Llamas1-2/+6
2022-05-02Merge 5.18-rc5 into char-misc-nextGreg Kroah-Hartman1-1/+9
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-04-22binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0Alessandro Astone1-0/+3
2022-04-22binder: Address corner cases in deferred copy and fixupAlessandro Astone1-1/+6
2022-04-22binder: hold fd_install until allocating fds firstCarlos Llamas2-21/+15
2022-02-04drivers/android: remove redundant ret variableMinghao Chi1-6/+2
2022-01-03Merge 5.16-rc8 into char-misc-nextGreg Kroah-Hartman1-1/+1
2021-12-21binder: fix async_free_space accounting for empty parcelsTodd Kjos1-1/+1
2021-12-21binder: use proper cacheflush header fileAjith P V1-1/+1
2021-12-13Merge v5.15-rc5 into char-misc-nextGreg Kroah-Hartman1-12/+9
2021-12-09binder: use wake_up_pollfree()Eric Biggers1-12/+9
2021-12-08binder: fix pointer cast warningArnd Bergmann1-1/+2
2021-12-03binder: defer copies of pre-patched txn dataTodd Kjos1-25/+274
2021-12-03binder: read pre-translated fds from sender bufferTodd Kjos1-7/+32
2021-12-03binder: avoid potential data leakage when copying txnTodd Kjos1-24/+70
2021-12-03binder: fix handling of error during copyTodd Kjos1-2/+2
2021-12-03binder: remove repeat word from commentAjith P V1-1/+1
2021-11-17binder: fix test regression due to sender_euid changeTodd Kjos1-1/+1
2021-11-04Merge tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-7/+7
2021-11-01Merge tag 'selinux-pr-20211101' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-17/+14
2021-10-19binder: don't detect sender/target during buffer cleanupTodd Kjos1-7/+7
2021-10-14binder: use cred instead of task for getsecidTodd Kjos1-10/+1
2021-10-14binder: use cred instead of task for selinux checksTodd Kjos1-6/+6
2021-10-14binder: use euid from cred instead of using taskTodd Kjos2-1/+7
2021-09-14binder: make sure fd closes completeTodd Kjos1-6/+17
2021-09-14binder: fix freeze raceLi Li2-6/+31
2021-08-03binder: Add invalid handle info in user error logRamji Jiyani1-2/+2
2021-07-21binderfs: add support for feature filesCarlos Llamas1-0/+39
2021-05-13binder: Return EFAULT if we fail BINDER_ENABLE_ONEWAY_SPAM_DETECTIONLuca Stefani1-1/+1
2021-04-27Merge tag 'selinux-pr-20210426' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+10
2021-04-10binder: tell userspace to dump current backtrace when detected oneway spammingHang Lu4-8/+48
2021-04-10binder: fix the missing BR_FROZEN_REPLY in binder_return_stringsHang Lu2-2/+3
2021-03-24binder: BINDER_GET_FROZEN_INFO ioctlMarco Ballesio2-0/+61
2021-03-24binder: use EINTR for interrupted wait for workMarco Ballesio1-2/+2
2021-03-24binder: BINDER_FREEZE ioctlMarco Ballesio2-10/+141
2021-03-22lsm: separate security_task_getsecid() into subjective and objective variantsPaul Moore1-1/+10
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-2/+4
2020-12-15Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2020-12-10file: Rename __close_fd_get_file close_fd_get_fileEric W. Biederman1-1/+1
2020-12-09binder: add flag to clear buffer on txn completeTodd Kjos3-1/+52
2020-11-11binder: add trace at free transaction.Frankie.Chang2-0/+47
2020-11-11binder: move structs from core file to header fileFrankie.Chang2-406/+406
2020-11-09binder: change error code from postive to negative in binder_transactionZhang Qilong1-1/+1
2020-11-09Android: binder: added a missing blank line after declarationAndrew Bridges1-0/+1
2020-10-17task_work: cleanup notification modesJens Axboe1-1/+1
2020-10-10binder: fix UAF when releasing todo listTodd Kjos1-25/+10
2020-10-05binder: simplify the return expression of binder_mmapLiu Shixin1-14/+4
2020-09-16binder: remove redundant assignment to pointer nColin Ian King1-1/+1
2020-09-03binder: print warnings when detecting oneway spamming.Martijn Coenen4-6/+58
2020-09-03binderfs: make symbol 'binderfs_fs_parameters' staticWei Yongjun1-1/+1
2020-09-03binder: Modify commentsYangHui1-1/+1
2020-09-03binder: Remove bogus warning on failed same-process transactionJann Horn1-2/+0
2020-07-29drivers: android: Fix the SPDX comment styleMrinal Pandey1-1/+1
2020-07-29drivers: android: Fix a variable declaration coding style issueMrinal Pandey1-0/+1
2020-07-29drivers: android: Remove braces for a single statement if-else blockMrinal Pandey1-3/+2
2020-07-29drivers: android: Remove the use of else after returnMrinal Pandey1-2/+1
2020-07-29drivers: android: Fix a variable declaration coding style issueMrinal Pandey1-0/+1
2020-07-29binder: Prevent context manager from incrementing ref 0Jann Horn1-1/+14
2020-07-23binder: Don't use mmput() from shrinker function.Tetsuo Handa1-1/+1
2020-06-23binder: fix null deref of proc->contextTodd Kjos1-7/+7
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-5/+5
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
2020-04-23binderfs: remove redundant assignment to pointer ctxColin Ian King1-1/+1
2020-04-23binderfs: Fix binderfs.c selftest compilation warningTang Bin1-1/+1
2020-03-23Merge 5.6-rc7 into char-misc-nextGreg Kroah-Hartman1-0/+1
2020-03-19binderfs: port to new mount apiChristian Brauner1-95/+103
2020-03-11binderfs: use refcount for binder control devices tooChristian Brauner1-0/+1
2020-03-03binder: prevent UAF for binderfs devices IIChristian Brauner3-18/+16
2020-03-03binder: prevent UAF for binderfs devicesChristian Brauner2-1/+17
2020-01-29Merge tag 'for-5.6/io_uring-vfs-2020-01-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+4
2020-01-22binder: fix log spam for existing debugfs file creation.Martin Fuzzey1-18/+19
2020-01-20fs: move filp_close() outside of __close_fd_get_file()Jens Axboe1-2/+4
2019-12-14binder: fix incorrect calculation for num_validTodd Kjos1-2/+2
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
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-Hartman2-9/+4
2019-10-23compat_ioctl: move more drivers to compat_ptr_ioctlArnd Bergmann1-1/+1
2019-10-21binder: Remove incorrect comment about vm_insert_page() behaviorJann Horn1-1/+0
2019-10-17binder: Use common definition of SZ_1KJann Horn1-5/+1
2019-10-17binder: Don't modify VMA bounds in ->mmap handlerJann Horn2-9/+4
2019-10-10binder: Fix comment headers on binder_alloc_prepare_to_free()Joel Fernandes (Google)1-1/+1
2019-10-10binder: prevent UAF read in print_binder_transaction_log_entry()Christian Brauner2-2/+4
2019-09-04binder: Add binder_proc logging to binderfsHridya Valsaraju3-39/+121
2019-09-04binder: Make transaction_log available in binderfsHridya Valsaraju3-29/+53
2019-09-04binder: Add stats, state and transactions filesHridya Valsaraju3-10/+153
2019-09-04binder: add a mount option to show global statsHridya Valsaraju1-2/+43
2019-09-04binder: Add default binder devices through binderfs when configuredHridya Valsaraju3-5/+25
2019-09-04binder: Validate the default binderfs device names.Hridya Valsaraju1-0/+12
2019-07-24binder: prevent transactions to context manager from its own process.Hridya Valsaraju1-1/+1
2019-07-24binder: Set end of SG buffer area properly.Martijn Coenen1-1/+2
2019-07-01binder: return errors from buffer copy functionsTodd Kjos3-91/+124
2019-06-23Merge 5.2-rc6 into char-misc-nextGreg Kroah-Hartman1-2/+14
2019-06-22binder: fix memory leak in error pathTodd Kjos1-2/+2
2019-06-13binder: fix possible UAF when freeing bufferTodd Kjos1-2/+14
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282Thomas Gleixner5-50/+5
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-05-07Merge tag 'char-misc-5.2-rc1-part2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+11
2019-04-25binder: check for overflow when alloc for security contextTodd Kjos1-1/+11
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-03-21binder: fix BUG_ON found by selinux-testsuiteTodd Kjos1-1/+2
2019-02-19binder: reduce mmap_sem write-side lockMinchan Kim1-2/+2
2019-02-15binder: fix handling of misaligned binder objectTodd Kjos1-1/+1
2019-02-14binder: fix sparse issue in binder_alloc_selftest.cTodd Kjos1-2/+3
2019-02-12binder: use userspace pointer as base of buffer spaceTodd Kjos5-99/+118
2019-02-12binder: remove user_buffer_offsetTodd Kjos3-65/+13
2019-02-12binder: remove kernel vm_area for buffer spaceTodd Kjos1-38/+2
2019-02-12binder: avoid kernel vm_area for buffer fixupsTodd Kjos1-49/+97
2019-02-12binder: add function to copy binder object from bufferTodd Kjos1-17/+58
2019-02-12binder: add functions to copy to/from binder buffersTodd Kjos4-43/+145
2019-02-12binder: create userspace-to-binder-buffer copy functionTodd Kjos3-7/+143
2019-02-11Merge 5.0-rc6 into char-misc-nextGreg Kroah-Hartman3-19/+41
2019-02-01binderfs: remove separate device_initcall()Christian Brauner3-4/+16
2019-01-30binderfs: respect limit on binder control creationChristian Brauner1-1/+9
2019-01-30binder: fix CONFIG_ANDROID_BINDER_DEVICESChristian Brauner1-14/+16
2019-01-28Merge 5.0-rc4 into char-misc-nextGreg Kroah-Hartman1-131/+151
2019-01-22binder: create node flag to request sender's security contextTodd Kjos1-23/+83
2019-01-22binderfs: switch from d_add() to d_instantiate()Christian Brauner1-1/+1
2019-01-22binderfs: drop lock in binderfs_binder_ctl_createChristian Brauner1-4/+0
2019-01-22binderfs: kill_litter_super() before cleanupChristian Brauner1-1/+2
2019-01-22binderfs: rework binderfs_binder_device_create()Christian Brauner1-20/+19
2019-01-22binderfs: rework binderfs_fill_super()Christian Brauner1-30/+11
2019-01-22binderfs: prevent renaming the control dentryChristian Brauner1-18/+10
2019-01-22binderfs: remove outdated commentChristian Brauner1-4/+0
2019-01-18binderfs: fix error return code in binderfs_fill_super()Wei Yongjun1-0/+1
2019-01-12binderfs: handle !CONFIG_IPC_NS buildsChristian Brauner1-0/+4
2019-01-11binderfs: reserve devices for initial mountChristian Brauner1-1/+6
2019-01-11binderfs: rename header to binderfs.hChristian Brauner1-1/+1
2019-01-11binderfs: implement "max" mount optionChristian Brauner1-6/+98
2019-01-08binderfs: make each binderfs mount a new instanceChristian Brauner1-39/+2
2019-01-08binderfs: remove wrong kern_mount() callChristian Brauner1-10/+0
2018-12-19binder: implement binderfsChristian Brauner5-17/+614
2018-12-19binder: fix use-after-free due to ksys_close() during fdget()Todd Kjos1-2/+61
2018-12-06binder: filter out nodes when showing binder procsTodd Kjos1-0/+3
2018-12-06binder: fix kerneldoc header for struct binder_bufferTodd Kjos1-10/+10
2018-12-06binder: remove BINDER_DEBUG_ENTRY()Yangtao Li1-31/+17
2018-12-03Merge 4.20-rc5 into char-misc-nextGreg Kroah-Hartman3-21/+19
2018-11-26binder: fix sparse warnings on locking contextTodd Kjos2-1/+43
2018-11-26binder: fix race that allows malicious free of live bufferTodd Kjos3-21/+19
2018-10-02binder: make symbol 'binder_free_buf' staticWei Yongjun1-1/+1
2018-09-16Merge b4.19-rc4 into char-misc-nextGreg Kroah-Hartman1-8/+35
2018-09-14binder: Add BINDER_GET_NODE_INFO_FOR_REF ioctl.Martijn Coenen1-0/+55
2018-09-14android: binder: use kstrdup instead of open-coding itRasmus Villemoes1-2/+1
2018-09-14binder: use standard functions to allocate fdsTodd Kjos3-165/+260
2018-09-14android: binder: no outgoing transaction when thread todo has transactionSherry Yang1-12/+32
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 Yang2-17/+29
2018-08-02android: binder: Show extra_buffers_size in traceSherry Yang1-2/+5
2018-07-24android: binder: Include asm/cacheflush.h after linux/ include filesGuenter Roeck1-1/+3
2018-07-24android: binder_alloc: Include asm/cacheflush.h after linux/ include filesGuenter Roeck1-1/+1
2018-07-07android: binder: Drop dependency on !M68KGeert Uytterhoeven1-1/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-2/+2
2018-05-14android: binder: Change return type to vm_fault_tSouptick Joarder1-1/+1
2018-05-14ANDROID: binder: change down_write to down_readMinchan Kim2-4/+6
2018-05-14ANDROID: binder: correct the cmd print for BINDER_WORK_RETURN_ERROR宋金时1-1/+2
2018-05-14ANDROID: binder: remove 32-bit binder interface.Martijn Coenen2-18/+1
2018-04-30Merge 4.17-rc3 into char-misc-nextGreg Kroah-Hartman1-0/+8
2018-04-23ANDROID: binder: re-order some conditionsDan Carpenter1-2/+2
2018-04-23ANDROID: binder: prevent transactions into own process.Martijn Coenen1-0/+8
2018-02-16ANDROID: binder: synchronize_rcu() when using POLLFREE.Martijn Coenen1-0/+9
2018-02-16binder: replace "%p" with "%pK"Todd Kjos1-4/+4
2018-02-16ANDROID: binder: remove WARN() for redundant txn errorTodd Kjos1-2/+8
2018-02-16binder: check for binder_thread allocation failure in binder_poll()Eric Biggers1-0/+2
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2018-02-01Merge tag 'char-misc-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-71/+158
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2018-01-25android: binder: use VM_ALLOC to get vm areaGanesh Mahendran1-1/+1
2018-01-25android: binder: Use true and false for boolean valuesGustavo A. R. Silva1-3/+3
2018-01-09android: binder: Use octal permissionsHarsh Shandilya1-8/+8
2018-01-09ANDROID: binder: Remove obsolete proc waitqueue.Martijn Coenen1-3/+0