summaryrefslogtreecommitdiff
path: root/sys/kern/sysv_sem.c
AgeCommit message (Expand)Author
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
2001-08-12Don't allocate globals in include files, use extern declarations.Todd C. Miller
2001-05-16Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.Todd C. Miller
2000-05-01sys_semconfig goes foomTheo de Raadt
1998-06-11change ipc.h to use uid_t and friends, and then build compat system calls for...Theo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt