Commit Graph

286 Commits

Author SHA1 Message Date
martin 6db2d4b116 Back out previous change - turns out to be a sparc64 toolchain problem
(surprise!)
2002-01-03 11:22:07 +00:00
martin 357b95fa25 Replace a structure copy (dereferencing a pointer received from an ioctl)
by a memcpy, similar to the patch suggested by jarle@uninett.no in PR 15112.
I'm not sure if the ioctl code should be fixed to deliver this pointer
properly aligned, but this change should not cause any problem and it is
safer this way.
2002-01-02 20:47:37 +00:00
wiz 546fc71d49 Pull over fixes from rev. 1.5-1.7 of basesrc/usr.sbin/ntp/ntpd/ntpd.8. 2001-12-26 15:14:59 +00:00
wiz b444acb911 Sort SEE ALSO sections, and fix xrefs (commenting out some which
point to non-existing man pages). Fixes misc/14970.
2001-12-18 09:31:47 +00:00
wiz 78e040dc00 Check for '-' as first character only after we checked all recognized
options. Problem report and fix by Tero Kivinen in bin/14935.
2001-12-14 15:20:17 +00:00
wiz a3de79a4f7 Fn argument doesn't need (), add space between macro name and argument. 2001-12-07 19:18:14 +00:00
wiz 6f171e404b Misc formatting fixes. 2001-12-07 19:14:08 +00:00
wiz b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz 1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
christos a9add05994 s/%%m/%m/ 2001-11-12 03:06:44 +00:00
manu 22376d8b65 Fixed a small bug in -u option parsing (it only worked if you supplied a
user *and* a group)
2001-11-08 20:06:22 +00:00
itojun 50c48d717f SIGALRM code around gethostbyaddr() can leak memory.
sync with tcpdump.org, found by openbsd guys
2001-11-05 02:12:47 +00:00
itojun b912944434 copyright clarification, from tcpdump.org 2001-10-22 06:59:26 +00:00
itojun eed0c2daad copyright clarification, from tcpdump.org 2001-10-22 04:29:06 +00:00
itojun 6180d3187e copyright clarification. sync with tcpdump.org 2001-10-22 04:24:24 +00:00
wiz b8625f9b65 extensions-path-name -> extensions-path (misc/14147). 2001-10-04 12:26:25 +00:00
kleink d170b4b2fc Sync with tcpdump.org print-vrrp.c revs. 1.4-1.5:
Clean up internals somewhat (tok2str etc.), improve output, avoid
control characters in auth-simple output.
2001-09-27 12:33:26 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
itojun 1a9410a9f1 new copyright boilerplates. from tcpdump.org repository 2001-09-19 03:37:58 +00:00
wiz 456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
manu 53e4611607 Added code to run ntpd as a non root user and in a chroot jail. This should
be used with the new clockctl device which enable clock setting by non root
users on behalf of the /dev/clockctl write rights.
This code have not been commited yet to the main ntp tree.
2001-09-16 07:51:54 +00:00
thorpej 7d63653e94 s/int/size_t/ in one obvious place. 2001-09-16 00:01:15 +00:00
wiz e3f8252b49 Xref ipf(8) instead of non-existing ipf(1). 2001-09-09 17:22:59 +00:00
wiz 1288f79bbd Xref curses(3) instead of ncurses(3). 2001-09-09 17:22:39 +00:00
wiz 23fec241fa Change Xref to ipfilter(4) from [not installed] ipfilter(5). 2001-09-03 01:19:05 +00:00
eeh c994f996ff Fix LP64 bug. 2001-08-24 15:28:47 +00:00
mrg 0a8258e16a back out previous; it is handled by etc/rc.d/named. 2001-08-24 13:25:57 +00:00
mrg d7003aa4a3 reapply (relevant parts of) lost patch:
revision 1.3
date: 1999/02/22 02:37:27;  author: mrg;  state: Exp;  lines: +19 -1
if we are chrooting, write a symlink for the pid file so that ndc, etc,
continue to work as normal.  this allows named to run in a chroot jail
with zero loss of functionality.
2001-08-24 08:37:33 +00:00
gmcgarry 7e63b1b939 Remove references to non-existent traffic(1C) and nit(4P) pages. 2001-08-22 00:06:50 +00:00
wiz c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
drochner 6c1ac34eb0 remove .cvsignore files which got imported inadvertently, as pointet
out by Ben Harris
2001-08-07 08:31:16 +00:00
wiz 2b4b375b7e Remove unneeded files. okay'd by drochner. 2001-08-03 15:35:09 +00:00
wiz a27c467882 Typo fix. 2001-08-03 13:50:07 +00:00
wiz 0624fa6b95 Replace remaining occurances of DBDIR and RUNDIR with corresponding
NetBSD paths.
2001-08-03 13:47:17 +00:00
drochner f71d61482d pull in a patch from usr.sbin/dhcp: const-ification 2001-08-03 13:39:05 +00:00
drochner fce24bb552 pull in manpage adaptions / corrections from usr.sbin/dhcp 2001-08-03 13:34:08 +00:00
drochner e0c9112eff pull in code patches from usr.sbin/dhcp 2001-08-03 13:07:03 +00:00
drochner bd5592e542 import of ISC dhcp-3.0rc10 2001-08-03 11:35:28 +00:00
mrg efcf0f3154 "Bah, remove the declaration!!" --thorpej
delete sys_nerr declarations...
2001-07-14 06:01:22 +00:00
mrg e31dfc4d0e if we're going to declare it, at least make sure sys_nerr is `const'. 2001-07-14 04:49:57 +00:00
itojun be5fa8128f repair signed/unsiged mistake in length computation.
(could raise security issue - should contact fenner@freebsd on details).
sync with tcpdump.org
2001-07-09 09:27:18 +00:00
itojun 0025e818e5 do not not deref NULL pointer. PR13407. sync with tcpdump.org 2001-07-08 08:17:57 +00:00
itojun e676bfdeb6 recover from endian mistake. sync with tcpdump.org 2001-06-27 21:08:41 +00:00
simonb 2de3233da6 Fixes to compile on alpha. Reported by Caffeinate The World on
current-users.
2001-06-27 02:46:25 +00:00
itojun 8e68d78e9d ex script to change rcsid portion 2001-06-25 20:09:58 +00:00
itojun 6a5ada5fef __RCSID() 2001-06-25 19:59:56 +00:00
itojun 454a080909 typo 2001-06-25 19:36:47 +00:00
itojun 08019da86a disable SMB decoder, there seem to be a lot of memory boundary issues 2001-06-25 19:36:38 +00:00
itojun 80e83a75d5 import script 2001-06-25 19:36:03 +00:00
itojun 9fddaf49d0 t is in chapter 8, not 1. remove non-BSD texts. 2001-06-25 19:35:01 +00:00
itojun 56a052e678 tcpdump, from tcpdump repository as or 2001/6/26 2001-06-25 19:26:28 +00:00
mrg 2a32c938de make this program actually work. 2001-06-07 14:15:39 +00:00
wiz aa7e878621 Remove trailing whitespace in Dt, and some xref fixes. 2001-06-05 12:49:36 +00:00
wiz 4abaa1bb50 No argument for .Os. 2001-06-05 11:11:07 +00:00
wiz 48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
simonb 204134d4a3 Add prototypes so this builds with the standard NetBSD warnings enabled. 2001-06-03 13:39:38 +00:00
simonb 2b666e6b9a Import bzip2 1.0.1 2001-06-03 13:03:00 +00:00
simonb 239d7a60d4 Yet another import helper shell script, this one for bzip2. 2001-06-03 13:02:16 +00:00
itojun 2d9b34e41a no import needed for crypto tree 2001-05-27 04:45:20 +00:00
itojun 4cd3525823 upgrade to 8.2.4. 2001-05-17 22:59:37 +00:00
itojun ddb7465740 BIND 8.2.4 2001-05-17 22:41:07 +00:00
itojun 942f3643b6 actually split crypto source. 2001-05-17 20:52:58 +00:00
itojun 900d6f1790 BIND 8.2.4 2001-05-17 20:45:58 +00:00
veego fc85452e83 Resolve conflicts from the import of am-utils 6.0.6. 2001-05-13 18:06:57 +00:00
veego de9d6f0e6a 2nd import of am-utils 6.0.6.
This time after running the amd2netbsd script.
2001-05-13 17:49:57 +00:00
veego a8af3357f8 Import am-utils 6.0.6 2001-05-13 17:32:48 +00:00
wiz 71c1bdcfa5 Prefer long names for months; correct comment in resulting man page. 2001-04-27 00:02:23 +00:00
thorpej 99052484f4 Fix LP64 printf format problems. 2001-04-21 21:57:16 +00:00
drochner b7fc5a75b3 fix typo in instructions which had serious consequences as it seems
(the "generic" serial driver was not built)
2001-04-19 17:46:38 +00:00
mike 2e4a6df0d4 Change perl location from /usr/local/bin/perl to /usr/pkg/bin/perl. 2001-04-11 19:08:05 +00:00
wiz bc80fa8140 Fix typo. 2001-04-11 09:41:37 +00:00
wiz c73fe2d6a1 protocols(5), not (4). 2001-04-09 12:39:02 +00:00
wiz 8879e37ac5 reference uname(3) instead of (2) 2001-04-09 12:11:58 +00:00
itojun 69045197e1 previous buffer overrun fix was one-byte too restrictive. from jinmei@kame 2001-04-08 18:33:43 +00:00
tron bb87fe99b0 Correct section numbers: we don't have "3X", use "3" instead. 2001-04-08 14:13:38 +00:00
tron f535470624 Fix incorrect manual page section in ".TH" macro call. 2001-04-08 13:48:33 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
itojun c6abd22023 avoid tp from going smaller address than buf. 2001-04-05 13:52:59 +00:00
simonb 7ae902c2b2 Fix a DoS attach (and possibly, but not confirmed, a root exploit) in
ntpd.

