Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-10-24 | When becoming a daemon, dup stdin, stdout, and stderr to /dev/null | Todd C. Miller | |
Change an unsafe vfork() to fork() Fix dup2() usage--must check for oldd == newd case and no need to close oldd Fixes annoying messages from sendmail about stdout being closed. | |||
2001-10-01 | In "r" mode always dup2(STDOUT_FILENO, STDERR_FILENO); from ftpd/popen.c | Todd C. Miller | |
Otherwise, sendmail may complain about the lack of stderr. | |||
2001-08-22 | More manpage mania. Crontab entries are comprised of a certain number | Hugh Graham | |
of fixed fields (the time spec, etc) and a command which may itself be one or more fields long. Make this clear. | |||
2001-08-22 | o System crontab has seven (7) fields | Heikki Korpela | |
o User crontab has six (6) fields o Closes PR 2021; thanks jamesez@cerberus.jimz.net o Okay millert@ | |||
2001-08-19 | Better file change detection: | Todd C. Miller | |
o when copying to temp file set utimes on temp file equal to original o use st_mtimespec instead of st_mtime for better granularity | |||
2001-08-11 | If waitpid() returns -1, check for EINTR | Todd C. Miller | |
2001-08-02 | o) .Sh AUTHOR -> .Sh AUTHORS; | Mike Pechkin | |
o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok | |||
2001-07-13 | flags set in signal handlers should be volatile sig_atomic_t | Todd C. Miller | |
2001-07-09 | correct type on last arg to execl(); nordin@cse.ogi.edu | Theo de Raadt | |
2001-06-19 | o Don't talk about /bin/mail vs. sendmail since we always build with | Todd C. Miller | |
sendmail support. o Remove misleading info in STANDARDS about the syntax being different from previous Vixie Cron versions. The flags have been this way for all versions of cron we have shipped with. | |||
2001-06-03 | Move login_cap stuff before pipe duping | Todd C. Miller | |
Move the stderr dup2 to be with stdout dup2 as before since otherwise sendmail seems to get unhappy. | |||
2001-06-02 | Version derived from new ftpd code which has an updated UCB license. | Todd C. Miller | |
2001-05-29 | build with BSD auth support | Todd C. Miller | |
2001-02-21 | Add back code in find_jobs() that got dropped in cron merge. | Todd C. Miller | |
2001-02-20 | Turn get_gmtoff into a macro for OSes with tm_gmtoff (like OpenBSD). | Todd C. Miller | |
Save the GMT offset in a global so cron_sleep can use it. This means the offset can only change in set_time() which is really what we want. | |||
2001-02-19 | Normalize the time in minutes to GMT so we can really catch DST changes | Todd C. Miller | |
(since time() does not change during a DST switch). This makes cron correctly detect DST changes. It does not fix the problem of wildcard jobs running multiple times. Also, don't rely on tm_gmtoff since that is non-standard (but use it when we have it). | |||
2001-02-19 | We handle the clock going backwards. | Todd C. Miller | |
2001-02-18 | Don't run sendmail with the -or0s arg since it causes sendmail to | Todd C. Miller | |
drop root privileges when specified on the command line. | |||
2001-02-18 | NULL vs '\0' | Todd C. Miller | |
2001-02-18 | Define CAPITALIZE_FOR_PS so children are capitalized in ps (like before). | Todd C. Miller | |
2001-02-18 | Update to ISC cron 4.0b1 + our patches. This is now under a BSD license. | Todd C. Miller | |
I also fixed the signal handlers while I was at it. | |||
2001-02-12 | Define MAX_UNAME in terms of _PW_NAME_LEN. Potential problem found by | Todd C. Miller | |
achter05@IE.HVA.NL | |||
2001-01-19 | mark remaining signal races which are difficult to fix | Theo de Raadt | |
2000-09-15 | check return value for setenv(3) for failure, and deal appropriately | Theo de Raadt | |
2000-08-21 | snprintf sprinkles; solar@false.com & I | Theo de Raadt | |
2000-08-21 | correct tmp file path; solar@false.com | Theo de Raadt | |
2000-08-21 | swap_uids_back; solar@false.com | Theo de Raadt | |
2000-08-21 | closelog, and check for various child setup failures; solar@false.com | Theo de Raadt | |
2000-08-21 | prototype repair | Theo de Raadt | |
2000-08-21 | strncpy not safe on overlapping strings | Theo de Raadt | |
2000-08-21 | save errno in handler | Theo de Raadt | |
2000-08-20 | Add calls to setusercontext() and login_get*(). We basically call | Todd C. Miller | |
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class. | |||
2000-06-03 | Set SIGCHLD to SIG_DFL not SIG_IGN to prevent "perl -w" from | Todd C. Miller | |
complaining "Can't ignore signal CHLD, forcing to default". Setting SIGCHLD to SIG_IGN means "don't provide exit status for my children" on some OSes which is not what we want--we just don't want to catch SIGCHLD since our parent does that for us. | |||
2000-04-15 | - `coexist', not `co-exist'; it's not hyphenated. | Aaron Campbell | |
- Correct some .Nm usage. | |||
2000-03-23 | More pedantic man page formatting insanity, lalala | Aaron Campbell | |
2000-03-19 | Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other | Aaron Campbell | |
cleanup along the way. | |||
2000-03-18 | fix parsing of commands after @ keywords and hourly bitmap handling; | Theo de Raadt | |
sheldonh@uunet.co.za | |||
2000-01-10 | the the | Theo de Raadt | |
1999-11-20 | Use mkstemp() for the temp file created in the tabs dir and | Todd C. Miller | |
clean up the temp file nicely if we are interupted. | |||
1999-08-30 | in cron_popen(), do an initgroups, setlogin() and chdir to the user's | Todd C. Miller | |
home dir to make things consistent with what cron does when executing a normal command on behalf of the user. I originally didn't think this was worth doing but changed my mind. | |||
1999-08-29 | Add comment to remind people not to use args in MAILARGS that will | Todd C. Miller | |
cause sendmail to drop it's setuid privs. | |||
1999-08-28 | Run sendmail as the user corresponding to the crontab entry. | Todd C. Miller | |
This keeps a user from abusing sendmail via the MAILTO var. Had to drop -or0s from MAILARGS since that causes sendmail to drop its privs (contrary to the sendmail docs). | |||
1999-08-27 | Make sure argv gets NULL terminated if cron entry has >= MAX_ARGS arguments. | Todd C. Miller | |
Gleaned from RedHat info. | |||
1999-08-06 | uid_t and gid_t, and use %u | Theo de Raadt | |
1999-07-09 | - remove all trailing whitespace | Aaron Campbell | |
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it... | |||
1999-07-07 | The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os. | Aaron Campbell | |
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one. | |||
1999-07-02 | consistent .Dd usage; proper format is: .Dd Month DD, YYYY | Aaron Campbell | |
1999-06-18 | new mandoc cron(8), crontab(1), and crontab(5) man pages; kwesterback@home.com | Aaron Campbell | |
1999-06-05 | remove trailing whitespace, some Nm cleanup | Aaron Campbell | |
1999-05-29 | Check size as well as mtime when deciding whether or not the file | Todd C. Miller | |
was changed during edit. Crontab patch from <andrew@untraceable.net>. It may be better to simply do a real compare inline. |