aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/util.c
AgeCommit message (Expand)AuthorFilesLines
2022-09-11ipc/util.c: cleanup and improve sysvipc_find_ipc()Manfred Spraul1-21/+32
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-1/+1
2021-11-20ipc: WARN if trying to remove ipc object which is absentAlexander Mikhalitsyn1-3/+3
2021-09-08ipc: replace costly bailout check in sysvipc_find_ipc()Rafael Aquini1-12/+4
2021-07-01ipc/util.c: use binary search for max_idxManfred Spraul1-5/+39
2020-05-14ipc/util.c: sysvipc_find_ipc() incorrectly updates position indexVasily Averin1-6/+6
2020-04-10ipc/util.c: sysvipc_find_ipc() should increase position indexVasily Averin1-1/+1
2020-04-07proc: faster open/read/close with "permanent" filesAlexey Dobriyan1-0/+1
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-7/+7
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-05-14ipc: do cyclic id allocation for the ipc object.Manfred Spraul1-1/+6
2019-05-14ipc: conserve sequence numbers in ipcmni_extend modeManfred Spraul1-5/+30
2019-05-14ipc: allow boot time extension of IPCMNI from 32k to 16MWaiman Long1-5/+5
2019-04-07rhashtable: use bit_spin_locks to protect hash bucket.NeilBrown1-1/+0
2018-08-22ipc/util.c: update return value of ipc_getref from int to boolManfred Spraul1-1/+1
2018-08-22ipc/util.c: further variable name cleanupsManfred Spraul1-13/+13
2018-08-22ipc: simplify ipc initializationDavidlohr Bueso1-13/+5
2018-08-22ipc: get rid of ids->tables_initialized hackDavidlohr Bueso1-15/+8
2018-08-22ipc: drop ipc_lock()Davidlohr Bueso1-36/+0
2018-08-22ipc/util.c: correct comment in ipc_obtain_object_checkManfred Spraul1-2/+2
2018-08-22ipc: rename ipcctl_pre_down_nolock()Manfred Spraul1-4/+4
2018-08-22ipc/util.c: use ipc_rcu_putref() for failues in ipc_addid()Manfred Spraul1-2/+8
2018-08-22ipc: reorganize initialization of kern_ipc_perm.seqManfred Spraul1-43/+48
2018-06-22rhashtable: split rhashtable.hNeilBrown1-0/+1
2018-04-11proc: move /proc/sysvipc creation to where it belongsAlexey Dobriyan1-0/+1
2018-03-24ipc/util: Helpers for making the sysvipc operations pid namespace awareEric W. Biederman1-0/+9
2018-02-06ipc: fix ipc data structures inconsistencyPhilippe Mikoyan1-1/+4
2017-11-17sysvipc: make get_maxid O(1) againDavidlohr Bueso1-30/+13
2017-11-17sysvipc: properly name ipc_addid() limit parameterDavidlohr Bueso1-5/+5
2017-11-17sysvipc: unteach ids->next_id for !CHECKPOINT_RESTOREDavidlohr Bueso1-15/+45
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-08ipc: optimize semget/shmget/msgget for lots of keysGuillaume Knispel1-24/+76
2017-09-08ipc: convert kern_ipc_perm.refcount from atomic_t to refcount_tElena Reshetova1-3/+3
2017-07-12ipc: move atomic_set() to where it is neededKees Cook1-0/+1
2017-07-12ipc/util: drop ipc_rcu_alloc()Kees Cook1-21/+0
2017-07-12ipc/util: drop ipc_rcu_free()Kees Cook1-7/+0
2017-07-12ipc: drop non-RCU allocationKees Cook1-24/+1
2017-07-12ipc: merge ipc_rcu and kern_ipc_permManfred Spraul1-18/+17
2017-05-08mm: introduce kv[mz]alloc helpersMichal Hocko1-6/+1
2017-04-02kernel-api.rst: fix a series of errors when parsing C filesmchehab@s-opensource.com1-5/+7
2016-01-22tree wide: use kvfree() than conditional kfree()/vfree()Tetsuo Handa1-8/+3
2015-09-30Initialize msg/shm IPC objects before doing ipc_addid()Linus Torvalds1-4/+4
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 Bueso1-4/+4
2015-06-30ipc/util.c: use kvfree() in ipc_rcu_free()Pekka Enberg1-4/+1
2015-04-15ipc: remove use of seq_printf return valueJoe Perches1-2/+4
2014-12-13ipc/msg: increase MSGMNI, remove scalingManfred Spraul1-40/+0
2014-10-14ipc/util.c: use __seq_open_private() instead of seq_open()Rob Jones1-16/+4
2014-09-09Documentation: Docbook: Fix generated DocBook/kernel-api.xmlMasanari Iida1-3/+3
2014-06-06ipc, kernel: clear whitespacePaul McQuade1-2/+2
2014-06-06ipc: constify ipc_opsMathias Krause1-4/+4
2014-04-07ipc: use device_initcallDavidlohr Bueso1-1/+1
2014-01-27ipc: delete seq_max field in struct ipc_idsDavidlohr Bueso1-11/+2
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 Bueso1-2/+1
2014-01-27ipc: standardize code commentsDavidlohr Bueso1-125/+114
2014-01-27ipc: whitespace cleanupManfred Spraul1-12/+12
2014-01-27ipc: change kern_ipc_perm.deleted type to boolRafael Aquini1-3/+3
2013-11-13ipc/util.c: remove unnecessary work pending testXie XiuQi1-3/+1
2013-10-16ipc: update locking scheme commentsDavidlohr Bueso1-6/+21
2013-09-24ipc: fix race with LSMsDavidlohr Bueso1-20/+12
2013-09-11ipc: drop ipc_lock_checkDavidlohr Bueso1-16/+0
2013-09-11ipc: drop ipc_lock_by_ptrDavidlohr Bueso1-2/+4
2013-09-11ipc: document general ipc locking schemeDavidlohr Bueso1-0/+8
2013-09-11ipc: rename ids->rw_mutexDavidlohr Bueso1-14/+14
2013-09-11ipc: drop ipcctl_pre_downDavidlohr Bueso1-20/+4
2013-07-09ipc/util.c, ipc_rcu_alloc: cacheline align allocationManfred Spraul1-6/+6
2013-07-09ipc: move locking out of ipcctl_pre_down_nolockDavidlohr Bueso1-15/+6
2013-07-09ipc: move rcu lock out of ipc_addidDavidlohr Bueso1-2/+1
2013-05-02ipc_schedule_free() can do vfree() directly nowAl Viro1-87/+16
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-05-01ipc,sem: fine grained locking for semtimedopRik van Riel1-23/+25
2013-05-01ipc: introduce lockless pre_down ipcctlDavidlohr Bueso1-5/+26
2013-05-01ipc: introduce obtaining a lockless ipc objectDavidlohr Bueso1-14/+57
2013-04-29ipc/util.c: use register_hotmemory_notifier()Andrew Morton1-7/+8
2013-04-09procfs: new helper - PDE_DATA(inode)Al Viro1-1/+1
2013-02-27ipc: convert to idr_alloc()Tejun Heo1-21/+9
2013-01-04ipc: add sysctl to specify desired next object idStanislav Kinsbursky1-4/+12
2012-09-06userns: Convert ipc to use kuid and kgid where appropriateEric W. Biederman1-14/+21
2012-07-30ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSIONWill Deacon1-2/+2
2011-07-20ipc,rcu: Convert call_rcu(ipc_immediate_free) to kfree_rcu()Lai Jiangshan1-15/+1
2011-03-27ipc: fix util.c kernel-doc warningsRandy Dunlap1-1/+3
2011-03-23userns: user namespaces: convert several capable() callsSerge E. Hallyn1-10/+16
2010-05-25kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT...Alexey Dobriyan1-2/+2
2009-09-23seq_file: constify seq_operationsJames Morris1-1/+1
2009-04-07namespaces: mqueue ns: move mqueue_mnt into struct ipc_namespaceSerge E. Hallyn1-9/+0
2009-01-04sanitize audit_ipc_set_perm()Al Viro1-7/+2
2009-01-04sanitize audit_ipc_obj()Al Viro1-6/+3
2008-12-04Merge branch 'master' into nextJames Morris1-5/+9
2008-11-19sysvipc: fix the ipc structures initializationNadia Derbey1-5/+9
2008-11-14CRED: Wrap task credential accesses in the SYSV IPC subsystemDavid Howells1-5/+13
2008-07-25ipc: get rid of ipc_lock_down()Nadia Derbey1-51/+1
2008-07-25ipc: call idr_find() without locking in ipc_lock()Nadia Derbey1-9/+0
2008-04-29sysvipc: use non-racy method for proc entries creationDenis V. Lunev1-7/+6
2008-04-29ipc: add definitions of USHORT_MAX and othersZhang, Yanmin1-2/+2
2008-04-29IPC: consolidate all xxxctl_down() functionsPierre Peiffer1-0/+51
2008-04-29IPC: introduce ipc_update_perm()Pierre Peiffer1-0/+13
2008-04-29ipc: invoke the ipcns notifier chain as a work itemNadia Derbey1-1/+14
2008-04-29ipc: recompute msgmni on memory add / removeNadia Derbey1-0/+33
2008-04-29ipc: scale msgmni to the number of ipc namespacesNadia Derbey1-0/+3
2008-04-29IPC: use ipc_buildid() directly from ipc_addid()Pierre Peiffer1-0/+1
2008-02-08IPC: make struct ipc_ids static in ipc_namespacePierre Peiffer1-3/+3
2008-02-08ipc: uninline some code from util.hPavel Emelyanov1-2/+53
2008-02-08namespaces: move the IPC namespace under IPC_NS optionPavel Emelyanov1-60/+1
2008-02-06make ipc/util.c:sysvipc_find_ipc() staticAdrian Bunk1-2/+2
2007-10-19IPC: fix error case when idr-cache is empty in ipcget()Pierre Peiffer1-5/+11
2007-10-19fix idr_find() lockingNadia Derbey1-16/+62
2007-10-19ipc: fix wrong commentsNadia Derbey1-28/+50
2007-10-19ipc: inline ipc_buildid()Nadia Derbey1-5/+0
2007-10-19ipc: introduce the ipcid_to_idx macroNadia Derbey1-2/+2
2007-10-19ipc: integrate ipc_checkid() into ipc_lock()Nadia Derbey1-21/+2
2007-10-19ipc: remove the ipc_get() routineNadia Derbey1-19/+0
2007-10-19ipc: unify the syscalls codeNadia Derbey1-1/+100
2007-10-19ipc: store ipcs into IDRsNadia Derbey1-148/+118
2007-07-16remove CONFIG_UTS_NS and CONFIG_IPC_NSCedric Le Goater1-10/+1
2007-05-08header cleaning: don't include smp_lock.h when not usedRandy Dunlap1-1/+0
2007-05-08Merge sys_clone()/sys_unshare() nsproxy and namespace handlingBadari Pulavarty1-43/+10
2007-03-27[PATCH] ipcns: fix !CONFIG_IPC_NS behaviorSerge E. Hallyn1-0/+7
2007-02-12[PATCH] mark struct file_operations const 7Arjan van de Ven1-2/+2
2007-02-12[PATCH] ipc: save the ipc namespace while reading proc filesEric W. Biederman1-13/+45
2007-02-11[PATCH] Numerous fixes to kernel-doc info in source files.Robert P. J. Day1-11/+10
2006-11-22WorkStruct: Pass the work_struct pointer instead of context dataDavid Howells1-1/+6
2006-11-03[PATCH] Fix ipc entries removalPavel Emelianov1-1/+1
2006-10-02[PATCH] IPC namespace - utilsKirill Korotaev1-10/+122
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-05-01[PATCH] Rework of IPC auditingSteve Grubb1-1/+6
2006-04-17[PATCH] IPC: access to unmapped vmalloc area in grow_ary()Alexey Kuznetsov1-2/+1
2006-04-01BUG_ON() Conversion in ipc/util.cEric Sesterhenn1-4/+2
2006-03-26[PATCH] sem2mutex: ipc, id.semIngo Molnar1-14/+15
2006-01-15correct email address of Manfred SpraulChristian Kujau1-1/+1
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2005-11-07[PATCH] more kernel-doc cleanups, additionsRandy Dunlap1-4/+5
2005-09-07[PATCH] ipc: add generic struct ipc_ids seq_file iterationMike Waychison1-0/+156
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+580