Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-01-07 | xerxes [/home/src/local/millert/sudo/sudo-1.6.7] % vi ↵ | Todd C. Miller | |
/usr/src/local/TiVo/Linux/Don't allow s{e,h}mmni to be set > 0xffff via sysctl since that could cause id collisions (the macros in <sys/ipc.h> limit the index to 0xffff). Prompted by a conversation with weingart@ | |||
2002-12-30 | Use PLOCK for tsleep priority instead of the (rather bogus) PZERO - 4. | Todd C. Miller | |
PZERO - 4 == 18 which makes it equivalent to PRIBIO; not what we want. Discussed with art@ some time ago. | |||
2002-12-30 | If we can't allocate a struct sem_undo w/o sleeping, use PR_WAITOK | Todd C. Miller | |
but then check to see that one with our struct proc was not allocated in the meantime. | |||
2002-12-29 | Fix a couple of cases where semutot was not getting decremented and | Todd C. Miller | |
one where semtot was not getting incremented. | |||
2002-12-17 | Add my copyright notice. | Todd C. Miller | |
2002-12-17 | Replace printfs bracketed by #ifdef SEM_DEBUG with a DPRINTF macro. | Todd C. Miller | |
2002-12-17 | Make SysV-style shared memory and semaphore limits sysctl'able. | Todd C. Miller | |
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit. | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-09-13 | Change nsops to u_int to match prototype as discussed with millert@. | Federico G. Schwindt | |
2001-09-13 | In sys_semop(), change local nsops to size_t to avoid ending with a | Federico G. Schwindt | |
negative value if a sufficiently big number is used, thus passing the check. From NetBSD. | |||
2001-08-12 | Don't allocate globals in include files, use extern declarations. | Todd C. Miller | |
Move the actual variables into their respective .c files. As a bonus, remove semmap which is not used. | |||
2001-05-16 | Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it. | Todd C. Miller | |
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there. | |||
2000-05-01 | sys_semconfig goes foom | Theo de Raadt | |
1998-06-11 | change ipc.h to use uid_t and friends, and then build compat system calls ↵ | Theo de Raadt | |
for the old ushort based ipc.h | |||
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |