aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
AgeCommit message (Expand)AuthorFilesLines
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman9-0/+9
2017-09-25fix a typo in put_compat_shm_info()Al Viro1-1/+1
2017-09-20ipc/shm: Fix order of parameters when calling copy_compat_shmid_to_userWill Deacon1-1/+1
2017-09-14Merge branch 'work.ipc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds7-1120/+1011
2017-09-08ipc: optimize semget/shmget/msgget for lots of keysGuillaume Knispel6-50/+124
2017-09-08ipc/sem: play nicer with large nsops allocationsDavidlohr Bueso1-2/+2
2017-09-08ipc/sem: drop sem_checkid helperDavidlohr Bueso1-2/+0
2017-09-08ipc: convert kern_ipc_perm.refcount from atomic_t to refcount_tElena Reshetova1-3/+3
2017-09-08ipc: convert sem_undo_list.refcnt from atomic_t to refcount_tElena Reshetova1-4/+4
2017-09-08ipc: convert ipc_namespace.count from atomic_t to refcount_tElena Reshetova2-3/+3
2017-09-03ipc: shm: Make shmid_kernel timestamps y2038 safeDeepa Dinamani1-5/+5
2017-09-03ipc: sem: Make sem_array timestamps y2038 safeDeepa Dinamani1-9/+9
2017-09-03ipc: msg: Make msg_queue timestamps y2038 safeDeepa Dinamani1-3/+3
2017-09-03ipc: mqueue: Replace timespec with timespec64Deepa Dinamani1-14/+14
2017-09-03ipc: Make sys_semtimedop() y2038 safeDeepa Dinamani1-6/+6
2017-08-21Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+2
2017-08-17ipc: Replace spin_unlock_wait() with lock/unlock pairPaul E. McKenney1-1/+2
2017-08-02ipc: add missing container_of()s for randstructKees Cook3-3/+7
2017-07-15semtimedop(): move compat to nativeAl Viro2-21/+33
2017-07-15shmat(2): move compat to nativeAl Viro2-16/+19
2017-07-15msgrcv(2), msgsnd(2): move compat to nativeAl Viro2-39/+43
2017-07-15ipc(2): move compat to nativeAl Viro2-95/+93
2017-07-15ipc: make use of compat ipc_perm helpersAl Viro2-50/+8
2017-07-15semctl(): move compat to nativeAl Viro3-197/+133
2017-07-15semctl(): separate all layout-dependent copyin/copyoutAl Viro1-98/+94
2017-07-15msgctl(): move compat to nativeAl Viro2-132/+133
2017-07-15msgctl(): split the actual work from copyin/copyoutAl Viro1-106/+96
2017-07-15ipc: move compat shmctl to nativeAl Viro3-235/+231
2017-07-15shmctl: split the work from copyin/copyoutAl Viro1-175/+172
2017-07-12ipc/util.h: update documentation for ipc_getref() and ipc_putref()Manfred Spraul1-0/+3
2017-07-12ipc/sem: drop __sem_free()Kees Cook1-7/+2
2017-07-12ipc/msg: remove special msg_alloc/freeKees Cook1-20/+4
2017-07-12ipc/shm: remove special shm_alloc/freeKees Cook1-20/+4
2017-07-12ipc: move atomic_set() to where it is neededKees Cook4-5/+1
2017-07-12ipc/msg.c: avoid ipc_rcu_putref for failed ipc_addid()Manfred Spraul1-5/+5
2017-07-12ipc/shm.c: avoid ipc_rcu_putref for failed ipc_addid()Manfred Spraul1-6/+3
2017-07-12ipc/sem.c: avoid ipc_rcu_putref for failed ipc_addid()Manfred Spraul1-5/+4
2017-07-12ipc/util: drop ipc_rcu_alloc()Kees Cook2-24/+0
2017-07-12ipc/msg: avoid ipc_rcu_alloc()Kees Cook1-4/+14
2017-07-12ipc/shm: avoid ipc_rcu_alloc()Kees Cook1-4/+14
2017-07-12ipc/sem: avoid ipc_rcu_alloc()Kees Cook1-5/+20
2017-07-12ipc/util: drop ipc_rcu_free()Kees Cook2-8/+0
2017-07-12ipc/msg: do not use ipc_rcu_free()Kees Cook1-2/+7
2017-07-12ipc/shm: do not use ipc_rcu_free()Kees Cook1-2/+7
2017-07-12ipc/sem: do not use ipc_rcu_free()Kees Cook1-2/+7
2017-07-12ipc: drop non-RCU allocationKees Cook3-33/+6
2017-07-12ipc: merge ipc_rcu and kern_ipc_permManfred Spraul5-61/+63
2017-07-12ipc/sem.c: remove sem_base, embed struct semManfred Spraul1-54/+34
2017-07-09mqueue: fix a use-after-free in sys_mq_notify()Cong Wang1-1/+3
2017-07-07Merge tag 'for-linus-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2017-07-05fs: remove call_fsync helper functionJeff Layton1-1/+1
2017-07-04mqueue: move compat syscalls to native onesAl Viro3-228/+262
2017-05-08mm: introduce kv[mz]alloc helpersMichal Hocko1-6/+1
2017-05-08ipc/shm: some shmat cleanupsDavidlohr Bueso1-9/+7
2017-05-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-2/+0
2017-04-17ipc: Remove unused declaration of recompute_msgmniEric W. Biederman1-2/+0
2017-04-02kernel-api.rst: fix a series of errors when parsing C filesmchehab@s-opensource.com1-5/+7
2017-03-03Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds4-1/+7
2017-03-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2017-03-02Merge remote-tracking branch 'ovl/for-viro' into for-linusAl Viro1-2/+2
2017-03-02sched/headers: Move the wake-queue types and interfaces from sched.h into <li...Ingo Molnar1-1/+0
2017-03-02sched/headers: Prepare to move the task_lock()/unlock() APIs to <linux/sched/...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar3-0/+3
2017-02-27ipc/shm: Fix shmat mmap nil-page protectionDavidlohr Bueso1-4/+9
2017-02-27ipc/mqueue: add missing sparse annotationLuc Van Oostenryck1-0/+1
2017-02-27ipc/sem: add hysteresisManfred Spraul1-25/+61
2017-02-27ipc/sem.c: avoid using spin_unlock_wait()Manfred Spraul1-22/+3
2017-02-24userfaultfd: non-cooperative: add event for memory unmapsMike Rapoport1-4/+4
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-3/+3
2017-02-20vfs: use helper for calling f_op->fsync()Miklos Szeredi1-1/+1
2017-02-20mm: use helper for calling f_op->mmap()Miklos Szeredi1-1/+1
2017-01-10ipc/sem.c: fix incorrect sem_lock pairingManfred Spraul1-1/+1
2016-12-14ipc/sem: avoid idr tree lookup for interrupted semopDavidlohr Bueso1-32/+5
2016-12-14ipc/sem: simplify wait-wake loopDavidlohr Bueso1-56/+52
2016-12-14ipc/sem: use proper list api for pending_list wakeupsDavidlohr Bueso1-25/+13
2016-12-14ipc/sem: explicitly inline check_restartDavidlohr Bueso1-1/+1
2016-12-14ipc/sem: optimize perform_atomic_semop()Davidlohr Bueso1-10/+102
2016-12-14ipc/sem: rework task wakeupsDavidlohr Bueso1-180/+86
2016-12-14ipc/sem: do not call wake_sem_queue_do() prematurely ... as this call should ...Davidlohr Bueso1-7/+12
2016-12-14ipc/shm.c: coding style fixesShailesh Pandey1-3/+10
2016-12-14ipc: msg, make msgrcv work with LONG_MINJiri Slaby1-1/+4
2016-11-21sched/wake_q: Rename WAKE_Q to DEFINE_WAKE_QWaiman Long2-6/+6
2016-10-27ipc: account for kmem usage on mqueue and msgAristeu Rozanski1-2/+2
2016-10-11ipc/sem.c: add cond_resched in exit_smeNikolay Borisov1-0/+2
2016-10-11ipc/msg: avoid waking sender upon full queueDavidlohr Bueso1-10/+43
2016-10-11ipc/msg: make ss_wakeup() kill arg booleanDavidlohr Bueso1-4/+4
2016-10-11ipc/msg: batch queue sender wakeupsDavidlohr Bueso1-10/+20
2016-10-11ipc/msg: implement lockless pipelined wakeupsSebastian Andrzej Siewior1-93/+40
2016-10-11ipc/sem.c: fix complex_count vs. simple op raceManfred Spraul1-55/+83
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-9/+9
2016-09-27fs: Replace CURRENT_TIME with current_time() for inode timestampsDeepa Dinamani1-9/+9
2016-09-22Merge branch 'nsfs-ioctls' into HEADEric W. Biederman1-0/+6
2016-09-22kernel: add a helper to get an owning user namespace for a namespaceAndrey Vagin1-0/+6
2016-09-22userns: When the per user per user namespace limit is reached return ENOSPCEric W. Biederman1-1/+1
2016-08-08ipcns: Add a limit on the number of ipc namespacesEric W. Biederman1-11/+34
2016-08-02ipc: delete "nr_ipc_ns"Alexey Dobriyan2-4/+0
2016-08-02sysv, ipc: fix security-layer leakingFabian Frederick2-7/+7
2016-07-29Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds2-13/+12
2016-07-26shmem: make shmem_inode_info::lock irq-safeKirill A. Shutemov1-2/+2
2016-07-26shmem: get_unmapped_area align huge pageHugh Dickins1-2/+4
2016-06-23vfs: Generalize filesystem nodev handling.Eric W. Biederman1-1/+1
2016-06-23ipc/mqueue: The mqueue filesystem should never contain executablesEric W. Biederman1-0/+1
2016-06-23vfs: Pass data, ns, and ns->userns to mount_nsEric W. Biederman1-11/+8
2016-06-23ipc: Initialize ipc_namespace->user_ns early.Eric W. Biederman1-2/+3
2016-06-14locking/spinlock: Update spin_unlock_wait() usersPeter Zijlstra1-1/+0
2016-06-14locking/barriers: Introduce smp_acquire__after_ctrl_dep()Peter Zijlstra1-12/+2
2016-05-23ipc, shm: make shmem attach/detach wait for mmap_sem killableMichal Hocko1-2/+7
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-2/+2
2016-03-22ipc/sem: make semctl setting sempid consistentDavidlohr Bueso1-2/+11
2016-02-18ipc/shm: handle removed segments gracefully in shm_mmap()Kirill A. Shutemov1-10/+43
2016-01-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+4
2016-01-22tree wide: use kvfree() than conditional kfree()/vfree()Tetsuo Handa3-10/+5
2016-01-22wrappers for ->i_mutex accessAl Viro1-4/+4
2016-01-20ipc/shm.c: is_file_shm_hugepages() can be booleanYaowei Bai1-1/+1
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-1/+1
2015-11-06ipc,msg: drop dst nil validation in copy_msgDavidlohr Bueso1-1/+0
2015-09-30Initialize msg/shm IPC objects before doing ipc_addid()Linus Torvalds3-17/+18
2015-09-10ipc: convert invalid scenarios to use WARN_ONDavidlohr Bueso2-3/+3
2015-08-14ipc/sem.c: update/correct memory barriersManfred Spraul1-4/+14
2015-08-14ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()Herton R. Krzesinski1-2/+4
2015-08-14ipc,sem: fix use after free on IPC_RMID after a task using same semaphore set...Herton R. Krzesinski1-6/+17
2015-08-07ipc: use private shmem or hugetlbfs inodes for shm segments.Stephen Smalley1-1/+1
2015-08-07ipc: modify message queue accounting to not take kernel data structures into ...Marcus Gelderie1-5/+0
2015-06-30ipc,sysv: return -EINVAL upon incorrect id/seqnumDavidlohr Bueso1-1/+1
2015-06-30ipc,sysv: make return -EIDRM when racing with RMID consistentDavidlohr Bueso1-5/+8
2015-06-30ipc: rename ipc_obtain_objectDavidlohr Bueso5-9/+9
2015-06-30ipc,msg: provide barrier pairings for lockless receiveDavidlohr Bueso1-10/+38
2015-06-30ipc,shm: move BUG_ON check into shm_lockDavidlohr Bueso1-5/+5
2015-06-30ipc/util.c: use kvfree() in ipc_rcu_free()Pekka Enberg1-4/+1
2015-05-08ipc/mqueue: Implement lockless pipelined wakeupsDavidlohr Bueso1-21/+33
2015-04-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2-12/+12
2015-04-15ipc: remove use of seq_printf return valueJoe Perches4-50/+58
2015-04-15VFS: assorted weird filesystems: d_inode() annotationsDavid Howells2-12/+12
2015-02-17ipc,sem: use current->state helpersDavidlohr Bueso1-1/+1
2014-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2-18/+19
2014-12-13shmdt: use i_size_read() instead of ->i_sizeDave Hansen1-2/+3
2014-12-13ipc/shm.c: fix overly aggressive shmdt() when calls span multiple segmentsDave Hansen1-5/+13
2014-12-13ipc/msg: increase MSGMNI, remove scalingManfred Spraul6-266/+19
2014-12-13ipc/sem.c: change memory barrier in sem_lock() to smp_rmb()Manfred Spraul1-3/+10
2014-12-10Merge branch 'nsfs' into for-nextAl Viro2-18/+19
2014-12-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2014-12-04copy address of proc_ns_ops into ns_commonAl Viro2-0/+4
2014-12-04new helpers: ns_alloc_inum/ns_free_inumAl Viro1-3/+3
2014-12-04make proc_ns_operations work with struct ns_common * instead of void *Al Viro1-9/+3
2014-12-04switch the rest of proc_ns_operations to working with &...->nsAl Viro1-6/+9
2014-12-04common object embedded into various struct ....nsAl Viro2-5/+5
2014-12-03ipc/sem.c: fully initialize sem_array before making it visibleManfred Spraul1-7/+8
2014-11-19new helper: audit_file()Al Viro1-2/+2
2014-10-14ipc: resolve shadow warningsMark Rustad1-46/+46
2014-10-14ipc/util.c: use __seq_open_private() instead of seq_open()Rob Jones1-16/+4
2014-10-14ipc/shm: kill the historical/wrong mm->start_stack checkOleg Nesterov1-7/+0
2014-10-14ipc: always handle a new value of auto_msgmniAndrey Vagin1-2/+1
2014-10-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-3/+3
2014-09-09Documentation: Docbook: Fix generated DocBook/kernel-api.xmlMasanari Iida1-3/+3
2014-08-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+3
2014-08-08shm: allow exit_shm in parallel if only marking orphansJack Miller1-32/+35
2014-08-08shm: make exit_shm work proportional to task activityJack Miller1-11/+11
2014-07-29namespaces: Use task_lock and not rcu to protect nsproxyEric W. Biederman1-3/+3
2014-06-06ipc: convert use of typedef ctl_table to struct ctl_tableJoe Perches2-13/+13
2014-06-06ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)Manfred Spraul1-0/+11
2014-06-06ipc/sem.c: make semctl(,,{GETNCNT,GETZCNT}) standard compliantManfred Spraul1-21/+13
2014-06-06ipc/sem.c: store which operation blocks in perform_atomic_semop()Manfred Spraul1-0/+3
2014-06-06ipc/sem.c: change perform_atomic_semop parametersManfred Spraul1-19/+19
2014-06-06ipc/sem.c: remove code duplicationManfred Spraul1-56/+51
2014-06-06ipc/sem.c: bugfix for semctl(,,GETZCNT)Manfred Spraul1-0/+10
2014-06-06ipc,msg: document volatile r_msgDavidlohr Bueso1-3/+7
2014-06-06ipc,msg: move some msgq ns code aroundDavidlohr Bueso1-69/+63
2014-06-06ipc,msg: use current->state helpersDavidlohr Bueso1-2/+2
2014-06-06ipc/shm.c: check for integer overflow during shmget.Manfred Spraul1-0/+3
2014-06-06ipc/shm.c: check for overflows of shm_totManfred Spraul1-1/+2
2014-06-06ipc/shm.c: check for ulong overflows in shmatManfred Spraul1-0/+3
2014-06-06ipc, kernel: clear whitespacePaul McQuade5-28/+27
2014-06-06ipc, kernel: use Linux headersPaul McQuade5-5/+5
2014-06-06ipc: constify ipc_opsMathias Krause5-20/+19
2014-04-07ipc: use device_initcallDavidlohr Bueso3-3/+3
2014-04-07ipc/compat.c: remove sc_semopm macroDavidlohr Bueso1-3/+0
2014-04-02Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-25/+6
2014-03-31Merge branch 'compat' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/l...Linus Torvalds2-22/+23
2014-03-16ipc: Fix 2 bugs in msgrcv() MSG_COPY implementationMichael Kerrisk1-0/+2
2014-03-06ipc/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter typesHeiko Carstens1-8/+8
2014-03-06ipc/compat: convert to COMPAT_SYSCALL_DEFINEHeiko Carstens2-12/+13
2014-03-06ipc/compat_sys_msgrcv: change msgtyp type from long to compat_long_tHeiko Carstens1-2/+2
2014-02-25ipc,mqueue: remove limits for the amount of system-wide queuesDavidlohr Bueso2-9/+15
2014-02-02compat: Get rid of (get|put)_compat_time(val|spec)H. Peter Anvin2-25/+6
2014-01-27ipc: fix compat msgrcv with negative msgtypMateusz Guzik1-1/+1
2014-01-27ipc,msg: document barriersDavidlohr Bueso1-2/+17
2014-01-27ipc: delete seq_max field in struct ipc_idsDavidlohr Bueso2-11/+3
2014-01-27ipc: simplify sysvipc_proc_open() returnDavidlohr Bueso1-5/+4
2014-01-27ipc: remove useless return statementDavidlohr Bueso1-4/+0
2014-01-27ipc: remove braces for single statementsDavidlohr Bueso4-19/+16
2014-01-27ipc: standardize code commentsDavidlohr Bueso3-139/+125
2014-01-27ipc: whitespace cleanupManfred Spraul9-113/+113
2014-01-27ipc: change kern_ipc_perm.deleted type to boolRafael Aquini3-5/+5
2014-01-27ipc: introduce ipc_valid_object() helper to sort out IPC_RMID racesRafael Aquini4-19/+41
2014-01-27ipc/sem.c: avoid overflow of semop undo (semadj) valuePetr Mladek1-11/+13
2013-11-21ipc,shm: correct error return value in shmctl (SHM_UNLOCK)Jesper Nilsson1-3/+6
2013-11-21ipc,shm: fix shm_file deletion racesGreg Thelen1-5/+23