OpenBSD CVS

CVS log for src/sbin/ccdconfig/Attic/ccdconfig.c


[BACK] Up to [local] / src / sbin / ccdconfig

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37, Thu Oct 6 20:49:29 2011 UTC (12 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.36: +1 -1 lines
FILE REMOVED

ccd goes to the attic
discussed with jsing and millert

Revision 1.36 / (download) - annotate - [select for diffs], Tue Aug 24 07:43:33 2010 UTC (13 years, 9 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

- plugs two fd leaks

ok millert@

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 12 04:33:40 2010 UTC (13 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

correct a format string.  not sure who thought size_t would be a good match
for ccd size, though.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:06 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.33: +1 -8 lines
Diff to previous 1.33 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.33 / (download) - annotate - [select for diffs], Sun Sep 2 15:19:23 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg

Revision 1.32 / (download) - annotate - [select for diffs], Mon Aug 6 19:16:05 2007 UTC (16 years, 10 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands

lots of good ideas by jmc@

ok jmc@

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 17 15:52:24 2007 UTC (17 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.30: +1 -3 lines
Diff to previous 1.30 (colored)

remove mention of -g and assocatiated options that aren't working now
reminded by jmc

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 6 06:41:42 2007 UTC (17 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.29: +7 -1 lines
Diff to previous 1.29 (colored)

use rwlocks instead of hand-rolled.  make the softc private parts private.
this means making ccdconfig "SMALL" to turn off the kvm groveling nonsense
ok deraadt millert pedro todd

Revision 1.29 / (download) - annotate - [select for diffs], Sun Mar 26 18:06:00 2006 UTC (18 years, 2 months ago) by grunk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

fix output of ``ccdconfig -gv'':  one typo, and one missing \t

mickey@ ok

Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 13 19:14:56 2006 UTC (18 years, 3 months ago) by otto
Branch: MAIN
Changes since 1.27: +24 -17 lines
Diff to previous 1.27 (colored)

Cleanup and plug a fe memleaks and; from Davif Hill with a twist from
myself.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 6 10:45:56 2006 UTC (18 years, 3 months ago) by djm
Branch: MAIN
Changes since 1.26: +6 -5 lines
Diff to previous 1.26 (colored)

convert permanent privilege revocation to use setresuid/setresgid;
ok henning@

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 12 20:15:13 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

FILE * leak, missing fclose(); evol@online.ptt.ru

Revision 1.25 / (download) - annotate - [select for diffs], Sat Nov 12 18:47:42 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +2 -4 lines
Diff to previous 1.24 (colored)

left a free() behind, spotted by cloder

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 12 15:26:23 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +8 -10 lines
Diff to previous 1.23 (colored)

more asprintf; ok dhill@mindcry.org

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 29 22:23:42 2005 UTC (19 years, 2 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

less ugly printout

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 24 19:37:19 2005 UTC (19 years, 3 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

changes for ccd changes

Revision 1.21 / (download) - annotate - [select for diffs], Sat May 29 12:35:54 2004 UTC (20 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

memory leak; andrushock@korovino.net

Revision 1.20 / (download) - annotate - [select for diffs], Wed Dec 17 01:41:45 2003 UTC (20 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.19: +20 -3 lines
Diff to previous 1.19 (colored)

Add support for -DSMALL that doesn't need -lkvm (no -g option)

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 11 06:22:12 2003 UTC (21 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.18: +12 -30 lines
Diff to previous 1.18 (colored)

ansification

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 30 20:28:38 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

snprintf

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:33 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.16: +10 -10 lines
Diff to previous 1.16 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jul 7 18:26:10 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

major -Wall cleanup, almost complete

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 4 14:59:47 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.14: +6 -11 lines
Diff to previous 1.14 (colored)

return from main() don't exit

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Fri Oct 6 20:40:26 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull in patch from current (more to come...):
Fix (millert):
warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 30 16:06:33 2000 UTC (23 years, 8 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Some format string problems that were missed during initial audit; deraadt@ and
millert@ ok

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 30 16:00:07 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 15 20:16:34 1998 UTC (25 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Branch point for: OPENBSD_2_7
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored)

fix realloc

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 8 22:24:54 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +11 -1 lines
Diff to previous 1.10 (colored)

whack kmem gid after kvm_openfiles()

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 26 22:34:05 1997 UTC (26 years, 6 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Add a CCDF_OLD flag used to get the old I/O policy

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 14 08:52:13 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +10 -11 lines
Diff to previous 1.8 (colored)

Wall

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 28 21:51:47 1997 UTC (27 years ago) by deraadt
Branch: MAIN
Changes since 1.7: +15 -15 lines
Diff to previous 1.7 (colored)

be more paranoid about gid revoking

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 13 21:23:35 1997 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.6: +6 -1 lines
Diff to previous 1.6 (colored)

egid for open; spotted by oliver@secnet.com

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 22 03:00:47 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 30 09:11:20 1996 UTC (28 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +8 -1 lines
Diff to previous 1.4 (colored)

revoke privs before opening kvm if user has specified mem/kernel paths

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 22 11:34:48 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.3: +2 -33 lines
Diff to previous 1.3 (colored)

libutil

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 21 00:15:24 1996 UTC (28 years, 2 months ago) by niklas
Branch: MAIN
Changes since 1.2: +24 -18 lines
Diff to previous 1.2 (colored)

From NetBSD: Merge of 960317

Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 13 04:10:54 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

from netbsd:
Fix handling of "-M core" and "-N system"; a real brain-o on my part.
Fix related typo in manual page.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:26 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
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:26 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.