drochner
ac9d7f2faf
-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.
2006-11-08 20:28:03 +00:00
drochner
b1af2cb9b9
-SUS says that a successful call to setcontext(2) does not return. This
...
implies that _UC_CPU must be set in the context passed. Check for this
and return EINVAL if not; this gives a cheap test for corrupted
ucontexts eg on a signal handler stack which would go unnoticed otherwise.
-Don't ckeck for NULL ucontext pointers explicitely. This is an error,
except in the swapcontext() case where it can be easily caught in
userland.
2006-11-08 20:18:32 +00:00
christos
f499cd524a
Add a BSD-licensed re-implementation of the gcc-4.1 libssp.
...
This adds bounds checking for the following functions:
memset, fgets, gets, memcpy, memmove, memset, snprintf, sprintf, strcat,
strcpy, strncat, strncpy, vsnprintf, vsprintf
This functionality is enabled by compiling with:
gcc -I/usr/include/ssp -D_FORTIFY_SOURCE=<1|2> -lssp
Eventually gcc will provide -ffortify-source or something to automate this
[we hope :-)]
2006-11-08 19:52:11 +00:00
drochner
3f8c6dc981
while we are here, also print the interrupt disable bit
...
in VERBOSE/pcictl
2006-11-08 18:44:16 +00:00
christos
f44d03be78
- add debugging to track nowarns
...
- make /*LINTED*/ take effect on unused functions
2006-11-08 18:31:15 +00:00
macallan
56f08e3ea2
mention macppc using accelerated framebuffer drivers now
2006-11-08 17:16:08 +00:00
rpaulo
a70745bf73
Remove MATH_EMULATE.
...
Add DEBUG and LOCKDEBUG. This kernel config is suited for development.
2006-11-08 16:01:50 +00:00
pooka
7288f6ba9f
update struct buf resid in strategy according to what was transferred.
...
seems like only nestiobuf complains when it wasn't updated ...
2006-11-08 11:49:36 +00:00
martti
fc8a9d267d
Regenerated.
2006-11-08 11:36:21 +00:00
martti
06061bc2fd
Fix aligment.
2006-11-08 11:35:11 +00:00
martti
45ffbf91af
List MEGARAID_SAS and MEGARAID_VERDE_ZCR as SYMBIOS products.
2006-11-08 11:32:45 +00:00
pooka
05310d3a05
give an estimation of the amount of free space
2006-11-08 11:25:29 +00:00
drochner
53056d0217
avoid magic number
2006-11-08 11:09:52 +00:00
macallan
a6f7fc75a8
enable accelerated wsdisplay drivers
2006-11-08 05:48:43 +00:00
macallan
65d4544efe
add control codes for virtual console switching
...
looks like I forgot to commit this ages ago...
2006-11-08 03:27:29 +00:00
dogcow
7a82abd9dc
remove extraneous kauth check; since open already does the auth - and
...
mmap doesn't even get passed the lwp - the check here neither compiles
nor does anything terribly useful.
2006-11-08 02:53:31 +00:00
taca
4858a2daf1
OpenSSH 4.5/4.5p1 released.
2006-11-08 01:54:57 +00:00
macallan
4f70466a7c
split ofb into one part that attaches right on kernel startup and one that
...
attaches to pci so we can build kernels with - say - machfb but without
ofb at pci.
2006-11-08 01:25:10 +00:00
elad
87d047b739
Replace securelevel checks with kauth(9) calls.
2006-11-08 00:17:09 +00:00
pooka
da17507da9
adapt to new lookup signature
2006-11-07 22:11:17 +00:00
pooka
010234739c
* support FAF (Fire-And-Forget) class operations
...
* adapt to new lookup
2006-11-07 22:10:53 +00:00
pooka
b3bdf665dd
attach to genfs & support page cache. most noticeable effect is
...
mmap and therefore execution of binaries starting to work, some
speed improvements with large file I/O also. caching semantics
and error case handling most likely need revisiting.
2006-11-07 22:10:18 +00:00
dbj
e2c201cff5
sort | uniq
2006-11-07 17:49:47 +00:00
dbj
42bc842287
add gkermit.debug
2006-11-07 17:48:21 +00:00
jmmv
749d415179
tmpfs_open cannot assume that the node to be open is still linked to a
...
directory, so remove an invalid assertion. Otherwise the kernel incorrectly
panics when accessing the current directory after it has been removed.
2006-11-07 14:08:13 +00:00
jmmv
bd6b5f5dfe
Catch an assertion failure that happens when accessing the current directory
...
after it has been deleted.
2006-11-07 14:07:12 +00:00
mrg
72a7dfed29
fix another uninitialised variable picked up by the gcc -O3 optimiser.
2006-11-07 10:31:31 +00:00
martti
c99cfadbd6
Regenerated.
2006-11-07 09:34:37 +00:00
martti
df5b06ab10
Added some MegaRAID SAS controllers.
2006-11-07 09:29:31 +00:00
elad
75451f036c
Better VCHR handling.
2006-11-07 08:53:49 +00:00
rpaulo
23c8f132c9
Postfix 2.3.4
2006-11-07 03:11:02 +00:00
rpaulo
6956c21987
resolve conflicts
2006-11-07 03:09:18 +00:00
rpaulo
3bddbdfb40
Postfix 2.3.4
2006-11-07 02:54:05 +00:00
macallan
0bb8ed626b
allow IDE DMA on Heathrow again
2006-11-07 02:23:27 +00:00
pooka
c15972c2b3
puffs_park always contains a specific puffs_req, so make it a member
...
instead of a pointer
2006-11-06 23:18:18 +00:00
xtraeme
f0a9e30534
First appeared in 3.1 not 4.0.
2006-11-06 21:32:57 +00:00
xtraeme
c3ca7d0b90
It was added in 3.1 not 4.0.
2006-11-06 21:31:26 +00:00
xtraeme
28214abdba
First appeared in NetBSD 3.1 not 4.0... and bump date.
2006-11-06 21:27:15 +00:00
macallan
1009b21c56
add wsdisplay_preattach() to attach an early console that can be overridden
...
by wsdisplay_cnattach() for instance when a hardware-specific display driver
attaches.
as discussed on tech-kern
2006-11-06 19:51:12 +00:00
he
9fdd864183
Implement mostly-stub versions of the new syslog functions
...
({v,}syslog_{r,ss}) and the corresponding openlog_r/setlogmask_r/closelog_r
functions.
This should allow sparc64 to build its ramdiskbin again.
Reviewed by christos@
2006-11-06 17:33:56 +00:00
taca
549faa3243
- dhcp 3.0.5
...
- postfix 2.3.4
2006-11-06 14:13:31 +00:00
jmmv
c3429f8083
Pass a simple ELF header to ksyms_init_explicit with the minimum contents
...
required to initialize ksyms_hdr. Otherwise LKMs do not work when using
ksyms_init_explicit instead of ksyms_init, as is the case of booting an
i386 kernel using Multiboot.
2006-11-06 13:35:35 +00:00
kardel
9a3db19511
track NTP bug 734: setsockopt(..., IP_MULTICAST_IF, ...) fails on 64 bit platforms
2006-11-06 12:19:30 +00:00
pooka
f212146148
make it possible to build & load puffs as an LKM
...
by Lubomir Kundrak, PR kern/35000
2006-11-06 11:44:54 +00:00
elad
993da55808
simplify & fix logic in device/rawio/spec.
2006-11-06 02:02:18 +00:00
elad
66e42f0f77
XXX: use KAUTH_DEVICE_RAWIO_PASSTHRU for direct disk access here.
2006-11-05 23:00:54 +00:00
jmmv
7d49db6eac
Note a couple of tmpfs related changes.
2006-11-05 22:46:20 +00:00
jmmv
6b0060c0d6
Register the tmpfs lkm.
2006-11-05 22:43:26 +00:00
jmmv
8d45655462
Add a lkm for tmpfs. All the regression tests pass fine when using the
...
module rather than an in-core build.
2006-11-05 22:42:14 +00:00
cube
c3fe38a0cd
config_found() is for direct configuration, not indirect.
...
Change the code to use config_search/config_attach, and print a warning
when the user has device* at pcppi? in the kernel configuration file.
2006-11-05 21:06:26 +00:00