Commit Graph

98476 Commits

Author SHA1 Message Date
itojun 7864ca478f deprecate IFF_LINK2, !IFF_LINK0 is enough.
no need to manipulate IFF_LINK1 with IFF_LINK0.
remove reference to greconfig(8).
2002-06-09 19:17:43 +00:00
itojun 4c4b38eb0b no need for if_addrlen be 4. From: Martin Husemann <martin@duskware.de> 2002-06-09 17:59:45 +00:00
itojun 0dcc61701e now "ifconfig tunnel" is usable for gre too, change wording slightly 2002-06-09 17:47:33 +00:00
itojun c284599930 make sure to bzero sockaddr_in 2002-06-09 17:32:54 +00:00
itojun 9c95390f4a style 2002-06-09 17:22:41 +00:00
itojun a8b0c39863 don't forget splx 2002-06-09 17:18:32 +00:00
itojun 04aa2a1c65 avoid code duplicate (route lookup) 2002-06-09 17:17:15 +00:00
itojun 1a5eede494 style 2002-06-09 17:13:31 +00:00
bouyer d6d2a9ea4a Make this file explicitely public domain. 2002-06-09 17:10:44 +00:00
itojun 6f21655564 support SIOCSLIFPHYADDR, SIOCDIFPHYADDR and SIOCGLIFPHYADDR, so that
we can manipulate tunnel endpoint by ifconfig(8).
2002-06-09 17:10:09 +00:00
taca 3fff4029d4 Add support for VIA Technologies's VT8231 IDE Controller to ATA/100. 2002-06-09 16:52:26 +00:00
taca 800e08ba3b Regen. 2002-06-09 16:51:32 +00:00
taca 5a33c71fcc Add VIA Technologies's VT8231 IDE Controller. 2002-06-09 16:50:51 +00:00
chs ea4c4a989f allow read-only mounts even if we can't read the last fragment of the fs.
this enables one to recover data from a failing disk (where the read failure
is a hardware problem) while avoiding corrupting the fs further (in the case
where the read failure is due to a misconfiguration).
2002-06-09 16:46:49 +00:00
itojun f192b66b94 whitespace 2002-06-09 16:33:36 +00:00
itojun 7c75b5ec2f sync with 0.9.6d. shlib minor for libssl and libcrypto
is cranked for additional functions.
2002-06-09 16:12:52 +00:00
itojun 7720435b28 openssl 0.9.6d 2002-06-09 15:21:32 +00:00
tron 98568ec314 Add missing calls to bus_space_unmap(9) when the hardware RNG is not
detected, cannot be activated or doesn't work.
2002-06-09 15:02:25 +00:00
itojun b05ff066a7 whitespace cleanup 2002-06-09 14:43:10 +00:00
yamt 56268cdf57 constify. 2002-06-09 14:14:49 +00:00
yamt 51111fe65d - make last arg of findmatchingname void*.
- move some duplicated functions into lib/.
2002-06-09 13:23:44 +00:00
martin a990d7ac62 Oops, typos in the new example.
Also note that the new example is a good example for LINK1 useage, so add
that as well.
2002-06-09 12:19:39 +00:00
isaki df160ef3fc Divided 406 bytes disklabel area into 'nop' and 404 bytes area. 2002-06-09 12:17:48 +00:00
yamt cc8d347c9a - free memory allocated by findbestmatchingname.
- use static buffer instead of "malloc and don't free"
  for dirname_of.
- fix indent.
2002-06-09 11:56:59 +00:00
bjh21 9f3fed2b60 Synchronise MONITOR and MODES definitions with GENERIC. This allows my NC to
boot in a screen mode that looks sensible on its LCD monitor.
2002-06-09 11:53:23 +00:00
bjh21 dcab6d6fbe Add rgb.db, since Xarm32VIDC seems to need it. 2002-06-09 11:51:55 +00:00
bouyer d0ddca39c8 ld.elf_so also needs to be executable. 2002-06-09 11:25:09 +00:00
martin 79e1630f17 Improve a bit, add another example, remove a bogus BUGS entry, add a note
for MTU adjustment.
2002-06-09 10:44:57 +00:00
yamt 830edd8ed3 rewrite strip_txz:
- don't match against filenames like "a.tgz.a"
- more buffer overrun checks.
2002-06-09 10:40:47 +00:00
martin aed31ed511 Change default MTU to 1476 (same value that Cisco uses).
Do not limit the MTU when set by the admin with ifconfig, per discussion
on tech-net.

This fixes PR 16761 from Jasper Wallace.
2002-06-09 09:45:39 +00:00
martin e2f0c79cdc Avoid a NULL pointer access if passed bogus parameters.
Unify exit codes to EXIST_SUCCESS/EXIT_FAILURE.
2002-06-09 09:05:51 +00:00
itojun cc0c94e480 format fix in number mode. PR 16911 2002-06-09 07:14:32 +00:00
matt 0ec15f80cc Allow this to compile under gcc-current. No multiline strings for asm. 2002-06-09 06:18:34 +00:00
itojun 39af55e317 enforce IPv4 link MTU for FDDI and ARCNET even in RTF_GATEWAY case.
PR 17151.
2002-06-09 05:09:26 +00:00
lukem 7940b7815e We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;
add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
2002-06-09 04:28:58 +00:00
lukem 9d35c8059d Convert from flock() to the more portable fcntl().
As discussed with Mason Loring Bliss <mason@netbsd.org>
2002-06-09 04:16:39 +00:00
itojun 608d40cf27 sync LIBxx with bsd.prog.mk
XXX bsd.prog.mk and bsd.hostprog.mk defines very similar thing
- can we unify them? at least the definition?
2002-06-09 04:04:32 +00:00
yamt f2a19ed936 - fix buffer size checks
- define PKG_PATTEN_MAX and PKG_SUFFIX_MAX and
  use them instead of constants like 255.
- add asserts and buffer size checks.
2002-06-09 03:50:13 +00:00
yamt ae85a7c2df - constify.
- avoid unneeded strcpy.
- add more error checks. (avoid segv
2002-06-09 03:38:59 +00:00
yamt f214a6095e avoid a magic constant. 2002-06-09 03:32:45 +00:00
itojun db47036241 use strchr 2002-06-09 02:47:03 +00:00
itojun ba39243377 use strchr not index 2002-06-09 02:45:26 +00:00
itojun 95c1349e5d use strchr, not index 2002-06-09 02:44:55 +00:00
itojun f0231f96aa do not propose IDEA cipher on SSL connection, as our default installation
does not handle IDEA.
TODO: dynamically enable IDEA if libcrypto_idea is linked
2002-06-09 02:16:18 +00:00
itojun d79e894958 use weak_alias to make libcrypto_{idea,rc5} actually useful. 2002-06-09 02:14:30 +00:00
itojun 0b52cc9109 avoid more hardcoded octals. openbsd 2002-06-08 23:43:24 +00:00
itojun b4daa6bb72 avoid hardcoded octals. openbsd 2002-06-08 23:40:12 +00:00
itojun 5da007343b avoid hardcoded octals 2002-06-08 23:37:47 +00:00
itojun 081662bc11 tell about MTU size limitation 2002-06-08 23:21:36 +00:00
itojun a636441cdc reject "add" request if if_mtu is different. 2002-06-08 23:17:01 +00:00