aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
AgeCommit message (Expand)AuthorFilesLines
2022-03-22fs: allocate inode by using alloc_inode_sb()Muchun Song1-1/+1
2022-02-04ipc/sem: do not sleep with a spin lock heldMinghao Chi1-2/+2
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-1/+1
2021-11-20shm: extend forced shm destroy to support objects from several IPC nsesAlexander Mikhalitsyn1-46/+143
2021-11-20ipc: WARN if trying to remove ipc object which is absentAlexander Mikhalitsyn1-3/+3
2021-11-09ipc/ipc_sysctl.c: remove fallback for !CONFIG_PROC_SYSCTLManfred Spraul1-13/+0
2021-11-09ipc: check checkpoint_restore_ns_capable() to modify C/R proc filesMichal Clapinski1-6/+23
2021-11-09mm,hugetlb: remove mlock ulimit for SHM_HUGETLBzhangyiru1-7/+1
2021-09-14ipc: remove memcg accounting for sops objects in do_semtimedop()Vasily Averin1-1/+1
2021-09-09Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-armLinus Torvalds1-33/+52
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-12/+4
2021-09-08ipc: replace costly bailout check in sysvipc_find_ipc()Rafael Aquini1-12/+4
2021-09-03memcg: enable accounting of ipc resourcesVasily Averin3-6/+7
2021-09-03memcg: enable accounting for new namesapces and struct nsproxyVasily Averin1-1/+1
2021-08-20ARM: 9114/1: oabi-compat: rework sys_semtimedop emulationArnd Bergmann1-32/+52
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds5-21/+63
2021-07-01ipc/util.c: use binary search for max_idxManfred Spraul2-5/+42
2021-07-01ipc/sem.c: use READ_ONCE()/WRITE_ONCE() for use_global_lockManfred Spraul1-5/+9
2021-07-01ipc: use kmalloc for msg_queue and shmid_kernelVasily Averin2-6/+6
2021-07-01ipc sem: use kvmalloc for sem_undo allocationVasily Averin1-5/+6
2021-06-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds2-32/+34
2021-05-22ipc/mqueue, msg, sem: avoid relying on a stack reference past its expiryVarad Gautam3-6/+12
2021-05-07ipc/sem.c: spelling fixBhaskar Chowdhury1-1/+1
2021-05-07ipc/sem.c: mundane typo fixesBhaskar Chowdhury1-5/+5
2021-04-30Reimplement RLIMIT_MEMLOCK on top of ucountsAlexey Gladkov1-13/+13
2021-04-30Reimplement RLIMIT_MSGQUEUE on top of ucountsAlexey Gladkov1-19/+21
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-2/+2
2021-01-24namei: prepare for idmapped mountsChristian Brauner1-1/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+4
2020-12-15vm_ops: rename .split() callback to .may_split()Dmitry Safonov1-4/+4
2020-12-14Merge tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brau...Linus Torvalds2-3/+3
2020-09-05ipc: adjust proc_ipc_sem_dointvec definition to match prototypeTobias Klauser1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-4/+4
2020-08-19ipc: Use generic ns_common::countKirill Tkhai2-3/+3
2020-08-12ipc/shm.c: remove the superfluous breakLiao Pingfang1-1/+0
2020-08-12ipc: uninline functionsAlexey Dobriyan2-4/+2
2020-08-07mm: remove unnecessary wrapper function do_mmap_pgoff()Peter Collingbourne1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-4/+4
2020-06-08ipc/namespace.c: use a work queue to free_ipcGiuseppe Scrivano1-2/+22
2020-06-08ipc/msg: add missing annotation for freeque()Jules Irenge1-0/+2
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds2-7/+7
2020-06-03Merge tag 'threads-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/bra...Linus Torvalds1-4/+3
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2-14/+32
2020-05-14ipc/util.c: sysvipc_find_ipc() incorrectly updates position indexVasily Averin1-6/+6
2020-05-09nsproxy: add struct nssetChristian Brauner1-4/+3
2020-05-07ipc/mqueue.c: change __do_notify() to bypass check_kill_permission()Oleg Nesterov1-8/+26
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig2-7/+7
2020-04-10ipc/util.c: sysvipc_find_ipc() should increase position indexVasily Averin1-1/+1
2020-04-07ipc/shm.c: make compat_ksys_shmctl() staticJason Yan1-1/+1
2020-04-07ipc/mqueue.c: fix a brace coding style issueSomala Swaraj1-3/+2
2020-04-07proc: faster open/read/close with "permanent" filesAlexey Dobriyan1-0/+1
2020-02-21Revert "ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()"Ioanna Alifieraki1-4/+2
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-7/+7
2020-02-04ipc/msg.c: consolidate all xxxctl_down() functionsLu Shuaibing1-9/+10
2020-02-04ipc/sem.c: document and update memory barriersManfred Spraul1-25/+41
2020-02-04ipc/msg.c: update and document memory barriersManfred Spraul1-7/+36
2020-02-04ipc/mqueue.c: update/document memory barriersManfred Spraul1-14/+78
2020-02-04ipc/mqueue.c: remove duplicated codeDavidlohr Bueso1-13/+18
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-11-15y2038: remove CONFIG_64BIT_TIMEArnd Bergmann1-1/+1
2019-09-25ipc/sem.c: convert to use built-in RCU list checkingJoel Fernandes (Google)1-1/+2
2019-09-25ipc/mqueue: improve exception handling in do_mq_notify()Markus Elfring1-12/+8
2019-09-25ipc/mqueue.c: delete an unnecessary check before the macro call dev_kfree_skb()Markus Elfring1-1/+1
2019-09-18Merge branch 'work.mount-base' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+1
2019-09-07ipc: fix sparc64 ipc() wrapperArnd Bergmann1-23/+2
2019-09-05new helper: get_tree_keyed()Al Viro1-2/+1
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-4/+5
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-19/+16
2019-07-16ipc/mqueue.c: only perform resource calculation if user validKees Cook1-9/+10
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441Thomas Gleixner2-10/+2
2019-05-25mqueue: set ->user_ns before ->get_tree()Al Viro1-4/+5
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 52Thomas Gleixner1-5/+1
2019-05-14ipc: do cyclic id allocation for the ipc object.Manfred Spraul3-1/+11
2019-05-14ipc: conserve sequence numbers in ipcmni_extend modeManfred Spraul2-9/+34
2019-05-14ipc: allow boot time extension of IPCMNI from 32k to 16MWaiman Long3-15/+51
2019-05-14ipc/mqueue: optimize msg_get()Davidlohr Bueso1-25/+35
2019-05-14ipc/mqueue: remove redundant wq task assignmentDavidlohr Bueso1-2/+0
2019-05-14ipc: prevent lockup on alloc_msg and free_msgLi Rongqing2-2/+14
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+0
2019-05-01mqueue: switch to ->free_inode()Al Viro1-8/+2
2019-04-07rhashtable: use bit_spin_locks to protect hash bucket.NeilBrown1-1/+0
2019-03-12Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds2-23/+73
2019-03-07ipc/sem.c: replace kvmalloc/memset with kvzalloc and use struct_sizeGustavo A. R. Silva1-5/+1
2019-03-07ipc: annotate implicit fall throughMathieu Malaterre1-0/+1
2019-02-28ipc: Convert mqueue fs to fs_contextDavid Howells2-23/+73
2019-02-07y2038: syscalls: rename y2038 compat syscallsArnd Bergmann2-9/+9
2019-01-25ipc: rename old-style shmctl/semctl/msgctl syscallsArnd Bergmann5-41/+110
2019-01-18ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390Arnd Bergmann1-4/+16
2018-10-31ipc: IPCMNI limit check for semmniWaiman Long2-1/+31
2018-10-31ipc: IPCMNI limit check for msgmni and shmmniWaiman Long1-2/+5
2018-10-25Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds6-17/+17
2018-10-24Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2018-10-05ipc/shm.c: use ERR_CAST() for shm_lock() error returnKees Cook1-1/+1
2018-10-03signal: Distinguish between kernel_siginfo and siginfoEric W. Biederman1-1/+1
2018-09-04ipc/shm: properly return EIDRM in shm_lock()Davidlohr Bueso1-0/+1
2018-08-27y2038: globally rename compat_time to old_time32Arnd Bergmann6-17/+17
2018-08-22ipc/util.c: update return value of ipc_getref from int to boolManfred Spraul2-2/+2
2018-08-22ipc/util.c: further variable name cleanupsManfred Spraul5-26/+26
2018-08-22ipc: simplify ipc initializationDavidlohr Bueso6-54/+30
2018-08-22ipc: get rid of ids->tables_initialized hackDavidlohr Bueso1-15/+8
2018-08-22ipc: drop ipc_lock()Davidlohr Bueso3-43/+23
2018-08-22ipc/util.c: correct comment in ipc_obtain_object_checkManfred Spraul1-2/+2
2018-08-22ipc: rename ipcctl_pre_down_nolock()Manfred Spraul5-8/+8
2018-08-22ipc/util.c: use ipc_rcu_putref() for failues in ipc_addid()Manfred Spraul4-4/+12
2018-08-22ipc: reorganize initialization of kern_ipc_perm.seqManfred Spraul1-43/+48
2018-08-22ipc: compute kern_ipc_perm.id under the ipc lockManfred Spraul3-15/+41
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds4-0/+4
2018-08-13Merge branch 'work.open3' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-24/+21
2018-08-05Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+12
2018-08-02ipc/shm.c add ->pagesize function to shm_vm_opsJane Chu1-0/+12
2018-08-02Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-07-26ipc/sem.c: prevent queue.status tearing in semopDavidlohr Bueso1-1/+1
2018-07-12do_shmat(): grab shp->shm_file earlier, switch to alloc_file_clone()Al Viro1-21/+18
2018-07-12alloc_file(): switch to passing O_... flags instead of FMODE_... modeAl Viro1-4/+4
2018-06-22rhashtable: split rhashtable.hNeilBrown4-0/+4
2018-06-15ipc: use new return type vm_fault_tSouptick Joarder1-1/+1
2018-06-15sysvipc/sem: mitigate semnum index against spectre v1Davidlohr Bueso1-4/+14
2018-06-12treewide: kvmalloc() -> kvmalloc_array()Kees Cook1-1/+1
2018-06-04Merge branch 'timers-2038-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds6-65/+99
2018-05-25ipc/shm: fix shmat() nil address after round-down when remappingDavidlohr Bueso1-2/+10
2018-05-25Revert "ipc/shm: Fix shmat mmap nil-page protection"Davidlohr Bueso1-7/+2
2018-04-20y2038: ipc: Redirect ipc(SEMTIMEDOP, ...) to compat_ksys_semtimedopArnd Bergmann1-3/+10
2018-04-20y2038: ipc: Enable COMPAT_32BIT_TIMEArnd Bergmann3-41/+44
2018-04-20y2038: ipc: Use __kernel_timespecArnd Bergmann3-6/+6
2018-04-20y2038: ipc: Report long times to user spaceArnd Bergmann3-9/+33
2018-04-20y2038: ipc: Use ktime_get_real_seconds consistentlyArnd Bergmann2-6/+6
2018-04-13ipc/shm: fix use-after-free of shm file via remap_file_pages()Eric Biggers1-3/+20
2018-04-11ipc/shm.c: shm_split(): remove unneeded test for NULL shm_file_data.vm_opsAndrew Morton1-1/+1
2018-04-11ipc/msg: introduce msgctl(MSG_STAT_ANY)Davidlohr Bueso1-5/+12
2018-04-11ipc/sem: introduce semctl(SEM_STAT_ANY)Davidlohr Bueso1-5/+12
2018-04-11ipc/shm: introduce shmctl(SHM_STAT_ANY)Davidlohr Bueso1-5/+18
2018-04-11proc: move /proc/sysvipc creation to where it belongsAlexey Dobriyan1-0/+1
2018-04-03Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds5-80/+152
2018-04-02Merge branch 'syscalls-next' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds5-49/+172
2018-04-02ipc: add msgsnd syscall/compat_syscall wrappersDominik Brodowski3-6/+22
2018-04-02ipc: add msgrcv syscall/compat_syscall wrappersDominik Brodowski3-7/+24
2018-04-02ipc: add msgctl syscall/compat_syscall wrappersDominik Brodowski3-4/+17
2018-04-02ipc: add shmctl syscall/compat_syscall wrappersDominik Brodowski3-4/+16
2018-04-02ipc: add shmdt syscall wrapperDominik Brodowski3-3/+9
2018-04-02ipc: add shmget syscall wrapperDominik Brodowski3-3/+9
2018-04-02ipc: add msgget syscall wrapperDominik Brodowski3-3/+9
2018-04-02ipc: add semctl syscall/compat_syscall wrappersDominik Brodowski3-4/+16
2018-04-02ipc: add semget syscall wrapperDominik Brodowski3-3/+9
2018-04-02ipc: add semtimedop syscall/compat_syscall wrappersDominik Brodowski3-12/+41
2018-03-28ipc/shm.c: add split function to shm_vm_opsMike Kravetz1-0/+12
2018-03-28ipc/shm: Fix pid freeing.Eric W. Biederman1-2/+2
2018-03-27ipc: Directly call the security hook in ipc_ops.associateEric W. Biederman3-27/+3
2018-03-27ipc/sem: Fix semctl(..., GETPID, ...) between pid namespacesEric W. Biederman1-10/+12
2018-03-27ipc/msg: Fix msgctl(..., IPC_STAT, ...) between pid namespacesEric W. Biederman1-10/+13
2018-03-27ipc/shm: Fix shmctl(..., IPC_STAT, ...) between pid namespaces.Eric W. Biederman1-10/+15
2018-03-24Revert "mqueue: switch to on-demand creation of internal mount"Eric W. Biederman1-55/+19
2018-03-24ipc/util: Helpers for making the sysvipc operations pid namespace awareEric W. Biederman2-0/+20
2018-03-24ipc: Move IPCMNI from include/ipc.h into ipc/util.hEric W. Biederman1-0/+1
2018-03-24msg: Move struct msg_queue into ipc/msg.cEric W. Biederman1-0/+17
2018-03-24shm: Move struct shmid_kernel into ipc/shm.cEric W. Biederman1-0/+22
2018-03-22sem: Move struct sem and struct sem_array into ipc/sem.cEric W. Biederman1-0/+34
2018-03-22msg/security: Pass kern_ipc_perm not msg_queue into the msg_queue security hooksEric W. Biederman1-10/+8
2018-03-22shm/security: Pass kern_ipc_perm not shmid_kernel into the shm security hooksEric W. Biederman1-10/+7
2018-03-22sem/security: Pass kern_ipc_perm not sem_array into the sem security hooksEric W. Biederman1-11/+8
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2018-02-06ipc/mqueue.c: have RT tasks queue in by priority in wq_add()Jonathan Haws1-1/+1
2018-02-06ipc: fix ipc data structures inconsistencyPhilippe Mikoyan4-12/+43
2018-01-30Merge branch 'work.mqueue' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-130/+111
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2018-01-12signal: Ensure generic siginfos the kernel sends have all bits initializedEric W. Biederman1-0/+1
2018-01-05mqueue: switch to on-demand creation of internal mountAl Viro1-19/+55
2018-01-05tidy do_mq_open() up a bitAl Viro1-6/+3
2018-01-05mqueue: clean prepare_open() upAl Viro1-18/+11
2018-01-05do_mq_open(): move all work prior to dentry_open() into a helperAl Viro1-46/+31
2018-01-05mqueue: fold mq_attr_ok() into mqueue_get_inode()Al Viro1-50/+21
2018-01-05move dentry_open() calls up into do_mq_open()Al Viro1-24/+20
2018-01-05mqueue: switch to vfs_mkobj(), quit abusing ->d_fsdataAl Viro1-8/+11
2017-11-27ipc, kernel, mm: annotate ->poll() instancesAl Viro1-2/+2
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-1/+1
2017-11-17Merge branch 'akpm' (patches from Andrew)Linus Torvalds4-50/+75
2017-11-17sysvipc: make get_maxid O(1) againDavidlohr Bueso2-33/+31
2017-11-17sysvipc: properly name ipc_addid() limit parameterDavidlohr Bueso1-5/+5
2017-11-17sysvipc: duplicate lock comments wrt ipc_addid()Davidlohr Bueso2-0/+2
2017-11-17sysvipc: unteach ids->next_id for !CHECKPOINT_RESTOREDavidlohr Bueso2-20/+45
2017-11-17Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds4-7/+7
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman9-0/+9
2017-10-11fix address space warnings in ipc/Linus Torvalds4-7/+7
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