summaryrefslogtreecommitdiff
path: root/sys/kern/sysv_shm.c
AgeCommit message (Expand)Author
2020-11-19Convert sysctl_sysvsem to sysctl_int_boundedgnezdo
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-03-04Grab a reference for the shared memory segment before calling uvm_map()anton
2019-11-05Kill uvm_deallocate(9) and use uvm_unmap() directly.Martin Pieuchot
2019-11-04Fix previous commit: missed a ds_copyin() moved in rev 1.72Philip Guenther
2019-11-03Merge sys_shmctl() and shmctl1() again, as we no longer have a need forPhilip Guenther
2019-10-28Copy in the user-supplied buffer in shmctl(2) before looking up theanton
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2018-12-12free(9) sizes for sysv shm.Martin Pieuchot
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-08-30pool_setiplDavid Gwynne
2015-10-07easy free sizes; ok mpiTheo de Raadt
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-15The flags variable in shmat was not actually used. We need UVM_FLAG_*Todd C. Miller
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-12-17Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterPhilip Guenther
2014-12-15Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,Philip Guenther
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-03-18In prep for killing ps_mainproc, use pr->ps_pid instead ofPhilip Guenther
2012-03-09New vmmap implementation.Ariane van der Steldt
2011-10-27Allow segments to be used even after they were marked for deletion withRobert Nagy
2011-06-06Backout vmmap in order to repair virtual address selection algorithmsAriane van der Steldt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
2010-07-03explicitly specify flags to malloc and pool_get instead of relying on 0.Ted Unangst
2009-06-02msgctl(), shmctl(), semctl() all have operations that are supposedPhilip Guenthe
2007-09-15replace ctob and btoc with ptoa and atop respectivelyMartin Reindl
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-05-29adapt from netbsd:Nikolay Sturm
2004-07-15Rename structs oipc_perm, omsqid_ds, osemid_ds, oshmid_ds to ipc_perm23,Todd C. Miller
2004-07-14Move the guts of the {sem,msg,shm}ctl system calls into a new functionTodd C. Miller
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
2004-05-03POSIX says the length parameter for semop(2) and shmget(2) should be size_t.Todd C. Miller
2004-04-16not a pasto. ok millert@Ted Unangst
2004-02-05Correct a reference counting bug in shmat(2); adapted from FreeBSD.Todd C. Miller
2003-12-22Remove duplicated code (pasto)Todd C. Miller
2003-10-12Linux shmat allows lookup of segments that are marked as removed soTodd C. Miller
2003-08-21sys/types.h is not really needed with sys/param.h; ok mickey@Kevin Lo
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-05-12Nuke a whole bunch of commons; ok tedu (still more to come *sigh*)Jason Wright
2003-04-14There are two related changes.Artur Grabowski
2003-01-07xerxes [/home/src/local/millert/sudo/sudo-1.6.7] % vi /usr/src/local/TiVo/Lin...Todd C. Miller
2003-01-06Add a "findremoved" arg to shm_find_segment_by_shmid() similar toTodd C. Miller
2002-12-17Add my copyright notice.Todd C. Miller
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
2002-11-06Eliminate the use of KERN_SUCCESS outside of uvm/Artur Grabowski