Hajimu UMEMOTO
bf838688af
oops, revert previous change to getaddrinfo.c. This is not related
...
to RFC3493. The previous change was related to RFC3484 (Default
Address Selection for IPv6), and it will come later.
2003-10-24 18:43:24 +00:00
Hajimu UMEMOTO
f95d46333d
Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542
...
(aka RFC2292bis). Though I believe this commit doesn't break
backward compatibility againt existing binaries, it breaks
backward compatibility of API.
Now, the applications which use Advanced Sockets API such as
telnet, ping6, mld6query and traceroute6 use RFC3542 API.
Obtained from: KAME
2003-10-24 18:26:30 +00:00
Hajimu UMEMOTO
688a5c3ea3
reorder functions to be in sync with KAME.
2003-10-23 14:32:03 +00:00
Hajimu UMEMOTO
37b3e94167
EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493
...
(aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME
instead of EAI_NODATA. Our getaddrinfo(3) nor getnameinfo(3)
didn't use EAI_ADDRFAMILY.
Obtained from: KAME
2003-10-23 13:55:36 +00:00
Hajimu UMEMOTO
3d82ba4313
preparation for RFC3493. EAI_NODATA was deprecated.
2003-10-23 13:50:01 +00:00
Dag-Erling Smørgrav
4318dce616
Connect fabsl.c to the build.
2003-10-23 08:23:51 +00:00
Dag-Erling Smørgrav
29bd23abf0
Add prototypes for all long double functions in C99. Leave them all
...
#if 0'd out, except for fabsl(3) which I've implemented.
2003-10-23 08:23:38 +00:00
Dag-Erling Smørgrav
017e4316ae
Implement fabsl(3), allowing the world to build with -fno-builtin.
2003-10-23 08:20:47 +00:00
Peter Wemm
d1a499ad2a
Use amd64_set_fsbase() instead of calling sysarch() directly.
2003-10-23 06:12:57 +00:00
Peter Wemm
d9484cc915
Add implementations of amd64_[gs]et_[fg]sbase().
2003-10-23 06:07:09 +00:00
Hajimu UMEMOTO
3b1a779723
oops, gai_strerror must return default value when error code
...
isn't found in ai_errlist.
2003-10-22 16:53:21 +00:00
Hajimu UMEMOTO
b29ec00b70
make ai_errlist struct. this is preparation for RFC3493
...
(EAI_NODATA is depricated).
Obtained from: KAME
2003-10-22 15:41:38 +00:00
Hartmut Brandt
9e9dbe0430
Link libngatm to the build (unless NOATM is set).
2003-10-22 15:01:16 +00:00
Hartmut Brandt
216cf9f739
Makefile for the NgATM user space library.
2003-10-22 11:52:35 +00:00
Marcel Moolenaar
b32428bbc5
The FP status register allows for 6 traps to be masked. One of them,
...
the denormal/unnormal trap, is not a standard IEEE trap. We did
not exclude it from being returned by fpgetmask(), nor did we make
sure that fpsetmask() didn't clobber it. Since the non-IEEE trap
is not part of fp_except_t, users of ifpgetmask()/fpsetmask() would
be confronted with unexpected behaviour, one of which is a SIGFPE
for denormal/unnormal FP results.
This commit makes sure that we don't leak the denormal/unnormal mask
bit in fp_except_t and also that we don't clobber it.
2003-10-22 09:00:07 +00:00
Hajimu UMEMOTO
d24cb2490d
stop use of NI_WITHSCOPEID. it was deprecated.
...
Obtained from: KAME
2003-10-21 20:11:47 +00:00
Diomidis Spinellis
aefcc0fcac
Bring the description of st_[cma]time modification conditions a bit
...
closer to reality. More work remains to be done. st_mtime should
be the most complete based on IEEE Std 1003.1, 2003 Edition, a
review of ufs_vnops.c, and some experimentation.
2003-10-20 13:52:22 +00:00
Daniel Eischen
5bb9c67cc7
This test relies on the concurrency level being 1; make it so.
2003-10-20 04:23:49 +00:00
John-Mark Gurney
634862b329
document the fact that kqueue will immediately return and not timeout when
...
nevents is 0.
PR: kern/45291
2003-10-20 02:29:16 +00:00
Mark Murray
547fa0d9b7
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
2003-10-18 10:04:16 +00:00
Mark Murray
804b0f979a
Remove a GCC specifig CFLAG. We should be using WARNS=? for this.
...
WARNS=? is not added here at this point, because I've not tested
it on enough platforms, and I don't want to break builds.
2003-10-18 09:58:39 +00:00
Ken Smith
921e5ca770
- fix to UID test description, non-zero -> zero
...
PR: docs/57799
Reviewed by: des
Approved by: blackend (mentor)
2003-10-17 17:03:38 +00:00
Peter Wemm
eaa9864401
Update context code for my last ABI breakage of mcontext. I'm worried
...
about the fpu code here. It should be using fxsave/fxrstor instead of
saving/restoring the control word. The SSE registers are used a lot in
gcc generated code on amd64. I'm not sure how this all fits together
though.
2003-10-17 16:30:09 +00:00
Peter Wemm
3efeb2b693
Explicitly specify an alignment for abitag. Without it, gcc specifies a
...
section alignnment of 16 bytes for amd64 and this breaks file(1).
Before:
./cp: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \
FreeBSD 127.7.9, statically linked, stripped
after: ^^^^^^^
./ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \
FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped
The reason for this is that the NOTE sections are not contiguous
internally. If the note section has an alignment of 16, then anything
that looks for the data is supposed to round up the payload start to
the next multiple of the alignment. But FreeBSD/amd64 broke because the
structure is declared as a single structure, not a (header,payload) group,
where the payload had an explicit alignment roundup.
The alternative is to change things like file(1) to ignore the ELF payload
alignment rules for the PT_NOTE section only for FreeBSD.
2003-10-17 15:43:13 +00:00
Alan Cox
44b0fd1cf6
Add rfork_thread(3).
2003-10-13 20:32:33 +00:00
Hajimu UMEMOTO
b42ac57f4f
- support AES counter mode for ESP.
...
- use size_t as return type of schedlen(), as there's no error
check needed.
- clear key schedule buffer before freeing.
Obtained from: KAME
2003-10-13 14:57:41 +00:00
Bruce Evans
1f85f71570
Include <nlist.h> for nlist-related declarations instead of depending on
...
namespace pollution in <kvm.h>.
2003-10-13 05:30:20 +00:00
Hajimu UMEMOTO
c65ee7c758
- support AES XCBC MAC for AH
...
- correct SADB_X_AALG_RIPEMD160HMAC to 8
Obtained from: KAME
2003-10-13 04:54:51 +00:00
Bruce Evans
7f75c38230
Fixed some style bugs in the removal of __P(()). Blind removal of
...
spaces before __P(()) outdented continuation lines to column 0.
2003-10-13 04:44:55 +00:00
Maksim Yevmenkin
0986ab12e4
Update Bluetooth code.
...
Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
2003-10-12 22:04:24 +00:00
Daniel Eischen
077af0a4b4
Don't forget to initialize the fake tcb when the kcb is allocated.
2003-10-12 16:50:45 +00:00
Hajimu UMEMOTO
492528c051
- RIPEMD160 support
...
- pass size arg to ah->result (avoid assuming result buffer size)
Obtained from: KAME
2003-10-12 09:41:42 +00:00
Diomidis Spinellis
638f4836e3
Changed EINVAL constant reference from UIO_MAXIOV to IOV_MAX.
...
The former is a kernel-only visible constant, the latter the
POSIX-specified userland constant defined by including limits.h.
2003-10-11 20:47:44 +00:00
Hiten Pandya
dc2af37d96
Assorted mdoc(7) fixes:
...
- fix hard sentence breaks
- sprinkle a few .Vt's where neccessary
- remove incorrect use of `\-'
- proper quoting using .Dq, instead of manual ``...''
Approved by: des@ (mentor)
Reviewed by: ru@
2003-10-09 23:06:06 +00:00
Daniel Eischen
1f2215bcc4
Reverse the order of the first two arguments to _sparc64_enter_uts().
...
The first argument is the UTS function, the second argument is the
first argument to the UTS function. Who's on first.
2003-10-09 20:52:17 +00:00
Daniel Eischen
97576c1c61
Convert a couple of hardcoded values to constants. Make thr_getcontext()
...
return 0 when called the first time, and return 1 when resumed by
thr_setcontext().
2003-10-09 14:48:09 +00:00
Hiten Pandya
95e5c73981
Remove unneccessary include of sys/types.h in the SYNOPSIS
...
header.
Sys/param.h includes sys/types.h internally unless LOCORE is
defined.
Approved by: des (mentor)
2003-10-09 09:45:20 +00:00
Daniel Eischen
203a51090b
Add preliminary sparc64 support to libpthread. This does not
...
yet work, but hopefully someone familiar with the sparc64
port can pick up the reins.
Submitted by: jake
With mods by: deischen
2003-10-09 02:32:28 +00:00
David Xu
3128827980
Fix some comments for last commit.
2003-10-08 00:30:38 +00:00
David Xu
6e812b65c6
Complete cancellation support for M:N threads, check cancelling flag when
...
thread state is changed from RUNNING to WAIT state and do some cancellation
operations for every cancellable state.
Reviewed by: deischen
2003-10-08 00:20:50 +00:00
David Xu
eb0fa623b7
Use thread lock instead of scheduler lock to eliminate lock contention
...
for all wrapped syscalls under SMP.
Reviewed by: deischen
2003-10-08 00:17:13 +00:00
Poul-Henning Kamp
ed1eac71f4
Add XXX'ed temporary bounce-buffering.
2003-10-07 07:12:22 +00:00
Bruce M Simpson
ed1e0e1be7
Correct .Xr's in kiconv.3.
...
Submitted by: osa
2003-10-05 13:39:28 +00:00
Daniel Eischen
833d1871ba
Fix a logic error; use beq to check for a register being NULL, not bne.
2003-10-02 20:51:30 +00:00
Ruslan Ermilov
ce5508abbe
Correct the library name.
2003-10-02 19:19:07 +00:00
Ken Smith
9afe2022ac
- Remove error code that can't be returned (and original description
...
was not proper English)
PR: docs/57434
Approved: blackend (mentor)
Reviewed by: deischen
2003-10-02 18:30:15 +00:00
David Xu
28e2ce478d
Only generate code for _LCK_ASSERT if _LCK_DEBUG is defined.
2003-10-02 03:24:26 +00:00
Tim J. Robbins
5e24a42489
Cite the published version of "Engineering a Sort Function" instead of
...
an email address. Spell McIlroy correctly.
2003-09-30 07:05:46 +00:00
Daniel Eischen
fcd58c1978
If __sys_write() returns 0, allow that to exit the loop in libc_r's
...
wrapped version of write().
Submitted by: dan@langille.org
2003-09-29 13:41:26 +00:00
David Xu
ee74732c91
When concurrency level is reduced and a kse is exiting, make sure no other
...
threads are still referencing the kse by migrating them to initial kse.
Reviewed by: deischen
2003-09-29 06:25:04 +00:00