summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2000-08-05Fix name comparison bug found by Thilo Manske in NetBSD PR 10638. While I'mPaul Janzen
at it, do some -Wall fixing.
2000-08-04MaxStartupsMarkus Friedl
2000-08-04unusedMarkus Friedl
2000-08-02disallow kerberos authentication if we can't verify the TGT; fromNiels Provos
dugsong@ kerberos authentication is on by default only if you have a srvtab.
2000-08-02disable kerberos authentication by defaultNiels Provos
2000-08-02correct sun_len; Alexander@Leidinger.netTheo de Raadt
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-08-01talk about password checkingNiels Provos
2000-08-01integrate password quality checking, disallow all digit passwords motivatedNiels Provos
by Solar Designer. External password checking program can be spawned now, number of password trials configurable. work by me and Bob Beck.
2000-08-01rename aux.c to util.c to help with cygwin portNiels Provos
2000-08-01many fixes from pepper@mail.reppep.comTheo de Raadt
2000-07-31POSIX rules: pass variables set on the command line to submakes throughMarc Espie
MAKEFLAGS
2000-07-31modernize this source code including: avoiding atoi(), range checking,Theo de Raadt
KNF. while at it, add a rpcinfo -s command for setting ports from userland.
2000-07-27If the HOME environment variable is not set, do not try to readTodd C. Miller
.netrc from cwd. Mostly paranoia but good practive. Closes PR 1332.
2000-07-27Handle unlimited diverts for m4 -g.Marc Espie
Problem with autoconf noticed by d@
2000-07-26Still truncate too long identifiers, but avoid writing all over the stack.Marc Espie
2000-07-26typoTheo de Raadt
2000-07-26Rip out old dead legal notice, refer to BSD license. Clean up authors/historyIan Darwin
section.
2000-07-25o check that we are on a tty (and bail if not)Todd C. Miller
o in panic() just call exit() not abort()
2000-07-25deal with a number of overflows pointed out by fuzz; in most cases, we ↵Theo de Raadt
truncate the symbol in question
2000-07-25KNFTheo de Raadt
2000-07-25a quick fix, and then i run away screaming in terrorTheo de Raadt
2000-07-25Fix indent endless on garbage input.Marc Espie
Found by deraadt@
2000-07-24Implement esyscmdMarc Espie
2000-07-24Oops.Marc Espie
2000-07-24Update to ncurses-5.1-20000722Todd C. Miller
2000-07-23When moving temp file -> .depend use "mv -f"Todd C. Miller
2000-07-22random early drop; ok theo, nielsMarkus Friedl
2000-07-20document input and output filesMarkus Friedl
2000-07-20Code cleanup, user errx and warn instead of the hacks already there.Eric Jackson
2000-07-20missing free, reorderMarkus Friedl
2000-07-19chflags no moreMichael Shalayeff
2000-07-19new strtofflags/fflagstostrMichael Shalayeff
2000-07-18Handle MAKEFLAGS variation mandated by POSIX.Marc Espie
Code to pass variable definitions to submakes through make flags. Not activated yet, need to fix src/ first.
2000-07-18Another closing of stdin; ok deraadtDamien Miller
2000-07-17FALLTHRU -> FALLTHROUGH, requested by miod@ and style(9)Marc Espie
2000-07-17parse embedded variable specs, e.g., ${VAR_${SUB}}Marc Espie
- need braces, as we don't want to change what $$A means, - this assumes this kind of construct is very infrequent, thus this does NOT copy the variable name needlessly. - the expansion code is in a separate function for clarity. Reviewed by miod@, as previous patches.
2000-07-17- let VarModifiers_Apply accept NULL string gracefully,Marc Espie
- simplify Var_Parse: use varfind, then leverage on the result to recognize `special case' dynamic parsing. VarModifiers_Apply need to be called on NULL strings, to be able to parse modifiers applied to non-existent variables. (Alternately, we could call VarModifiers_Apply on a dummy string, but this is less efficient).
2000-07-17Major unobfuscation: split var modifiers handling to a separate file.Marc Espie
This does finally make var handling somewhat readable.
2000-07-17separate modifiers handling from Var_Parse into a separateMarc Espie
VarModifiers_apply function. for env lookup, create variable structure first, so that we can get away without terminating the variable name in main Var_Parse.
2000-07-17Str_Match returns TRUE or FALSE, better style to test those ratherMarc Espie
than 1 or 0.
2000-07-17This does replace Str_Match with a better routine, which handles negatedMarc Espie
intervals, and \\ in intervals. Accordingly, var.c no longer needs to copy the :Marg to replace \: with : We don't use fnmatch(3) because of various optimizations which are harder to achieve in a generic setting. Also add regression suite for the Str_Match function.
2000-07-17Constify a few functions, propagated from VarModify.Marc Espie
Replace a few int -> size_t Reviewed by miod@
2000-07-17- recognize that FIND_CMD and FIND_GLOBAL are always used together,Marc Espie
- introduce VarFind_interval function. This avoids having to copy variable names in VarParse, - expose internals of VarFind* function (not used yet, but this will avoid multiple lookups in VarParse), - constify a few functions. Reviewed by miod@
2000-07-17Consistency bug: for substitution should look in the same places otherMarc Espie
variable substitution is.
2000-07-17 o use strlcpy() where sensibleTodd C. Miller
o when trying to login as root on a non-secure tty always say "login refused" regardless of whether the password is correct or not
2000-07-16Add -o option for printing file offset. Also some whitespace reformatting.Hugh Graham
Handy. Checked by millert and niklas.
2000-07-16make ssh-add accept dsa keys (the agent does not)Markus Friedl
2000-07-15Always create ~/.ssh with mode 700; ok MarkusDamien Miller
2000-07-14 allow leading whitespace. ok nielsMarkus Friedl