dholland
8f6ed30d57
Introduce struct pathbuf. This is an abstraction to hold a pathname
...
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.
Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).
The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
2010-11-19 06:44:33 +00:00
uebayasi
0ce666ede0
Whitespace.
2010-11-19 05:38:10 +00:00
uwe
5bb781f731
Correct definition of leap year. Make yeartonum and numtoyear use
...
full years so that year 2000 is correctly counted as a leap year.
Now NetBSD under SIMH picks up correct time-of-day clock value. It
used to be a day behind, since 2000 - 1900 = 100 and naive leap year
test wouldn't count it as a leap year.
2010-11-19 03:31:24 +00:00
christos
b0f3f04a67
PR/44113: Nicolas Joly: printf(3) should ignore zero padding for nan/inf
2010-11-19 00:44:18 +00:00
tron
c3d90973c3
Add new X.org manual pages from "xorg-docs" package.
2010-11-18 18:48:05 +00:00
tron
c3b15fd54b
Build and install the following manual pages from the "xorg-docs" package:
...
- Consortium(7)
- Standards(7)
- X(7)
- XOrgFoundation(7)
- XProjectTeam(7)
- Xsecurity(7)
This fixes PR xsrc/44034 by Martin Neitzel.
2010-11-18 18:47:35 +00:00
cegger
b9b1de19e8
previous fixed one HP laptop and broke an other HP laptop.
...
The one which got fixed RuntimeCount is 1. The one which broke RuntimeCount is 0.
So only decrement RuntimeCount when RuntimeCount is non-zero.
2010-11-18 18:16:15 +00:00
skrll
383128f176
Implement footbridge_io_bs_mmap.
2010-11-18 18:12:23 +00:00
skrll
3bb0378791
Whitespace.
2010-11-18 18:06:21 +00:00
skrll
5d30f2b71f
Comment KNF.
2010-11-18 18:01:20 +00:00
skrll
2e1c941fb9
Remove commented out setting of SDRAM_MEMORY_ADDR - it's set later on.
2010-11-18 18:00:40 +00:00
cegger
b768b4ed61
fix AcpiEnableGpe:
...
GPEs get enabled at ACPI initialization. AcpiInstallGpeHandler() disables
GPEs using AcpiEvDisableGpe() w/o decrementing RuntimeCount.
So when acpiec(4) enables the GPE after installing the GPE Handler then
AcpiEnableGpe() does not call AcpiEvEnableGpe() because RuntimeCount
says it is already enabled which is wrong.
So decrement the RuntimeCount in AcpiInstallGpeHandler() right
before calling AcpiEvDisableGpe().
2010-11-18 14:40:31 +00:00
cegger
7f56ec2e89
build fix: vm_physmem_index is only used with DEBUG.
...
Fix build when DIAGNOSTIC is enabled but not DEBUG
2010-11-18 11:49:41 +00:00
jnemeth
bac8038f45
mention module noautoload property
2010-11-18 09:59:33 +00:00
jnemeth
fd3014ea71
if autoloading check for a noautoload=true property and if found,
...
deny the autoload
2010-11-18 09:50:47 +00:00
mrg
40750601f0
add the ofppc bits for Xorg server. this should be complete now,
...
but needs to be tested still.
2010-11-18 08:42:40 +00:00
mrg
7e57e9a9ce
build the dri libraries on ofppc, same as macppc.
2010-11-18 08:41:54 +00:00
uebayasi
5cdd3cec1f
Optimize DIAGNOSTIC check code.
2010-11-18 08:41:11 +00:00
mrg
29083f4141
enable xfree86 server build for ofppc, and a bunch of drivers.
2010-11-18 08:20:16 +00:00
uebayasi
56df070b0c
Fix DIAGNOSTIC physseg find check.
2010-11-18 08:18:31 +00:00
mrg
d882d76e4a
make this actually correct for an xorg world.
2010-11-18 07:52:45 +00:00
pooka
e425b7c737
Remove unused rump_set_vmspace. An equivalent needs to come back
...
later, though, but in its current form it's just unusable garbage.
2010-11-17 21:57:33 +00:00
pooka
5eb7a3a4cc
Provide a special rump_proxy_syscall for handling received proxy
...
syscalls and retire unused rump_syscall.
2010-11-17 21:52:29 +00:00
pooka
dc4938b8f8
regen: -rump_pub_syscall
2010-11-17 21:50:34 +00:00
pooka
56c4db38a8
remove rump_pub_syscall -- unused/unusable
2010-11-17 21:49:52 +00:00
pooka
5e4322985a
regen: optimize local syscall path a bit
2010-11-17 21:48:07 +00:00
pooka
b991c38551
Skip one extra function in the rump syscall local path and use
...
sy_call() directly from rump_syscalls.c.
2010-11-17 21:47:11 +00:00
plunky
7d794dc7da
do not produce an error when connections are closed normally
...
for L2CAP sockets, this solves an irritating error message from sdpd(8),
which can now differentiate between normal closure and error.
2010-11-17 20:19:25 +00:00
dholland
06a95d4af1
typo in comment
2010-11-17 20:07:50 +00:00
pooka
3e9c0c4fe1
cleanup some old garbage
2010-11-17 19:54:09 +00:00
dholland
4c60482042
Fix build when NATA_DMA is 0.
2010-11-17 19:36:54 +00:00
dholland
826407be7c
Fix build with COMPAT_13.
2010-11-17 18:22:17 +00:00
wiz
d999ecb2cd
Capitalize the Internet's importance.
2010-11-17 18:03:49 +00:00
wiz
606383f1ce
Convert manual list to Bl; fix typo; remove dot at end of SEE ALSO.
2010-11-17 18:02:20 +00:00
wiz
deee42d237
Remove pasto.
2010-11-17 17:59:25 +00:00
pooka
c3eed02978
note that shmif can be destroyed now
2010-11-17 17:55:00 +00:00
pooka
d9aab6f8fc
Support destroy in shmif.
2010-11-17 17:51:22 +00:00
pooka
48257b3e61
free syscall data after use
2010-11-17 17:36:14 +00:00
christos
e285c9c3f2
since the fix was reverted, revert the test.
2010-11-17 13:41:52 +00:00
christos
7c0ceafd8c
revert again, since this breaks libtool amongst other things.
2010-11-17 13:40:48 +00:00
tron
4a3a313897
Include "namespace.h" to get namespace protection.
2010-11-17 13:25:53 +00:00
tron
aacd5349be
Provide proper namespace protection for rbtree(3) because it is now
...
used by "libc" internally.
2010-11-17 13:19:32 +00:00
drochner
fe04c71aa0
apply patch from http://www.openssl.org/news/secadv_20101116.txt
...
to fix a race condition which can be exploited in a buffer
overrun attack (CVE-2010-3864)
2010-11-17 12:09:34 +00:00
tteras
6a6cffd67e
Fix my previous patch to not call purge_remote() twice. Change the place
...
where purge_remote() is called. This fixes also a possible crash from the
same patch since ph1->remote can be NULL (when we are responder and config
is not yet selected).
2010-11-17 10:40:41 +00:00
tron
40d1f42309
Put my name in the author section.
2010-11-17 08:55:27 +00:00
dyoung
7ef5c7d564
Cosmetic: fix indentation.
2010-11-17 00:20:49 +00:00
wiz
78f9e33271
Fix Dd argument.
2010-11-16 23:59:02 +00:00
dyoung
64f588a45a
Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode from
...
sending a termios(4) structure like it was supposed to: ptcread() used
to copy pti->pt_send and zero it before testing it for TIOCPKT_IOCTL.
Test for TIOCPKT_IOCTL in the pti->pt_send copy in local variable c
instead of in pti->pt_send itself.
2010-11-16 23:58:11 +00:00
pooka
b4e3a3178b
Use vmem for keeping track of unit numbers so that wildcard allocation
...
works correctly.
2010-11-16 20:08:24 +00:00
christos
cbd46215a7
Fixed test that was expected to fail.
2010-11-16 18:25:03 +00:00