Commit Graph

3234 Commits

Author SHA1 Message Date
Max Laier
b83a49e9b9 Fix some style(9) related issues after discussion with/education from bde:
- Add <sys/param.h> and <limits.h> where required (do not depend on other
   headers pulling it in).
 - __dead -> __dead2
 - #if defined() -> #ifdef
 - Remove ugly PRIu64 macros and use %llu w/ (unsigned long long) cast.

All changes looped back to OpenBSD (where applicable) for easier sync in the
future.

Requested by:	bde
Approved by:	bms(mentor)
2004-03-15 13:41:17 +00:00
Dag-Erling Smørgrav
0f3f4fca75 This commit was generated by cvs2svn to compensate for changes in r126854,
which included commits to RCS files with non-trunk default branches.
2004-03-11 18:04:03 +00:00
Dag-Erling Smørgrav
a1dabad0cd MFP4 (#47094): avoid bogus NULL pointer warnings when building with -DDEBUG. 2004-03-11 18:04:03 +00:00
Max Laier
ffe9fd66ee Fix two instances of improper NULL/0 use idetified by the changes lately.
Submitted by:	Patrick Marie
Approved by:	bms(mentor)
2004-03-08 15:19:55 +00:00
Max Laier
23ecd01b79 Add local define of HTONL() as it was decided to protect this by _KERNEL
in <net/pfvar.h>
2004-02-28 18:41:43 +00:00
Max Laier
6a4fd102a4 This commit was generated by cvs2svn to compensate for changes in r126357,
which included commits to RCS files with non-trunk default branches.
2004-02-28 18:35:40 +00:00
Max Laier
3178c893b8 Missed those two during the original import. Taken from OpenBSD's util.h
Approved by:	bms(mentor)
2004-02-28 18:35:40 +00:00
Max Laier
8c8618f5e8 Apply diff from the port.
Rather small diff for the userland (in contrast to the kernel):
 - Some header file location/differences
 - Clean compilation on 64bit arch (identified by bento a long time ago)
 - ALTQ not (yet) available. Leave a switch for patchsets and future ...
 - most files can be used from the vendor branch

Approved by:	bms(in general)
2004-02-28 17:32:53 +00:00
Max Laier
13b9f61009 Vendor import of OpenBSD's pf userland as of OpenBSD 3.4
Approved by: bms(mentor), core(in general)
2004-02-28 16:52:45 +00:00
Max Laier
bfc3fb6cc2 This commit was generated by cvs2svn to compensate for changes in r126353,
which included commits to RCS files with non-trunk default branches.
2004-02-28 16:52:45 +00:00
Tim J. Robbins
8861f1dd53 Merge from NetBSD rev. 1.3 (drochner): Use getifaddrs(3) instead of
SIOCGIFCONF.
2004-02-26 08:49:19 +00:00
Andrey A. Chernov
b3ab6e504b Back out getopt* adding here per maintainer request 2004-02-25 03:10:14 +00:00
Andrey A. Chernov
f63503fcbb Add */lib/getopt* I miss somehow initially. 2004-02-18 18:53:13 +00:00
Andrey A. Chernov
738f8e7150 Remove unneeded files 2004-02-17 03:43:12 +00:00
Andrey A. Chernov
518818386c Remove unneeded files 2004-02-17 03:22:35 +00:00
Andrey A. Chernov
43e192cb49 Remove unneded files 2004-02-17 02:09:53 +00:00
Andrey A. Chernov
5df7f7ae11 Remove unneded files 2004-02-17 01:51:07 +00:00
Andrey A. Chernov
9b727a71d1 Remove unneded files 2004-02-17 01:41:49 +00:00
Andrey A. Chernov
56bab387f1 Remove files no longer needed 2004-02-17 01:20:41 +00:00
Andrey A. Chernov
1f444ae1bb Remove files no longer needed 2004-02-17 01:10:29 +00:00
Andrey A. Chernov
e7c820ec07 Remove files no longer needed 2004-02-17 01:04:18 +00:00
Andrey A. Chernov
0bd7aa5188 getopt_long() returned 0 (i.e. long options) case not handled, add it
(symptom: "bc --quiet" not works while "bc -q" works)
2004-02-17 00:53:50 +00:00
Andrey A. Chernov
af210d1ee6 Remove files no longer needed
Switch back to regex.h
2004-02-16 22:56:36 +00:00
Gregory Neil Shapiro
78ff00619a Update for 8.12.11 import
MFC after:	7 days
2004-02-14 21:59:30 +00:00
Gregory Neil Shapiro
1ae5b8d45c Fix sendmail 8.12.11 import conflicts 2004-02-14 21:58:08 +00:00
Gregory Neil Shapiro
5d747405d7 This commit was generated by cvs2svn to compensate for changes in r125820,
which included commits to RCS files with non-trunk default branches.
2004-02-14 21:53:31 +00:00
Gregory Neil Shapiro
323f6dcb88 Import sendmail 8.12.11 2004-02-14 21:53:31 +00:00
Andrey A. Chernov
d44022d1a2 Mention which patches imported 2004-02-13 01:16:12 +00:00
Andrey A. Chernov
e522ca7145 This commit was generated by cvs2svn to compensate for changes in r125759,
which included commits to RCS files with non-trunk default branches.
2004-02-13 01:08:19 +00:00
Andrey A. Chernov
8c5ab30807 Official patches 001-005 2004-02-13 01:08:19 +00:00
Andrey A. Chernov
8d9b29bec1 Official patches 001-005
PR:             62555
2004-02-10 20:17:58 +00:00
Dag-Erling Smørgrav
e10ae02217 Vendor import of OpenPAM Eelgrass. 2004-02-10 10:11:23 +00:00
Dag-Erling Smørgrav
87dbb1bf24 This commit was generated by cvs2svn to compensate for changes in r125647,
which included commits to RCS files with non-trunk default branches.
2004-02-10 10:11:23 +00:00
Ruslan Ermilov
5bb0c94f9d Update for the 2004/02/07 import. 2004-02-08 21:39:18 +00:00
Ruslan Ermilov
43fb8a0b80 This commit was generated by cvs2svn to compensate for changes in r125601,
which included commits to RCS files with non-trunk default branches.
2004-02-08 21:32:21 +00:00
Ruslan Ermilov
62ebc626e6 Vendor import of bwk's 7-Feb-2004 release. 2004-02-08 21:32:21 +00:00
Ruslan Ermilov
63cf1d7ac8 Update for the 2003/07/31 import. 2004-02-07 16:46:05 +00:00
Ruslan Ermilov
2e454f23fa Fixes from 31-Jul-2003; make it 8-bit clean.
Forgotten by:	ru (for far too long)
2004-02-05 23:16:31 +00:00
Ruslan Ermilov
175f0360d3 This commit was generated by cvs2svn to compensate for changes in r125505,
which included commits to RCS files with non-trunk default branches.
2004-02-05 23:16:31 +00:00
Daniel Eischen
f24e6a4f39 Make gcc -pthread link to -lpthread instead of -lc_r. 2004-01-30 12:14:19 +00:00
Hartmut Brandt
5ae50c8085 Add an exclusion list that lists all the files from the original
distribution that we don't need.
2004-01-28 16:14:49 +00:00
Tim J. Robbins
8299402aca Merge from NetBSD rev. 1.2 (drochner): Do the address calculations inside
the data delivered by SIOCGIFCONF correctly (this isn't a plain array!),
and sort the checks a bit to avoid duplicates in the interface list.
2004-01-28 05:55:13 +00:00
Hartmut Brandt
8615b04cff Update the upgrade instructions to account for the fact, that
there is no need anymore to re-create files. Also give a hint to
look for changes needed to the Makefiles.
2004-01-26 10:28:31 +00:00
Martin Blapp
a74e1146f3 Dhclient dumps core on suspend/resume cycles. If the client isn't active
then we need to go to the reboot state or in state_bound it will core on
the de-reference of client -> active -> options since client -> active = NULL.

While we are here, fix the indentation.

Submitted by:	Doug Ambrisko <ambrisko@ambrisko.com>
2004-01-25 11:30:50 +00:00
Hartmut Brandt
2172a5cbc5 This commit was generated by cvs2svn to compensate for changes in r124861,
which included commits to RCS files with non-trunk default branches.
2004-01-23 10:44:47 +00:00
Hartmut Brandt
70af00a124 Virgin import of bsnmpd 1.5a 2004-01-23 10:44:47 +00:00
Colin Percival
1939168416 Fix traceroute where [number of hops] * [number of packets per hop] > 255.
PR:		misc/61336
Submitted by:	Mike Hibler <mike@cs.utah.edu>
Approved by:	rwatson (mentor)
2004-01-23 06:55:15 +00:00
Jacques Vidrine
462959355e Merge security fix from vendor branch (revision 1.1.1.14). 2004-01-21 16:29:16 +00:00
Jacques Vidrine
4db0ba50f1 This commit was generated by cvs2svn to compensate for changes in r124793,
which included commits to RCS files with non-trunk default branches.
2004-01-21 16:27:56 +00:00
Jacques Vidrine
c8ae5f0562 Incorporate two security fixes from later versions of CVS.
From the NEWS file of cvs 1.11.11:

  * pserver can no longer be configured to run as root via the
    $CVSROOT/CVSROOT/passwd file, so if your passwd file is
    compromised, it no longer leads directly to a root hack.  Attempts
    to root will also be logged via the syslog.

  * Malformed module requests could cause the CVS server to attempt
    to create directories and possibly files at the root of the
    filesystem holding the CVS repository.  Filesystem permissions
    usually prevent the creation of these misplaced directories, but
    nevertheless, the CVS server now rejects the malformed requests.

Obtained from:	ccvs.cvshome.org
2004-01-21 16:27:56 +00:00