summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/do_command.c
AgeCommit message (Expand)Author
2011-08-22Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2011-03-03Reset the SIGPIPE signal handler immediately before executing a command.Todd C. Miller
2010-12-14Use _exit() not exit() after forking. OK deraadt@Todd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-05-25Check fdopen() return value.Todd C. Miller
2007-04-10privledges -> privilegesMiod Vallat
2006-08-13Add Auto-Submitted header in generated mail as per RFC 3834.Todd C. Miller
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2004-06-06Fix typo in last commit for non-compiled code. Dmitry V. LevinTodd C. Miller
2004-06-03More changes from Dmitry V. Levin:Todd C. Miller
2004-04-26isalnum() does not match '_' so check it explicitly. This allows cronTodd C. Miller
2003-07-30Use (char *)NULL instead of (char *)0 in execl and execle; Andrey MatveevTodd C. Miller
2003-04-14Use setproctitle() instead of the CAPITALIZE_FOR_PS hack. InspiredTodd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2002-08-08Move closelog() into log_close() function and call that insteadTodd C. Miller
2002-07-15fix typo (pw vs. pwd) in unused codeTodd C. Miller
2002-07-15Pass e->pwd to auth_setpwd() to avoid extra passwd lookup in BSD auth routinesTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-12Do not collapse \\ -> \ in a command, the shell will be unhappy withTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-21Correctly close the writing end of the pipe when dup'ing the fd toTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-02-19Fix gethostname() usage.Mike Pechkin
2002-01-09Kill volatile now that jongjmp is history.Todd C. Miller
2001-10-24When becoming a daemon, dup stdin, stdout, and stderr to /dev/nullTodd C. Miller
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
2000-08-21snprintf sprinkles; solar@false.com & ITheo de Raadt
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
2000-06-03Set SIGCHLD to SIG_DFL not SIG_IGN to prevent "perl -w" fromTodd C. Miller
1999-08-28Run sendmail as the user corresponding to the crontab entry.Todd C. Miller
1998-05-08when handling % line breaks, correctly handle escaped % which should be embed...Theo de Raadt
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1997-12-22handle timing normally except when clock jumps between 1 and 3 hours. If itTheo de Raadt
1996-08-07setlogin(username)Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt