Commit Graph

127886 Commits

Author SHA1 Message Date
itojun
501233726d implement IPV6_USE_MIN_MTU sockopt. needed by bind9 + EDNS0 + big receive buffer. 2004-06-11 04:10:10 +00:00
petrov
3c80c1c781 pci_find_ino: support pci-pci bridges. 2004-06-11 03:52:00 +00:00
jonathan
d907e82ddc Fix potential memory leak in sbappendaddrchain():
We do an MGETHDR)() for each mbuf "packet" of the input chain, to hold
the socket address prepended to that "packet".  If those MGETHDR()s
ever failed, we would leak all the successfully-allocated mbuf
headers.  Leak noted by Yamamoto-san (yamt@NetBSD.org); thanks for catching it!

Add socketbuf invariant-checking macros to sbappendaddrchain(), and
replace a stray bcopy() with memcpy(), also as suggested by Yamamoto-san.
2004-06-11 03:46:01 +00:00
lha
bb3caff139 Expand a little bit on forks behavior in threaded programs
OK by nathanw and martin
2004-06-10 23:45:07 +00:00
abs
9b9b2d2ca5 Ensure tmp/BtNetBSD depends on ${UUDECODE_FILES} so "make release" works 2004-06-10 20:18:33 +00:00
uch
4ce277b80f make hpcboot compile again. 2004-06-10 18:35:26 +00:00
matt
7fe2525338 Update RESIDUE_LW[01] to their correct offsets 2004-06-10 18:32:20 +00:00
martin
7347018381 Ouch. Lint didn't like the last change on sparc64. The reason:
<machine/reg.h> plays dirty naming tricks on sparc64 to allow 32bit
compatibility (reg ->  reg64 and the parameter in
PTHREAD_REG_TO_UCONTEXT() is called reg). This probably needs to be
fixed separately, but for now reordering the includes will do.
2004-06-10 18:06:19 +00:00
kleink
c004d32eb8 Reflect <sys/endian.h> rev. 1.4: make htonl() et al. arguments and
results uint{16,32}_t.  Noted by Ian Zagorskih.
2004-06-10 16:01:39 +00:00
uch
02fac2e6f2 recompile. 2004-06-10 16:00:08 +00:00
uch
237009a03b add __daddr_t=int32_t 2004-06-10 15:59:21 +00:00
uch
352d7c06a3 add Multimedia Card entry. 2004-06-10 15:58:33 +00:00
uch
4d7bd279c7 allocate section and program header table dynamicaly.
fixed section header table over flow problem.
2004-06-10 15:57:18 +00:00
uch
40fef19ff3 change uuencoded suffix. 2004-06-10 15:55:36 +00:00
uebayasi
7714269d97 Fix SEE ALSO; remove .sp; put .Pp before sentences. 2004-06-10 14:13:36 +00:00
uebayasi
0571d32356 Minor fix in SEE ALSO; put xref first; .Pp before a sentence. 2004-06-10 14:01:45 +00:00
uebayasi
f013145702 Split a sentence in SEE ALSO by a .Pp. 2004-06-10 13:58:47 +00:00
uebayasi
12db5f3635 Remove a superfluous .sp in the SEE ALSO section. 2004-06-10 13:53:48 +00:00
yamt
03db65e256 make sure that nfssvc sockets are zapped before being freed. 2004-06-10 12:59:57 +00:00
yamt
b0ac3e4201 nfsrv_zapsock: fix an inverted condition in nfs_syscall.c rev.1.74. 2004-06-10 12:57:43 +00:00
seb
c97029b2ee Add cnmagic(9) support: previously only <Break> was supported to break
into the debugger or ROM monitor from the console.
Note that <Break> is still the default.

Thanks to martin@ for testing.
Approved by petrov@.
2004-06-10 12:11:19 +00:00
kleink
79d01decfe Update for use of uint{16,32}_t. 2004-06-10 11:37:35 +00:00
kleink
006b843d0e Update with the iana.org URL, as has been done with services. 2004-06-10 10:06:51 +00:00
abs
e410ecabc5 Quote some filenames (committed for gavan) 2004-06-10 07:44:25 +00:00
abs
1e0805b132 Finish conversion from old bootloader - remove command line options that boot32
will not understand
2004-06-10 07:43:39 +00:00
abs
7e67ece2ca Set Alias$@RunType_1a9 here as well as !Boot, so the application can be
double clicked to override a value previously set by a copy in a different
location.
2004-06-10 07:42:47 +00:00
mbw
021a4a1394 Mention that hme cards aren't supported on sun4c systems 2004-06-10 07:29:42 +00:00
mbw
20cf991593 Major overhaul of sparc64 install notes. Reflects currently supported
hardware and installation methods along with additional info.
2004-06-10 07:23:49 +00:00
mbw
342a0a2738 Add sparc64 to "Quick install notes for the impatient" section 2004-06-10 07:01:00 +00:00
mbw
bd157360f4 Fix .Nx tag 2004-06-10 06:37:13 +00:00
atatat
a74d44c1c9 #include sys/lock.h for struct simplelock definition.
Addresses PR pkg/25772.
2004-06-10 06:15:23 +00:00
mbw
cd605fbf98 Mention that macppc machines observe the next-server info and try to load
their bootloader from that machine, not just NFS kernel
2004-06-10 05:59:05 +00:00
jonathan
37b1ad2317 Commit changes to make ACQUIRE messages -- actually, all messages
to ``registered'' sockets -- be treated ``specially'', as suggested
by RFC-2367.

