Commit Graph

61090 Commits

Author SHA1 Message Date
itohy f8adf56da0 Cleanup and fix typos.
Partially from FreeBSD.
2000-02-17 03:12:22 +00:00
itohy fae63d9627 Use lseek(2) on devices if not tape drives.
This makes listing on raw disk device much faster.
Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:08:40 +00:00
itohy ba0ae447ef Fix SIGINFO botch (PR #8868).
Continue partial write(2) on signals (xwrite()).
Partial read(2) at a few places are also continued (xread()).

Add {read,write}_with_restart() hooks for porting on systems
which don't restart interrupted read()/write() calls.

Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:06:12 +00:00
ender f30d8c9d30 Include mac68k/dev/akbdmap.h, not macppc/dev/akbdmap.h. Fixes PR 9435
filed by Dave Huang <khym@bga.com>.
2000-02-17 02:07:07 +00:00
thorpej d87b838524 Fix TMASK to use all 5 lower bits of the media word, and add HomePNA 1.0. 2000-02-16 18:03:14 +00:00
tsutsui 1da0c062ce Make sure access of ssir atomic. (from luna68k) 2000-02-16 15:32:03 +00:00
tsubai a6343f76db Unused. (PR 9424) 2000-02-16 14:02:13 +00:00
tsutsui d764df518d Make "make dependall" work. 2000-02-16 12:45:17 +00:00
itojun 729f693364 - if ip_dst matches address on !IFF_UP interface, and
- there's no match against addresses on IFF_UP interface,
send icmp unreach if I'm router.  drop it if I'm host.

Revised version of PR: 9387 from nrt@iij.ad.jp.  Discussed with thorpej+nrt.
2000-02-16 12:40:40 +00:00
itojun 791a70292c correct ratecheck() signedness. without this fix, ratecheck() will never
success again after first success with lasttime=(0,0).
2000-02-16 12:36:19 +00:00
fvdl c13f6dd258 Introduce a sysctl to enable/disable if non-root users can mount filesystems.
Default: off.
2000-02-16 11:57:45 +00:00
fvdl c59358ebde Add sysctl type for "usermount". 2000-02-16 11:57:00 +00:00
tsutsui 6adeb20d08 Fix object format assignment entry for mips-*-netbsd*. 2000-02-16 11:38:44 +00:00
tsutsui 079fc0c149 Use "uname -p" to determine CPU_TYPE (except arm32). 2000-02-16 11:32:17 +00:00
tsutsui 5c8ea7f9f0 Add mipseb support to egcs distfiles. 2000-02-16 11:28:45 +00:00
tsutsui 9658fcaa61 Add support of mipseb target. 2000-02-16 11:23:48 +00:00
tsutsui ce0bacce6a Move names of nisimura, soda and me to the portmaster's list,
and reorder some entries.
2000-02-16 10:48:13 +00:00
enami 24d448f70e Define __POOL_EXPOSE almost at the beginning, instead of just before
dev/vndvar.h or dev/ccdvar.h so that struct pool is always available
regardless of multiple inclusion.  Actually, ccdconfig.c compiles without
this change but ...
2000-02-16 06:52:31 +00:00
itojun 7414be8dd0 add missing command line arguments (target and datalen) 2000-02-16 06:10:15 +00:00
itojun 8829e73e38 preparation to flip extended scoped address syntax.
the specification is still under debate; there is high possibility that
"fe80::1%de0" will be the finalist but i'm not sure yet.
2000-02-16 04:50:23 +00:00
soren 4331d2bcaa Regen. 2000-02-16 04:29:32 +00:00
soren 021ff75015 Add Toshiba ISA bridge. 2000-02-16 04:29:20 +00:00
enami 700450f288 Backout revision 1.58-1.61; Since we currently only have a way to unexport
per mount point, the way ``try to export and unexport an unnecessary
mount point later'' may leave unwanted information in the kernel, and
doesn't work if a mount point is default exported or publically exported.

To fix the race condtion, we need another way.
2000-02-16 04:08:40 +00:00
jwise 4316d096db 1.) bring over the second half of David Brownlee's change to dot.login --
don't query the user for terminal type if the type is not `unknown'

