Commit Graph

124109 Commits

Author SHA1 Message Date
christos 2b03200f1f servent_r/protoent_r additions 2004-02-19 19:31:06 +00:00
christos 885e0fc7f3 protoent_r/servent_r 2004-02-19 19:30:30 +00:00
christos d68ecdf1c9 getservent_r/getprotoent_r 2004-02-19 19:27:53 +00:00
christos ec210d4a19 Implement the non-reentrant ones using the reentrant ones.
Name files by function name.
2004-02-19 19:27:26 +00:00
christos 7782337bb7 _r functions for services and protocols; also add the inet_cidr_* function
which will come next.
2004-02-19 19:22:51 +00:00
christos 8059eed1bc Re-entrant versions of services and prorocols functions. 2004-02-19 19:21:44 +00:00
christos 96401843e9 Adjust the compare script so that it can be used for both servent and protoent. 2004-02-19 19:19:29 +00:00
christos 6e311ad824 {get,set,end}protoent_r regressions. 2004-02-19 19:18:48 +00:00
christos 7fc50c9d78 {get,set,end}servent_r regression test. 2004-02-19 19:06:52 +00:00
drochner 40bcd2aa76 MACHINE_ARCH is x86_64 for amd64; noticed by Nicolas Joly 2004-02-19 18:25:56 +00:00
drochner 2982fa170d use no-execute page permissions if supported 2004-02-19 17:18:38 +00:00
drochner fdeec1f029 define AMD64's CPUID_NOX bit (I'm curious where Intel puts this bit in the
ia32 extension just announced)
XXX there should be a better separation between generic and vendor
specific feature flags
2004-02-19 17:09:39 +00:00
drochner d2414542a3 -on instruction fetch fault from non-executable pages, signal
SIGSEGV/SEGV_ACCERR
-whitespace cleanup
2004-02-19 17:06:06 +00:00
drochner 893de0a21e signal SIGSEGV/SEGV_ACCERR if non-executable stack is jumped to 2004-02-19 17:02:44 +00:00
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