OpenBSD CVS

CVS log for src/usr.sbin/cron/Attic/common.c


[BACK] Up to [local] / src / usr.sbin / cron

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6, Thu Nov 12 21:12:05 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED

Use absolute paths in pathnames.h.  There is no longer a need to
chdir(2) to the cron dir and cron(8) now changes to / via daemon(3).
We no longer try to create/chmod the spool directories as they
should be set correctly at install time.  The setegid(crontab)
has been moved to open_socket() so it is closer to the chmod(2)
call that needs it.  OK deraadt@ tedu@

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 12 13:42:42 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Move cron socket to /var/run/cron.sock.  Client code will try the old
location if the new one doesn't exist for now.  In order to allow
the fchown() to succeed, cron now sets its effective gid to crontab.
OK jca@ deraadt@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 11 17:02:22 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Fix spool dir mode check to avoid extraneous chmod() calls.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 9 15:57:39 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.2: +21 -21 lines
Diff to previous 1.2 (colored)

Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improve
readability.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Nov 4 20:28:17 2015 UTC (8 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.1: +20 -2 lines
Diff to previous 1.1 (colored)

Change cron from including all headers in every file to only including
what each .c file needs.  I have not removed cron.h since it will
be used in a future clean up of the cron's .h files.  OK nicm@

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 31 12:19:41 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN

Split client-only (at, crontab) functions out of misc.c and into
client.c.  Move truly common functions into common.c.  This avoids
dead code in the at and crontab commands.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.