summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/do_command.c
AgeCommit message (Expand)Author
2015-11-17Check pipe(2) return value; noticed by deraadt@Todd C. Miller
2015-11-15Clean up the remaining uses of stderr and perror() and use warn/errTodd C. Miller
2015-11-14Remove log_it() and call syslog(3) directly using the same format:Todd C. Miller
2015-11-09Remove unused xpid argument to log_it().Todd C. Miller
2015-11-04Change cron from including all headers in every file to only includingTodd C. Miller
2015-10-29Use stravis(3) instead of a homegrown vis-like function.Todd C. Miller
2015-10-25Remove cron.pid support. We still want to avoid multiple cronsTodd C. Miller
2015-10-23remove some more ifdef mazinessTed Unangst
2015-10-03There is no need to keep a global array of sysconf(_SC_OPEN_MAX) elementsTed Unangst
2015-10-03unifdef some features we will always have. ok benno zhukTed Unangst
2015-02-09correct copyright, upon approval from paul vixie via todd miller. theTheo de Raadt
2015-01-23braces to open a function go on their own line like god intendedTed Unangst
2015-01-23Remove the OK and ERR macros. They obfuscate the code and don'tTed Unangst
2015-01-23minor debug removal cleanupTed Unangst
2015-01-23remove debug code.Ted Unangst
2015-01-14Replace MAXHOSTNAMELEN with HOST_NAME_MAX+1 and MAXNAMLEN with NAME_MAXTodd C. Miller
2015-01-14Use HAVE_FOO for BSD-specific features instead of relying on theTodd C. Miller
2015-01-14Use standard types for wait, readdir, signals and pids.Todd C. Miller
2013-11-23obvious unsigned char cast for ctypeTheo de Raadt
2013-03-07Allow a '+' in the MAILTO email adress; from Constantine A. MureninTodd C. Miller
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