Tim J. Robbins
6e7988b9c5
Catch up with the renaming of the "union" filesystem to "unionfs".
...
Fixes a problem where directory entries could show up twice: once
on the top layer of the union stack, and once on the bottom layer.
Approved by: re (rwatson)
2003-05-16 02:15:07 +00:00
Mike Makonnen
dd3b229e2c
Do some cleanup with respect to condition variables. The implementation
...
of pthread_cond_timedwait() is moved into cond_wait_common().
Pthread_cond_wait() and pthread_cond_timedwait() are now wrappers around
this function. Previously, the former called the latter with the abstime
pointing to 0 time. This violated Posix semantics should an application
have reason to call it with that argument because instead or returning
immediately it would have waited indefinitely for the cv to be signaled.
Approved by: markm/mentor, re/blanket libthr
Reviewed by: jeff
2003-05-15 18:17:13 +00:00
Mike Makonnen
6da7f4937e
o Make the setting/checking of cancel state atomic with
...
respect to other threads and signal handlers by moving to
the _thread_critical_enter/exit functions.
o Introduce an static function, testcancel(), that is used by
the other functions in this module. This allows it to make
locking assumptions that the top-level functions can't.
o Rework the code flow a bit to reduce indentation levels.
Approved by: markm/mentor, re/blanket libthr
Reviewed by: jeff
2003-05-15 17:56:18 +00:00
John Baldwin
840558b971
s/procsig/sigacts/ to catch up to procsig and sigacts changes in the kernel.
...
Approved by: re (scottl)
2003-05-14 15:01:20 +00:00
Peter Wemm
e472fbeee2
Bandaid for world. jhb gets the pointy hat here and he needs to look at
...
this.
Approved by: re (scottl)
2003-05-14 07:28:43 +00:00
Doug Barton
336c22c598
* The copy of the stat struct in the man page has rotted, so remove it.
...
Those who really need this information can find it in the include file.
* Include a succinct description of the st_birthtime field.
Approved by: re (bmah)
2003-05-13 08:10:05 +00:00
Hiten Pandya
4a49423d71
Following MLINKS added, which point to host_access(3):
...
- hosts_ctl(3), hosts_access(3), request_init(3),
request_set(3).
PR: docs/52000
Submitted by: Simon L. Nielsen <simon@nitro.dk>
Approved and Reviewed by: des (mentor), re (scottl)
2003-05-12 21:59:16 +00:00
Mike Makonnen
479778b07f
msg2
2003-05-12 10:40:53 +00:00
Mike Makonnen
c984b5a72a
msg1
2003-05-12 10:34:01 +00:00
Peter Wemm
6b22ec82bf
Update ldexp.c for amd64.
2003-05-10 00:47:52 +00:00
David Schultz
b7412bf571
Add a comment describing why it's important for the values in this
...
file to be correct, and how to generate them automatically.
Caused much pain and suffering for: peter
2003-05-08 13:50:44 +00:00
Peter Wemm
0b1bb81ae6
SIG_SETMASK is 3, not 1. Sigh.
2003-05-08 07:41:24 +00:00
Peter Wemm
7ef6516c60
Fix an embarresing transcription error from i386 to amd64. Put the arguments
...
to sigprocmask(2) int the correct order. *blush*.
For sigsetjmp(), match up the pushq/popq in the non-savemask case.
2003-05-08 06:25:03 +00:00
Peter Wemm
dffecce67c
Tidy up modf.S and make it actually work. It wasn't extracting
...
the value out of ST(0) before copying it to %xmm0. Also remove bogus stack
frame and work in the red zone.
2003-05-08 03:19:37 +00:00
Peter Wemm
74b0b3cfcb
Fix typo, even though this is unused.
2003-05-08 00:02:47 +00:00
Peter Wemm
c48f718c25
Like ia64, amd64 has got a 16 byte sized and aligned 'long double'.
...
Obtained from: re (blanket amd64)
2003-05-08 00:02:03 +00:00
Peter Wemm
cf2720dda4
Turn off alloca.S - it cannot possibly work like this since on AMD64, gcc
...
doesn't use stack frames. It uses offsets relative to %rsp, not %rbp. So
we cannot just change %rsp like this.
Approved by: re (blanket amd64)
2003-05-07 23:49:24 +00:00
Peter Wemm
be78acdf64
Actually use the correct values for AMD64. It is a 64 bit platform,
...
configure gdtoa as such.
2003-05-07 23:48:05 +00:00
John Baldwin
664234c6e2
Properly cleanup the stack before jumping to cerror() if rfork(2) fails.
...
Submitted by: Igor Sysoev <is@rambler-co.ru>
Approved by: re (scottl)
2003-05-07 17:23:25 +00:00
Mike Makonnen
a260623c5f
Fix a null dereference leading to a core dump when
...
the number of threads exceeds the number of open slots
in ldt_entries[].
Approved by: markm (mentor)(implicit)
Reviewed by: jeff
2003-05-06 02:33:49 +00:00
Mike Makonnen
ae0df91f34
o Correct a debug message that refered to the wrong function
...
o Remove an unncecesary if clause
Approved by: markm (mentor)(implicit)
Reviewd by: jeff
2003-05-06 02:30:52 +00:00
Daniel Eischen
07e6b1c7a3
Make pthread_join() async-cancel-safe. David was going to commit
...
this, but I think he's asleep and want to be sure it gets in before
the freeze.
Submitted by: davidxu
2003-05-06 00:02:54 +00:00
Dag-Erling Smørgrav
8b48559cff
OpenPAM is WANRS6-clean.
2003-05-05 21:15:35 +00:00
Mark Murray
dbf104e68d
Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
...
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
2003-05-05 07:58:44 +00:00
Murray Stokely
eb8b21f78b
Backout last commit. It is redundant in -CURRENT.
...
Pointed out by: David Schultz
2003-05-05 06:25:03 +00:00
David Xu
f508d26091
call dump_queues() only when DEBUG_THREAD_KERN is defined, save some
...
cpu cycles.
2003-05-05 05:01:19 +00:00
Daniel Eischen
e8baaa7062
Replace use of a spinlock with a mutex.
2003-05-04 22:36:46 +00:00
Daniel Eischen
c72cd7c9e2
Protect against a race between granting a lock and accessing
...
other parts of the lock.
Submitted by: davidxu
2003-05-04 22:29:09 +00:00
Murray Stokely
d8082d11aa
Note that the idletime setting is not enforced.
...
PR: docs/40952
MFC After: 3 days
2003-05-04 21:35:41 +00:00
David E. O'Brien
1628730478
This is now Gcc 3.3 WARNS 6 clean.
2003-05-04 18:34:00 +00:00
David E. O'Brien
bbe4999bd1
Set abitag __unused.
2003-05-04 18:33:26 +00:00
Daniel Eischen
40791d9d15
Fix suspend and resume.
...
Submitted (in part) by: Kazuaki Oda <kaakun@highway.ne.jp>
2003-05-04 16:17:01 +00:00
Murray Stokely
df788a526f
Document the login-backoff and login-retries capabilities.
...
PR: docs/51397
MFC After: 3 days
2003-05-04 06:43:24 +00:00
David Xu
99c883294c
Handle thread canceled case, it is same as signal caused backout,
...
but will break out of loop.
2003-05-02 11:39:00 +00:00
Mark Murray
aaa2c2ab24
Trasmute moer "krb5" distibutions into "crypto".
2003-05-01 21:21:15 +00:00
Tom Rhodes
a460614661
Use the .Dl macro.
...
Discussed with: mdoc(7) officer ru
2003-05-01 20:27:59 +00:00
Ruslan Ermilov
a52672e938
Build non-crypto telnet(1) and telnetd(8) if NO_OPENSSL is defined.
...
Submitted by: Marius Strobl <marius@alchemy.franken.de>
2003-05-01 19:38:15 +00:00
Tom Rhodes
7b98ad3005
State the fact that the range is twice the traditional RAND_MAX.
...
Add an EXAMPLES section.
PR: 48493
Submitted by: Paul Herman <pherman@frenchfries.net> (original version)
2003-05-01 19:09:16 +00:00
Jacques Vidrine
d05090827f
Back out the `hiding' of strlcpy and strlcat. Several people
...
vocally objected to this safety belt.
2003-05-01 19:03:14 +00:00
David E. O'Brien
d37f19f084
Convert the i386 alloca(3) to the x86-64 ISA.
...
Alignment hack from: NetBSD
2003-05-01 16:04:38 +00:00
Dag-Erling Smørgrav
6c0510dc2f
Use C99-style varadic macros instead of the non-standard gcc syntax.
2003-05-01 15:08:55 +00:00
Dag-Erling Smørgrav
e50fb9d500
Mark libpam as c99- and WARNS5-clean.
2003-05-01 14:55:06 +00:00
Dag-Erling Smørgrav
60a87a5fa2
Mark libfetch as c99-clean. Always build at WARNS level 2 rather than
...
juggling with levels 2 and 3, as this has lead to world breakage for
NOCRYPT users in the past.
2003-05-01 14:39:43 +00:00
Peter Wemm
8e80f8a438
AMD64 support (another IEEEFP platform)
2003-04-30 21:06:30 +00:00
Peter Wemm
a1de871d26
AMD64 support; repocopied from i386
2003-04-30 21:05:33 +00:00
Peter Wemm
2512cd4e8f
Teach libdisk that AMD64 works just like i386
2003-04-30 21:03:16 +00:00
Peter Wemm
f7f1bb1485
Add __amd64__ to the list of things that use IEEEFP
2003-04-30 19:32:25 +00:00
Peter Wemm
5aed8cd5f6
Tell malloc.c that AMD64 uses the same pagesize as i386.
2003-04-30 19:30:34 +00:00
Peter Wemm
0f055c5bd8
Add __amd64__ to the list of things that use HIDENAME() to hide minbrk
2003-04-30 19:29:02 +00:00
Peter Wemm
1b376078fd
Update for AMD64. repocopied from i386-elf/crt1.c. Deal with regparm
...
argument passing rather than stack based args. The kernel passes the
base of the argument/env vector in %rdi (arg1).
2003-04-30 19:27:07 +00:00