martin
2ed5a47025
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
...
quoting Matthias Drochner:
> -check for a NULL uc_link before calling setcontext(2); do a real exit(3)
> instead with exit handlers and all that
> -If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
> than relying on a sensible return value to use as exit code. Makes
> it less likely that an ucontext corruption goes unnoticed.
This fixes regress/lib/libc/context for m68k.
Thanks to Steve Woodford for optimization hints.
2006-12-13 10:48:02 +00:00
chs
e53d6bd175
in lookup(), vput() the starting vnode in the case where
...
we return with both ni_dvp and ni_vp being NULL.
2006-12-13 06:36:35 +00:00
matt
8861fab664
Don't apply a window scale to the window size in a SYN packet.
2006-12-13 03:45:48 +00:00
macallan
65ea75bafa
various minor fixes:
...
- avoid virtual resolution < physical resolution (Marco Trillo)
- don't use hardware-accelerated putchar() on R3xx
- clear screen when attaching wsdisplay
2006-12-13 00:19:01 +00:00
christos
64c377519a
use -fstack-protector instead of -fstack-protector-all since this breaks
...
on amd64 (it works on sparc64).
2006-12-12 21:31:58 +00:00
wiz
bf294e42f4
Add snapper(4) man page, based on the one provided by David H. Gutteridge
...
in PR 35138 with minor changes.
2006-12-12 19:25:54 +00:00
yamt
e4e829e9d1
make fileassoc_tables static.
2006-12-12 14:22:07 +00:00
simonb
f5b5aea261
Fix a grammatical nit near the previous typo fix.
...
Left the now somewhat bogus mips3_ prefixes in comments as is for now...
Thanks Pooka.
2006-12-12 12:03:45 +00:00
martin
eeb58feda1
Convert DMA memory allocation to bus_dmamem_alloc. From Dave Huang.
2006-12-12 11:46:33 +00:00
simonb
7641a1d1ad
Fix a tyop in a comment.
2006-12-12 08:44:18 +00:00
christos
7b1864c5ec
fix byte-swapping code.
2006-12-11 22:05:38 +00:00
martin
bc950f0b4a
Note section for m68k
2006-12-11 19:46:56 +00:00
yamt
687483b208
update an example.
2006-12-11 15:33:01 +00:00
yamt
995d487942
FILEASSOC_NHOOKS has gone.
2006-12-11 15:30:23 +00:00
yamt
9858d82855
it's fileassoc, not verifiedexec.
2006-12-11 15:27:46 +00:00
yamt
c534201d82
sync with the implementation.
2006-12-11 15:27:09 +00:00
yamt
8b3c9d0ad7
bump to 4.99.6. fileassoc changes.
2006-12-11 15:25:26 +00:00
yamt
b0a14e5934
- remove a static configuration, FILEASSOC_NHOOKS. do it dynamically instead.
...
- make fileassoc_t a pointer and remove FILEASSOC_INVAL.
- clean up kern_fileassoc.c. unify duplicated code.
- unexport fileassoc_init using RUN_ONCE(9).
- plug memory leaks in fileassoc_file_delete and fileassoc_table_delete.
- always call callbacks, regardless of the value of the associated data.
ok'ed by elad.
2006-12-11 15:24:27 +00:00
tsutsui
5a004f99ec
Reduce diffs between GENERIC and INSTALL.
2006-12-11 14:49:12 +00:00
jdc
7bf256869d
Add an explicit NULL for the card_detect function (that we don't have/need)
...
in struct pcmcia_chip_functions {}.
This now compiles again (adding -Wextra exposed this).
OK martin@.
2006-12-11 11:42:48 +00:00
macallan
35a2b63b90
actually change the sample rate when asked to.
...
Fix provided by Marco Trillo in PR35204
While there also enable 24bit I/O.
2006-12-11 02:17:53 +00:00
christos
a4b90d57e2
Add emalloc.
2006-12-11 00:55:02 +00:00
pooka
4013808f45
Teach deadfs about vm object locking for getpages. This avoids
...
errors resulting from situations where we take a page fault for a
vnode which has been converted a deadfs vnode.
wrstuden ok
2006-12-10 23:57:33 +00:00
pooka
349f1154dd
Don't return EWOULDBLOCK in case we have delivered some requests
...
even if we are operating on a nonblocking descriptor.
2006-12-10 23:53:51 +00:00
bouyer
c2b954c80b
Regen: another PCI id for Dell PERC 5
2006-12-10 23:44:08 +00:00
pooka
411590432c
* free puffs_instance structure in all cases when closing the descriptor
...
* comment, rcsid & kassert police
2006-12-10 23:43:55 +00:00
bouyer
637f604b17
Add another PCI ID for Dell PERC 5 (from OpenBSD)
2006-12-10 23:43:13 +00:00
christos
5abf774808
initialize error, cause gcc3 says so.
2006-12-10 23:12:37 +00:00
christos
3526467a3d
there is no stack-protector for gcc3
2006-12-10 23:09:31 +00:00
pooka
9b0cc2c27b
fix description to match the code
2006-12-10 23:03:03 +00:00
manu
84e8592ee9
libipsec minor bump
2006-12-10 22:40:53 +00:00
pooka
5d1ddd3277
PCATCH in tsleep while waiting for operations in getop. Otherwise
...
we could end up in an unkillable deadlock if GETOP was called when
an operation that had locked the root vnode was already in userspace.
2006-12-10 22:37:04 +00:00
manu
fcdf5459d0
branch 0.7 created
2006-12-10 22:36:06 +00:00
pooka
84295069e0
Fix a race condition that would cause the mountpoint to be cleaned
...
from under someone waiting for the fs server response in puffs_unmount()
if the descriptor was closed during the response wait (such as bug
leading to a crash in fs implementation unmount()).
2006-12-10 22:33:31 +00:00
cube
4cb6e56c76
Remove an error message about having FSTAR'd instances attaching at pcppi.
...
It's actually fine to have them. Somehow I wish there was a way to express
that there can be only one device of that kind attaching on a given pcppi.
All of this is generic for all indirectly configured bus (i.e., specified
by kernel configuration).
Reported by uwe@.
2006-12-10 22:10:57 +00:00
manu
044368e6f0
libipsec minor bump
2006-12-10 20:11:11 +00:00
macallan
610ea4a4c0
don't issue ADB commands if there's no adb node.
...
This should fix spontaneous poweroffs seen on PowerBooks that have no ADB
(last generation PBG4 which have only USB)
needs testing on more machines
2006-12-10 19:28:12 +00:00
manu
e7390e9b83
Bump libipsec minor
2006-12-10 18:47:15 +00:00
manu
7c683c0b23
Bring back API and ABI backward compatibility with previous libipsec before
...
recent interface change. Bump libipsec minor version. Remove ifdefs in
struct pfkey_send_sa_args to avoid ABI compatibility lossage.
Add a capability flags to detect missing optional feature in libipsec
2006-12-10 18:46:39 +00:00
he
7700f97e62
Use C99 initializer.
2006-12-10 17:33:01 +00:00
is
dc12fff4c3
Explain XID magic constants, correcting the format ID
2006-12-10 14:52:29 +00:00
is
8812d0414b
oops, forgot lan_hdr_len length offset
2006-12-10 14:49:43 +00:00
is
e80820a117
oops, forgot the m_adj
2006-12-10 14:47:40 +00:00
is
9c9b34873f
was wrong magic constant. no functional change.
2006-12-10 14:45:09 +00:00
is
d227658f6b
Avoid overlapping struct assignment, like in the Ethernet and FDDI cases.
2006-12-10 14:39:03 +00:00
yamt
635ee8a88f
yamt-splraiseipl: sparc64 build problem seems fixed.
2006-12-10 14:22:24 +00:00
is
60ee96c865
Explain llc XID magic constants, correcting the XID header format tag.
2006-12-10 14:21:32 +00:00
pavel
a5529f838b
I've tested yamt-splraiseipl on alpha.
...
tested: FFS, LFS, IDE, SCSI (ahc), PS/2 mouse, network (ex),
sound (sb at isapnp).
2006-12-10 13:46:00 +00:00
kiyohara
3871190271
Add definition the HWUART (and NSSP).
2006-12-10 12:46:48 +00:00
is
74a405e314
Avoid overlapping struct assignment for FDDI. Should fix netiso like in the
...
Ethernet case.
2006-12-10 12:34:42 +00:00