Commit Graph

914 Commits

Author SHA1 Message Date
jdolecek
e2ba6dc38f back-off 'use bounded string op' commit of 2003/08/13 - no real problem
has been fixed by it, but it introduced at least one bug

don't do any more of such gratuitous changes here, please
2005-07-03 15:18:11 +00:00
jdolecek
e6b9888ace resolve conflicts 2005-07-02 20:10:34 +00:00
jdolecek
5a4553e726 this should not have been committed, sorry 2005-07-02 18:58:15 +00:00
jdolecek
e5687f9fff Update to nawk-20050424. Fixes several overflow and RE bugs, as well as
preserving $0 in END block.
2005-07-02 18:56:41 +00:00
peter
f9967d10c9 Resolve conflicts (pf from OpenBSD 3.7, userland part). 2005-07-01 12:43:50 +00:00
mellon
3323a8aa52 Add a -o flag that causes the client to exit once it's bound a lease. 2005-07-01 01:19:02 +00:00
peter
bf1e9b32e2 Remove the distribution files of spamd. Future imports of pf will not
include spamd anymore.
2005-06-29 09:55:22 +00:00
jmc
7a0ba84f10 gcc 2.96 requires all declarations before variable usage so the last set of
changes to fix -Wunitialized broke on vax. Moved definitions of
option and op before the initializations.
2005-06-16 22:04:24 +00:00
darrenr
4e1ba8b46a bin/29508 - fix "ipf -T" - kernel wasn't setting ipft_cookie and userland
was expecting it to be set, thus ignored it.
bin/29509 - because ipft_cookie wasn't reset to 0 before making the ioctl
call for each variable, only the first name to find was used, each successive
call just used the cookie.
CVn: ----------------------------------------------------------------------
2005-06-11 12:31:40 +00:00
he
ab70040846 Add initialization of local variable to appease -Wuninitialized.
Marked with XXXGCC for arm and sparc64 compilers (found while
building for those).

Reviewed by lukem.
2005-06-10 23:48:24 +00:00
chs
7bbdd188e1 appease gcc -Wuninitialized on hp700. 2005-06-05 19:08:28 +00:00
lukem
f7e488f953 Don't attempt to use an uninitialized variable when there's no interfaces.
Detected with gcc -Wuninitialized.
2005-06-03 16:13:33 +00:00
lukem
7f4d732106 appease gcc -Wuninitialized 2005-06-02 11:10:00 +00:00
lukem
51d9d5224b omapi_io_destroy(): ensure last is initialized before use, similar to the
method used in omapi_unregister_io_object().
Detected with gcc -Wuninitialized
2005-06-02 11:09:02 +00:00
lukem
4952bc0ec3 appease gcc -Wuninitialized 2005-06-02 09:58:55 +00:00
lukem
311c22130d appease gcc -Wuninitialized 2005-06-02 09:47:37 +00:00
lukem
5318a10f1e Remove uninitialized and unused (except for debug printf) 'dlen'.
Detected with gcc -Wuninitialized.
2005-06-02 09:09:43 +00:00
lukem
f1ce52a40f Don't attempt to close a random file descriptor.
Detected with gcc -Wuninitialized.
2005-06-02 05:45:59 +00:00
lukem
8fe660271c Ensure name_str is initialized because we try to free it later.
Detected with gcc -Wuninitialized.
2005-06-02 05:33:01 +00:00
lukem
edd6967461 Sanity checking. Detected with gcc -Wuninitialized 2005-06-02 05:30:12 +00:00
lukem
f391b937b7 appease gcc -Wuninitialized 2005-06-01 12:14:53 +00:00
lukem
1098edc01a Ensure widestItem is initialized in setCDKSwindowContents() before use.
Detected by gcc -Wuninitialized.
2005-06-01 11:51:11 +00:00
riz
254aabe783 There was a change from usecs to nsecs between ntpd 4.1.1 and 4.2.0 -
take this into account correctly.  From ntp-current via Brian Buhrow
in PR#29685.  Approved by christos.
2005-05-21 01:47:09 +00:00
christos
e3b50bebf6 backout previous. ISDIGIT is used all over the place without a cast. 2005-05-18 00:54:14 +00:00
christos
d0eca17dfa Cast isdigit() argument to unsigned char. 2005-05-18 00:15:52 +00:00
kleink
57830ae5af Fix printf format/argument mismatch.
XXX The surrounding conditional is bogus.
2005-04-24 13:34:18 +00:00
christos
9761c1c701 Don't take into account zero length mountpoints. 2005-04-23 22:18:17 +00:00
christos
38860b269e Fix compilation issues. 2005-04-23 18:51:18 +00:00
christos
8afc62ec7e cleanup junk and add our conversion script. 2005-04-23 18:41:04 +00:00
christos
70a4c9e35e Resolve conflicts. 2005-04-23 18:38:17 +00:00
christos
b689db021c from ftp.am-utils.org 2005-04-23 18:07:47 +00:00
reed
a74aa39245 Document that ipmon reopens its log file(s) and rereads its configuration
file when it receives a SIGHUP signal.

