summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/entry.c
AgeCommit message (Expand)Author
2024-08-23cron: use strtonum() and tighter limits on step valuesTodd C. Miller
2024-08-19Fix CVE-2024-43688, buffer underflow for very large step valuesTodd C. Miller
2023-07-19Fix skipping of white space after the username in /etc/crontab.Todd C. Miller
2023-06-13Upstream fixes for @yearly, @monthly, @weekly, @daily and @hourly.Todd C. Miller
2023-06-04Correct the comment in get_range() describing the range syntax.Todd C. Miller
2023-05-08cron: bounds check the high and low bounds for in a random range.Todd C. Miller
2023-05-07cron: check for garbage after the '~' in a random range.Todd C. Miller
2023-05-06Support random offsets when using ranges with a step value in cron.Todd C. Miller
2022-05-21repair a few more backwards compares that create headachesTheo de Raadt
2020-04-18Rewrite the flag-parsing code to be getopt-like. Tight formations likeTheo de Raadt
2020-04-16Add a mechanism to prevent cron jobs from running concurrently.Todd C. Miller
2020-04-15Add support for random values using the '~' operator.Todd C. Miller
2018-06-13Add crontab entry option -n for "No mail when run successful"job
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-08Quiet silly clang analyzer warning in calloc() usage.Todd C. Miller
2015-11-04Change cron from including all headers in every file to only includingTodd C. Miller
2015-11-04Change some globals from extern to static when they are not usedTodd C. Miller
2015-10-26Remove some useless defines and the set_cron_uid() function.Todd C. Miller
2015-10-06clear out some more legacy code and whatnotTed 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-23remove debug code.Ted Unangst
2015-01-22delete useless casts. ok deraadt guenther millertTed Unangst
2015-01-14Use HAVE_FOO for BSD-specific features instead of relying on theTodd C. Miller
2014-08-25Delete secret or secret-derived data with explicit_bzero.Doug Hogan
2011-05-19Fix some possible NULL pointer dereferences, and a little bit of cleanup.Peter Hessler
2009-10-29do not discard the first character of the command after the -q optionMarkus Friedl
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2005-01-30fix some whitespaceTodd C. Miller
2004-06-22Recent glue_strings change reversed a few checks; fix up conditionalsAnil Madhavapeddy
2004-06-22use snprintf(3) instead of home-grown glue_strings() functionAnil Madhavapeddy
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2003-06-26two missing protosTheo de Raadt
2003-04-17Change a few return values from char to int since these functionsTodd C. Miller
2003-03-12Move range sanity check out of get_number() and into get_range() sinceTodd C. Miller
2003-03-11Catch more syntax errors that were previously ignored. I've rewrittenTodd C. Miller
2003-03-10Change a e_username to e_cmd.Todd C. Miller
2003-03-10Back out changes to get_number() that I didn't intend to commit.Todd C. Miller
2003-03-10Do the check for missing command before the un_getchar(); otherwiseTodd C. Miller
2003-03-09Fix error line number reporting for syntax errors (noticed by mpech@).Todd C. Miller
2003-03-04Deref the correct passwd pointer in a Debug statement.Todd C. Miller
2003-02-27Fix parsing of '0' and non-alphanumerics in steps; found by mpech@Todd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2002-08-10Just zero out pw_passwd in the pw_dup()'d copy. There's no needTodd C. Miller
2002-08-07paranoia: zero out pw_passwd since we don't need itTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-11More syncing with my cron 4.0 patch tree, basically cosmetic:Todd C. Miller