Commit Graph

180090 Commits

Author SHA1 Message Date
lukem
f7271183be Fix WARNS=4 issues (many -Wshadow, -Wcast-qual) 2009-04-17 04:16:57 +00:00
lukem
b1b382ae67 Fix WARNS=4 issues (-Wshadow -Wextra -Wcast-qual -Wsign-compare) 2009-04-17 04:03:39 +00:00
christos
39a569fdc2 Fix:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-0159
Using:
    https://support.ntp.org/bugs/show_bug.cgi?id=1144
XXX: Pullup to 5.x
2009-04-17 02:45:55 +00:00
yamt
96cfd51b9c bump to 5.99.11 for the recent change of KAUTH_ constants. 2009-04-17 02:38:26 +00:00
elad
d0cccdd5f2 Pass the lwp argument to in6_pcbbind() for the INET6 PRU_LISTEN and
PRU_CONNECT cases of tcp_usrreq(). It seems they were forgotten a long
time ago.

Similar code in FreeBSD and OpenBSD passes the thread (credentials)/proc.
2009-04-17 01:48:22 +00:00
pooka
eff94e356c Don't bzero in rumpuser_malloc, do it in the caller iff necessary. 2009-04-17 00:39:26 +00:00
elad
cb26856747 Replace another KAUTH_GENERIC_ISSUSER with a better alternative. 2009-04-16 22:22:06 +00:00
elad
b5ede286e1 Remove three more trivial KAUTH_GENERIC_ISSUSER uses:
- Binding to privileged ports in netatalk and netiso
  - Setting privileged socket options in netiso
2009-04-16 21:37:17 +00:00
snj
4657fc1128 Fix typo in email address. Pointed out by Mirko Thiesen in PR 41229. 2009-04-16 21:26:57 +00:00
ad
acf9701a7e kpreempt: fix another bug, uintptr_t -> bool truncation. 2009-04-16 21:19:23 +00:00
christos
b203bfe74f PR/41230: -current: sh(1) endlessly looping in interactive
Fix proposed from Matthew Mondor
2009-04-16 19:39:37 +00:00
dyoung
7af558eba1 Distinguish read(2) failure due to a short read from other causes, and
suggest in the error message a possible cause: the size= attribute in
the metalog (if one is given) may be different from the source file's
actual size.
2009-04-16 18:54:16 +00:00
wiz
8b5179c21c Add CAVEATS section:
Due to limitations in the current pthread implementation, makecontext(3)
and sigaltstack(2) should not be used in programs which link against
libpthread (whether threads are used or not).

Wording from drochner@ and ad@

Bump date for man pages.

Add note in libpthread/README so it's not forgotten to update the man
pages when the problem is fixed.
2009-04-16 18:37:29 +00:00
cegger
39e7d7e12f make xen kernels build again after the merge of syscall.c 2009-04-16 18:00:35 +00:00
pooka
8aea5469a6 Allocate vnodes properly with getnewvnode() and support reclaim. 2009-04-16 17:50:02 +00:00
macallan
9757abaa0c use sparc_bus_map_large() to map the I128 framebuffer 2009-04-16 17:00:39 +00:00
macallan
d1ec421048 use sparc_bus_map_large() to map the framebuffer if we can't find a PROM
mapping - now we won't exhaust the IODEV range and thus prevent other graphics
devices from working.
2009-04-16 16:57:21 +00:00
macallan
718aa97afd Add sparc_bus_map_large() to map large bus ranges like framebuffers and
apertures outside the IODEV range. ZX for example needs 8MB for the framebuffer
alone while the IODEV range provides only 16MB.
2009-04-16 16:55:00 +00:00
rmind
3de18e79b4 - Add macros to handle (some) trapframe registers for common x86 code.
- Merge i386 and amd64 syscall.c into x86.  No functional changes intended.

