aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-04binder: fix max_thread type inconsistencyCarlos Llamas1-1/+1
2024-04-11binder: check offset alignment in binder_get_object()Carlos Llamas1-1/+3
2024-02-22binder: use of hlist_count_nodes()Pierre Gondois1-3/+1
2024-01-31binder: signal epoll threads of self-workCarlos Llamas1-0/+10
2024-01-17Merge tag 'char-misc-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-14/+13
2023-12-12file: s/close_fd_get_file()/file_close_fd()/gChristian Brauner1-1/+1
2023-12-05binder: avoid user addresses in debug logsCarlos Llamas1-2/+2
2023-12-05binder: remove pid param in binder_alloc_new_buf()Carlos Llamas1-1/+1
2023-12-05binder: keep vma addresses type as unsigned longCarlos Llamas1-11/+10
2023-12-05binder: use EPOLLERR from eventpoll.hCarlos Llamas1-1/+1
2023-10-05binder: fix memory leaks of spam and pending workCarlos Llamas1-0/+2
2023-08-13Merge 6.5-rc6 into char-misc-nextGreg Kroah-Hartman1-0/+1
2023-08-04android: Remove error checking for debugfs_create_dir()Wang Ming1-11/+9
2023-08-04binder: fix memory leak in binder_init()Qi Zheng1-0/+1
2023-05-28Merge v6.4-rc4 into char-misc-nextGreg Kroah-Hartman1-7/+21
2023-05-13Binder: Add async from to transaction recordChuang Zhang1-2/+4
2023-05-13Binder: Add timestamp to transaction recordChuang Zhang1-2/+7
2023-05-13binder: fix UAF caused by faulty buffer cleanupCarlos Llamas1-7/+21
2023-02-24Merge tag 'char-misc-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-28/+37
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-2/+1
2023-01-19android: fix W=1 kernel-doc warningsRandy Dunlap1-9/+9
2023-01-19binder: return pending info for frozen async txnsLi Li1-6/+26
2023-01-19binder: remove unneeded size check codeJiazi.Li1-13/+2
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+1
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-3/+1
2022-08-18binder: fix UAF of ref->proc caused by race conditionCarlos Llamas1-0/+12
2022-07-08binder: fix redefinition of seq_file attributesCarlos Llamas1-35/+79
2022-06-27Binder: add TF_UPDATE_TXN to replace outdated txnLi Li1-3/+82
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-09binder: add BINDER_GET_EXTENDED_ERROR ioctlCarlos Llamas1-0/+60
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-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 Llamas1-21/+13
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 Torvalds1-17/+10
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 Kjos1-1/+3
2021-09-14binder: make sure fd closes completeTodd Kjos1-6/+17
2021-09-14binder: fix freeze raceLi Li1-6/+29
2021-08-03binder: Add invalid handle info in user error logRamji Jiyani1-2/+2
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 Lu1-3/+24
2021-04-10binder: fix the missing BR_FROZEN_REPLY in binder_return_stringsHang Lu1-1/+2
2021-03-24binder: BINDER_GET_FROZEN_INFO ioctlMarco Ballesio1-0/+55
2021-03-24binder: use EINTR for interrupted wait for workMarco Ballesio1-2/+2
2021-03-24binder: BINDER_FREEZE ioctlMarco Ballesio1-10/+129
2021-03-22lsm: separate security_task_getsecid() into subjective and objective variantsPaul Moore1-1/+10
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 Kjos1-0/+1
2020-11-11binder: add trace at free transaction.Frankie.Chang1-0/+18
2020-11-11binder: move structs from core file to header fileFrankie.Chang1-406/+0
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-03binder: print warnings when detecting oneway spamming.Martijn Coenen1-1/+1
2020-09-03binder: Remove bogus warning on failed same-process transactionJann Horn1-2/+0
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-29binder: Prevent context manager from incrementing ref 0Jann Horn1-1/+14
2020-06-23binder: fix null deref of proc->contextTodd Kjos1-7/+7
2020-03-03binder: prevent UAF for binderfs devices IIChristian Brauner1-3/+9
2020-03-03binder: prevent UAF for binderfs devicesChristian Brauner1-1/+4
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-10-27Merge 5.4-rc5 into char-misc-nextGreg Kroah-Hartman1-7/+0
2019-10-23compat_ioctl: move more drivers to compat_ptr_ioctlArnd Bergmann1-1/+1
2019-10-17binder: Use common definition of SZ_1KJann Horn1-5/+1
2019-10-17binder: Don't modify VMA bounds in ->mmap handlerJann Horn1-7/+0
2019-10-10binder: prevent UAF read in print_binder_transaction_log_entry()Christian Brauner1-1/+3
2019-09-04binder: Add binder_proc logging to binderfsHridya Valsaraju1-2/+44
2019-09-04binder: Make transaction_log available in binderfsHridya Valsaraju1-29/+5
2019-09-04binder: Add stats, state and transactions filesHridya Valsaraju1-9/+6
2019-09-04binder: Add default binder devices through binderfs when configuredHridya Valsaraju1-2/+3
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 Kjos1-61/+92
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 Gleixner1-10/+1
2019-04-25binder: check for overflow when alloc for security contextTodd Kjos1-1/+11
2019-03-21binder: fix BUG_ON found by selinux-testsuiteTodd Kjos1-1/+2
2019-02-15binder: fix handling of misaligned binder objectTodd Kjos1-1/+1
2019-02-12binder: use userspace pointer as base of buffer spaceTodd Kjos1-51/+67
2019-02-12binder: remove user_buffer_offsetTodd Kjos1-32/+7
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 Kjos1-44/+75
2019-02-12binder: create userspace-to-binder-buffer copy functionTodd Kjos1-7/+22
2019-02-11Merge 5.0-rc6 into char-misc-nextGreg Kroah-Hartman1-15/+22
2019-02-01binderfs: remove separate device_initcall()Christian Brauner1-1/+6
2019-01-30binder: fix CONFIG_ANDROID_BINDER_DEVICESChristian Brauner1-14/+16
2019-01-22binder: create node flag to request sender's security contextTodd Kjos1-23/+83
2018-12-19binder: implement binderfsChristian Brauner1-17/+8
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: remove BINDER_DEBUG_ENTRY()Yangtao Li1-31/+17
2018-12-03Merge 4.20-rc5 into char-misc-nextGreg Kroah-Hartman1-9/+12
2018-11-26binder: fix sparse warnings on locking contextTodd Kjos1-1/+42
2018-11-26binder: fix race that allows malicious free of live bufferTodd Kjos1-9/+12
2018-10-02binder: make symbol 'binder_free_buf' staticWei Yongjun1-1/+1
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 Kjos1-155/+232
2018-09-14android: binder: no outgoing transaction when thread todo has transactionSherry Yang1-12/+32
2018-08-08android: binder: Rate-limit debug and userspace triggered err msgsSherry Yang1-2/+3
2018-07-24android: binder: Include asm/cacheflush.h after linux/ include filesGuenter Roeck1-1/+3
2018-05-14android: binder: Change return type to vm_fault_tSouptick Joarder1-1/+1
2018-05-14ANDROID: binder: change down_write to down_readMinchan Kim1-1/+3
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 Coenen1-4/+0
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 Torvalds1-61/+135
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 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
2018-01-09ANDROID: binder: remove waitqueue when thread exits.Martijn Coenen1-0/+12
2018-01-09android: binder: Prefer __func__ to using hardcoded function nameElad Wexler1-2/+2
2018-01-02Merge 4.15-rc6 into char-misc-nextGreg Kroah-Hartman1-13/+31
2017-12-18android: binder: Check for errors in binder_alloc_shrinker_init().Tetsuo Handa1-1/+3
2017-12-18binder: fix proc->files use-after-freeTodd Kjos1-13/+31
2017-12-11Merge 4.15-rc3 into char-misc-nextGreg Kroah-Hartman1-9/+31
2017-11-28the rest of drivers/*: annotate ->poll() instancesAl Viro1-1/+1
2017-11-28ANDROID: binder: fix transaction leak.Martijn Coenen1-9/+31
2017-11-28ANDROID: binder: Add thread->process_todo flag.Martijn Coenen1-44/+107
2017-11-16Merge tag 'char-misc-4.15-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2017-11-15Merge tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2017-10-31treewide: Fix function prototypes for module_param_call()Kees Cook1-1/+1
2017-10-23Merge 4.14-rc6 into char-misc-nextGreg Kroah-Hartman1-10/+1
2017-10-20binder: pr_err() strings should end with newlinesArvind Yadav1-1/+1
2017-10-20binder: call poll_wait() unconditionally.Martijn Coenen1-10/+1
2017-10-04binder: fix use-after-free in binder_transaction()Todd Kjos1-27/+66
2017-09-18binder: fix memory corruption in binder_transaction binderXu YiPing1-0/+1
2017-09-18binder: fix an ret value overrideXu YiPing1-1/+0
2017-09-18android: binder: fix type mismatch warningArnd Bergmann1-3/+3
2017-09-01ANDROID: binder: don't queue async transactions to thread.Martijn Coenen1-3/+5
2017-09-01ANDROID: binder: don't enqueue death notifications to thread todo.Martijn Coenen1-16/+6
2017-09-01ANDROID: binder: Don't BUG_ON(!spin_is_locked()).Martijn Coenen1-16/+10
2017-09-01ANDROID: binder: Add BINDER_GET_NODE_DEBUG_INFO ioctlColin Cross1-0/+43
2017-09-01ANDROID: binder: push new transactions to waiting threads.Martijn Coenen1-54/+127
2017-09-01ANDROID: binder: remove proc waitqueueMartijn Coenen1-74/+181
2017-09-01android: binder: Add page usage in binder statsSherry Yang1-0/+2
2017-08-28android: binder: Add global lru shrinker to binderSherry Yang1-0/+2
2017-08-28android: binder: Add allocator selftestSherry Yang1-0/+2
2017-08-22binder: fix incorrect cmd to binder_stat_brTodd Kjos1-1/+1
2017-08-22binder: free memory on errorChristian Brauner1-2/+6
2017-07-17binder: remove unused BINDER_SMALL_BUF_SIZE defineDmitry Safonov1-2/+0
2017-07-17android: binder: Use dedicated helper to access rlimit valueKrzysztof Opasiak1-1/+1
2017-07-17binder: remove global binder lockTodd Kjos1-43/+3
2017-07-17binder: fix death race conditionsMartijn Coenen1-32/+32
2017-07-17binder: protect against stale pointers in print_binder_transactionTodd Kjos1-20/+40
2017-07-17binder: protect binder_ref with outer lockTodd Kjos1-50/+83
2017-07-17binder: use inner lock to protect thread accountingTodd Kjos1-5/+23
2017-07-17binder: protect transaction_stack with inner lock.Martijn Coenen1-17/+79
2017-07-17binder: protect proc->threads with inner_lockTodd Kjos1-24/+63
2017-07-17binder: protect proc->nodes with inner lockTodd Kjos1-23/+89
2017-07-17binder: add spinlock to protect binder_nodeTodd Kjos1-55/+165
2017-07-17binder: add spinlocks to protect todo listsTodd Kjos1-86/+269
2017-07-17binder: use inner lock to sync work dq and node countsTodd Kjos1-51/+198
2017-07-17binder: introduce locking helper functionsTodd Kjos1-0/+238
2017-07-17binder: use node->tmp_refs to ensure node safetyTodd Kjos1-20/+104
2017-07-17binder: refactor binder ref inc/dec for thread safetyTodd Kjos1-122/+362
2017-07-17binder: make sure accesses to proc/thread are safeTodd Kjos1-27/+206