summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-12-17define constants for PAGE_{SIZE,MASK,SHIFT}Michael Shalayeff
1999-12-17track the maximum accessed stack size; basically this small piece of code is ↵Michael Shalayeff
the same in all the archs
1999-12-16syncTheo de Raadt
1999-12-16missed someTheo de Raadt
1999-12-16syncTheo de Raadt
1999-12-163c450-TX HomeConnect; wpaulTheo de Raadt
1999-12-16syncTheo de Raadt
1999-12-16rresvport_af() and bindresvport_af()Theo de Raadt
1999-12-16Bugfix: execvp might fail for many reasons.Marc Espie
Perform an explicit ENOENT check to keep the same error message for known cases.
1999-12-16Var_Subst is actually two distinct functions folded into one:Marc Espie
split the function specific to for.c out, and give them more sensible arguments at the same time. This makes .for loop handling more efficient, as we have some heuristic to evaluate the size of the buffer needed...
1999-12-16remaining part of the previous patch... patch got confused somehow.Marc Espie
1999-12-16for.c becomes sane.Marc Espie
- split For_Eval into For_Eval (first line of loop) / For_Accumulate (remaining lines). - encapsulate state into a For structure, instead of brain damaged static variables that need copy. Very minor performance hit, specifically, For structure is allocated with malloc/free, instead of playing tricks with static/auto variables.
1999-12-16Allocate buffers as static data structures.Marc Espie
This cuts down quite a lot of malloc, since in actual use, buffer usage is mostly static.
1999-12-16Fix those two bugs in cond.c.Marc Espie
- CondGetArg needs to differentiate between empty strings and problems. Returning problems as a separate boolean is cleaner anyway. - Fix error in conditional parser which would overstep the ending 0, so that a second zero would be needed.
1999-12-16Remove unneeded extraneous zeros at the end of buffers.Marc Espie
Actually, one of these needs to be there, because of two bugs in cond.c
1999-12-16Remove redundant fields from struct Buffer.Marc Espie
1999-12-16Split Buf_GetAll into Buf_Retrieve/Buf_Size.Marc Espie
(idiotic to retrieve size every time when it's used half the time)
1999-12-16Start cleaning up buf.c in earnest.Marc Espie
- Buf_Discard is only used to remove all the bytes in a buffer, replace with Buf_Reset, - buffer values are not read unless accessed first through Buf_GetAll, no need to null-terminate it at every point. - Buf_Expand need not check if the expansion is needed. That's Buf_AddChar and Buf_AddChars responsability (otherwise, Buf_AddChar checks twice) - Buf_Overflow only handles overflow. Adding the character is done in every case anyway.
1999-12-16regen.Federico G. Schwindt
1999-12-16sigh, fix head.Federico G. Schwindt
1999-12-16Add TI1211.Federico G. Schwindt
1999-12-16incorrect bounds on strlcpy()Theo de Raadt
1999-12-16Add the ability to use interface names in place of addressesKjell Wooding
in firewall rules. i.e. block return-rst in quick on fxp0 proto tcp from any to fxp0 port = 9999 This will make things like DHCP much easier to deal with in the future.
1999-12-16show ip6.forwardingTheo de Raadt
1999-12-16Xr inet6 4Theo de Raadt
1999-12-16syncTheo de Raadt
1999-12-16move dump file to /var/run, not /var/tmp.Jun-ichiro itojun Hagino
1999-12-16Add in cleaner dual bus and dual LVD bus support.mjacob
1999-12-16Add in dual bus (1240/1280) support. Some more cleanups, including fixesmjacob
to the speed update stuff. Also a fix for an amazingly silly botch in isp_async.
1999-12-16Roll platform version. Add a second scsi_link struct in the privatemjacob
area (for dual bus support). Add in a proper XS_CHANNEL macro. Reorder the printf level ifdefs- DEBUG should come before DIAGNOSTIC
1999-12-16Clean up some SXP definitions so that a SXP_BANK1_SELECT can be |'d in.mjacob
Note that there are *two* CONF1 SXP register selects.
1999-12-16Add in dual LVD (1280) support. Reorganize the model codes slightlymjacob
and add in IS_DUALBUS and IS_ULTRA2 macros.
1999-12-16Add in Qlogic 1240 (Dual Ultra) and Qlogic 1280 (Dual Ultra 2) support.mjacob
Other than some extra cases, there's a bit of hoohah about reading the second SXP's register bank on the 1280- not exactly well laid out hardware. The delay(250) functions added to see if this helps in more stable reads of SXP register bits.
1999-12-16Split SDEV_NOSYNCWIDE into SDEV_NOSYNC and SDEV_NOWIDE (as is donemjacob
in NetBSD). Look at Inquiry data during probing to further set quirks based upon device capabilities. Thanks to Todd.Miller@courtesan.com for doing the grunt work and encouraging this to get done fully.
1999-12-16Get the index in the ifnet_addrs array right (as if_index isAngelos D. Keromytis
pre-incremented on assignment in net/if.c)
1999-12-16deposit dump file in /var/run; markusTheo de Raadt
1999-12-16use arc4random()Theo de Raadt
1999-12-16non-working awi driver; someone finish itTheo de Raadt
1999-12-15Require privileges in LMCSIOINFO.Angelos D. Keromytis
1999-12-15Require privileges to change card parameters.Angelos D. Keromytis
1999-12-15these strcpy are fineTheo de Raadt
1999-12-15"Connection closed by x.x.x.x": fatal() -> log()Markus Friedl
1999-12-15keysize warnings talk about identity filesMarkus Friedl
1999-12-15remove pn, replace with dcJason Wright
1999-12-15make dc only match pn (temporarily)Jason Wright
1999-12-15From gcc development sources:Marc Espie
if -Wtraditional, warn about ANSI cpp string concatenation.
1999-12-15never go into persist mode if there are still segments to be retransmitted.Niels Provos
set retransmit timer again if it was cleared, that can happen in SACK when there are no elligble SACK holes to be retransmitted and the receiver window is full.
1999-12-15add missing Xrs and clean a bitJason Wright
1999-12-15man page for txphyJason Wright
1999-12-15fix declarationsEric Jackson