aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/msg.c
AgeCommit message (Expand)AuthorFilesLines
2022-10-28ipc/msg.c: fix percpu_counter use after freeAndrew Morton1-2/+2
2022-10-03ipc/msg: mitigate the lock contention with percpu counterJiebin Sun1-14/+34
2021-09-03memcg: enable accounting of ipc resourcesVasily Averin1-1/+1
2021-07-01ipc: use kmalloc for msg_queue and shmid_kernelVasily Averin1-3/+3
2021-05-22ipc/mqueue, msg, sem: avoid relying on a stack reference past its expiryVarad Gautam1-2/+4
2020-06-08ipc/msg: add missing annotation for freeque()Jules Irenge1-0/+2
2020-02-04ipc/msg.c: consolidate all xxxctl_down() functionsLu Shuaibing1-9/+10
2020-02-04ipc/msg.c: update and document memory barriersManfred Spraul1-7/+36
2019-01-25ipc: rename old-style shmctl/semctl/msgctl syscallsArnd Bergmann1-7/+32
2018-08-27y2038: globally rename compat_time to old_time32Arnd Bergmann1-3/+3
2018-08-22ipc/util.c: further variable name cleanupsManfred Spraul1-3/+3
2018-08-22ipc: simplify ipc initializationDavidlohr Bueso1-5/+4
2018-08-22ipc: rename ipcctl_pre_down_nolock()Manfred Spraul1-1/+1
2018-08-22ipc/util.c: use ipc_rcu_putref() for failues in ipc_addid()Manfred Spraul1-1/+1
2018-08-22ipc: compute kern_ipc_perm.id under the ipc lockManfred Spraul1-5/+14
2018-06-22rhashtable: split rhashtable.hNeilBrown1-0/+1
2018-04-20y2038: ipc: Report long times to user spaceArnd Bergmann1-3/+11
2018-04-20y2038: ipc: Use ktime_get_real_seconds consistentlyArnd Bergmann1-3/+3
2018-04-11ipc/msg: introduce msgctl(MSG_STAT_ANY)Davidlohr Bueso1-5/+12
2018-04-03Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-26/+36
2018-04-02ipc: add msgsnd syscall/compat_syscall wrappersDominik Brodowski1-4/+16
2018-04-02ipc: add msgrcv syscall/compat_syscall wrappersDominik Brodowski1-3/+16
2018-04-02ipc: add msgctl syscall/compat_syscall wrappersDominik Brodowski1-2/+12
2018-04-02ipc: add msgget syscall wrapperDominik Brodowski1-1/+6
2018-03-27ipc: Directly call the security hook in ipc_ops.associateEric W. Biederman1-9/+1
2018-03-27ipc/msg: Fix msgctl(..., IPC_STAT, ...) between pid namespacesEric W. Biederman1-10/+13
2018-03-24msg: Move struct msg_queue into ipc/msg.cEric W. Biederman1-0/+17
2018-03-22msg/security: Pass kern_ipc_perm not msg_queue into the msg_queue security hooksEric W. Biederman1-10/+8
2018-02-06ipc: fix ipc data structures inconsistencyPhilippe Mikoyan1-6/+14
2017-11-17Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-11fix address space warnings in ipc/Linus Torvalds1-2/+2
2017-09-14Merge branch 'work.ipc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-111/+255
2017-09-08ipc: optimize semget/shmget/msgget for lots of keysGuillaume Knispel1-4/+6
2017-09-03ipc: msg: Make msg_queue timestamps y2038 safeDeepa Dinamani1-3/+3
2017-08-02ipc: add missing container_of()s for randstructKees Cook1-1/+2
2017-07-15msgrcv(2), msgsnd(2): move compat to nativeAl Viro1-2/+43
2017-07-15ipc: make use of compat ipc_perm helpersAl Viro1-24/+4
2017-07-15msgctl(): move compat to nativeAl Viro1-0/+133
2017-07-15msgctl(): split the actual work from copyin/copyoutAl Viro1-106/+96
2017-07-12ipc/msg: remove special msg_alloc/freeKees Cook1-20/+4
2017-07-12ipc: move atomic_set() to where it is neededKees Cook1-2/+0
2017-07-12ipc/msg.c: avoid ipc_rcu_putref for failed ipc_addid()Manfred Spraul1-5/+5
2017-07-12ipc/msg: avoid ipc_rcu_alloc()Kees Cook1-4/+14
2017-07-12ipc/msg: do not use ipc_rcu_free()Kees Cook1-2/+7
2017-07-12ipc: merge ipc_rcu and kern_ipc_permManfred Spraul1-8/+11
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 for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
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 Long1-4/+4
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-08-02sysv, ipc: fix security-layer leakingFabian Frederick1-1/+1
2015-09-30Initialize msg/shm IPC objects before doing ipc_addid()Linus Torvalds1-7/+7
2015-06-30ipc: rename ipc_obtain_objectDavidlohr Bueso1-1/+1
2015-06-30ipc,msg: provide barrier pairings for lockless receiveDavidlohr Bueso1-10/+38
2015-04-15ipc: remove use of seq_printf return valueJoe Perches1-16/+18
2014-12-13ipc/msg: increase MSGMNI, remove scalingManfred Spraul1-35/+1
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, kernel: clear whitespacePaul McQuade1-16/+15
2014-06-06ipc, kernel: use Linux headersPaul McQuade1-1/+1
2014-06-06ipc: constify ipc_opsMathias Krause1-5/+4
2014-03-16ipc: Fix 2 bugs in msgrcv() MSG_COPY implementationMichael Kerrisk1-0/+2
2014-01-27ipc,msg: document barriersDavidlohr Bueso1-2/+17
2014-01-27ipc: whitespace cleanupManfred Spraul1-9/+9
2014-01-27ipc: introduce ipc_valid_object() helper to sort out IPC_RMID racesRafael Aquini1-3/+4
2013-09-30ipc,msg: prevent race with rmid in msgsnd,msgrcvDavidlohr Bueso1-0/+13
2013-09-24ipc: fix race with LSMsDavidlohr Bueso1-6/+13
2013-09-11ipc,msg: drop msg_unlockDavidlohr Bueso1-3/+2
2013-09-11ipc: rename ids->rw_mutexDavidlohr Bueso1-10/+10
2013-09-03ipc/msg.c: Fix lost wakeup in msgsnd().Manfred Spraul1-7/+5
2013-08-28IPC: bugfix for msgrcv with msgtyp < 0Svenning Sørensen1-2/+3
2013-07-09ipc: remove unused functionsDavidlohr Bueso1-25/+0
2013-07-09ipc,msg: shorten critical region in msgrcvDavidlohr Bueso1-26/+32
2013-07-09ipc,msg: shorten critical region in msgsndDavidlohr Bueso1-13/+24
2013-07-09ipc,msg: make msgctl_nolock locklessDavidlohr Bueso1-10/+17
2013-07-09ipc,msg: introduce lockless functions to obtain the ipc objectDavidlohr Bueso1-0/+21
2013-07-09ipc,msg: introduce msgctl_nolockDavidlohr Bueso1-15/+34
2013-07-09ipc,msg: shorten critical region in msgctl_downDavidlohr Bueso1-5/+7
2013-07-09ipc: move locking out of ipcctl_pre_down_nolockDavidlohr Bueso1-7/+17
2013-07-09ipc: close open coded spin lock callsDavidlohr Bueso1-1/+1
2013-07-09ipc: move rcu lock out of ipc_addidDavidlohr Bueso1-4/+3
2013-05-01ipc/msg.c: use list_for_each_entry_[safe] for list traversingNikola Pajkovsky1-27/+8
2013-05-01ipc,sem: fine grained locking for semtimedopRik van Riel1-1/+6
2013-05-01ipc: refactor msg list search into separate functionPeter Hurley1-22/+26
2013-05-01ipc: simplify msg list searchPeter Hurley1-6/+2
2013-05-01ipc: implement MSG_COPY as a new receive modePeter Hurley1-13/+9
2013-05-01ipc: remove msg handling from queue scanPeter Hurley1-10/+4
2013-04-02ipc: set msg back to -EAGAIN if copy wasn't performedStanislav Kinsbursky1-0/+1
2013-03-08ipc: don't allocate a copy larger than maxPeter Hurley1-2/+4
2013-01-04ipc: add more comments to message copying related codeStanislav Kinsbursky1-0/+8
2013-01-04ipc: simplify message copyingStanislav Kinsbursky1-16/+9
2013-01-04ipc: convert prepare_copy() from macro to functionStanislav Kinsbursky1-2/+9
2013-01-04ipc: simplify free_copy() callStanislav Kinsbursky1-6/+8
2013-01-04ipc: introduce message queue copy featureStanislav Kinsbursky1-2/+62
2013-01-04ipc: message queue receive cleanupStanislav Kinsbursky1-21/+23
2013-01-04ipc: remove forced assignment of selected messageStanislav Kinsbursky1-4/+1
2012-09-06userns: Convert ipc to use kuid and kgid where appropriateEric W. Biederman1-5/+9
2011-03-31Fix common misspellingsLucas De Marchi1-2/+2
2011-03-23userns: user namespaces: convert several capable() callsSerge E. Hallyn1-4/+4
2010-05-25kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT...Alexey Dobriyan1-6/+6
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2009-12-16ipc ns: fix memory leak (idr)Serge E. Hallyn1-0/+1
2009-12-04ipc: fix unused variable warningFelipe Contreras1-1/+1
2009-01-14[CVE-2009-0029] System call wrappers part 24Heiko Carstens1-6/+6
2008-06-06ipc: only output msgmni value at boot timeNadia Derbey1-7/+6
2008-04-29ipc: add definitions of USHORT_MAX and othersZhang, Yanmin1-6/+6
2008-04-29IPC: consolidate all xxxctl_down() functionsPierre Peiffer1-43/+5
2008-04-29IPC: introduce ipc_update_perm()Pierre Peiffer1-4/+1
2008-04-29IPC: get rid of the use *_setbuf structure.Pierre Peiffer1-33/+18
2008-04-29IPC/message queues: introduce msgctl_downPierre Peiffer1-73/+89
2008-04-29ipc: recompute msgmni on memory add / removeNadia Derbey1-1/+1
2008-04-29ipc: scale msgmni to the number of ipc namespacesNadia Derbey1-3/+7
2008-04-29ipc: scale msgmni to the amount of lowmemNadia Derbey1-1/+36
2008-04-29IPC: use ipc_buildid() directly from ipc_addid()Pierre Peiffer1-2/+0
2008-02-08IPC: consolidate sem_exit_ns(), msg_exit_ns() and shm_exit_ns()Pierre Peiffer1-23/+5
2008-02-08IPC: make struct ipc_ids static in ipc_namespacePierre Peiffer1-22/+4
2008-02-08namespaces: move the IPC namespace under IPC_NS optionPavel Emelyanov1-0/+3
2008-02-06IPC: fix error check in all new xxx_lock() and xxx_exit_ns() functionsPierre Peiffer1-3/+14
2007-10-19IPC: fix error case when idr-cache is empty in ipcget()Pierre Peiffer1-2/+2
2007-10-19virtualization of sysv msg queues is incompleteKirill Korotaev1-11/+10
2007-10-19ipc: remove unneeded parametersNadia Derbey1-3/+2
2007-10-19fix idr_find() lockingNadia Derbey1-12/+29
2007-10-19ipc: fix wrong commentsNadia Derbey1-2/+12
2007-10-19Storing ipcs into IDRsNadia Derbey1-4/+10
2007-10-19ipc: integrate ipc_checkid() into ipc_lock()Nadia Derbey1-32/+30
2007-10-19ipc: unify the syscalls codeNadia Derbey1-44/+17
2007-10-19ipc: store ipcs into IDRsNadia Derbey1-45/+70
2007-10-19pid namespaces: changes to show virtual ids to userPavel Emelyanov1-3/+3
2007-07-17arch/i386/* fs/* ipc/*: mark variables with uninitialized_var()Jeff Garzik1-2/+2
2007-07-16remove CONFIG_UTS_NS and CONFIG_IPC_NSCedric Le Goater1-3/+1
2006-12-07[PATCH] Fix the size limit of compat space msgsizesuzuki1-11/+33
2006-11-04Revert unintentional "volatile" changes in ipc/msg.cLinus Torvalds1-1/+1
2006-11-03[PATCH] Fix ipc entries removalPavel Emelianov1-0/+1
2006-10-02[PATCH] IPC namespace - msgKirill Korotaev1-51/+106
2006-07-31[PATCH] ipc/msg.c: clean up coding styleIngo Molnar1-184/+205
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-20[PATCH] update of IPC audit record cleanupLinda Knippers1-4/+5
2006-05-01[PATCH] Rework of IPC auditingSteve Grubb1-1/+10
2006-03-26[PATCH] sem2mutex: ipc, id.semIngo Molnar1-8/+10
2006-03-25Merge branch 'audit.b3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+3
2006-03-24BUG_ON() Conversion in ipc/msg.cEric Sesterhenn1-2/+1
2006-03-20[PATCH] Capture selinux subject/object context information.Dustin Kirkland1-2/+3
2006-01-15correct email address of Manfred SpraulChristian Kujau1-1/+1
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2005-09-07[PATCH] ipc: convert /proc/sysvipc/* to generic seq_file interfaceMike Waychison1-55/+27
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+862