summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-08-22sort usage();Jason McIntyre
2007-08-21Fix up the -s description, with help from tom@Todd C. Miller
2007-08-21Add a -s option to make the radix sort be a stable sort. Based onTodd C. Miller
a diff from Eric Gouyer. Closes PR 5553. OK deraadt@
2007-08-15Update to sudo 1.6.9p4. Basically IPv6 support and improved man pages.Todd C. Miller
2007-08-15tun device forwarding now honours ExitOnForwardFailure; ok markus@Kevin Steves
2007-08-15openssh 4.7Markus Friedl
2007-08-15do NOT fall back to the trused x11 cookie if generation of an untrustedMarkus Friedl
cookie fails; from security-alert at sun.com; ok dtucker
2007-08-14Prevent sneaking in unencrypted packets into WEP traffic.Alexander Bluhm
ok damien@, put it ok deraadt@
2007-08-14the ellipsis is not an optional argument; document the "-a" flag in whereis(1)Igor Sobrado
help and feedback by jmc@ and otto@ ok deraadt@, jmc@ and otto@
2007-08-14error out, instead of producing a warning and displaying that the YPAlexandre Anriot
password has changed, when the rpc.yppasswdd daemon is unreachable. ok deraadt@
2007-08-09spelling fixes; from Matthew ClarkeJason McIntyre
2007-08-09- more missing variables for proper ports workAntoine Jacoutot
ok millert@
2007-08-09Use '\0', not NULL, for NUL characters.Ray Lai
Pointed out by Anonymous Coward on slashdot. OK niallo.
2007-08-09Correct function name in fatal(). From Igor Zinovik.Ray Lai
2007-08-09Let realloc handle NULL. Check for integer overflow and reallocRay Lai
failure. Avoid passing negative integers to realloc by changing variables to size_t. Initial diff from Charles Longeau. OK millert.
2007-08-07bz#1232: ensure that any specified LocalCommand is executed after theDamien Miller
tunnel device is opened. Also, make failures to open a tunnel device fatal when ExitOnForwardFailure is active. Reported by h.goebel AT goebel-consult.de; ok dtucker markus reyk deraadt
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-08-06this file has been too long without an edit, someone has obviouslyDamien Miller
been slacking
2007-08-05- add 2 more variables to env_keep (needed for proper ports work -- i.e. ↵Antoine Jacoutot
make plist) ok millert@
2007-08-05fix curly in targets... broke it and no-one saw the difference, so it'sMarc Espie
probably not used that often.
2007-08-02bump sudo version to 1.6.9p3Todd C. Miller
2007-08-02exit when /dev/audio can't be opened.Jacob Meuser
from Alexey Vatchenko <av@bsdua.org> ok theo
2007-08-02Fix off by one in group list matching. Found by david@Todd C. Miller
2007-08-01Enable SUDO_DEVEL to avoid disabling core dumps (they are disabled for ↵Todd C. Miller
setuid by default on OpenBSD)
2007-08-01PYTHONINSPECT not PYTHONINSPEC; David KrauseTodd C. Miller
2007-08-01in (unused function) free_core(), unmap the core; from veins@evilkittens.orgTheo de Raadt
2007-08-01close core file fd after mmap; veins@evilkittens.orgTheo de Raadt
2007-08-01Refactor realloc() + checks into erealloc()Todd C. Miller
Fix a NULL dereference when the -t flag is given and a line consists solely of delimiters. OK deraadt@, fixes PR 5555
2007-08-01add cvs id now that this file has diverged from the sudo cvs versionTodd C. Miller
2007-08-01add pkg_add and make release environment variables to env_keepTodd C. Miller
2007-07-31make rip code work like mmc code for how it does progress reports (useTheo de Raadt
a timer, so that stderr does not get splattered); tested by xsa and others
2007-07-31Remove some unused headers, from Igor Zinovik.Ray Lai
2007-07-30add commented out example to preserve the environment for users in group wheelTodd C. Miller
2007-07-30introduce a Var_Substi to substitute on intervals.Marc Espie
Since we don't really know how to change Var_Subst and dependent functions, we cheat, and copy the string to a buffer instead. Clean-up the parser a bit: reorganize the include files lookup function: introduce a resolve_include_filename function that figures out the full name of the file, introduce a handle_include_file that does all the include file handling, and rename the functions into handle_xxx_include, so that we can remove most comments. Rename ParseIsCond into handle_bsd_command, cut most of its code into constituent functions. Semantic changes: - follow the rules that, if an optional construct does not parse correctly, then it's not a real extension, and give the normal parser a chance to figure it out. If the syntax checks out, semantic errors ARE real errors. - allow variables to not be defined in include file names, no reason not to. okay miod@
2007-07-30everywhere except in Var_Parse, we always add/append variables to theMarc Espie
VAR_GLOBAL context, so make it the common case: rename the basic functions to Var_Set_with_ctxt/Var_Append_with_ctxt, define Var_Set and Var_Append as macros that specify VAR_GLOBAL, and use these. okay miod@
2007-07-30local is always true, so zap it.Marc Espie
okay miod@
2007-07-30now that it's clean enough, one can extract some common code fromMarc Espie
Var_Parse and Var_ParseSkip (the code that figures out the variable name up to eventual modifiers). okay miod@
2007-07-30clean-up. Basically:Marc Espie
- remove globals curdir and objdir, stuff them into a structure, and pass it around to the relevant functions. - cut up most of main code into functions: figure_out_MACHINE/ARCH, figure_out_CURDIR, setup_CURDIR_OBJDIR, setup_VPATH, no_fd_limits, read_makefile_list, read_all_make_rules... - simplify the code used to figure out curdir/objdir. No semantic changes. okay miod@
2007-07-30separate and name functions to add target nodes to the graph.Marc Espie
okay miod@
2007-07-30simplify the handling of assignment operators, by introducing a VAR_INVALIDMarc Espie
state and using it, leading to a simpler loop and less code. okay miod@
2007-07-29add missing over/backTodd C. Miller
2007-07-29Change FILES section to use =itemTodd C. Miller
2007-07-29Update to sudo 1.6.9p2Todd C. Miller
2007-07-29use correct length when making a copy of environTodd C. Miller
2007-07-29sync the command usage with its synopsisIgor Sobrado
ok jmc@
2007-07-29reindent, no code changeMarc Espie
2007-07-29zap redundant code; ok deanna@Constantine A. Murenin
2007-07-27size_t vs ssize_t error; spotted by zinovik@cs.karelia.ruTheo de Raadt
2007-07-27u_endscreen()'s argument is entirely unused; inspired by zinovik@cs.karelia.ruTheo de Raadt
2007-07-27replace a few more malloc(n*m) idioms with calloc(n,m) for safety;Theo de Raadt
inspired by zinovik@cs.karelia.ru