thorpej
a6ae8a84ac
Slight hack to get this building on OS X again: Undo the renaming before
...
including the host's <pwd.h> to avoid renaming the host's versions of
these functions (which causes a prototype conflict). After <pwd.h> has
been included, then re-apply the renaming.
2004-06-18 20:34:58 +00:00
christos
92cd5ee20c
Don't allow openpty to succeed if the caller is non-superuser.
...
XXX: we cross-reference ptm 4 which does not exist (yet)
2004-06-18 02:42:57 +00:00
lha
cc333b3dd7
Add list of async-signal-safe functions
...
Approved by wiz
2004-06-13 19:17:06 +00:00
scw
0f10094026
Cast integer to pointer types via intptr_t.
...
Problem reported by Havard Eidnes while building evbsh5.
2004-06-11 07:28:05 +00:00
lha
bb3caff139
Expand a little bit on forks behavior in threaded programs
...
OK by nathanw and martin
2004-06-10 23:45:07 +00:00
martin
7347018381
Ouch. Lint didn't like the last change on sparc64. The reason:
...
<machine/reg.h> plays dirty naming tricks on sparc64 to allow 32bit
compatibility (reg -> reg64 and the parameter in
PTHREAD_REG_TO_UCONTEXT() is called reg). This probably needs to be
fixed separately, but for now reordering the includes will do.
2004-06-10 18:06:19 +00:00
uebayasi
0571d32356
Minor fix in SEE ALSO; put xref first; .Pp before a sentence.
2004-06-10 14:01:45 +00:00
uebayasi
f013145702
Split a sentence in SEE ALSO by a .Pp.
2004-06-10 13:58:47 +00:00
uebayasi
12db5f3635
Remove a superfluous .sp in the SEE ALSO section.
2004-06-10 13:53:48 +00:00
kleink
79d01decfe
Update for use of uint{16,32}_t.
2004-06-10 11:37:35 +00:00
nathanw
41e871fe18
Avoid depending on declarations of struct reg and struct fpreg by using
...
the proc_regsize() callback to allocate reg and fpreg buffers as part of the
proc state (lazily initialized by the PT_STATE_RUNNING case of
td_thr_suspend()).
Fixes build on sh3 (and probably sh5) platforms.
2004-06-10 01:38:29 +00:00
christos
4b05f4b58a
Jump through taller hoops to provide binary compatibility with programs
...
compiled with the older and shorter _res. We now use _nres internally
which is the new and bigger one. We define a _res which is the old
size one if COMPAT__RES is set, and then we consult selected values from
this old _res in res_init(), to emulate the old behavior.
2004-06-09 18:07:03 +00:00
he
552a47b805
Revert previous; mhitch has already committed a workaround to ../Makefile.inc.
2004-06-06 17:09:48 +00:00
he
4b896b2324
It appears necessary to add -I. to CPPFLAGS for nslexer.c. This is
...
most probably caused by gcc 2.95.3; will be documented in doc/HACKS.
Reviewed by ragge.
2004-06-06 13:26:01 +00:00
ginsbach
9fcbc1ee6b
Change remaining K&R style function definition to ANSI; Reviewd by <christos>.
2004-06-04 20:05:25 +00:00
christos
93b9ee2332
simplify and make more efficient (YAMAMOTO Takashi)
2004-06-03 19:32:27 +00:00
mhitch
e1afa110dd
A -I. is needed by vax; had gotten removed from elsewhere.
2004-06-03 16:34:19 +00:00
nathanw
568717a98d
Get the td_thread_t * corresponding to nthread to mess with its lwp
...
data, rather than trying a nonsensical operation on a caddr_t from a
different address space.
Moral: test-compile in the same tree you're working in.
2004-06-03 15:22:08 +00:00
nathanw
387534cc0a
Update cached LWP values when suspending the running thread.
2004-06-03 00:31:28 +00:00
nathanw
bff67c76fe
Add an offset to the thread ID numbers, because GDB really doesn't
...
cope with "thread 0".
2004-06-03 00:20:24 +00:00
nathanw
44a1e00a08
Remove a comment made obsolete by the previous commit.
2004-06-02 22:39:52 +00:00
nathanw
9edc974b8c
Add support for reporting and examining suspended threads.
2004-06-02 21:18:25 +00:00
nathanw
24ddb5f789
td_map_lwps(): there's always one lwp. This makes the call work before
...
the thread system has started.
Additionally, mark not-on-LWP threads explicitly, so that there's no
risk of using stale information.
2004-06-02 21:15:42 +00:00
nathanw
92733106a3
Add td_thr_suspend() and td_thr_resume(), to suspend and resume
...
threads from the context of a debugger.
2004-06-02 21:13:42 +00:00
christos
cd8fc4ae1f
delete duplicate namespace protection.
2004-06-02 20:54:58 +00:00
pooka
aff31bed2f
pthread_spin_lock.3 also describes pthread_spin_trylock(),
...
so link them together
2004-06-02 14:07:07 +00:00
kleink
d355352b08
Don't refer to errno as "global integer variable".
2004-06-01 16:12:51 +00:00
kleink
7de493a895
libc.so.12.120: addition of closefrom(3)
2004-06-01 16:07:17 +00:00
kleink
e78a58d8d7
Sync section number with reality.
2004-06-01 16:06:43 +00:00
wiz
ce20e7ac30
Use "In" instead of "Fd #include <...>".
2004-06-01 10:57:48 +00:00
itojun
347bbb94d3
oops, i've committed BSD auth stuff by mistake.
2004-05-31 06:51:59 +00:00
itojun
9e40b59093
EBADF is returned when fd < 0, so change text to tell the truth
2004-05-31 05:32:27 +00:00
itojun
34f8d0e9df
closefrom(3)
2004-05-31 05:25:40 +00:00
itojun
56c1b44159
implement closefrom(3).
2004-05-31 05:06:51 +00:00
uwe
9da2eaca32
Provide _REENTRANT code. It's a wonder nobody has noticed this before.
...
Uncovered by multithreaded bind9 utils.
2004-05-28 23:39:09 +00:00
uwe
521748fbfa
Fix typo in comment.
2004-05-28 22:58:25 +00:00
christos
388c103e83
PR/25003: John Kohl: File is missing a copyright.
2004-05-28 14:38:53 +00:00
wiz
508c6e7767
Uppercase Dt argument; \-1, not -1; sort SEE ALSO; & -> \*[Am].
2004-05-28 00:10:57 +00:00
wiz
714885bde5
Drop trailing whitespace.
2004-05-28 00:06:50 +00:00
kleink
8bd97363d6
Merge tzcode2004a.
2004-05-27 20:39:49 +00:00
kleink
0e5c1261b9
Update for tzcode2004a.
2004-05-27 20:33:31 +00:00
christos
04562cac02
add a simple lock in _yp_check(), to make it re-entrant.
2004-05-27 18:41:11 +00:00
christos
71fe243008
make yp stuff re-entrant.
2004-05-27 18:40:07 +00:00
christos
f099fa154d
use the pty multiplexor if it exists.
2004-05-27 03:12:48 +00:00
christos
d321ccdba8
bump; posix pty functions.
2004-05-27 03:08:07 +00:00
christos
892ad9caae
unix/98 pty functions and manual pages.
2004-05-27 02:58:48 +00:00
petrov
b4f8e35755
Add current directory to inlcude pathes as it needed for generated assym.h.
2004-05-25 21:06:50 +00:00
christos
cbebf25ae4
remove stray NSUNLOCK(); pointed out by Brian Ginsbach.
2004-05-24 16:16:26 +00:00
lukem
b8580dfae9
Put the description of "options" in a new paragraph, for consistency
2004-05-24 05:52:52 +00:00
christos
556949a68e
Oops, forgot to commit this.
2004-05-24 01:20:17 +00:00