summaryrefslogtreecommitdiff
path: root/usr.bin/sudo
AgeCommit message (Collapse)Author
2004-09-28Update to sudo 1.6.8p1Todd C. Miller
2004-08-11Clean up old mips stuff and add sgi.Per Fogelstrom
ok deraadt@
2004-05-31#ifndef errno declaration. ok millert@Otto Moerbeek
2004-04-21Add luna88k related directories and information to the build infrastructure.Miod Vallat
ok deraadt@, millert@, krw@ - mdoc ok jmc@
2004-04-05In Exit() when used as a signal handler, emsg is a pointer soTodd C. Miller
sizeof() is wrong so make it a #define instead. Also avoid using a negative exit value. Found by aaron@
2004-01-15sudo on OpenBSD no longer runs configure. You will have to manuallyTodd C. Miller
run "rm -f /usr/obj/usr.bin/sudo/*" or "make obj" will fail during your first build.
2004-01-12Use closefrom() if it exists; from the sudo cvs repoTodd C. Miller
2004-01-05Get rid of volatile variables that were a vain attempt to prevent theTodd C. Miller
compiler from optimizing away memset() calls. Instead, add a new function, zero_bytes(), to clear buffers with sensitive contents. Taken from the sudo cvs repo, man.
2003-12-23If we are in -k/-K mode, just spew to stderr. It is not unusualTodd C. Miller
for users to place "sudo -k" in a .logout file which can cause sudo to be run during reboot after ypbind has died. Previously, this would result in useless mail and logging. Requested by mickey@
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-06-21Add explicit declaration of printerr variable in function headerTodd C. Miller
(was defaulting to int which is OK but oh so K&R :-). From Theo.
2003-06-09Also exit waitpid() loop when pid == 0. Fixes a problem where the sudoTodd C. Miller
process would spin eating up CPU until sendmail finished when it has to send mail.
2003-05-08Update to 1.6.7p5Todd C. Miller
2003-04-19sync w/ the sudo cvs tree and sudo 1.6.7p4Todd C. Miller
2003-04-14built in -> built-in;Jason McIntyre
from NetBSD (Igor Sobrado); smrsh(8) passed on to sendmail people; ok millert@
2003-04-11support LDSTATICTodd C. Miller
2003-04-07Sync with sudo 1.6.7p3; fixes kerberos 5 compilation issues w/ MIT kerberos.Todd C. Miller
2003-04-03Sync with my sudo cvs repo:Todd C. Miller
o update to sudo 1.6.7p2 o use warn/err throughout
2003-04-01Update to sudo 1.6.7p1; fixes false positives in the oflow detectionTodd C. Miller
of expand_prompt() introduced in sudo 1.6.7.
2003-03-28g/c unused variableTodd C. Miller
2003-03-20Fix boolean thinko in SIGCHLD reaper and call reapchild after sendingTodd C. Miller
mail instead of doing a conditional sudo_waitpid.
2003-03-16sync w/ my treeTodd C. Miller
2003-03-16Don't need to link in kerberos or skey libs anymore; we use BSD authTodd C. Miller
2003-03-15update to what will soon be sudo 1.6.7Todd C. Miller
2003-03-15re-run configure if it changesTodd C. Miller
2003-03-10spelling fixesDavid Krause
ok millert@
2003-03-07spelling errors/typosDavid Krause
ok jmc@
2003-02-14Pull in copyright info from the respective .pod files which gets lostTodd C. Miller
in the conversion from pod -> man (since it is just a comment). This will probably get lost again the next time I update sudo but all the copyright info is in the LICENSE file anyway...
2003-01-23typos;Jason McIntyre
ok millert@
2003-01-07Better fix for sudoers files w/o a newline before EOF. It looksTodd C. Miller
like the issue is that yyrestart() does not reset the start condition to INITIAL which is an issue since we parse sudoers multiple times. This is a cleaner fix for that problem and what will go in sudo 1.6.7.
2003-01-06Work around what appears to be a flex bug when dealing with filesTodd C. Miller
that lack a final newline before EOF. This adds a rule to match EOF in the non-initial states which resets the state to INITIAL and throws an error.
2002-07-20Error out if setusercontext() fails and the runas user is not root.Todd C. Miller
Pointed out by deraadt@
2002-07-16add RCS Id; ok millert@Christian Weisgerber
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-04-26Strip sudo and visudo on install. Noticed by Camiel Dobbelaar.Todd C. Miller
2002-04-25Update to sudo 1.6.6Todd C. Miller
2002-01-23update to sudo 1.6.5p2Todd C. Miller
2002-01-17update to sudo 1.6.5p1, sighTodd C. Miller
2002-01-17missed oneTodd C. Miller
2002-01-17update to sudo 1.6.5Todd C. Miller
2002-01-16update to sudo 1.6.4p2Todd C. Miller
2002-01-15update to sudo 1.6.4p1Todd C. Miller
2002-01-14sync with sudo 1.6.4-finalTodd C. Miller
2002-01-08sync with sudo 1.6.4rc2Todd C. Miller
2002-01-03clean def_data.c and def_data.h tooTodd C. Miller
2002-01-03Update to sudo 1.6.4Todd C. Miller
2001-11-02Change 2 Exit() -> exit()Todd C. Miller
Avoid stdio in Exit() and call _exit() if we are a signal handler. We no longer print the signal number but the user can just check the exit value for that.
2001-09-28semicolon -> colonJan-Uwe Finck
detected by mihaak@lecturax.tmfweb.nl
2001-09-25let configure script use GNUSYSTEM_AUX_DIRMarc Espie
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/