summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/misc.c
AgeCommit message (Expand)Author
2005-03-10put umask restores in right place; millert okTheo de Raadt
2005-01-30bzero s_un before use; Andrey MatveevTodd C. Miller
2004-09-16nice off_t castTheo de Raadt
2004-07-22Fix incorrect snprintf return value check noticed by Jarno Huuskonen.Todd C. Miller
2004-07-09ansiTheo de Raadt
2004-06-22use snprintf(3) instead of home-grown glue_strings() functionAnil Madhavapeddy
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2004-05-13Set close on exec flag for cron's socket. Jarno HuuskonenTodd C. Miller
2004-05-10Make the accept socket non-blocking. Should not matter since weTodd C. Miller
2003-04-15nasty lies from hobbits, clean them out of commentsTheo de Raadt
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2003-02-20If there is no cron.allow or cron.deny file, only the superuser may runTodd C. Miller
2003-02-18Use the SUN_LEN macro to set sun_len correctlyTodd C. Miller
2002-08-08Move closelog() into log_close() function and call that insteadTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-09o Add _PATH_CRON_PID which is built up from PIDDIR and PIDFILE via stringTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-05-28Kill an sscanf() in favor of strtol()Todd C. Miller
2002-05-28use %ld (long) for pidTheo de Raadt
2002-05-22Set close-on-exec flag for the socket cron selects on.Todd C. Miller
2002-05-22o avoid stdio in acquire_daemonlock() so we don't leak FILE * memoryTodd C. Miller
2002-05-09allowed() is only called once so there is no need to use staticTodd C. Miller
2002-05-09Missing piece from last commit.Todd C. Miller
2002-05-09Better error handling for in_file(); from OwlTodd C. Miller
2002-05-09crontab is no longer setuid root, it is now setgid crontab.Todd C. Miller
2001-12-12o pids should be pid_t, not intTodd C. Miller
2001-02-20Turn get_gmtoff into a macro for OSes with tm_gmtoff (like OpenBSD).Todd C. Miller
2001-02-19Normalize the time in minutes to GMT so we can really catch DST changesTodd 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
1999-08-06uid_t and gid_t, and use %uTheo de Raadt
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1996-12-17use snprintf when storing the string from strerror(). Who knows howTodd C. Miller
1996-11-01Check malloc/strdup ret val and deal.Todd C. Miller
1995-10-18initial import of NetBSD treeTheo de Raadt