aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
AgeCommit message (Expand)AuthorFilesLines
2017-07-12ipc/shm: remove special shm_alloc/freeKees Cook1-20/+4
2017-07-12ipc: move atomic_set() to where it is neededKees Cook1-2/+0
2017-07-12ipc/shm.c: avoid ipc_rcu_putref for failed ipc_addid()Manfred Spraul1-6/+3
2017-07-12ipc/shm: avoid ipc_rcu_alloc()Kees Cook1-4/+14
2017-07-12ipc/shm: do not use ipc_rcu_free()Kees Cook1-2/+7
2017-07-12ipc: merge ipc_rcu and kern_ipc_permManfred Spraul1-7/+11
2017-07-05fs: remove call_fsync helper functionJeff Layton1-1/+1
2017-05-08ipc/shm: some shmat cleanupsDavidlohr Bueso1-9/+7
2017-03-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2017-02-27ipc/shm: Fix shmat mmap nil-page protectionDavidlohr Bueso1-4/+9
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
2016-12-14ipc/shm.c: coding style fixesShailesh Pandey1-3/+10
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-05-23ipc, shm: make shmem attach/detach wait for mmap_sem killableMichal Hocko1-2/+7
2016-02-18ipc/shm: handle removed segments gracefully in shm_mmap()Kirill A. Shutemov1-10/+43
2016-01-20ipc/shm.c: is_file_shm_hugepages() can be booleanYaowei Bai1-1/+1
2015-09-30Initialize msg/shm IPC objects before doing ipc_addid()Linus Torvalds1-6/+7
2015-09-10ipc: convert invalid scenarios to use WARN_ONDavidlohr Bueso1-2/+2
2015-08-07ipc: use private shmem or hugetlbfs inodes for shm segments.Stephen Smalley1-1/+1
2015-06-30ipc: rename ipc_obtain_objectDavidlohr Bueso1-1/+1
2015-06-30ipc,shm: move BUG_ON check into shm_lockDavidlohr Bueso1-5/+5
2015-04-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2015-04-15ipc: remove use of seq_printf return valueJoe Perches1-20/+22
2015-04-15VFS: assorted weird filesystems: d_inode() annotationsDavid Howells1-1/+1
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-10-14ipc/shm: kill the historical/wrong mm->start_stack checkOleg Nesterov1-7/+0
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-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 McQuade1-1/+1
2014-06-06ipc, kernel: use Linux headersPaul McQuade1-1/+1
2014-06-06ipc: constify ipc_opsMathias Krause1-5/+5
2014-01-27ipc: standardize code commentsDavidlohr Bueso1-1/+0
2014-01-27ipc: whitespace cleanupManfred Spraul1-16/+16
2014-01-27ipc: introduce ipc_valid_object() helper to sort out IPC_RMID racesRafael Aquini1-8/+8
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
2013-09-24ipc: fix race with LSMsDavidlohr Bueso1-5/+12
2013-09-11ipc, shm: drop shm_lock_checkDavidlohr Bueso1-11/+0
2013-09-11ipc, shm: guard against non-existant vma in shmdt(2)Davidlohr Bueso1-2/+1
2013-09-11ipc: rename ids->rw_mutexDavidlohr Bueso1-28/+28
2013-09-11ipc,shm: shorten critical region for shmatDavidlohr Bueso1-4/+10
2013-09-11ipc,shm: cleanup do_shmat pastaDavidlohr Bueso1-14/+12
2013-09-11ipc,shm: shorten critical region for shmctlDavidlohr Bueso1-24/+25
2013-09-11ipc,shm: make shmctl_nolock locklessDavidlohr Bueso1-7/+12
2013-09-11ipc,shm: introduce shmctl_nolockDavidlohr Bueso1-18/+39
2013-09-11ipc,shm: shorten critical region in shmctl_downDavidlohr Bueso1-4/+6
2013-09-11ipc,shm: introduce lockless functions to obtain the ipc objectDavidlohr Bueso1-0/+20
2013-07-09ipc: move locking out of ipcctl_pre_down_nolockDavidlohr Bueso1-6/+17
2013-07-09ipc: close open coded spin lock callsDavidlohr Bueso1-2/+2
2013-07-09ipc: move rcu lock out of ipc_addidDavidlohr Bueso1-1/+4
2013-07-09ipc/shmc.c: eliminate ugly 80-col tricksAndrew Morton1-2/+2
2013-05-09shm: fix null pointer deref when userspace specifies invalid hugepage sizeLi Zefan1-1/+7
2013-05-07hugetlbfs: fix mmap failure in unaligned size requestNaoya Horiguchi1-1/+5
2013-05-01ipc: sysv shared memory limited to 8TiBRobin Holt1-1/+1
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+6
2013-02-23mm: make do_mmap_pgoff return populate as a size in bytes, not as a boolMichel Lespinasse1-2/+2
2013-02-23mm: introduce mm_populate() for populating new vmasMichel Lespinasse1-5/+7
2013-02-22fs: Preserve error code in get_empty_filp(), part 2Anatol Pomozov1-1/+2
2013-02-22new helper: file_inode(file)Al Viro1-4/+4
2012-12-11mm: support more pagesizes for MAP_HUGETLB/SHM_HUGETLBAndi Kleen1-1/+2
2012-09-06userns: Convert ipc to use kuid and kgid where appropriateEric W. Biederman1-8/+11
2012-07-30ipc: add COMPAT_SHMLBA supportWill Deacon1-4/+5
2012-06-07ipc: shm: restore MADV_REMOVE functionality on shared memory segmentsWill Deacon1-0/+12
2012-06-01switch aio and shm to do_mmap_pgoff(), make do_mmap() staticAl Viro1-1/+1
2012-06-01take security_mmap_file() outside of ->mmap_semAl Viro1-0/+5
2012-03-21hugetlbfs: fix alignment of huge page requestsSteven Truelove1-1/+1
2012-01-23SHM_UNLOCK: fix Unevictable pages stranded after swapHugh Dickins1-1/+1
2012-01-23SHM_UNLOCK: fix long unpreemptible sectionHugh Dickins1-15/+22
2011-08-04Do 'shm_init_ns()' in an early pure_initcallLinus Torvalds1-1/+8
2011-08-03shm: optimize exit_shm()Vasiliy Kulikov1-0/+3
2011-08-03shm: fix wrong testsVasiliy Kulikov1-2/+2
2011-07-30shm: optimize locking and ipc_namespace gettingVasiliy Kulikov1-33/+28
2011-07-30shm: handle separate PID namespaces caseVasiliy Kulikov1-7/+20
2011-07-26ipc: introduce shm_rmid_forced sysctlVasiliy Kulikov1-4/+93
2011-07-20fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlersJosef Bacik1-2/+2
2011-05-26mm: don't access vm_flags as 'int'KOSAKI Motohiro1-1/+1
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-23userns: user namespaces: convert several capable() callsSerge E. Hallyn1-4/+5
2010-10-30ipc: shm: fix information leak to userlandVasiliy Kulikov1-0/+1
2010-10-27ipc/shm.c: add RSS and swap size information to /proc/sysvipc/shmHelge Deller1-21/+42
2010-10-15llseek: automatically add .llseek fopArnd Bergmann1-0/+2
2010-05-27drop unused dentry argument to ->fsyncChristoph Hellwig1-7/+4
2010-03-12ipc: use rlimit helpersJiri Slaby1-2/+1
2010-01-16nommu: fix SYSV SHM for NOMMUDavid Howells1-0/+3
2009-12-16Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/v...Linus Torvalds1-7/+5
2009-12-16Untangling ima mess, part 1: alloc_file()Al Viro1-2/+0
2009-12-16switch alloc_file() to passing struct pathAl Viro1-5/+5
2009-12-16ipc ns: fix memory leak (idr)Serge E. Hallyn1-0/+1
2009-12-11file ->get_unmapped_area() shouldn't duplicate work of get_unmapped_area()Al Viro1-14/+17
2009-09-27const: mark struct vm_struct_operationsAlexey Dobriyan1-2/+2
2009-09-22hugetlbfs: allow the creation of files suitable for MAP_PRIVATE on the vfs in...Eric B Munson1-1/+1
2009-09-14fix undefined reference to user_shm_unlockHugh Dickins1-1/+1
2009-08-24mm: fix hugetlb bug due to user_shm_unlock callHugh Dickins1-3/+5
2009-06-11Merge branch 'next' into for-linusJames Morris1-2/+1
2009-06-09shm: fix unused warnings on nommuMike Frysinger1-2/+5
2009-05-22integrity: move ima_counts_getMimi Zohar1-1/+0
2009-05-22integrity: path_check updateMimi Zohar1-2/+2
2009-04-02ipc: make shm_get_stat() more robustTony Battersby1-2/+4
2009-03-24Merge branch 'master' into nextJames Morris1-3/+5
2009-02-10Do not account for the address space used by hugetlbfs using VM_ACCOUNTMel Gorman1-3/+5
2009-02-06Merge branch 'master' into nextJames Morris1-19/+28
2009-02-06Integrity: IMA file free imbalanceMimi Zohar1-0/+3
2009-02-05shm: fix shmctl(SHM_INFO) lockup with !CONFIG_SHMEMTony Battersby1-0/+4
2009-01-31Stop playing silly games with the VM_ACCOUNT flagLinus Torvalds1-2/+2
2009-01-14[CVE-2009-0029] System call wrappers part 25Heiko Carstens1-4/+4
2009-01-08NOMMU: Make VMAs per MM as for MMU-mode linuxDavid Howells1-0/+12
2009-01-06ipc: clean up ipc/shm.cWANG Cong1-10/+5
2009-01-04sanitize audit_ipc_obj()Al Viro1-3/+1
2008-11-14CRED: Wrap current->cred and a few other accessorsDavid Howells1-2/+2
2008-11-14CRED: Separate task security context from task_structDavid Howells1-2/+2
2008-11-14CRED: Wrap task credential accesses in the SYSV IPC subsystemDavid Howells1-2/+3
2008-10-21[PATCH] introduce fmode_t, do annotationsAl Viro1-1/+1
2008-10-20SHM_LOCKED pages are unevictableLee Schermerhorn1-0/+4
2008-07-25ipc: get rid of ipc_lock_down()Nadia Derbey1-18/+3
2008-07-24hugetlb: modular state for hugetlb page sizeAndi Kleen1-1/+2
2008-06-12/proc/sysvipc/shm: fix 32-bit truncation of segment sizesPaul Menage1-8/+8
2008-06-10shm: Remove silly double assignmentNeil Horman1-2/+0
2008-04-29IPC: consolidate all xxxctl_down() functionsPierre Peiffer1-38/+4
2008-04-29IPC: introduce ipc_update_perm()Pierre Peiffer1-4/+1
2008-04-29IPC: get rid of the use *_setbuf structure.Pierre Peiffer1-27/+14
2008-04-29IPC/shared memory: introduce shmctl_downPierre Peiffer1-88/+72
2008-04-29IPC: use ipc_buildid() directly from ipc_addid()Pierre Peiffer1-9/+1
2008-04-28mempolicy: rework mempolicy Reference Counting [yet again]Lee Schermerhorn1-3/+2
2008-04-28mempolicy: fixup Fallback for Default Shmem PolicyLee Schermerhorn1-2/+1
2008-03-10mempolicy: fix reference counting bugsLee Schermerhorn1-2/+3
2008-02-08IPC: consolidate sem_exit_ns(), msg_exit_ns() and shm_exit_ns()Pierre Peiffer1-21/+6
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/+17
2007-10-19IPC: fix error case when idr-cache is empty in ipcget()Pierre Peiffer1-2/+3
2007-10-19ipc: remove unneeded parametersNadia Derbey1-3/+2
2007-10-19fix idr_find() lockingNadia Derbey1-26/+51
2007-10-19ipc: fix wrong commentsNadia Derbey1-13/+26
2007-10-19Storing ipcs into IDRsNadia Derbey1-6/+17
2007-10-19ipc: integrate ipc_checkid() into ipc_lock()Nadia Derbey1-42/+48
2007-10-19ipc: remove the ipc_get() routineNadia Derbey1-3/+13
2007-10-19ipc: unify the syscalls codeNadia Derbey1-46/+27
2007-10-19ipc: store ipcs into IDRsNadia Derbey1-47/+69
2007-10-19pid namespaces: changes to show virtual ids to userPavel Emelyanov1-3/+3
2007-10-17r/o bind mounts: filesystem helpers for custom 'struct file'sDave Hansen1-8/+5
2007-10-17ipc/shm.c: make 2 functions staticAdrian Bunk1-2/+3
2007-07-31Fix user struct leakage with locked IPC shem segmentPavel Emelianov1-1/+1
2007-07-31NOMMU: Fix SYSV IPC SHMDavid Howells1-0/+2
2007-07-19mm: fault feedback #1Nick Piggin1-3/+2
2007-07-19mm: merge populate and nopage into fault (fixes nonlinear)Nick Piggin1-4/+5
2007-07-16remove CONFIG_UTS_NS and CONFIG_IPC_NSCedric Le Goater1-3/+1
2007-06-16shm: fix the filename of hugetlb sysv shared memoryEric W. Biederman1-3/+3
2007-06-16hugetlb: fix get_policy for stacked shared memory filesAdam Litke1-1/+3
2007-06-16Restore shmid as inode# to fix /proc/pid/maps ABI breakageBadari Pulavarty1-0/+5
2007-03-01[PATCH] Fix get_unmapped_area and fsync for hugetlb shm segmentsAdam Litke1-6/+26
2007-03-01[PATCH] make ipc/shm.c:shm_nopage() staticAdrian Bunk1-2/+2
2007-02-20[PATCH] shm: make sysv ipc shared memory use stacked filesEric W. Biederman1-85/+155
2007-02-12[PATCH] mark struct file_operations const 7Arjan van de Ven1-2/+2
2007-01-23[PATCH] correct sys_shmget allocation checkGuy Streeter1-1/+1
2006-12-08[PATCH] struct path: convert ipcJosef Sipek1-8/+8
2006-11-03[PATCH] Fix ipc entries removalPavel Emelianov1-0/+1
2006-10-02[PATCH] IPC namespace - shmKirill Korotaev1-86/+168
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-23[PATCH] remove unused o_flags from do_shmatHugh Dickins1-3/+0
2006-06-20[PATCH] update of IPC audit record cleanupLinda Knippers1-1/+1
2006-05-01[PATCH] Rework of IPC auditingSteve Grubb1-3/+16
2006-04-17[PATCH] shmat: stop mprotect from giving write permission to a readonly attac...Hugh Dickins1-0/+2
2006-04-02BUG_ON() Conversion in ipc/shm.cEric Sesterhenn1-8/+7
2006-03-26[PATCH] sem2mutex: ipc, id.semIngo Molnar1-14/+16
2006-03-25Merge branch 'audit.b3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+2
2006-03-24[PATCH] shmdt: check address alignmentHugh Dickins1-0/+3
2006-03-20[PATCH] Capture selinux subject/object context information.Dustin Kirkland1-2/+2
2006-02-10[PATCH] shmdt cannot detach not-alined shm segment cleanly.KAMEZAWA Hiroyuki1-0/+1
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2006-01-08[PATCH] ipc: expand shm_flagsAndrew Morton1-12/+10
2006-01-06[PATCH] NOMMU: Make SYSV IPC SHM use ramfs facilities on NOMMUDavid Howells1-5/+13
2005-11-07[PATCH] SHM_NORESERVE flags for shmget()Badari Pulavarty1-1/+9
2005-10-29[PATCH] hugetlb: remove repeated codeKrishnakumar R1-3/+4
2005-09-07[PATCH] ipc: convert /proc/sysvipc/* to generic seq_file interfaceMike Waychison1-58/+28
2005-08-01[PATCH] shm: CONFIG_SHMEM=n build fixAndrew Morton1-1/+1
2005-05-01[PATCH] consolidate sys_shmatStephen Rothwell1-0/+14
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+917