summaryrefslogtreecommitdiff
path: root/sys/kern/sysv_sem.c
AgeCommit message (Expand)Author
2019-02-04When freeing the sem_undo structure in semundo_adjust(), update 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 SVID semaphores.Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-13pass the size to free in some of the obvious casesTed 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
2013-11-25Fix infinite loop pointed out by clang/brad.Matthew Dempsky
2012-10-21Fix problem reported by Nathan Weeks <weeks@iastate.edu> where a userlandBob Beck
2012-04-11SLIST_REMOVE_NEXT -> SLIST_REMOVE_AFTER for better consistency andChristian Weisgerber
2012-01-10Replace the only occurrence of the obscure macro SLIST_FOREACH_PREVPTR.Alexander Bluhm
2011-02-02For SETVAL and SETALL operations make sure the specified value(s) areFederico G. Schwindt
2009-06-02msgctl(), shmctl(), semctl() all have operations that are supposedPhilip Guenthe
2009-05-160 -> PR_NOWAIT for clarity.Thordur I. Bjornsson
2009-04-03Fix SEM_UNDO handling for rthreads: use the struct process* insteadPhilip Guenthe
2009-01-15Fix a memory leak in in the case where semget() is called with aOwain Ainsworth
2008-05-23update sem_otime on semop(); reported by mkbucc AT gmail.comDamien Miller
2007-10-14remove tests for EIDRM and ENOMSG existence now that they're in the tree.Federico G. Schwindt
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2006-08-10Fix a panic when more than the default number of sempahores areTodd C. Miller
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-03-17Add missing open paren in comment noticed by jmc@Todd C. Miller
2004-03-17Adjust the number of processes waiting on a semaphore properly if we'reTodd C. Miller
2004-03-13sync comments with reality, semconfig is long gone.Ted Unangst
2003-12-20In semop(2), use an array on the stack for small values of nsops soTodd C. Miller
2003-12-17Use SLIST macros instead of rolling our own. Idea from and partlyTodd C. Miller
2003-12-03Pass -Wsign-compare and avoid a potential malloc(0); ok henning@Todd C. Miller
2003-11-20Correct bounds check in semop(2) and semctl(2)Todd C. Miller
2003-09-09fix potential int overflow found by blexim at hush.com. restrict root toTed Unangst
2003-08-20Move the nsem sanity checks where they belong (before the malloc call).Todd C. Miller
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
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-01-07xerxes [/home/src/local/millert/sudo/sudo-1.6.7] % vi /usr/src/local/TiVo/Lin...Todd C. Miller
2002-12-30Use PLOCK for tsleep priority instead of the (rather bogus) PZERO - 4.Todd C. Miller
2002-12-30If we can't allocate a struct sem_undo w/o sleeping, use PR_WAITOKTodd C. Miller
2002-12-29Fix a couple of cases where semutot was not getting decremented andTodd C. Miller
2002-12-17Add my copyright notice.Todd C. Miller
2002-12-17Replace printfs bracketed by #ifdef SEM_DEBUG with a DPRINTF macro.Todd C. Miller
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-09-13Change nsops to u_int to match prototype as discussed with millert@.Federico G. Schwindt
2001-09-13In sys_semop(), change local nsops to size_t to avoid ending with aFederico G. Schwindt