Commit Graph

5069 Commits

Author SHA1 Message Date
itohy
ca348cd671 Use definition in "namespace.h" to rename functions, not home grown. 2003-02-08 07:27:51 +00:00
simonb
e32d091ca8 Fix a tyop in a comment. 2003-02-08 04:01:53 +00:00
cgd
57daa57e46 * fix handling of invalid arguments (was jumping to wrong label!)
(found by... running the regress test!)
* clean up punctuation.
* create a proper frame for the child fn that follows the o32 calling
  conventions.  In particular, leave 4 stack slots that the child
  fn can write on, put the GP above them, and invoke .cprestore
  properly in light of the child fn arg area.  (realized it was a
  problem upon inspection, verified using the regress test compiled
  -O0.)
2003-02-08 00:28:25 +00:00
cgd
351f7a02f1 looks like nobody ever seriously tried the _REENTRANT version of this
code (which, uh, seems the default for a fresh build)...  it wasn't
setting up v1 properly (the instruction to set up v1 was after the
return jump, in "reorder" code...  i.e.  after the end of the function).
That would break error returns from 64-bit syscalls (e.g. checks
in dd and who knows what else) to see if input or output are pipes.
It looks like the non-_REENTRANT version was broken (on the nathanw-sa
branch) in rev 1.9.2.1 and fixed in 1.9.2.2, but the _REENTRANT version
was never fixed, and the broken bits were merged back on to the trunk.
2003-02-07 20:35:05 +00:00
petrov
12784e54c3 Correct unsigned to float conversions, add license, adjust style. 2003-02-06 20:23:35 +00:00
kleink
d58cfc7d35 Sprinkle some restrict. 2003-02-05 23:13:07 +00:00
gmcgarry
0d72c02993 Xref gencat(1) 2003-02-05 05:05:50 +00:00
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
jdolecek
d644334729 update copyright dates and .Dd 2003-02-04 09:07:20 +00:00
jdolecek
ebec5a4dfb Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

from FreeBSD
2003-02-04 09:05:42 +00:00
elric
1b4eceb53f When looking up gids with hesiod, use the gid map and fall back to the
group map.

Addresses PR lib/20145
2003-02-03 04:22:20 +00:00
kleink
71d7654509 Add sysconf(3) knobs for recent additions. 2003-02-02 20:33:05 +00:00
martin
912ab5ad59 Check how the compiler expects the return value of this function
by testing SOFTFLOATSPARC64_FOR_GCC.

