lukem
a23ae1c696
Fix WARNS=4 issues (-Wsign-compare -Wcast-qual)
2009-04-17 14:07:45 +00:00
cegger
bb95b8c8db
Free resources in error path.
...
While here, fix copy&paste error I introduced in rev. 1.108.
2009-04-17 14:07:32 +00:00
lukem
95087e98e0
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wextra -Wsign-compare)
2009-04-17 14:02:21 +00:00
lukem
0076abc054
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
2009-04-17 13:56:33 +00:00
cegger
65e67e65cc
use aprint_*
2009-04-17 13:15:53 +00:00
cegger
f52d4b8ffb
Detach tlp(4) during shutdown.
...
Free unused resources on attachment.
2009-04-17 12:59:19 +00:00
pooka
dde8f9ba46
Allow bootstrap time specification of memory window size and count.
2009-04-17 12:29:08 +00:00
cegger
c455042514
device_t/softc split. Tested with tlp at pci
2009-04-17 10:20:32 +00:00
cegger
dc79b83a9a
struct device * -> device_t
...
u_intNN_t -> uintNN_t
2009-04-17 08:30:55 +00:00
cegger
bb47f93acf
use device_private
2009-04-17 08:19:09 +00:00
cegger
4815538f3f
struct device * -> device_t
...
u_intNN_t -> uintNN_t
2009-04-17 08:04:49 +00:00
apb
7097476cb5
Re-calculate size and digestresult after stripping, to ensure that
...
correct values appear in the metalog.
2009-04-17 06:09:08 +00:00
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