summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/misc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove log_it() and call syslog(3) directly using the same format:millert2015-11-141-30/+1
* Remove unused xpid argument to log_it().millert2015-11-091-2/+2
* Use __progname instead of the homegrown ProgramName.millert2015-11-061-4/+7
* Change cron from including all headers in every file to only includingmillert2015-11-041-4/+15
* Remove unused LogFD variablemillert2015-11-041-6/+1
* Split client-only (at, crontab) functions out of misc.c and intomillert2015-10-311-175/+1
* open_socket() is only used by cron proper so move to cron.cmillert2015-10-311-57/+1
* swap_gids and swap_gids_back are only used by crontab.c somillert2015-10-311-12/+1
* Use stravis(3) instead of a homegrown vis-like function.millert2015-10-291-52/+1
* Convert env_get() into env_find() similar to __findenv() in libc.millert2015-10-291-16/+1
* Remove useless FACILITY define and use LOG_CRON directly.millert2015-10-291-12/+2
* Use SOCK_NONBLOCK and SOCK_CLOEXEC instead of fcntl() calls.millert2015-10-261-16/+2
* Remove some useless defines and the set_cron_uid() function.millert2015-10-261-11/+2
* Remove cron.pid support. We still want to avoid multiple cronsmillert2015-10-251-90/+11
* remove some more ifdef mazinesstedu2015-10-231-42/+1
* clear out some more legacy code and whatnottedu2015-10-061-90/+1
* correct copyright, upon approval from paul vixie via todd miller. thederaadt2015-02-091-5/+1
* braces to open a function go on their own line like god intendedtedu2015-01-231-14/+27
* Remove the OK and ERR macros. They obfuscate the code and don'ttedu2015-01-231-16/+16
* remove debug code.tedu2015-01-231-70/+1
* delete useless casts. ok deraadt guenther millerttedu2015-01-221-4/+4
* Use standard types for wait, readdir, signals and pids.millert2015-01-141-3/+3
* Remove compatibility defines for ancient systems. We assume amillert2015-01-141-17/+1
* Use socket(SOCK_CLOEXEC), open(O_CLOEXEC), and fcntl(F_DUPFD_CLOEXEC)guenther2014-10-261-6/+9
* Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)guenther2014-08-151-4/+3
* cleaner and easier to use signed long long. ok deraadttedu2013-04-211-5/+5
* Adapt cron and at for future large time_t and tv_sec types. These were somederaadt2013-04-171-2/+14
* Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOmillert2011-08-221-25/+25
* use FD_CLOEXEC instead of 1.dhill2011-07-091-3/+3
* Fix bug in GMT calculation for systems without tm_gmtoff.millert2010-04-101-2/+2
* Log non-informational messages at LOG_WARNING priority instead of LOG_INFO.jacekm2010-03-301-2/+10
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
* remove unused functionchl2008-01-051-30/+2
* safer snprintf construct with more paranoid length calculationpvalchev2007-06-021-3/+3
* Force pid file fd to be > 2 so we don't clobber it when dup'ingmillert2005-06-081-2/+14
* put umask restores in right place; millert okderaadt2005-03-101-3/+4
* bzero s_un before use; Andrey Matveevmillert2005-01-301-2/+4
* nice off_t castderaadt2004-09-161-3/+3
* Fix incorrect snprintf return value check noticed by Jarno Huuskonen.millert2004-07-221-21/+20
* ansideraadt2004-07-091-3/+3
* use snprintf(3) instead of home-grown glue_strings() functionavsm2004-06-221-41/+6
* UUpdate ISC copyright year to 2004millert2004-06-171-10/+10
* Set close on exec flag for cron's socket. Jarno Huuskonenmillert2004-05-131-2/+9
* Make the accept socket non-blocking. Should not matter since wemillert2004-05-101-2/+9
* nasty lies from hobbits, clean them out of commentsderaadt2003-04-151-5/+3
* Sync with ISC cron-current + my at(1) integration.millert2003-02-201-21/+93
* If there is no cron.allow or cron.deny file, only the superuser may runmillert2003-02-201-39/+16
* Use the SUN_LEN macro to set sun_len correctlymillert2003-02-181-3/+3
* Move closelog() into log_close() function and call that insteadmillert2002-08-081-6/+10
* Move atrun(8) functionality into cron(8) proper. This fixes themillert2002-07-151-12/+3