Should fix PR port-sparc64/20140.
2003-02-01 09:19:58 +00:00
nathanw
34c915eb3d Revert the conversion to libpthread's recursive mutexes. Too much
trouble is caused by the memory allocation in the mutex initialization,
and uncontested mutexes and condition variables have become faster in the
meantime.
2003-02-01 03:25:00 +00:00
jdolecek
6034a0fc70 use right function name in HISOTRY, this is not _lwp_create(2) 2003-01-31 22:06:45 +00:00
uwe
4eb408dcd9 Avoid cgetcap &co prototypes conflicting with those provided by the host.
With this change we can cross-compile on FreeBSD 4.x.
2003-01-31 20:50:29 +00:00
fvdl
894bd3ad9d Add ucontext glue for x86_64. 2003-01-30 02:07:30 +00:00
heinz
077e910e6d Provide some more details for papers by Bentley/M.D. McIlroy and by
P.M. McIlroy (after short e-mail conversation with M.D. McIlroy on
www@).
2003-01-29 22:12:53 +00:00
wiz
9804cdc7fc a, b, and c. 2003-01-28 20:33:25 +00:00
kleink
5b62d84e6e Add a manual page for flockfile(3) etc.; while here, also add *_unlocked()
to stdio(3) overview documentation.  Fixes PR lib/20096 from Jason Thorpe.
2003-01-28 20:26:04 +00:00
thorpej
2dcac9e4eb Make the generated .S files depend on ${.CURDIR}/sys/Makefile.inc. 2003-01-28 00:33:23 +00:00
fvdl
161423ddca Reset in_reclen and in_received after having received a full record in
the nonblocking case.
2003-01-27 20:56:45 +00:00
nathanw
c316063660 Move accept and connect stubs to WEAKASM so that they can be overridden. 2003-01-27 20:55:56 +00:00
kleink
326194c69f Update stack frame allocation for XMM state having been added to
mcontext_t; spotted by Frank van der Linden.
While here, also align the on-stack ucontext as required.
2003-01-26 18:14:03 +00:00
kleink
9b24979426 Fix comment typo, and convert to C-style comments. 2003-01-26 17:58:55 +00:00
fvdl
75b44dbf11 Fix comment that wasn't closed because of a typo (but harmless, since followed
by another comment).
2003-01-26 16:22:01 +00:00
fvdl
3a79855417 Fix wrong %esp fixup. 2003-01-26 15:54:35 +00:00
matt
61687fc220 Add the *context.? sources to SRCS.
Make getcontext _getcontext and add a getcontext weak alias.
2003-01-23 23:56:13 +00:00
kleink
35a8bdf8fa While we're here, document EPERM. 2003-01-22 15:28:37 +00:00
kleink
75adcdd6f1 Add a STANDARDS section; requested by Thomas Klausner. 2003-01-22 15:24:03 +00:00
scw
aa338c0862 Now make these actually work. 2003-01-22 13:44:36 +00:00
nathanw
6003a24dd4 Use recursive mutexes from libpthread rather than implementing
our own with normal mutexes and condition variables.
2003-01-21 23:26:02 +00:00
kleink
8b314175ec Add ns32k ucontext userland portions. Untested, but compiled in the
recent past and presumed working.
2003-01-21 21:03:25 +00:00
kleink
7a9f64971b Add swapcontext() lint stub. 2003-01-21 20:26:10 +00:00
kleink
cd9f53e12c Add swapcontext() lint stub. 2003-01-21 20:14:07 +00:00
kleink
a26c2fe5e2 A function wrapper cannot be used for getcontext(), so error out
if neither weak aliases nor indirect references are available.
2003-01-21 19:15:05 +00:00
wiz
9b5abffe9d Add makecontext(3) from Klaus Klein. 2003-01-21 12:39:08 +00:00
scw
fd2dcace1f Make these compile. 2003-01-21 11:29:29 +00:00
christos
90135cf7e8 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:10:19 +00:00
scw
11e9fa3a9b Initialise the FPSCR to a sane value. 2003-01-20 20:09:59 +00:00
christos
111839200d Add _ksem stubs. 2003-01-20 20:09:27 +00:00
dsl
c673281c37 Fix lib/17248 properly
'ls -l-' now reports unknown option -- -
'env -' and 'su -' both work ok
(change approved by christos)
2003-01-20 09:06:35 +00:00
simonb
d7b879c6ec Grrr. So much for my ability to use grep(1) effectively. Pointed out
by Stephen Degler in private mail.
2003-01-20 07:12:12 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
thorpej
d504e2bb9c Simple TSD implementation, since some thread-safe libraries want
to use it.
2003-01-20 01:58:54 +00:00
thorpej
71b91cf442 Make thr_self() not return NULL. 2003-01-20 01:30:15 +00:00
thorpej
c7e237f26a Merge the nathanw_sa branch. 2003-01-20 00:26:39 +00:00
matt
21375ddf92 Make sure r0 in the saved context is 0. 2003-01-20 00:24:07 +00:00
matt
94face2f9c Use _ALIGN_TEXT.
Make sure R0 is 0 in the saved context.
2003-01-20 00:18:06 +00:00
kleink
13a5336c66 Move getcontext.S from gen to sys, where it belongs. 2003-01-19 23:49:12 +00:00