gmcgarry
c4efdd0999
rasctl(2)
2002-08-28 09:31:26 +00:00
onoe
a5fc25f65e
Limit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value.
2002-08-28 02:37:09 +00:00
itojun
006281a1e2
kill register decl
2002-08-27 23:47:07 +00:00
mycroft
bbaefa57eb
Do the appropriate PIC magic for the jump to _exit().
2002-08-27 21:38:20 +00:00
itojun
62f36ff8e2
allocate 64K recieve buffer for DNS responses.
2002-08-27 08:50:49 +00:00
yamt
d3538cc488
sync partly with tcpdump.org. ok'ed by itojun
...
patches #454 from yamt@mwd.biglobe.ne.jp
- avoid optimization involving subtract operations
- correct optimization of bitwise operations
TODO: re-introduce subtract optimization
2002-08-26 11:21:18 +00:00
itohy
6736303e13
Use assembly version of ffs(3).
2002-08-24 06:39:48 +00:00
itohy
85ce1de27f
Oops, SYSLIBC_SCCS -> LIBC_SCCS
2002-08-24 06:37:24 +00:00
itohy
70b5675025
Assembly version of ffs(3).
...
Confirmed to return the same value as that of the C version.
The results of a simple benchmark on SH-4 200MHz, is shown below.
I think this shows acceptable performance.
return value C version this version speed
of ffs() (ns/call) (ns/call) ratio
------------ --------- ------------ -----
0 86 86 1.00
1 110 86 1.27
2 132 86 1.53
3 165 105 1.57
4 201 104 1.93
5 237 111 2.13
6 271 111 2.44
7 307 126 2.43
8 342 125 2.73
9 376 122 3.08
10 410 121 3.38
11 446 139 3.20
12 483 140 3.45
13 518 146 3.54
14 551 146 3.77
15 587 161 3.64
16 624 162 3.85
17 658 141 4.66
18 694 142 4.88
19 727 160 4.54
20 764 161 4.74
21 799 167 4.78
22 834 167 4.99
23 868 181 4.79
24 903 181 4.98
25 939 146 6.43
26 974 146 6.67
27 1009 166 6.07
28 1044 165 6.32
29 1080 171 6.31
30 1115 171 6.52
31 1151 185 6.22
32 1185 186 6.37
2002-08-24 06:30:34 +00:00
itojun
36e473ebb2
off-by-one. PR 18049
...
correct snprintf() return value handling in another place.
2002-08-23 16:10:42 +00:00
tron
ef63cbff6b
Bump minor number to 3 because there are already systems with
...
"libutil.so.6.2" to avoid further problems.
2002-08-23 10:34:02 +00:00
abs
a086fb2909
Move humanize_number(3) from libutil to libc as per discussion on tech-misc
...
Revert minor number bump on libutil (with note to skip it next update), and
bump libc.
2002-08-22 17:24:08 +00:00
itojun
949583590f
drop AAAA reply with IPv4 mapped address. sync w/kame
...
draft-itojun-v6ops-v4mapped-harmful-00.txt
2002-08-22 16:32:14 +00:00
blymn
841a6ed66f
Allow either the field_check or char_check pointers to be NULL, as
...
suggested in PR 18028.
2002-08-22 11:34:00 +00:00
blymn
e5ce8316fe
Fix some off by one errors in the menu mark and unmark buffer handling.
...
This fixes PR 18003.
2002-08-22 11:30:18 +00:00
wiz
e066ad32dc
Use Nm instead of Xrefing ourselves.
2002-08-20 16:48:47 +00:00
wiz
f11f240ebb
-1 -> \-1.
2002-08-20 16:42:35 +00:00
wiz
777c402952
Refer setpgid, not setpgrp, since the former is POSIX and the latter is
...
just there for compatibility.
2002-08-20 16:30:30 +00:00
wiz
38315eadd0
Use Dq instead of single quotes.
2002-08-20 16:22:44 +00:00
wiz
60bfa780a0
Mark up NULL and ENOMEM.
2002-08-20 16:15:38 +00:00
wiz
3f9c36b9de
Drop superfluous Ns and fix a formatting glitch.
2002-08-20 16:10:01 +00:00
wiz
158398c921
Fix Ns abuse.
2002-08-20 15:32:12 +00:00
wiz
64f4287d6d
Remove superfluous double quotes and a superfluous Ns.
2002-08-20 15:30:07 +00:00
jdarrow
48ee0561fe
Belatedly bump libdes shared library major number, due to bump of
...
libcrypto shared major when we moved from OpenSSL 0.9.5 to 0.9.6.
Add note to libcrypto shlib_version file to remind people to also
update libdes shlib_version.
2002-08-20 13:49:55 +00:00
lukem
ec5dbc56b8
Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
...
Makefile (before including <bsd.own.mk>)
2002-08-19 14:55:14 +00:00
lukem
91d06a031b
More use of ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
2002-08-19 13:35:05 +00:00
blymn
f645d021ce
Allocate private string buffers for the menu mark and unmark to prevent
...
a double free of the string memory. This fixes PR 17937.
2002-08-19 11:01:11 +00:00
pooka
337a91ae52
fix prototype for t_freent, and sprinkle const where necessary
2002-08-19 10:11:42 +00:00
lukem
ebb6fc9eb8
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
...
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
yamt
356b12bae1
change DIAGNOSTICS to RETURN VALUES
...
since it describes return values.
from openbsd.
2002-08-18 07:40:04 +00:00
yamt
447d4188a2
add FILES section to refer to /dev/mem.
...
from openbsd.
2002-08-18 07:34:51 +00:00
yamt
de6b808960
reflect reality.
...
(3rd arg of el_parse is const.)
2002-08-18 07:23:21 +00:00
yamt
83b485596b
note that month and weekday names are case-insensitive.
...
from OpenBSD.
2002-08-18 06:43:32 +00:00
yamt
7c3f1b1f60
note that the contents of the array are undefined in the error case.
2002-08-18 06:31:09 +00:00
yamt
e72273def3
- Mention leap seconds as the reason for (00-61)
...
- include blurb about ISO 8601 dates straight from strftime.c
from OpenBSD.
2002-08-18 06:27:49 +00:00
yamt
9c03214612
- write updates st_[cm]time.
...
- a minor fix
from openbsd.
2002-08-18 05:55:24 +00:00
yamt
8b91a33de9
add a portablility note. from openbsd.
2002-08-18 05:34:34 +00:00
thorpej
1b907e1877
Local label fixup.
2002-08-17 19:54:30 +00:00
yamt
b3b13795b1
bring in a note about portability from openbsd.
2002-08-17 18:41:36 +00:00
yamt
b77d0176be
bring in HISTORY from openbsd.
2002-08-17 18:38:46 +00:00
yamt
514d4ffd02
note that setgid doesn't change supplementary groupids.
...
from openbsd.
2002-08-17 18:22:21 +00:00
yamt
572225a82f
document RB_POWERDOWN.
...
from OpenBSD.
2002-08-17 17:52:54 +00:00
yamt
dbb4e0d985
- move return values info into RETURN VALUES section.
...
- note that O_SHLOCK and O_EXLOCK are not portable.
from OpenBSD.
2002-08-17 17:25:37 +00:00
chris
725f3ca1a7
correct comment, it's r0, not a0.
2002-08-17 01:23:36 +00:00
itojun
4005a5250f
set h_errno properly if internal string manipulation fails.
2002-08-16 21:54:00 +00:00
itojun
2abe377059
defend against malicious line in ut_line, which could cause unwanted
...
writes to anything under /dev. revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
itojun
44ca8f4da1
use sizeof, avoid duplicated use of MAXDNAME
2002-08-16 13:59:39 +00:00
itojun
1173373b45
be more picky about size arg
2002-08-16 12:23:20 +00:00
itojun
1e1a07972c
lint clean
2002-08-16 12:20:19 +00:00
itojun
bb80ac654a
avoid sprintf. use snprintf with picky error traps.
2002-08-16 12:18:06 +00:00