Okayed by martti.

This was suggested by Richard Braun on netbsd-help list.
2005-04-20 19:53:04 +00:00
christos
05c61e7894 PR/21147: Christian Biere: ctype function misuse. 2005-04-17 17:42:48 +00:00
christos
b2a3a81e1c PR/21152: Christian Biere: ctype function misuse. 2005-04-17 17:37:11 +00:00
christos
4be93fc1ce PR/21155: Christian Biere: ctype function misuse. 2005-04-17 17:34:43 +00:00
jwise
c48b1f0323 If path to /etc/spamd.conf is passed in on cpp command line, don't override it. 2005-04-12 14:35:36 +00:00
jwise
20e85ad185 Instead of hardcoding /var/chroot/spamd in two places, use a macro
SPAMD_CHROOT, which is passed in by src/usr.sbin/pf/spamd/Makefile.
2005-04-12 14:22:43 +00:00
christos
aba19ee8af Double the stack space limit. We are running out with ntp.pool.org. 2005-04-05 20:56:58 +00:00
martti
58b8abcbf8 Upgraded IPFilter to 4.1.8 2005-04-03 15:05:30 +00:00
martti
c775aec128 Import IPFilter 4.1.8 2005-04-03 15:01:04 +00:00
christos
8e3cd7a471 PR/29682: sigsegv: /usr/bin/file does not seem to understand some fields
of an ELF binary. Someone ate my !
2005-03-25 18:07:09 +00:00
he
a80853ef7a Make nawk retain the text from the last line of the input as well as
the derived variables (fields & NF) under the END pattern.  This
implicitly complies with the SUSv2 specification at
  http://www.opengroup.org/onlinepubs/007908799/xcu/awk.html
which explicitly says that NF and NR must retain their values from
the last record seen.  Fixes PR#29659.
2005-03-23 17:24:41 +00:00
christos
6a3704f4d9 Never fail open: auth chain *must* have at least one required or binding
element.
2005-03-16 15:28:55 +00:00
peter
94921da3bb Changes to build on NetBSD:
* #ifdef out some things we don't have or do differently.
* Write struct "pcap_sf_pkthdr" instead of "pcap_pkthdr".
  Fixes an LP64 specific problem with reading the pflog with tcpdump(8).
  (OpenBSD fixed this by changing the structs to always use 32-bit fields)

Reviewed by yamt@.
2005-03-15 16:26:49 +00:00
peter
0a9aa9779a Install pf(4) examples. Reviewed by yamt@.
Thanks to hubertf@ for the reminder.
2005-03-15 16:05:03 +00:00
he
e3e9ad241e Get rid of a compiler warning saying "dereferencing type-punned pointer
will break strict-aliasing rules" by casting the argument to rn_inithead()
to (void*) instead of (void**).
2005-03-13 10:44:40 +00:00
wiz
b67bc0fbc2 Re-remove superfluous .Pp. 2005-03-04 12:32:31 +00:00
christos
e0ebf94412 Regen. 2005-03-03 02:09:04 +00:00
christos
0711b6123a Deal with the NUSER addition. 2005-03-03 02:07:07 +00:00
christos
9ec5ce8afc Add a variable to pass in the nested user. 2005-03-03 02:06:42 +00:00