Commit Graph

9442 Commits

Author SHA1 Message Date
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
christos
3c2635eac1 Do all the _res initialization in __res_get_state() 2004-05-23 16:55:09 +00:00
christos
13cc3543b5 centralize res_*init() calls in __res_get_state() 2004-05-23 16:54:12 +00:00
christos
94564d94a6 make this thread-safe. 2004-05-23 16:53:22 +00:00
christos
ba991ec242 one more missing weak_alias 2004-05-23 05:09:52 +00:00
lukem
b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
christos
162504ee9b Provide access to the 8 symbols the bind8 resolver did, through weak aliases.
3 of them [res_send_*, and res_querydomain], were done incorrectly before...
2004-05-22 23:47:09 +00:00
christos
b6b34b8065 fix memory leak; thanks to Logan Gabriel 2004-05-22 23:21:28 +00:00
christos
7168861fac Provide access to _res in the non-threaded case, and abort in the threaded
case.
2004-05-22 15:44:26 +00:00
kleink
6b3fbf5d75 IEEE Std 1003.1-2001/Cor 2-2004, item XSH/TC2/D6/5: fdatasync() shall
have cancellation points.

Note: we ride today's resolver-related version bumps.
2004-05-21 17:15:42 +00:00
christos
5ce4c264ed disable weak aliases for now; the resolver header file adds __ to all the
names.
2004-05-21 16:03:05 +00:00
christos
729d8bb9ff #ifdef protect __weak_alias 2004-05-21 16:02:40 +00:00
christos
6f3786f41c namespace protection for resolver routines. 2004-05-21 15:35:05 +00:00
martin
09e989c0e2 ptrdiff_t may be != int, so printf it with %tu instead of %u. 2004-05-21 08:20:50 +00:00
itojun
30dd6e8b37 inet6_{option,rthdr}_space are still alive. 2004-05-21 04:51:00 +00:00
christos
d0631d4012 no support for printing dnssec key in libc 2004-05-21 04:24:53 +00:00
christos
627129c2d3 bump the version of this too. 2004-05-21 04:09:13 +00:00
christos
9b99e159b4 add pool code for res state.
XXX: could be more efficient.
2004-05-21 03:40:51 +00:00
christos
1dda7301b9 bump version.
XXX: this needs work
2004-05-21 03:33:44 +00:00
christos
d14c1915e0 Finish bind9 resolver merge. 2004-05-21 02:30:03 +00:00
christos
3fa54233f6 Add the remaining files from net that are going to be moved here and
the Makefile glue.
2004-05-20 23:13:02 +00:00
christos
df0952c6d2 - merge in our newer and better changes
- pass lint
- XXX: need to get rid of SPRINTF() macro
2004-05-20 23:12:33 +00:00
christos
39e7bb7142 import the parts of the bind9 lib/bind/inet directory directory that we
use.
2004-05-20 22:29:02 +00:00
christos
e878251743 Add headers that ISC software [bind9] needs to include 2004-05-20 22:26:22 +00:00
christos
fd00db407e - de-lint
- add NetBSD rcsid.
2004-05-20 20:35:05 +00:00
christos
a8846ff30b - make prototypes for 16 and 32 bit types make sense.
- fix lint issues
- add NetBSD rcsid
2004-05-20 20:19:00 +00:00
christos
56d79e72ce add Makefile glue 2004-05-20 20:02:26 +00:00
christos
0c789e3239 import files needed from the nameser directory of bind9 2004-05-20 20:01:31 +00:00
christos
49a363f167 1. de-lint
2. NetBSD rcsid.
2004-05-20 19:52:31 +00:00
christos
3e5b2b5f54 makefile glue. 2004-05-20 19:52:14 +00:00
christos
8681712dac de-lint 2004-05-20 19:51:55 +00:00
christos
89abd4929c import isc specific header files. 2004-05-20 19:49:41 +00:00
christos
ca31adbdcc netbsd rcsid. 2004-05-20 19:43:39 +00:00
christos
330989eefb import isc specific functions from bind9. 2004-05-20 19:34:32 +00:00
christos
50d86ec259 more lint fixes. 2004-05-20 19:31:52 +00:00
christos
7899178585 provide __h_errno_set() 2004-05-20 19:31:40 +00:00
christos
fa406da826 Add glue files. 2004-05-20 18:00:55 +00:00
christos
1ad5eecb0b - add casts to appease lint
- fix unreachable condition pointed out by lint.
2004-05-20 17:59:43 +00:00
christos
d2fb1f98f1 add casts to silence lint. 2004-05-20 17:43:31 +00:00
christos
f5b0f7df42 silence lint. 2004-05-20 17:42:30 +00:00
christos
d398b3c4b9 add casts to silence lint. 2004-05-20 17:41:00 +00:00
christos
08b5682b49 - add casts to silence lint
- add missing prototype
- rename variables to avoid hiding globals
2004-05-20 17:39:55 +00:00
christos
df510acf5d - res_ourserver_p prototype was inconsistent (thanks lint)
- protect update functions with _LIBRESOLV
- add res_opt() to mirror res_nopt
2004-05-20 17:34:17 +00:00
christos
f4f2cfc21a - don't use irs.
- h_errno is not going to be per-thread in our implementation.
2004-05-20 17:23:22 +00:00
christos
2b237084d1 Import libc portion of the resolver from bind9 2004-05-20 17:18:54 +00:00
kleink
675001e211 * Note string termination behaviour of NAME_MAX vs. PATH_MAX.
* Replace reference to non-existant KERN_NAME_MAX appropriately with
  {NAME_MAX}.
