summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-12-24Received a christmas card from Diego and Wim -- thanks!Hugh Graham
It works even, so enable the dhu.
2002-12-24add "require-order" to regress test for optionsRyan Thomas McBride
2002-12-23regenMichael Shalayeff
2002-12-23a few more machines and devsMichael Shalayeff
2002-12-23Unbreak for bigendian, identical diff as Theo's.Dale Rahn
2002-12-23avoid null deref in calling option_erro(); pt out by hunter@comsys.com.uaMichael Shalayeff
2002-12-23jow strummer comes and goesMichael Shalayeff
2002-12-23no need to ntohs the portsMichael Shalayeff
2002-12-23no need to htons the port, it's already in net order, since we swapped it ↵Michael Shalayeff
back in tcpdump, worked fine (; from bdd@ieee.org
2002-12-23do not mention optimization default, as "set optimization default" is notHenning Brauer
parseable. "normal" is exactly the same, so use that. good catch by David Krause (again).
2002-12-23default optimization is "normal", not "default"Henning Brauer
2002-12-23missing }Henning Brauer
2002-12-23chdir is the syscall, cd is the shell command; Sam SmithTodd C. Miller
2002-12-23remove dead codeHenning Brauer
2002-12-23Fix typo, pointed out by Dries SchellekensRyan Thomas McBride
2002-12-23Change from array to single pf_pabuf (no longer need multiple buffers asRyan Thomas McBride
we don't need the second list of addresses for DIOCCHANGE* operations) Also get rid of a bug where DIOCBEGINADDRS clears pabuf[1] when pabuf[0] is the one being used. ok henning@ dhartmei@
2002-12-23A nudge towards reality:Ryan Thomas McBride
- direction is now optional - better way of specifying drop return rules - wrap some lines which are too long. ok dhartmei@ henning@
2002-12-23specify tbrsize; fixes this test on alphaHenning Brauer
2002-12-23-list options with default valuesHenning Brauer
-correct order -various spelling/grammar/consistency from David Krause with feedback from dhartmei@
2002-12-23Repair minor indentation problem.Miod Vallat
2002-12-23- mark usage() as __deadAlexander Yurchenko
- combine function call and return value checking into one statement - use errx() instead of fprintf(stderr)/exit() - style(9)ed returns - better comments - proper initializing of agt var - add usage to device_dump() - grammar - some -W -Wall fixes - add missing exit()s in usage blocks - simplify sec_getpass() function Work by Andrey Matveev <andrushock@korovino.net> and me. ok gluk@
2002-12-23Bug Fixmargarida
Update Safe module to version 2.09 millert@ ok
2002-12-23o Ansi function headersTodd C. Miller
o Add __BEGIN_DECLS/__END_DECLS to include files o Safe macros o Remove useless variable assignment in the End function of *hl.c o Some minor KNF, needs more From Dan Weeks
2002-12-23oopsTheo de Raadt
2002-12-23dev/ata/ata.c should depends on wdc_base since it uses some callsAlexander Yurchenko
from dev/ic/wdc.c; from NetBSD. ok miod@ deraadt@
2002-12-23minor minor tweaks; mjc@bitz.caTheo de Raadt
2002-12-23not errx; andrushock@korovino.netTheo de Raadt
2002-12-23Fix complete botch in handling of 'openings'.Kenneth R Westerback
Assign a fixed value (SIOP_NTAGS) to the openings field in the adapter's template sc_link, rather than incrementing the value as cbd's are allocated. The template value is the one copied into each device's sc_link structure as it is created. Incrementing the value meant that each new device got a larger value for openings. The total number of openings claimed by devices on a bus soon exceeded the number of cbd's available. e.g. after 5 devices there would be 132 allocated cbd's, but the total number of openings claimed by devices would be 300. A heavy i/o load on an adapter with multiple devices could have caused the upper scsi layer to try to queue more i/o's than the driver had cbd's to store them in. Such i/o's would fail with EIO if they were started with SCSI_NOSLEEP (e.g. sdstart()) or were not queued within the specified retry limit. I/o's for devices 'later' on the bus would be more likely to trigger this behaviour, due to their inflated openings values. This is good candidate for -stable.
2002-12-23Display offending line number in error messages.Todd C. Miller
Based on a patch from Sam Smith.
2002-12-22spelink; Wouter Clarie in PR 3047Henning Brauer
2002-12-22o check for empty $SHELL and add missing __dead (Andrey Matveev)Todd C. Miller
o call setlogin() if the -U flag was specified and we either are the session leader or are able to become it.
2002-12-22Add altq ioctls. Just the bare minimum, more details to come.Ryan Thomas McBride
ok henning@
2002-12-22pfioc_changealtq is not needed anymore; queues will eventually beRyan Thomas McBride
referenced by number in DIOCCHANGEALTQ (like rule and pooladdress) "go for it" henning@
2002-12-22Convert to using atagettrace_t.Alexander Yurchenko
ok costa@
2002-12-22Define atagettrace_t type and use it instead of struct atagettrace.Alexander Yurchenko
ok costa@
2002-12-22No more magic wdc events types, give them names.Alexander Yurchenko
ok costa@
2002-12-22fix cutnpaste; from hunter@comsys.com.uaMichael Shalayeff
2002-12-22better handling of bigendian batteries; problem noticed by blovett@bsdguru.comMichael Shalayeff
2002-12-22consistency; grange@Henning Brauer
2002-12-22KNFHenning Brauer
2002-12-22Do not attempt to select keyboard layout until it has been determined fromMiod Vallat
the keyboard (oops). This also fixes a bad interaction with wskbd_cnattach that would hose the underlying sabtty device.
2002-12-22Handle pool addresses in binat rules, ok mcbride@Daniel Hartmeier
2002-12-22Instead of inserting and removing rules at the top/bottom of the mainDaniel Hartmeier
ruleset, make authpf manage its rules inside anchors.
2002-12-22Flargs -> Flags.Artur Grabowski
Reported by Dave Steinberg <lists@redterror.net>
2002-12-22Cosmetic 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-22Clear the high bit of ipc_perm.seq so msgget(3) never returns aTodd C. Miller
negative message queue id; Vladimir B.Grebenschikov
2002-12-22Handle rdr rules with unspecified proxy ports correctly. Also don'tRyan Thomas McBride
print the port number in pf_print_host if it's 0 (like when pf_print_host is called from pf_map_addr) ok dhartmei@
2002-12-22mv PF_RULESET_MAX into the enum, slightly less confusing.Ryan Thomas McBride
ok dhartmei@
2002-12-22Bring this closer to the reality of pf_ioctl.c;Ryan Thomas McBride
Not perfect, just a first pass. ok henning@
2002-12-21better example rules from David Krause, Thanks!Henning Brauer
ok dhartmei@