summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/popen.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2015-11-15Clean up the remaining uses of stderr and perror() and use warn/errTodd C. Miller
2015-11-04Change cron from including all headers in every file to only includingTodd C. Miller
2015-10-04remove stale comment. there is no need to avoid side effects from a "list"Ted 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-01-23braces to open a function go on their own line like god intendedTed Unangst
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
2011-08-22Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2006-04-03some more malloc(x * y); bzero() -> calloc(x, y) whacking fromDamien Miller
2003-06-02I'm a dork, I removed the 4th clause of the UCB license instead ofTodd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-09We already did a closelog(); no need for it here.Todd 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-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-10-01In "r" mode always dup2(STDOUT_FILENO, STDERR_FILENO); from ftpd/popen.cTodd C. Miller
2001-06-03Move login_cap stuff before pipe dupingTodd C. Miller
2001-06-02Version derived from new ftpd code which has an updated UCB license.Todd C. Miller
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
2000-08-21closelog, and check for various child setup failures; solar@false.comTheo de Raadt
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
1999-08-30in cron_popen(), do an initgroups, setlogin() and chdir to the user'sTodd C. Miller
1999-08-28Run sendmail as the user corresponding to the crontab entry.Todd C. Miller
1999-08-27Make sure argv gets NULL terminated if cron entry has >= MAX_ARGS arguments.Todd C. Miller
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt