Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-02 | safer snprintf construct with more paranoid length calculation | Peter Valchev | |
ok millert | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-30 | usr.sbin is kinder... | Jason McIntyre | |
- consistent text for STANDARDS - note which options are extensions to POSIX | |||
2007-05-25 | Check fdopen() return value. | Todd C. Miller | |
Ignore SIG_PIPE when writing to sendmail. This allows cron to still run jobs when sendmail is missing or broken (a warning will be logged). Move mailto variable to the same scope as mail and use the mail variable, not mailto, to test whether we have an open pipe to the mailer. | |||
2007-04-10 | privledges -> privileges | Miod Vallat | |
2007-03-28 | Since /etc/crontab is not edited via crontab(1) there's no good | Todd C. Miller | |
reason to require its mode to be be 0400 or to bail if the link count is != 1. The reason for such paranoia all has to do with crontab(1) and editing user crontab files. We now only require that /etc/crontab not be writable by anyone other than the owner. OK deraadt@ ajacoutot@ jmc@ | |||
2007-02-19 | tidy up synopsis and usage(); | Jason McIntyre | |
2007-02-18 | tidy up synopsis and usage(); | Jason McIntyre | |
2007-02-13 | crontab -e /tmp//crontab.ynUyD24939 versus /tmp/crontab.ynUyD24939. | Marcus Glocker | |
OK millert@ | |||
2006-08-13 | Add Auto-Submitted header in generated mail as per RFC 3834. | Todd C. Miller | |
OK henning@, ckuethe@, krw@, ian@. From Tamas TEVESZ. | |||
2006-04-03 | some more malloc(x * y); bzero() -> calloc(x, y) whacking from | Damien Miller | |
adobriyan AT gmail.com | |||
2005-11-30 | timezone -> time zone | Jason McIntyre | |
2005-11-29 | crontab.c uses the rcsid in the crontab head comment so don't protect | Todd C. Miller | |
it from lint. Found by cloder@ | |||
2005-11-15 | More typos (especially indicies -> indices), checked with jmc@ | Miod Vallat | |
2005-11-15 | If two or more changes are made withing a single second it is possible | Todd C. Miller | |
that only the first change will be loaded due to the granularity of st_mtime. Work around this by zeroing the saved mtime when we get a poke on the socket from crontab or at since that means there has been a change. Fix from Daniel Lucq. | |||
2005-06-08 | Force pid file fd to be > 2 so we don't clobber it when dup'ing | Todd C. Miller | |
fds 0-2 to /dev/null. Tested and OK aaron@ | |||
2005-03-10 | put umask restores in right place; millert ok | Theo de Raadt | |
2005-01-30 | Detect editors that move the edited file out from underneath us and warn. | Todd C. Miller | |
Based on an idea from Han Boetes. | |||
2005-01-30 | bzero s_un before use; Andrey Matveev | Todd C. Miller | |
2005-01-30 | Proper cleanup on malloc failure; Andrey Matveev | Todd C. Miller | |
2005-01-30 | fix some whitespace | Todd C. Miller | |
2004-11-04 | Treat EOF at prompt the same as 'n' instead of looping forever. | Todd C. Miller | |
Noticed by mepch@. OK pedro@ and deraadt@ | |||
2004-09-16 | nice off_t cast | Theo de Raadt | |
2004-09-16 | ftruncate() with ftello() instead of ftell(); ok millert | Theo de Raadt | |
2004-07-22 | Fix incorrect snprintf return value check noticed by Jarno Huuskonen. | Todd C. Miller | |
Also make a utime() failure non-fatal since the important thing is the poke on the socket now. | |||
2004-07-09 | ansi | Theo de Raadt | |
2004-06-22 | Recent glue_strings change reversed a few checks; fix up conditionals | Anil Madhavapeddy | |
to check for overflow as others do by convention. Noticed by Andreas Kahari <ak+openbsd at freeshell.org>, millert@ ok | |||
2004-06-22 | use snprintf(3) instead of home-grown glue_strings() function | Anil Madhavapeddy | |
millert@ ok | |||
2004-06-17 | UUpdate ISC copyright year to 2004 | Todd C. Miller | |
Remove unused macros Skip_Line and MkLower Remove trailing whitespace | |||
2004-06-06 | Fix typo in last commit for non-compiled code. Dmitry V. Levin | Todd C. Miller | |
2004-06-03 | Document behavior if MAILTO is set to the empty string. | Todd C. Miller | |
2004-06-03 | More changes from Dmitry V. Levin: | Todd C. Miller | |
Check return values for setgid, initgroups and setuid in code we don't compile. Print the correct filename for the at job in mail sent. Add some #if DEBUGGING in cron.c's usage(). Set sunlen each time before using it in accept(). Don't send mail at all if MAILTO is set but empty. | |||
2004-06-03 | Though crontab files are created mode 0600 we should accept ones that | Todd C. Miller | |
are mode 0400 too. From Walt Howard. | |||
2004-05-13 | Pasto, change a cast from uid_t to gid_t (no real change...) | Todd C. Miller | |
2004-05-13 | Set close on exec flag for cron's socket. Jarno Huuskonen | Todd C. Miller | |
2004-05-13 | If we get EAGAIN reading from the cron socket check both cron and | Todd C. Miller | |
at databases for jobs to run. Jarno Huuskonen. | |||
2004-05-10 | Make the accept socket non-blocking. Should not matter since we | Todd C. Miller | |
use select anyway but seems like a good idea since we really don't want cron to block... | |||
2004-05-03 | Make socket that reads reload requests from crontab be non-blocking. | Todd C. Miller | |
Problem found by Jarno Huuskonen. | |||
2004-04-26 | isalnum() does not match '_' so check it explicitly. This allows cron | Todd C. Miller | |
to send mail to usernames with a '_' in them. From David Gwynne. | |||
2004-02-24 | remove reference to -x bit; | Jason McIntyre | |
ok millert@ | |||
2003-07-30 | Use (char *)NULL instead of (char *)0 in execl and execle; Andrey Matveev | Todd C. Miller | |
2003-06-26 | two missing protos | Theo de Raadt | |
2003-06-17 | Sync with share/misc/license.template and add missing DARPA credit | Todd C. Miller | |
where applicable. | |||
2003-06-12 | - section reorder | Jason McIntyre | |
- macro fixes - kill whitespace at EOL - new sentence, new line | |||
2003-06-03 | Don't need 'all right reserved'; brings this into line with my other | Todd C. Miller | |
ISC-style copyrights. | |||
2003-06-02 | I'm a dork, I removed the 4th clause of the UCB license instead of | Todd C. Miller | |
the 3rd one. | |||
2003-05-12 | feof() can only be used after you actually hit EOF so the check | Todd C. Miller | |
for no output from the at command was busted. Instead of using feof(), just fread() a buffer's worth and check to see if we got anything back. Closes PR 3252. | |||
2003-04-17 | Change a few return values from char to int since these functions | Todd C. Miller | |
can return EOF. Fixes gcc warnings (and potential problems) on ppc. | |||
2003-04-15 | nasty lies from hobbits, clean them out of comments | Theo de Raadt | |
2003-04-14 | Use setproctitle() instead of the CAPITALIZE_FOR_PS hack. Inspired | Todd C. Miller | |
by similar changes in FreeBSD and NetBSD. For at jobs, include the job number in the proctitle. |