Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-14 | use pool for namei pathbuf. testing ok millert@ tdeval@ | Ted Unangst | |
2004-05-10 | when doing user mounts, inherit the MNT_NOEXEC flag from the covered | Pedro Martelletto | |
vnode's mount point. this makes it impossible for a user to bypass the noexec protection of a mount point by null-mounting it on top of itself. ok tedu@ millert@ | |||
2004-05-05 | Regen, spotted by form@pdp-11.org.ru. | Alexander Yurchenko | |
ok miod@ | |||
2004-05-04 | Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro. | Alexander Yurchenko | |
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt | |||
2004-05-03 | regen | Todd C. Miller | |
2004-05-03 | POSIX says the length parameter for semop(2) and shmget(2) should be size_t. | Todd C. Miller | |
Create new syscalls with the correct parameters and add compat versions for the old ones under COMPAT_35. | |||
2004-04-25 | change sb_mbmax to: (sb_max/MCLBYTES) * (MSIZE+MCLBYTES); ok deraadt | Markus Friedl | |
CV ---------------------------------------------------------------------- | |||
2004-04-25 | fix typos/spelling in comments, from pedro martelletto | Jolan Luff | |
2004-04-25 | radix tree with multipath support. from kame. deraadt ok | Jun-ichiro itojun Hagino | |
user visible changes: - you can add multiple routes with same key (route add A B then route add A C) - you have to specify gateway address if there are multiple entries on the table (route delete A B, instead of route delete A) kernel change: - radix_node_head has an extra entry - rnh_deladdr takes extra argument TODO: - actually take advantage of multipath (rtalloc -> rtalloc_mpath) | |||
2004-04-19 | introduce a new km_page allocator that gets pages from kernel_map using | Ted Unangst | |
an interrupt safe thread. use this as the new backend for mbpool and mclpool, eliminating the mb_map. introduce a sysctl kern.maxclusters which controls the limit of clusters allocated. testing by many people, works everywhere but m68k. ok deraadt@ this essentially deprecates the NMBCLUSTERS option, don't use it. this should reduce pressure on the kmem_map and the uvm reserve of static map entries. | |||
2004-04-19 | also use sbcheckreserve() for setsockopt of SO_SNDBUF and SO_RCVBUF | Theo de Raadt | |
2004-04-19 | this is only a work in progress, we can perfect afterwards, but it is time | Theo de Raadt | |
to get some experience with these ideas. add sbcheckreserve() api; called by accepting sockets. if over 95% of mbuf clusters are busy, consider this a resource starvation just like the other reasons for accept failing. also, if over 50% of mbuf clusters are busy, shrink recv & send sockbuf reserves to "the minimum". | |||
2004-04-17 | Don't forget to apply the M_CLUSTER flag when copying flags in m_pullup2(). | Ryan Thomas McBride | |
Fixes pr3740. Confirmed with pb@, ok markus@. | |||
2004-04-16 | not a pasto. ok millert@ | Ted Unangst | |
2004-04-15 | rework access to emulations slightly in an effort to both merge and | Ted Unangst | |
separate exec format from emulation. consistent naming of freebsd emuls. not much in the way of functional changes yet. testing and ok deraadt@ and others along the way. | |||
2004-04-13 | useless caddr_t cast removal. same md5s. | Ted Unangst | |
2004-04-12 | make sockargs take void *, combine a len check. | Ted Unangst | |
from pedro martelletto, ok markus@ | |||
2004-04-11 | Crank max ptys to 992. We now have 62 pty/tty pairs for each letter | Todd C. Miller | |
instead of 16. E.g. it is now /dev/{p,t}typ[0-9a-zA-z] instead of just /dev/{p,t}typ[0-9a-f]. This requires that you update MAKEDEV and run: # cd /dev && ./MAKEDEV pty0 && rm -f [pt]ty[rq]* | |||
2004-04-11 | Fix calculation of the index into TTY_LETTERS. This only worked | Todd C. Miller | |
because sizeof(TTY_LETTERS) == sizeof(TTY_SUFFIX). | |||
2004-04-06 | fix siginfo generation for posted signals and avoid double ktrpsig() call ↵ | Michael Shalayeff | |
for the same signal; deraadt@ ok | |||
2004-04-02 | rfork(RFMEM) shares complete vmspace. much more useful, and in line with | Ted Unangst | |
other projects' implementations. | |||
2004-04-01 | use NULL for ptrs. parts from Joris Vink | Ted Unangst | |
2004-04-01 | init kqueues normally, from pedro martelletto | Ted Unangst | |
2004-03-20 | one proc.h is sufficient | Ted Unangst | |
2004-03-19 | check for CLOCAL flag in right variable; from sq@oganer.net | Theo de Raadt | |
2004-03-17 | Add missing open paren in comment noticed by jmc@ | Todd C. Miller | |
2004-03-17 | Adjust the number of processes waiting on a semaphore properly if we're | Todd C. Miller | |
woken up in the middle of sleeping; cperciva@freebsd.org. OK deraadt@ | |||
2004-03-14 | nicer printf for copyright. from Pedro Martelletto | Ted Unangst | |
2004-03-13 | sync comments with reality, semconfig is long gone. | Ted Unangst | |
2004-03-12 | don't leak memory on error, from Patrick Latifi | Ted Unangst | |
ok deraadt@ millert@ | |||
2004-03-03 | better way of finding and identifying lkms. | Ted Unangst | |
adapted from pr2910 by peter werner, minus lkmfree removals since i couldn't tell what issue they were fixing. | |||
2004-02-29 | Check for negative numbers. | Tobias Weingartner | |
ok grange@ | |||
2004-02-28 | Regen | Miod Vallat | |
2004-02-28 | Rather than adding amd64 to the 64-bit platform which do not require the | Miod Vallat | |
old COMPAT_10 SysV syscalls, check for __LP64__ instead. ok deraadt@ | |||
2004-02-27 | Move setperf_prio to the machdep code, requested by deraadt@ | Alexander Yurchenko | |
ok deraadt@ | |||
2004-02-27 | Introduce simple priorities mechanism so that concurrent | Alexander Yurchenko | |
hw.setperf handlers don't override each other. Problem reported and tested by danh@. ok tedu@ deraadt@ | |||
2004-02-24 | sysctl knob for bpf tunables. some tips from canacar@ | Ted Unangst | |
ok canacar@ deraadt@ mcbride@ | |||
2004-02-23 | Make sure we allow for the time when check_pty has not yet been called | Bob Beck | |
before we get invoked, by making sure getfree thinks an unused and unallocated pt_softc entry is actually free rather than following NULL. ok cedric@ | |||
2004-02-15 | add sysctl_int_arr() API similar to BSD/OS; ok itojun, deraadt, miod, henning | Markus Friedl | |
2004-02-15 | new arg to disk_unbusy, to record separate read/write statistics. | Ted Unangst | |
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br> | |||
2004-02-15 | pretty code that's easier to read, same effect. | Ted Unangst | |
from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br> | |||
2004-02-14 | Simplify hw.{cpuspeed,setperf} api moving all the sysctl stuff | Alexander Yurchenko | |
from the underlying callbacks. Testing hppa mickey@, ppc drahn@ Ok markus@ tedu@ | |||
2004-02-10 | Fix off-by-one wrt TTY_LETTERS and minor being out of bounds. Missed | Todd C. Miller | |
when I fixed the other TTY_LETTERS/TTY_SUFFIX off-by-ones. | |||
2004-02-10 | Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGET | Todd C. Miller | |
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many. | |||
2004-02-10 | Dynamically allocate space for ptys; adapted from NetBSD by beck@ | Todd C. Miller | |
2004-02-08 | restored & repaired wcookie support; kettenis@chello.nl | Theo de Raadt | |
2004-02-05 | Decrement reference count in error case if uvm_map(9) fails and we | Todd C. Miller | |
had previously increased the reference count. Should not happen, but... From dhartmei@; ok deraadt@ | |||
2004-02-05 | Correct a reference counting bug in shmat(2); adapted from FreeBSD. | Todd C. Miller | |
OK deraadt@ tedu@ dhartmei@ | |||
2004-02-01 | Grok union like struct in genassym.cf. Will be needed shortly. | Miod Vallat | |
2004-01-29 | The Sxxx proc state defines start at 1, not 0. Also make the const | Todd C. Miller | |
usage more correct and fix a signed/unsigned format mismatch. Based on a patch from Patrick Latifi. OK deraadt@ |