2004-05-19 11:40:51 +00:00
sjg
5d1af908f6 Apply patch from OGAWA Takaya to fix FreeBSD hosted builds.
The trick is to force use of the NetBSD versions of user_from_{uid,gid}().

PR: 24843
2004-05-18 22:14:35 +00:00
skrll
5e2026a163 Add code code for .init and .fini section fallthroughs and regression
test.
2004-05-18 19:19:34 +00:00
wiz
59c0620d8b Bump date for previous. 2004-05-18 14:53:47 +00:00
ragge
3a42a9c112 Update connect manpage to reflect current changes. 2004-05-18 12:21:29 +00:00
chs
255a1a9db8 __sigreturn14 -> compat_16___sigreturn14 2004-05-17 14:14:18 +00:00
skrll
c007da99a0 Update for ELF. 2004-05-17 10:44:22 +00:00
lukem
7c3f906965 no need to define INTERNALLIB here 2004-05-17 05:49:54 +00:00
lukem
42415f999d Add entries for items found on the Microsoft Wireless MultiMedia Keyboard 1.1.
Spell "Microsoft" correctly.
2004-05-16 13:22:23 +00:00
mhitch
a6d522d13c Add ceilf(), floorf(), and sqrtf() (as wrappers using ceil(), floor(), and
sqrt() repectively).  The fixes PR#22796.
2004-05-13 20:35:40 +00:00
wiz
64ebeb5cbc \- is a minus, not -. 2004-05-13 10:20:57 +00:00
wiz
339084de19 \- is a minus, not -. 2004-05-13 10:10:46 +00:00
kleink
c54a69ad5a Like in shmget(2), elaborate on IPC_EXCL in the description. 2004-05-13 01:49:55 +00:00
kleink
2594bcf8ad Repair sentence in previous. 2004-05-13 01:43:13 +00:00
kleink
aa87f3ef0e * Undo rev. 1.9, most of which was either redundant, inaccurate, or wrong.
* Elaborate on IPC_EXCL in the description.
2004-05-13 01:39:14 +00:00
kleink
15a5f3876a Don't use tm_gmtoff for %z: a strictly conforming ISO C application won't
initialize it.  However, instead of using what is suggested in this code
path, attempt get it right for DST as well.  Addresses PR standards/21722
from Richard Earnshaw.
2004-05-12 23:03:11 +00:00
toshii
ac142bbda7 Fix typos. 2004-05-12 17:20:01 +00:00
wiz
7117989465 Sort sections; use \*[Lt]\*[Gt] instead of <>. 2004-05-11 20:02:54 +00:00
kleink
58c660fd11 When using PATH_MAX in the example, make sure we include <limits.h>! 2004-05-11 17:39:36 +00:00
kleink
3bb0518901 Add an example code piece; suggested by Thomas Klausner. 2004-05-11 17:38:18 +00:00
drochner
f56a8e5871 make this build in the tools/compat reachover
case if HAVE_FPARSELN is not present
patch from Christian Limpach
2004-05-11 17:31:04 +00:00
wiz
d5286aa001 End sentence with a dot. 2004-05-11 12:29:22 +00:00
kleink
4c5383c22f Don't use tm_zone for %Z: a strictly conforming ISO C application won't
initialize it.  Addresses PR standards/21722 from Richard Earnshaw.
2004-05-11 09:32:02 +00:00
kleink
8df3999b0c While I'm at it: add restrict qualifiers to readlink(2). 2004-05-10 22:33:08 +00:00