summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-07-02bump mktemp randomness from 6->10 X'sAnil Madhavapeddy
2003-07-02bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3)Anil Madhavapeddy
2003-07-02comitted->committedAnil Madhavapeddy
2003-07-02comitted->committed in a commentAnil Madhavapeddy
2003-07-01Add support for -a dirs on different filesystems.Todd C. Miller
From FreeBSD via S. Deinhard.
2003-07-01add MAP_TRYFIXED, mostly to help emulate other systems.Ted Unangst
when set, uvm will not attempt to avoid a heap address, if requested. from todd vierling, via http://marc.theaimsgroup.com/?l=netbsd-tech-kern&m=105612525808607&w=1
2003-07-01Add /etc/isakmpd dir as well as isakmpd.conf and isakmpd.policy files.Todd C. Miller
henning@ OK
2003-07-01now that there is multicast routing documentation in netstart(8),David Krause
reference it rather than /etc/netstart ok henning@ millert@
2003-07-01syncTed Unangst
2003-07-01remove sys_omquery. it was only used for two weeks, and you can'tTed Unangst
source upgrade from a system that used it anyway. ok art deraadt drahn
2003-07-01We need the "/ 10" in the group writability check after all; marc@Todd C. Miller
2003-07-01Make the test for unsafe umask more bullet-proof. With help from marc@Todd C. Miller
2003-07-01syncTheo de Raadt
2003-07-01add back the vertical line space, this time conditionally and precededJason McIntyre
by a break; from NetBSD; ok deraadt@
2003-07-01Don't dma map the xs->cmd. Copy it to a safe buffer that is alreadyKenneth R Westerback
mapped and sync'ed appropriately, and is guaranteed to be in one memory page. Eliminate now unused dmamap_cmd and rs_cmd fields. Fix another error message (adding active command to reset list) so that it includes the adapter name. Add missing letoh32() calls to debug code. The evils of directly mapping *xs->cmd were pointed out by Mickey during osiop development. In particular, *xs->cmd may start on one memory page and run into the next. Since the dma logic in most cards/drivers (including siop) only allocates one address/size pair to map *xs->cmd, parts of a command could be lost or corrupted. The large number of 6 byte dma mappings noted long ago by someone (Henric?). This change reduces the dma mapping activity per i/o by 1/3 to 1/2 and may give a performance boost of some kind. Successfully tested on i386, sparc64 (ultra30 - thanks Jolan, blade100), macppc and alpha. Unfortunately these changes don't fix the Blade1000 siop problems. **NOTE** If scsi_generic is ever upped to 16 bytes the offsets in siop.ss must be updated!
2003-07-01Belatedly nuke clause 3 (or is that 4?).Kenneth R Westerback
2003-07-01update the table contents as well as the table widthAnil Madhavapeddy
pointed out by Dr. Mdoc jmc@
2003-07-01rewrite to not use mmap(2). solves a bunch of issues:Henning Brauer
- No more I/O related SEGVs (PR 2337?). - Performance linear to size of output, not input file size, even for very large files. Same for -r. - Reverse tail also works for very large files. - Very large values of n possible, even for very large files. Same for -r. work by Otto Moerbeek <otto@drijf.net> tested by and ok millert@ and myself
2003-07-01one more correction to a list, and add a .Pp;Jason McIntyre
2003-07-01.Xr disklabel 8, as suggested by Phil Pennock (PR 3338);Jason McIntyre
2003-07-01- add info from disklabel(8) documenting default label; suggested by millert@Jason McIntyre
- .Xr disklabel 8 instead of .Em
2003-07-01Do not try unversioned lib tests on a.outNiklas Hallqvist
2003-07-01try to vary physical directory layout of the libdir.Niklas Hallqvist
Catches case spotted by Dale.
2003-07-01A regression test for checking that dlopen prefers the correct shared libraryNiklas Hallqvist
2003-07-01cosmetic (avoid space before period); ok artPeter Valchev
2003-07-01- no need for pathnames.h, just use <paths.h> insteadAnil Madhavapeddy
- bump mktemp randomness slightly from 8 -> 10 millert@ ok
2003-07-01wrap pf_normalize_ip6() by #ifdef INET6. pointed out by Wouter ClarieJun-ichiro itojun Hagino
2003-07-01Fix bounds check in the fast grep code that caused an incorrectTodd C. Miller
array access (and a core dump on sparc64 at least). Noticed by sturm@ and pvalchev@. Fix tested an OK by pvalchev@.
2003-06-30Awk first appeared in appeared in Version 7 AT&T UNIX.Todd C. Miller
2003-06-30some more extra mktemp randomness; millert@ okAnil Madhavapeddy
2003-06-30Fold trace status into the single hash table that's left.Marc Espie
Inline some macros/functions for speed. So, this achieves the goal of one single lookup for macro/trace status, which does speed up m4 in partial tracing situations somewhat. This does also speed up m4 in large pushdef situations, since it no longer has to lookup large chains of macros. okay millert@
2003-06-30add a flag for each macro name that records built-in status.Marc Espie
Fold built-in lookup into normal lookup. okay millert@
2003-06-30replace old hash structure with open hashing.Marc Espie
make the stack structure of macro definitions explicit. okay millert@
2003-06-30spacing nit, and a bit more randomness for mktempAnil Madhavapeddy
millert@ ok
2003-06-30Make the trace status of a macro an actual argument that gets pushedMarc Espie
in the frame for the macro expansion. (This will allow one single lookup to grab the macro definition and the trace status) okay millert@
2003-06-30clean up internal lookup interface:Marc Espie
define an interface with explicit define/pushdef/popdef... and use it. That way, most details of the hashtable are no longer visible. okay millert@
2003-06-30Buffer management functions.Cedric Berger
ok dhartmei@
2003-06-30change that queue ID allocator so it always has the queues sorted by ID.Henning Brauer
that allows us to get rid of the "tagid" global which stored the highest tag ID in use. when allocating a new ID scan the list for a free slot and only use highest + 1 on failure instead of using highest + 1 from the beginning scanning for a dup afterwards. this prevents ID space fragmentation better. as a result this allows us do get rid of the pf_tag_purge() function completely and let pf_tag_unref() remove an entry once the reference counter reaches zero by itself. after all it makes for easier code and is about 50% faster. idea came up during a discussion on icb earlier today between cedric and myself, which itself was particulary inspired by Darren Reed questioning the need for pf_tag_purge on tech-net@netbsd. ok dhartmei@ cedric@
2003-06-30simplify a list, better format example;Jason McIntyre
2003-06-30sync with freebsd:Anil Madhavapeddy
- avoid a coredump in 'line mode' and correct a comment - stub for -I option (our manpage already mentions this) - add author's copyright (tony finch) millert@ ok
2003-06-30Cleanup ask_which() logic.Kenneth R Westerback
Use first device in supplied list as default unless overridden. Eliminates repeated 'echo XXX | cutword 1' constructs. Use 'set -- $_devs' to parse _devs and find out if there are any devices in the list. Then use '_devs="$*" to eliminate all extraneous whitespace from _devs, rather than just a single trailing blank. Usual [...] -> [[...]], `` -> $(), extra '{}' and '"' eliminations in areas being fixed up.
2003-06-30reset interface statistics when loginterface is changed, closes pr3332,Daniel Hartmeier
from Jason Ackley, ok henning@, cedric@
2003-06-30Mention environment variables used + some other minor fixes.Todd C. Miller
jmc@ and henning@ OK
2003-06-30Use built in pattern matching rather than cutlast() when extractingKenneth R Westerback
timezone name from '/etc/localtime' link. Use cutword() rather than cutlast() to see if there is more than one possible root disk. As these were the last two uses of cutlast(), eradicate it. Usual [...] -> [[...]], `` -> $(), extra '{}' and '"' eliminations in areas being fixed up.
2003-06-30update-plist handles multi-packages correctly, now.Marc Espie
2003-06-30missing pf_tag_purge()Henning Brauer
cedric made me check
2003-06-30move prototype for pf_tag_purge() to pfvar.hHenning Brauer
2003-06-30initialize srcrt properly (so that it won't go mad when NPF==0). cedricJun-ichiro itojun Hagino
2003-06-30do not generate icmp6 redirect if PF rewrote the destination address.Jun-ichiro itojun Hagino
requeested by cedric
2003-06-30Xr hostname 7; tedu@Todd C. Miller