drochner
8f89c664eb
enable stack_noexec where a non-executable stack is supported
2004-02-19 16:56:52 +00:00
drochner
8d4559c4ee
Use tramptest.c on GNU_ARCHs where stack trampolines are emitted
...
(based on grep'ing gcc /config), and a dummy otherwise.
2004-02-19 16:55:30 +00:00
drochner
9b4a0e83fc
After reading manpages, and feedback by Chuck Silvers, change this
...
test to expect SIGSEGV if code execution on the stack is attempted.
Also use SA_SIGINFO and check si_code for SEGV_ACCERR.
2004-02-19 16:49:43 +00:00
yamt
635ee237b0
support h/w assisted vlan tag insertion.
2004-02-19 14:21:40 +00:00
yamt
9324f158e1
support h/w assisted vlan tag removal.
2004-02-19 13:34:51 +00:00
lukem
4b7a7b777e
veriexec can't be changed at securelevel 1
2004-02-19 13:24:31 +00:00
uebayasi
5d41e06074
Update some URLs.
2004-02-19 12:23:47 +00:00
ragge
9a3ec25f87
Add media type 10GbaseLR. Change ifmb_baudrate and ifmedia_baudrate()
...
to u_quad_t instead of int (common speed today exceeds 2Gbit).
2004-02-19 11:58:30 +00:00
skrll
f8314ad5e5
mknative sweep. mainly version string differences and STDC_HEADERs.
...
no need for the signbit stuff on sparc as libc got fixed.
2004-02-19 08:11:31 +00:00
atatat
589a080332
More better display of kern.cp_time for MP machines. Now we use one
...
sysctl() call to query for each of three different display modes:
(1) sum across all cpus
% sysctl kern.cp_time
kern.cp_time: user = 93240, nice = 1507, sys = 17252, ...
(2) data for just cpu 0
% sysctl kern.cp_time.0
kern.cp_time.0: user = 93282, nice = 1507, sys = 17264, ...
(3) each cpu individually up to hw.ncpu
% sysctl -A kern.cp_time
kern.cp_time.0: user = 93349, nice = 1507, sys = 17280, ...
kern.cp_time.1: user = 93403, nice = 1507, sys = 17291, ...
...
2004-02-19 06:51:11 +00:00
atatat
5e111b3c0a
Miscellaneous display bugfixes.
2004-02-19 06:44:18 +00:00
atatat
a44f68529b
Rename sysctlnametomib() to sysctlgetmibinfo() and add FreeBSD
...
compatible sysctlnametomib() and sysctlbyname() functions.
These are intended to move to libc real soon now.
2004-02-19 06:40:14 +00:00
thorpej
816a869868
s/WTC_DTYP_D/WTX_DTYP_D/
2004-02-19 05:19:52 +00:00
thorpej
881b8b9966
Fix typo in debug message. From Jeffrey Hsu.
2004-02-19 05:18:47 +00:00
atatat
42d379d041
Use new PTRTOUINT64() macro instead of local PTRTOINT64() macro.
2004-02-19 03:57:56 +00:00
atatat
caea20e952
Add PTRTOUINT64() and UINT64TOPTR() macros to sys/sysctl.h for use by
...
kern.proc, kern.proc2, kern.lwp, and kern.buf.
Define more MIB for kern.buf so that specific buffers can be selected
(only all/all is supported right now), and use a 32/64 bit agnostic
structure for communcating buffer information to userland.
Convert systat to the new kern.buf method.
Clean up the vm.buf* handling a little. There's no actual need to
record the dynamically assigned OIDs, since sysctl_data can tell us
what we're looking at.
Oh, and fix a typo in a comment.
2004-02-19 03:56:30 +00:00
matt
cb57c6f8e9
Move detection of a special symbol into a separate function. Add some more
...
special symbols.
2004-02-19 03:42:01 +00:00
atatat
8012158924
Avoid using things that don't smell like they're the right size (the
...
size should be a multiple of sizeof(struct sysctlnode)), and avoid
leaking memory in the case of things that don't have children.
2004-02-19 03:16:24 +00:00
dyoung
c3ca61a258
Clearly the error message was supposed to print $metalog, not
...
$METALOG.
2004-02-19 02:54:51 +00:00
thorpej
fd4acf29d4
Add missing txseg20 counter name. Pointed out by Jeffrey Hsu.
2004-02-19 02:13:23 +00:00
augustss
187630511a
Add a serial adapter. From PR 24482
2004-02-19 01:12:05 +00:00
augustss
84fc0b7421
Regen.
2004-02-19 01:11:13 +00:00
augustss
6f5601f100
Add a serial adapter. From PR 24482
2004-02-19 01:10:42 +00:00
bjh21
fb330ce71b
Remove pckbc_machdep_cnattach() -- it's no longer needed.
2004-02-19 01:03:45 +00:00
matt
f01501b2c6
Support really large LKMs. Find out how much space is needed for symbols
...
and then allocate it on demand. Rename some common symbols (__bss_start,
_edata, _end, __start_link_set_*, __stop_link_set_*) so that ".<module>"
is appended to them. This shrinks an amd64 kernel by 20KB of BSS.
2004-02-18 23:44:49 +00:00
enami
074a9e8fee
Salvage the instruction to save the pointer to ps_strings for later use
...
so that setproctitle() works again. The problem reported by Naoki Fukaumi
on japanese mailing list.
Approved by: Ross Harvey
2004-02-18 23:04:49 +00:00
jdolecek
de243242be
insertcol() may insert up to two items to clist, so allocate memory accordingly
...
this fixes sort regression test 28A and 28B
2004-02-18 20:44:36 +00:00
matt
004f0d503a
s/sumbols/symbols/
2004-02-18 20:41:09 +00:00
he
2f8028b1b0
Fix mismatched type error in fropen() usage by converting return
...
type of zread() from ssize_t to int.
2004-02-18 18:29:07 +00:00
jonb
c384cda06a
Add ssh_keygen_flags variable to rc.conf to allow users to set the
...
size of auto-generated keys if desired.
2004-02-18 17:36:34 +00:00
jdolecek
d5693762c3
bump date for previous
2004-02-18 16:50:25 +00:00
wiz
15abe007fe
Remove duplicate word. From Ognyan Kulev in PR 24472.
2004-02-18 15:24:25 +00:00
hannken
c59d4851b8
Run pmap_deactivate() earlier in exit1(). Prevents a panic on sparc MP
...
where p->p_vmspace was 0xdeadbeef in pmap_deactivate().
Approved by: YAMAMOTO Takashi <yamt@netbsd.org>
2004-02-18 14:42:20 +00:00
wiz
ca8578461e
Remove superfluous double quotes, add back a comma
...
in an enumeration, and remove an article.
2004-02-18 13:46:18 +00:00
yamt
b395986e05
a link for selnotify(9).
2004-02-18 13:37:40 +00:00
yamt
d448296d2d
- document selnotify.
...
- add ref. to knote(9).
2004-02-18 13:35:46 +00:00
hannken
912c7e4549
Avoid signal race condition. If a slave gets the SIGUSR2 signal between
...
the "setjmp" and the "ready = 1" statements the slave will pause forever
and the complet dump hangs.
Fixes PR #24453
2004-02-18 10:45:21 +00:00
jdolecek
6831e8565e
also unset LC_CTYPE, which affects character sort order too
2004-02-18 09:43:15 +00:00
wiz
15d66087e7
Mention compress(1) support, and add bzip2(1) and compress(1) to SEE ALSO.
...
Bump date.
2004-02-18 09:16:27 +00:00
enami
beb14b71ef
The source file is changed.
2004-02-18 08:54:30 +00:00
mrg
91d1fa9407
support decompressing "compress"ed files. from rtr@ with a few minor edits
...
from me. code in zuncompress liberally borrowed from usr.bin/compress.
2004-02-18 08:19:48 +00:00
rtr
afb68f3457
compile correct path to 'Cards' file into xf86config
...
this is into response to (not so)recent post I can't find and should
resolve the described problem i.e. Cards file wasn't found.
2004-02-18 04:59:56 +00:00
matt
77effcd27e
Don't waste space on likely unused sysmon structure.
...
Instead malloc them as needed.
2004-02-17 22:03:52 +00:00
dyoung
8ecfa06341
Move the RF Microdevices RF3000 & Silicon Laboratories SI4126/SI4136
...
register sets into their own header files for re-use by future
drivers.
2004-02-17 21:20:55 +00:00
wiz
9ea670a934
Some fixes and formatting changes from jmc@openbsd.
2004-02-17 20:41:49 +00:00
jdolecek
c8e0ab671d
fix parsing of some +POS -POS variants, as pointed out by sort regression
...
tests
2004-02-17 20:17:38 +00:00
jdolecek
fc15b17c83
fix NT_OPEN_EXISTING to be really just 'open' and not include the 'create' bit
...
fixes the problem described in PR kern/22835 by Rob Quinn
2004-02-17 19:22:42 +00:00
jdolecek
bf96399c09
initialize malloc()ated memory
2004-02-17 19:09:36 +00:00
jdolecek
3b6344c769
ftpos pointer was not updated when fldtab was reallocated; drop completely
...
in favour of an index counter
fixes bin/24449 by Jun-ichiro itojun
2004-02-17 18:59:13 +00:00
kleink
e436929104
Fix a (non-dangerous) malloc size botch in eso_allocm();
...
from Stephen Ma in PR kern/18342.
2004-02-17 17:39:55 +00:00