Proposed on (port-i386 & port-amd64).  Unfortunately, I cannot merge these
lists into the single port-x86. :(
2009-04-16 15:34:23 +00:00
christos
1408cbc26a we are not guaranteed that the ext pointer is going to be null at this point
so don't attempt to free.
2009-04-16 14:56:51 +00:00
rmind
d062d5d72b - Manage pid_table with kmem(9).
- Remove M_PROC and unused M_SESSION.
2009-04-16 14:56:41 +00:00
rmind
71923f262a Replace malloc with kmem(9). 2009-04-16 14:55:44 +00:00
tsutsui
89de08c2ca - remove a redundant decl of boothowto; it's in <sys/systm.h>
- replace a magic number passed to format_bytes(9) with explicit strings
- some KNF
2009-04-16 14:46:33 +00:00
tsutsui
a8ca89b280 Some cosmetics in rxcsum code. Tested on i386. 2009-04-16 14:39:11 +00:00
tsutsui
04a4566ade u_intNN_t -> uintNN_t 2009-04-16 14:08:18 +00:00
pooka
daebba810f When I switched to real kauth, I forgot to include a secmodel.
Fix this oversight by including bsd44.  Makes permissions for p2k
work again.
2009-04-16 14:07:17 +00:00
tron
80ab5902d9 Fix build problem on big endian ports where ntohl() doesn't convert the
argument to "uint32_t" automatically.
2009-04-16 13:52:52 +00:00
tsutsui
390140016b - remove an extra decl of cn_tab, which is in <dev/cons.h>
- some KNF
2009-04-16 12:57:22 +00:00
mjf
c54741b459 Add a license with my name on it. Suggested by skrll@ 2009-04-16 12:56:07 +00:00
tsutsui
859579fb10 There is a report that 82559ER doesn't have RX hardware checksum support
(even though it has a newer revision number than 82559_A0),
so handle it separately per its own PCI device ID.
2009-04-16 12:41:51 +00:00
tsutsui
ec658ee9f9 Use mips/conf/stand.ldscript on link so that we can use objcopy(1)
to create raw bootxx binary.  Tested on NWS-5000X.
2009-04-16 12:36:06 +00:00
pooka
15db645a13 evcnt mmio window statistics 2009-04-16 10:26:34 +00:00
wiz
14ec16f84a exec(3), not (2). 2009-04-16 08:03:52 +00:00
skrll
cc65188940 0 -> NULL 2009-04-16 07:47:16 +00:00
skrll
66aaa2e514 Typo in comment. 2009-04-16 07:42:28 +00:00
lukem
43e54b3a2f Fix -Wcast-qual issues 2009-04-16 07:13:16 +00:00
lukem
2269fc7ff3 Fix -Wsign-compare issues 2009-04-16 06:52:08 +00:00
lukem
24d76f1bcc Fix -Wsign-compare issues 2009-04-16 06:27:43 +00:00
lukem
3365bf7170 Fix -Wsign-compare issues 2009-04-16 06:14:13 +00:00
lukem
5b43984129 Fix WARNS=4 issues (-Wcast-qual -Wshadow) 2009-04-16 06:07:53 +00:00
lukem
ed9b940f4a Fix WARNS=4 (-Wshadow -Wcast-qual) 2009-04-16 05:59:56 +00:00
lukem
18f69179c9 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-16 05:56:32 +00:00
ver
cf205e4612 Add ver@ to the list of NetBSD developers. 2009-04-16 02:44:18 +00:00
lukem
6651d58dfb Fix -Wcast-qual issue 2009-04-16 02:11:44 +00:00
msaitoh
8dc86612ab Take some code from FreeBSD and OpenBSD:
Fix some bugs that the driver unable to detect link loss (OpenBSD 1.135,
  FreeBSD 1.102)

  bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)

  Acknowledge link change interrupts by setting the 'link changed' bit
  in the status register (used to have no effect). FreeBSD 1.44 (OpenBSD 1.21)

  Add some fiber support (OpenBSD 1.220)

  Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.

  Add special case code to fix a problem with the BCM5704 in TBI mode
  (FreeBSD rev. 1.71, OpenBSD rev. 1.35)

  Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD rev.
  1.242)

  Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev. 1.21)

  Add some known CHIPID entries.
2009-04-16 01:38:34 +00:00
msaitoh
e8e69d0b8b Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL (on conventional PCI)
again.
2009-04-16 01:35:24 +00:00
rmind
523acc7d68 Avoid few #ifdef KSTACK_CHECK_MAGIC. 2009-04-16 00:17:19 +00:00
joerg
f707732bc3 Speling. 2009-04-15 23:03:34 +00:00
joerg
84a8422ae3 As noted by apb, don't slip in local pathes. 2009-04-15 22:44:26 +00:00
dyoung
cc6e294334 Flag ldscripts with 'bfd'. Sort by first column. 2009-04-15 22:43:33 +00:00