Commit Graph

127896 Commits

Author SHA1 Message Date
yamt c9817d1a97 umap_lookup/layer_lookup: NULL out *ap->a_vpp after calling
underlying filesystem because some caller including lookup()
assume that *vpp is NULL on error.
2004-06-11 12:34:13 +00:00
yamt e3b58482fb nfs_doio_read: use np->n_rcred instead of curproc->p_ucred for VDIR.
XXX maybe it's better to use a cred passed by VOP_READDIR.
2004-06-11 12:26:31 +00:00
is 1a51c1000a Don't recompute loadbase; use the value passed by the bootloader instead.
(It should know where it loaded us, right?)
Patch contributed by Gunter Nikl.
2004-06-11 12:23:10 +00:00
scw 0f10094026 Cast integer to pointer types via intptr_t.
Problem reported by Havard Eidnes while building evbsh5.
2004-06-11 07:28:05 +00:00
jmc bfd6078e17 Clean up HOST_OSTYPE a bit more and turn any spaces into _'s as well as
stripping paren'd values from HOST_ARCH. Fixes PR#25586 for uname -p output
on linux hosts which return multi-word values
2004-06-11 07:14:16 +00:00
he ed6110e9dd The __used__ attribute first appeared in gcc 3.1, not in 2.7, according
to the gcc expertise.  Fixes build problem for the vax port, which still
uses gcc 2.95.3.
2004-06-11 07:11:00 +00:00
mbw 82bbe8f581 Add sparc64 tags 2004-06-11 06:40:51 +00:00
mbw 318cc99705 Use MI ../common/sysinst instead of abridged version 2004-06-11 06:29:36 +00:00
mbw 5866686513 Add sparc64 tags
update sysinst menu example to say 2.0 instead of 1.6
2004-06-11 06:28:53 +00:00
mbw 4c92d9e4cc 2.0 will be the third major release of sparc64. 2004-06-11 05:18:03 +00:00
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