2.) change this a little in both the csh and the [k]sh cases -- do call
    tset(1) even if the terminal type is known (so that TERMCAP is set
    properly, but don't have it query the user.
2000-02-16 03:07:09 +00:00
jwise 8d796b1774 Port to [k]sh(1) startup files David Brownlee's improvement from
cvs rdiff -r1.4 -r1.5 basesrc/etc/root/dot.login

As there, text is from Miles Nordin.
2000-02-16 02:02:02 +00:00
dante 963f51342e Fix a bug which caused mountd to don't work at all 2000-02-16 01:27:14 +00:00
oster 7deba340d7 Some of these function names are bad enough that no one else would probably
pick them, but preface them with rf_ anyway.
2000-02-16 01:10:44 +00:00
itojun e00a204ac4 use getnameinfo(), not inet_ntop(), as much as possible.
(sync with recent kame)
2000-02-16 00:38:14 +00:00
itojun eedce7b797 use getnameinfo(), instead inet_ntop(), as much as possible.
(sync with latest kame)
2000-02-16 00:37:02 +00:00
thorpej 25ab915071 Note net.inet.icmp.errratelimit and net.inet.tcp.rstratelimit. 2000-02-15 19:59:02 +00:00
thorpej b178e1f58c Add support for rate-limiting RSTs sent in response to no socket for
an incoming packet.  Default minimum interval is 10ms.  The interval
is changeable via the "net.inet.tcp.rstratelimit" sysctl variable.
2000-02-15 19:54:11 +00:00
abs 6d39fee74c Only display the 'use su' message in the non 'su -' case.
Update the 'use su' message (text from Miles Nordin).
If the terminal type is !unknown, do not prompt for it.
2000-02-15 19:29:54 +00:00
itojun 9d735055cd make it possible to compile it without -DINET6
From: "Castor Fu" <castor@geocast.com>
2000-02-15 18:55:55 +00:00
nathanw 79dff4a7e1 Document ess at pnpbios. 2000-02-15 17:23:11 +00:00
nathanw 971144c47f Add ess at pnpbios 2000-02-15 17:14:50 +00:00
nathanw 558d216998 Add pnpbios front end for ESS AudioDrive. 2000-02-15 17:12:54 +00:00
pk 52014b23c5 Allow second-stage boot program to be specified on the command line. 2000-02-15 16:15:07 +00:00
pk 59742052ea Determine base address at run time. 2000-02-15 14:09:59 +00:00
pooka 8ef8262b5d NetBSD: We come in peace. We offer reliability.
+ correct a typo
2000-02-15 13:56:02 +00:00
pk 9bb753bb2e Nuke unused code. 2000-02-15 12:18:05 +00:00
leo 141900755f Nuke the local outc() since the prototype for the second argument of tputs()
now matches putchar().
2000-02-15 10:14:55 +00:00
leo 8d6a7f1861 Grabage collect a 'struct buf *' left over from recent disksort changes. 2000-02-15 09:00:07 +00:00
enami 2d2a3fa400 Fix path component parsing bug that I've introduced in previous commit. 2000-02-15 04:51:56 +00:00
sjg 14fcc9e86c Non-existent libs are always out of date.
This was not handled correctly on ELF where libs do not have T.O.C.

PR: 9393
Reviewed by: christos
2000-02-15 04:41:45 +00:00
thorpej f3b975e9a4 Add ICMP error rate limiting, based on the same for ICMP6.
Note, we're reusing the previously unused slot for "MTU discovery" (which
was moved to the "net.inet.ip" branch of the sysctl tree quite some time
ago).
2000-02-15 04:03:49 +00:00
itojun 800897b12f make assumption on mbuf explicit (m->m_len >= sizeof (struct ip)). 2000-02-15 00:42:22 +00:00
thorpej d2bccc29d8 Fix a couple of brainos in the last. 2000-02-15 00:31:08 +00:00
enami 4a1320b29f Put the entry of FNW-3700T after the entry of SVEC-PN650TX
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-02-14 23:13:49 +00:00
fvdl fe39281ea4 Fixes to the softdep code from Ethan Solomita <ethan@geocast.com>.
* Fix buffer ordering when it has dependencies.
* Alleviate memory problems.
* Deal with some recursive vnode locks (sigh).
* Fix other bugs.
2000-02-14 22:00:21 +00:00
lukem b5df4bcc84 only use getaddrinfo() et al if both NI_NUMERICHOST *and* INET6 are defined...
(allows --disable-ipv6 in lukemftp's configure script to disable this as
well, which is good for testing when it appears getaddrinfo() is borken)
2000-02-14 21:46:26 +00:00