Fix from Poul-Henning Kamp and Dima Ruban from the FreeBSD tree, with
changes from Jason Thorpe to not overrun the end of the static buffer
and with syslog()ing the bad packets disabled so as not to DoS syslog.
2001-04-05 02:08:01 +00:00
mike fb2dc295a6 Resolve conflicts. 2001-03-26 06:11:46 +00:00
mike 204c25d632 Import IP Filter 3.4.16 2001-03-26 03:52:19 +00:00
christos 713e855d22 we are NetBSD -- we don't need stinking ncurses. 2001-03-13 16:30:39 +00:00
itojun a317219c0b copy "Version" file for import. 2001-02-11 07:04:20 +00:00
itojun 47b90546f9 BIND 8.2.3 2001-02-11 06:41:22 +00:00
jdolecek a88d50e63a call setlocale(3) on startup 2001-02-09 00:56:51 +00:00
jdolecek 7193677c62 cast the parameter to toupper()/tolower() to unsigned char, so that
this works with *p > 127
2001-02-09 00:56:18 +00:00
jdolecek 7f0ff9b2ee add GNU awk compatible functions systime(), strftime() and gensub()
XXX gensub() doesn't handle backreferences (\0 .... \9) yet
2001-02-08 20:42:39 +00:00
itojun 37ea810d37 BIND823 bug ID 1150: forwarders: it was possible to use freed memory. 2001-02-06 10:02:04 +00:00
jdolecek 5d05ca039b ytab.[ch] --> awkgram.[ch] 2001-02-05 19:07:57 +00:00
jdolecek 8bd0c1d510 use awkgram.h, generate constified printname[] and tokname() 2001-02-05 19:07:15 +00:00
jdolecek 1286145cd7 change to build/use awkgram.[ch] instead of ytab.[ch] 2001-02-05 19:06:02 +00:00
jdolecek 9f2789de82 regen with correct token numbers (since only in comment, this is cosmetic only) 2001-02-05 18:43:34 +00:00
jdolecek 9a78fc84e2 Import nawk 2000/11/15.
These files are not used for build, but are usable when one want to regenerate
proctab.c
2001-02-05 13:31:17 +00:00
hubertf 28adebea18 Add the -u flag to the usage message.
Foudn while fixing PR 12078 by Nigel Reed <nigel@nelgin.nu>
2001-02-02 03:35:24 +00:00
itojun b4eb727352 separately populate lib/{cylink,dnssafe} into basesrc/crypto/dist/bind. 2001-01-27 08:09:42 +00:00
itojun 93ea2d0c7a re-add md5 from BIND8 kit. lib/dnssafe does not compile without it. 2001-01-27 07:58:25 +00:00
itojun 1a7fc7b687 upgrade to BIND 8.2.3. the upgrade is critical (security fixes).
please test.
2001-01-27 07:21:56 +00:00
itojun 10a27e85b1 BIND 8.2.3 2001-01-27 06:15:38 +00:00
simonb 85213a5c3e Clean up wording slightly in previous. 2001-01-25 11:59:27 +00:00
itojun 8e11103138 document about ipf interaction with ipsec tunnel, and tunnelling devices.
(the behavior is netbsd specific)
2001-01-25 11:16:16 +00:00