Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-06-17 | allow extended server banners | Markus Friedl | |
2000-06-17 | a real nix | Theo de Raadt | |
2000-06-17 | everyone says "nix it" | Theo de Raadt | |
2000-06-17 | Needed to allow complete dynamic list removal. | Marc Espie | |
2000-06-17 | This removes the few instances of Lst_New left. | Marc Espie | |
- replaces Lst_Duplicate with Lst_Clone, which does not allocate storage - split Lst_Concat into Lst_Concat/Lst_ConcatDestroy Thus, all the LstValid checks are gone, since we always invoke list functions with valid pointers. Note that dynamic list allocation accounted for roughly 20% of all calls to malloc. The extraneous calls to malloc left are now mostly in parse.c, which makes some wasteful usage of temporary buffers. With those few patches, the code is sturdier, and easier to maintain. Reviewed by millert@ | |||
2000-06-17 | A few assorted changes, to remove more dynamic lists. | Marc Espie | |
- in Dir_Expand, path is a misnomer. Use a temp variable instead... Reformat code for readability. - Change Parse_MainName/Targ_FindList so that they fill arguments instead of allocating new lists. - nuke Targ_FindList(TG_NOCREATE), as this is never used. - close a small memory hole (forgot to free sysMkPath if CLEANUP). Reviewed by millert@ | |||
2000-06-17 | This patch introduces a distinction between | Marc Espie | |
Lst_Init (constructor) and Lst_New (allocation + construction) Lst_Destroy (destructor) and Lst_Delete (deallocation + destruction), and uses that to turn most dynamic allocation of lists (Lst pointers) into static structures (LIST). Most of this is mundane, except for allGNs in targ.c, where the code must be checked to verify that Targ_Init is called soon enough. Lst_New is a temporary addition. All lists will soon be static. Reviewed by millert@, like the previous patch. | |||
2000-06-17 | This patch moves the definition of lists and list nodes to lst.h. | Marc Espie | |
C is not well-suited for opaque data structures. Then it proceeds by removing a lot of non-sensical casts and white space. There are two motivations behind this change: * small functions like Lst_First can now be redefined as macros safely (otherwise, the cast would mean that you might write Lst_First(5) and find out about it rather late) * the size of the Lst data structure is exposed to user code. This will be used to allocate lists statically, instead of malloc/free them like crazy. | |||
2000-06-16 | print # of icmp6 error suppressed by rate limit | Jun-ichiro itojun Hagino | |
2000-06-15 | Reflect reality in the error messages. | Angelos D. Keromytis | |
2000-06-14 | monitor -> monitormode because some OSes have a monitor(3) | Todd C. Miller | |
2000-06-14 | KAME_SCOPEID is necessary | Jun-ichiro itojun Hagino | |
2000-06-13 | Conditional INET6 inclusion (for crunchgen uses) -- default yes. | Angelos D. Keromytis | |
2000-06-13 | Make both ls and dir send a LIST command. Perviously, ls would use | Todd C. Miller | |
NLST but some ftp server (notably wu-ftpd 2.6.x) only list files in the output of NLST. This behavior appears to be RFC conforming and it makes things like "mget *" behave more sanely. To get just the file list you can still use the "nlist" command. | |||
2000-06-12 | Make the flags field truly optional. | Todd C. Miller | |
2000-06-11 | newaliases(1) -> newaliases(8) | Todd C. Miller | |
2000-06-11 | do not add empty lines to history; always check the size of the returned | Federico G. Schwindt | |
string by el_gets. | |||
2000-06-10 | Increment pl when filling in pidlist. It was just overwriting the first | Todd C. Miller | |
entry each time. Unless you have multiple pid files you don't notice which is why this slipped through the cracks. Noted by Jonathan Rozes. | |||
2000-06-10 | Clean-up patch: use `void *' instead of old-fashioned ClientData/Address. | Marc Espie | |
2000-06-10 | no longer needed | Marc Espie | |
2000-06-10 | Thus, Lst_ForEach no longer needs returning a status. | Marc Espie | |
In fact, it can become a macro based on Lst_ForEachFrom. This also introduces Lst_Every, as a shortcut for the very common case where Lst_ForEach does not need any user data. Finally, make consistent use of a few function typedefs, instead of having explicit void (*)(Lst) arguments all over the place. | |||
2000-06-10 | Lst_Find and Lst_ForEach do the same thing, except that the comparison | Marc Espie | |
sense is reversed (Lst_Find returns when proc says 0, whereas Lst_ForEach goes on while proc says 0). This patch turns a number of Lst_ForEach into Lst_Find. Specifically, all Lst_ForEach that actually may return quickly as proc does not always returns zero. Of course, the corresponding proc need to be tweaked to swap 0 and 1... | |||
2000-06-09 | When looking for chown, check in /sbin too. | Todd C. Miller | |
2000-06-07 | correct description; sarnold@intertrust.com | Theo de Raadt | |
2000-06-07 | -iname support; karls@inet.no | Theo de Raadt | |
2000-06-07 | option list MUST be sorted; previous commit broke "and"; karls@inet.no | Theo de Raadt | |
2000-06-07 | Check return value of malloc(). Also make the code clearer with respect to | Aaron Campbell | |
setting lbuf = NULL; millert@ ok | |||
2000-06-06 | OpenSSH 2.1.1 | Markus Friedl | |
2000-06-06 | fix match_hostname() logic for auth-rsa: deny access if we have a negative ↵ | Markus Friedl | |
match or no match at all | |||
2000-06-06 | close pr1260 from danh@nfol.com | Eric Jackson | |
2000-06-05 | document UseLogin better | Markus Friedl | |
2000-06-05 | allow use_login only for login sessions, otherwise remote commands are ↵ | Markus Friedl | |
execed with uid==0 | |||
2000-06-05 | Need defines for UVM on 68k. | Artur Grabowski | |
2000-06-05 | Update to sudo 1.6.3p4 | Todd C. Miller | |
2000-06-04 | Handle the case where the last line of input does not contain a newline; issue | Aaron Campbell | |
reported by marc@snafu.org. The main thing here is we use fgetln() instead of fgets(), also giving us the advantage of being able to handle lines of unlimited length. Some -Wall and other fixes from millert@ as well. | |||
2000-06-04 | Fix one-byte overflow; millert@ ok | Aaron Campbell | |
2000-06-03 | correct documented return value | Eric Jackson | |
2000-06-02 | Explicitly state that newsyslog does not send a HUP to syslogd if | Todd C. Miller | |
you tell it to run a command for the log file. | |||
2000-06-02 | teach protocol v2 to count login failures properly and also enable an | Todd T. Fries | |
explanation of why the password prompt comes up again like v1; this is NOT crypto | |||
2000-05-31 | typo, unused | Markus Friedl | |
2000-05-31 | xauth_location support; pr 1234 | Markus Friedl | |
2000-05-30 | remove dependency on openssl-0.9.5a; green@FreeBSD.org via kris@FreeBSD.org | Markus Friedl | |
2000-05-30 | don't panic if mkdtemp fails for authfwd; jkb@yahoo-inc.com via kris@FreeBSD.org | Markus Friedl | |
2000-05-29 | forwardagent defaults to no, add ssh -A | Markus Friedl | |
2000-05-29 | enable mg | Theo de Raadt | |
2000-05-29 | Print space between the last process to attach/use and the access time. | Angelos D. Keromytis | |
2000-05-28 | remove crud | Theo de Raadt | |
2000-05-27 | always enter pctr | Theo de Raadt | |
2000-05-27 | urhm, this is flakey | Theo de Raadt | |
2000-05-25 | split kexinit/kexdh, factor out common code | Markus Friedl | |