OpenBSD CVS

CVS log for src/libexec/atrun/Attic/atrun.c


[BACK] Up to [local] / src / libexec / atrun

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23, Mon Jul 15 19:33:47 2002 UTC (21 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.22: +2 -2 lines
FILE REMOVED

atrun is now part of cron(8)

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 4 00:09:07 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

spelling; raj@cerias.purdue.edu

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 14 18:05:39 2002 UTC (22 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.20: +57 -76 lines
Diff to previous 1.20 (colored)

Major changes:

Job names are now "runtime.queue" where runtime is when the job will run
in Unix time format.  This is what SysV at does and allows us to nuke
the .SEQ file.

Historic BSD options for atq and atrm are now implemented;
atq and atrm get their own man pages.

At no longer does anything with the -v flag.  We print the execution
time when jobs are submitted so there is no need.

Most *scanf() usage is gone (one remains in atrun).

Better sanity checks in atrun.

Random style/cleanup.

With these changes we have the best of both worlds; POSIX compliance with
the traditional BSD features.

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 11 23:11:59 2002 UTC (22 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.19: +28 -40 lines
Diff to previous 1.19 (colored)

pass -Wall

Revision 1.19 / (download) - annotate - [select for diffs], Sat May 11 22:05:53 2002 UTC (22 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.18: +9 -4 lines
Diff to previous 1.18 (colored)

Use strtod() to convert string -> double, not sscanf().

Revision 1.18 / (download) - annotate - [select for diffs], Sat May 11 21:51:07 2002 UTC (22 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.17: +4 -8 lines
Diff to previous 1.17 (colored)

Deal with unknown command line options more sanely.

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 11 17:45:26 2002 UTC (22 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.16: +12 -13 lines
Diff to previous 1.16 (colored)

When opening jobs file, use O_NONBLOCK|O_NOFOLLOW for paranoia's sake.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Tue Mar 19 04:28:22 2002 UTC (22 years, 2 months ago) by jason
Branch: OPENBSD_3_0
Changes since 1.15: +12 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Pull in patch from current:
Fix (millert):
Avoid potential corruption of passwd pointer by auth_approval().

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 16 18:40:00 2002 UTC (22 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.15: +12 -3 lines
Diff to previous 1.15 (colored)

Avoid potential corruption of passwd pointer auth_approval().
Similar to my recent rshd change.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 27 16:18:58 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

header order

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 9 07:04:41 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

correct type on last arg to execl(); nordin@cse.ogi.edu

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 29 21:37:16 2001 UTC (23 years ago) by millert
Branch: MAIN
Changes since 1.12: +20 -10 lines
Diff to previous 1.12 (colored)

Call auth_checknologin() and auth_approval() as appropriate for BSD
authentication.

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 5 23:23:31 2001 UTC (23 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.11: +10 -8 lines
Diff to previous 1.11 (colored)

We must lower the process priority *after* the call to setusercontext()
otherwise the priority will just be what login.conf decrees.  Convert
from nice() to setpriority() in the process.  Based on a patch from
<hgw@d1906.inka.de>.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 19 22:57:27 2001 UTC (23 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

typo; david@phobia.ms

Revision 1.10 / (download) - annotate - [select for diffs], Tue Dec 5 19:41:29 2000 UTC (23 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +10 -4 lines
Diff to previous 1.9 (colored)

asprintf can safe time doing character counts

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 20 18:42:37 2000 UTC (23 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.8: +8 -25 lines
Diff to previous 1.8 (colored)

Add calls to setusercontext() and login_get*().  We basically call
setusercontext() in most places where previously we did a setlogin().
Add default login.conf file and put root in the "daemon" login class.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 6 20:41:05 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

uid_t and gid_t, and use %u

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 8 22:12:10 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.6: +11 -6 lines
Diff to previous 1.6 (colored)

setlogin, and chdir after uid change; do before exec'ing sendmail as well.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 8 22:09:28 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +6 -5 lines
Diff to previous 1.5 (colored)

setlogin, and chdir after uid change; came here because of a problem dima reported

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jul 29 02:22:46 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +6 -4 lines
Diff to previous 1.4 (colored)

sendmail -t please

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 12 18:57:30 1997 UTC (27 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.3: +17 -5 lines
Diff to previous 1.3 (colored)

Fix from FreeBSD (David Nugent <davidn>)
    Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
    Fixes name size limitation (was hardcoded to 8).
    Closes FreeBSD PR#3258

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 1 23:39:43 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.2: +246 -86 lines
Diff to previous 1.2 (colored)

Merge in changes from at 2.9

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 22 03:41:10 1996 UTC (27 years, 5 months ago) by tholo
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:14 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:43:14 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

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.