The "special" treatment sys/netipsec now gives such messages is that
we use sbappendaddrchain() to deliver the (single) kernel-generated
message to each registered PF_KEY socket, with an sbprio argument of
SB_PRIO_BESTEFFORT, thus by-passing

For now, we check for registered messages, set a local `sbprio'
argument, and call sbappendaddrchain() (as opposed to sbappendaddr())
if and only if sbprio is non-NULL. As noted, we can rework
key_sendup_mbuf(), and all its callers, to pass the sbprio argument;
pending consensus (and hopeful KAME buy-back).
2004-06-10 01:39:59 +00:00
nathanw
41e871fe18 Avoid depending on declarations of struct reg and struct fpreg by using
the proc_regsize() callback to allocate reg and fpreg buffers as part of the
proc state (lazily initialized by the PT_STATE_RUNNING case of
td_thr_suspend()).

Fixes build on sh3 (and probably sh5) platforms.
2004-06-10 01:38:29 +00:00
jonathan
121767b691 Fix oversight from re-using reworked sysctl() code for unicast SPD,SADB dump:
because the sysctl() code wasn't setting the requestor-pid field in dump
responses, the reworked unicast dump wasn't setting the requestor pid, either.
More exaclty, the pid field was set to 0.

No problem for setkey(8), but racoon reportedly ignores SADB dump-responses
with any pid (including 0) which doesn't match its own pid. A private bug
report says the 0-valued pid field broke racoon code which attempts to recover
from death of a prior racoon process, by dumping the SADB at startup.

Fix by revising sys/netipsec, so that both the new unicast PF_KEY dump
responses and the sysctl code set the requestor pid field in all
response mesages to DUMP requests.
2004-06-10 01:28:25 +00:00
grant
c6a8a9ddc7 note cvs 1.11.17/1.12.9 availability:
https://ccvs.cvshome.org/servlets/NewsItemView?newsItemID=110

(several security fixes)
2004-06-10 00:46:02 +00:00
lukem
4fbb0461b9 Be consistent in handling YHEADER, similar to Christos' fix in bsd.lib.mk 1.253 2004-06-10 00:29:58 +00:00
kleink
8a98994beb Get rid of the silly CPU601 hooks and move BAT register restoration and
obliteration to RESTORE_{KERN,USER}_SRS, respectively; have oea_init()
patch these sequences to be skipped on non-MPC601s.  The code sequence
matching heuristic isn't as pretty as the one for VRSAVE and MQ but works
well enough with the current structure of the trap code, and can be easily
updated when necessary.
2004-06-09 23:24:51 +00:00
rumble
533084bbc7 Refactor consinit() for readability by pulling out mach_type
specific code into their own functions. No functional change is
intended.

ok'd by pooka and sekiya
2004-06-09 23:01:01 +00:00
christos
d3b5333e6b PR/25887: Peter Bex: Missing yacc dependency in bsd Make system 2004-06-09 22:45:24 +00:00
christos
e3bc441d7b Don't install xterm setuid anymore:
- pty ownership is handled by ptm(4)
- utmp updating is handled by utmp_update(8)
2004-06-09 20:37:41 +00:00
martin
86494c7fd4 Add pseudo-device ptm. 2004-06-09 20:25:54 +00:00
kleink
15764c5ab2 pmap_extract(): consider the MPC601's different battable layout, and its
use of I/O segments.
2004-06-09 19:30:57 +00:00
kleink
00fcabcfc9 Print SPR 0x100 as VRSAVE on non-4xx. 2004-06-09 19:19:05 +00:00
he
b22e6a658e Bump size of ramdisk image from 3148KB to 3200KB so that the contents
fits again.
2004-06-09 19:04:38 +00:00
christos
4b05f4b58a Jump through taller hoops to provide binary compatibility with programs
compiled with the older and shorter _res. We now use _nres internally
which is the new and bigger one.  We define a _res which is the old
size one if COMPAT__RES is set, and then we consult selected values from
this old _res in res_init(), to emulate the old behavior.
2004-06-09 18:07:03 +00:00
christos
e89baaa3bf Provide an ifdef so that we can define an old style _res if we need to. 2004-06-09 18:04:05 +00:00
kochi
d639792bc2 The "implicit return" problem is already fixed since when I imported
ACPICA_PEDANTIC changes from FreeBSD.
Added one item (processor driver).
2004-06-09 16:48:49 +00:00
abs
c6f7189859 Include David Pilling's BASIC self extracting SparkPlug sparkive extractor.
(It is freely distributable in unmodified form)
This should allow NetBSD to be booted on a RiscPC with nothing other than
the built in ROM software and a NetBSD CD. Disk partitioning between RISC OS
and NetBSD may be a task for another day.

While we are here use ${HOST_SH} to invoke mksparkive.sh
2004-06-09 16:10:40 +00:00
chs
5183104959 redo rev. 1.13, handle curlwp being NULL correctly. 2004-06-09 16:06:56 +00:00