OpenBSD CVS

CVS log for src/usr.sbin/config/sem.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Sun Nov 28 19:26:03 2021 UTC (2 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.37: +8 -9 lines
Diff to previous 1.37 (colored)

remove sys/param.h includes by stopping use of NODEV, ALIGNED and ALIGN().
The latter two exposed a large block allocator on top of malloc() which
doesn't really make sense in this decade (the objects are never freed, so
not quite like the famous openssl allocator)
ok millert jsg

Revision 1.37 / (download) - annotate - [select for diffs], Tue Feb 5 02:17:32 2019 UTC (5 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

dev_t is signed to permit passing -1 as an invalid condition, but the
decomposition into major and minor is unsigned, so we should print them
with %u instead of %d.
ok guenther

Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 14 05:59:56 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.35: +1 -3 lines
Diff to previous 1.35 (colored)

Remove unused macro that's just a clone of abs(3). ok tb@

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:16 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.34 / (download) - annotate - [select for diffs], Sun May 18 09:29:54 2014 UTC (10 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

use reallocarray and friends. okay miod@

Revision 1.33 / (download) - annotate - [select for diffs], Sat Nov 23 17:38:15 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)

unsigned char casts for ctype
ok jca

Revision 1.32 / (download) - annotate - [select for diffs], Sun Oct 2 22:20:50 2011 UTC (12 years, 8 months ago) by edd
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored)

Fix some minor things in config(8):
 * As haesbaert suggests, correctly order include files.
 * Found some old style function defs. Updated.
 * Found a prototype inside a function. Moved.

OK nicm@

Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 24 21:35:03 2008 UTC (16 years, 2 months ago) by maja
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, 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.30: +3 -2 lines
Diff to previous 1.30 (colored)

Make it possible to disable/enable pseudo devices in UKC, config file and
at config -e. -moj  ok deraadt@

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 4 18:30:05 2004 UTC (20 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.29: +2 -4 lines
Diff to previous 1.29 (colored)

knf and lint

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 28 04:55:07 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.28: +37 -93 lines
Diff to previous 1.28 (colored)

ansi & prototype cleanup.  tested in mkr on most arch's.  ok dhartmei

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jun 2 23:36:52 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.27: +2 -6 lines
Diff to previous 1.27 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 11 05:58:27 2002 UTC (21 years, 11 months ago) by nordin
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Remove \n from warnx(3). ok deraadt@

Revision 1.26 / (download) - annotate - [select for diffs], Wed May 29 09:45:39 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.25: +6 -4 lines
Diff to previous 1.25 (colored)

more snprintf

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 14 16:44:24 2002 UTC (22 years, 2 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.24: +59 -59 lines
Diff to previous 1.24 (colored)

kill more registers.

millert@ ok

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:35 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:01 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.22: +12 -12 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Wed Dec 5 10:11:23 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

more free KNF from maja, though this was hard to do

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 24 20:13:00 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Include err.h for warnx.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 23 17:43:21 2001 UTC (23 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +15 -16 lines
Diff to previous 1.19 (colored)

KNF stuff which angelos is too much of a baby to get right

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 23 06:02:59 2001 UTC (23 years, 4 months ago) by angelos
Branch: MAIN
Changes since 1.18: +52 -1 lines
Diff to previous 1.18 (colored)

Allow entries like "foo at bar enable", which override previous
entries like "foo bar bar disable"; useful for kernel config lamers
like myself who don't like to use 'config -e' or 'bsd -c' to manually
enable USB. Tested with uhci/ohci on i386.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Tue Nov 21 04:23:22 2000 UTC (23 years, 6 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull in patch from current:
Fix (angelos):
Fix bug introduced with overriding of pseudo-devices.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 15 01:47:14 2000 UTC (23 years, 6 months ago) by angelos
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Fix bug introduced with overriding of pseudo-devices.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 28 21:51:38 2000 UTC (23 years, 7 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

Close PR 1419, use modified patch (original from peter.galbavy@knowledge.com)

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 3 19:27:23 2000 UTC (24 years, 5 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.15: +4 -7 lines
Diff to previous 1.15 (colored)

Use warnx() instead of the error() kludge

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 3 19:20:30 2000 UTC (24 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Allow for duplicate maxusers definitions (so one can include a GENERIC
and use a different value). config will print a warning that there has
been a duplicate entry, and will use the second definition. More
generally, config will end up using the last maxusers definition in
the config file.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 18 17:15:09 1999 UTC (25 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.13: +6 -4 lines
Diff to previous 1.13 (colored)

Make -W -Wall happier.
Classical modern C type-checking, signed vs. unsigned.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 19 01:11:24 1999 UTC (25 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Retry sane probe ordering, i.e. ordered like the attachments
found in the various config files.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 13 08:21:56 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

from mycroft;
Allow options and makeoptions to take an empty string as a value.
Add `object' and `library' keywords to pull in precompiled .o and .a files.
Syntax is like the `file' keyword; e.g.:
object  arch/i386/i386/mumble.o         [mumble] [needs-flag]
Largely from Michael Richardson in PR 3833, with some changes by me.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 7 10:36:59 1997 UTC (26 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

jason is tired.  this is not needed. our locator table stuff uses less
memory too.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 7 10:22:27 1997 UTC (26 years, 10 months ago) by downsj
Branch: MAIN
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

cf_locnames support, from NetBSD (jtk, according to the RCSids).

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Jan 18 13:19:24 1997 UTC (27 years, 4 months ago) by niklas
Branch: NIKLAS
Changes since 1.7: +7 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with the trunk

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 18 02:24:19 1997 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.8: +7 -5 lines
Diff to previous 1.8 (colored)

Sync. with current NetBSD--keeping local changes.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 12 00:24:44 1996 UTC (27 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.7: +0 -1 lines
Diff to previous 1.7 (colored)

Revert sane attach ordering for the time being

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 11 22:36:15 1996 UTC (27 years, 5 months ago) by niklas
Branch: MAIN
Branch point for: NIKLAS
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Remove dups from cfdata via marking algorithm

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 23 22:38:00 1996 UTC (27 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.5: +5 -13 lines
Diff to previous 1.5 (colored)

Merge of NetBSD 961020.  Includes flexible build/source dir specs

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 29 03:33:06 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

fix some warnings and errors

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 7 22:02:21 1996 UTC (27 years, 11 months ago) by maja
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Add support for allowing disabled devices in a config file. e.g.
ep0 at isa? disable port ? irq ?
disable must be placed before any attribute for the device. /moj

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 21 23:40:25 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +252 -74 lines
Diff to previous 1.2 (colored)

sync to netbsd 960418

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 25 15:55:13 1996 UTC (28 years, 2 months ago) by niklas
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

From NetBSD: merge of 960317

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:34 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:48:34 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.