Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-02-25 | set *vpp to NULL on entry. this provides a good example for other fs. | Ted Unangst | |
ok art@ | |||
2003-02-24 | more tcfs bye bye | Theo de Raadt | |
2003-02-24 | bye bye tcfs | Theo de Raadt | |
2003-02-18 | Map just the requested pages not p_aligned pages. ok art@ | Dale Rahn | |
2003-02-12 | Remove commons; inspired by netbsd. | Jason Wright | |
2003-02-08 | When creating > 1 files with mktemp(1), make sure that if the creation | Peter Valchev | |
of the n'th (n>1) file fails, the previous ones get removed before exit(1) Idea by jason; ok millert deraadt | |||
2003-02-03 | knf | Theo de Raadt | |
2003-01-31 | File system locking fixups, mostly from NetBSD: | Artur Grabowski | |
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok | |||
2003-01-30 | Stop using an LFS type for cluster mallocs, use an own type and | Artur Grabowski | |
GC the LFS malloc types until LFS is resurrected. from tedu@stanford.edu | |||
2003-01-30 | somehow this got missed in the regen commit | Todd C. Miller | |
2003-01-30 | regen now that setreuid/setregid have moved out of compat and into kern | Todd C. Miller | |
2003-01-30 | Bring back setreuid(2) and setregid(2) as first class syscalls | Todd C. Miller | |
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK | |||
2003-01-21 | add kern.watchdog sysctl and generic watchdog interface; | Markus Friedl | |
based on feedback and discussions with mickey, henric, fgsch and jakob. ok art@, mickey@, jakob@, henric@ | |||
2003-01-15 | Fix two minor nits; deraadt@ OK | Todd C. Miller | |
o Avoid taking the address of an array when we just want a pointer o Use &array[1] not array + 1 | |||
2003-01-13 | Fix kernel snprintf function(s) to be like | Tobias Weingartner | |
userland in return values. deraadt@ ok. | |||
2003-01-13 | Sysctls for fetching intrcnt. | Artur Grabowski | |
2003-01-09 | Remove fetch(9) and store(9) functions from the kernel, and replace the few | Miod Vallat | |
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC | |||
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@ | |||
2003-01-06 | Add a "findremoved" arg to shm_find_segment_by_shmid() similar to | Todd C. Miller | |
NetBSD and allow shmctl() to operate on shm segments that have been marked for removal like other OSes do. | |||
2003-01-01 | 2003 in copyright | Peter Valchev | |
2002-12-31 | Prepare for the removal of amiga and sun3 platforms from the tree. | Miod Vallat | |
There has not been enough activity and interest towards these platform to keep them lying in the tree. | |||
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-22 | Cosmetic changes: | Todd C. Miller | |
o Add a DPRINTF macro instead of using debugging #ifdefs all over the place o KNF says to use "return (foo)" not "return(foo)" o #define EIDRM and ENOMSG at the top instead of using #ifdefs to work around the fact that we don't have them later on. | |||
2002-12-22 | Clear the high bit of ipc_perm.seq so msgget(3) never returns a | Todd C. Miller | |
negative message queue id; Vladimir B.Grebenschikov | |||
2002-12-20 | Clear error before jumping back to the input loop. If error was set | Todd C. Miller | |
to EWOULDBLOCK it would otherwise not get cleared; Jim Geovedi | |||
2002-12-20 | - Clean up the defines in pool.h | Artur Grabowski | |
- Allow a pool to be initialized with PR_DEBUG which will cause it to allocate with malloc_debug. - sprinkle some splassert. | |||
2002-12-20 | Add a special malloc type M_DEBUG. | Artur Grabowski | |
If the kernel is compiled with MALLOC_DEBUG, M_DEBUG will force the allocation to be done through malloc_debug. | |||
2002-12-19 | simplify stack grownups (growndowns are not touched) | Michael Shalayeff | |
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-12-12 | can now get _ttylist via sysctl; millert ok | Theo de Raadt | |
2002-12-11 | - Call uvm_km_alloc_poolpage1 directly, no need to go through the macro. | Artur Grabowski | |
- uvm_km_alloc_poolpage1 has its own spl protection, no need to add additional layer around it. | |||
2002-12-11 | descructive -> destructive | Miod Vallat | |
2002-12-08 | compile non-DIAGNOSTIC kernels | Theo de Raadt | |
2002-12-08 | - Use LIST_ macros. | Artur Grabowski | |
- Make sure that extent_register is not called more than once on an extent. | |||
2002-12-08 | - Lock the timeout wheel after the diagnostic checks. | Artur Grabowski | |
- show timeout_todo in the ddb command. | |||
2002-12-05 | Hmm.. I don't think we want the default to be to debug every allocation. | Artur Grabowski | |
2002-12-05 | Do not use debug_malloc if it hasn't been initialized. | Artur Grabowski | |
This can happen when debug_malloc_init calls pool_init which calls malloc (because the kernel is built with POOL_DIAGNOSTIC) which in turn calls debug_malloc and debug_malloc just happens to trigger on all memory allocations. This allows us to run a kernel debugging _all_ allocations. | |||
2002-12-04 | No need to exit the process twice. exit1() can't fail. | Artur Grabowski | |
2002-11-27 | Avoid possible wraparound when checking timeout size; mickey@ OK | Todd C. Miller | |
2002-11-27 | fix an underflow in socket timeout calculations. | Michael Shalayeff | |
(see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/32827). itojun@ ok | |||
2002-11-22 | Allow more than two load sections on ELF executables, this limit | Dale Rahn | |
should not be required, and may be violated soon. With two fixes art pointed out. ok art@ | |||
2002-11-22 | Instead of statically allocating filedescs for proc0, use fdinit. | Artur Grabowski | |
2002-11-22 | Allow fdinit to be called with p == NULL so that we can use | Artur Grabowski | |
it to properly init filedescs for proc0. | |||
2002-11-22 | repair proc0 rlimit setup for >2GB machines | Theo de Raadt | |
2002-11-09 | fix a comment | Michael Shalayeff | |
2002-11-08 | finishdup: Avoid reference count leak in error case by reordering some code. | Artur Grabowski | |