christos
249933b899
if we are using ssp, use malloc instead of alloca.
2006-11-08 23:27:32 +00:00
christos
7734d80e4d
Add the threaded version.
2006-11-08 23:25:54 +00:00
ad
1279365222
Fix some minor bugs and improve output slightly.
2006-11-08 23:12:57 +00:00
christos
97be580a50
add /usr/include/ssp
2006-11-08 22:43:34 +00:00
christos
b9692a922e
fix typo.
2006-11-08 22:07:23 +00:00
christos
5a7bf522f9
Turn on TARGET_LIBC_PROVIDES_SSP; next time someone regenerates them, it will
...
work fine; it is not worth chewing hours of cpu to rebuild those right now.
2006-11-08 22:03:19 +00:00
christos
af0800f25f
add a netbsd test for having stack protector in libc.
2006-11-08 22:01:36 +00:00
rpaulo
4081961b95
Backout half of previous by popular demand.
2006-11-08 21:18:13 +00:00
drochner
58bd20f660
if setcontext(2) returns, _exit(2) with a return code of -1 instead
...
of relying on a sensible return value
2006-11-08 21:16:40 +00:00
rpaulo
2313f534c1
regen
2006-11-08 21:03:35 +00:00
christos
3ad047d4fd
descend into libssp
2006-11-08 21:02:10 +00:00
rpaulo
809c9d3540
Add AMD PCI-X IOAPIC.
2006-11-08 21:02:02 +00:00
christos
2da147ae0e
add libssp regression tests.
2006-11-08 21:01:35 +00:00
christos
e1e30f287e
bump libc for ssp stuff.
2006-11-08 20:59:18 +00:00
christos
146343edd5
add ssp code and bump.
2006-11-08 20:58:23 +00:00
christos
dc0c2709da
Add libssp.
2006-11-08 20:52:39 +00:00
christos
3f7ee1da36
add ssp stuff.
2006-11-08 20:52:02 +00:00
drochner
97ffbcd858
cleanup unused stuff after hmac_* removal
2006-11-08 20:37:14 +00:00
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