Commit Graph

11444 Commits

Author SHA1 Message Date
wiz b2fb822f2d Re-add removed block:
Christian Biere suggests it was a typo, and was intended to describe
ENFILE; let it do that.
2007-01-04 00:02:43 +00:00
wiz 49a81ec436 Remove duplicate EMFILE description. 2007-01-03 23:02:53 +00:00
cbiere 8106cb099a Fixed wrong and illogical statement:
fcntl() F_DUPFD does NOT set FD_CLOEXEC for the new file descriptor.
2007-01-03 11:50:47 +00:00
ws 0ff81292cd Don't leak file descriptors. 2007-01-03 11:46:22 +00:00
pooka f70a3c8c19 * inform kernel of our version
* homegrown lib ABI check (to avoid bumping major a ludicrillion times
  before reaching stability)
2007-01-02 15:53:05 +00:00
martin cc10b3e0c8 MD_DO_NOT_NEED_FALLTHRU - from Nick Hudson. 2007-01-02 14:32:34 +00:00
yamt daa6d99693 kvm_getproc2: retry on ENOMEM.
it happens when the number of processes are changed in the mean time.
2006-12-31 16:20:18 +00:00
uebayasi d8b460bb92 Whitespace. 2006-12-31 03:17:52 +00:00
yamt 5bb88600b0 remove nqnfs. pointed by Tom Spindler. 2006-12-29 22:56:55 +00:00
pooka 184a7d787c checkpoint some experimental work-in-progress, namely:
Add support for having multiple outstanding operations.  This is done
by exposing enough interfaces so that it is convenient to have the
main event loop in the implementation itself and by providing a
continuation framework for convinient blocking and rescheduling.

works fine, but will undergo further cleanup & development
2006-12-29 15:28:11 +00:00
martin 1c4ebce529 Provide a full frame stack space in the clone'd child. 2006-12-28 17:46:03 +00:00
martin 55a9a999dd Use CCFSZ instead of 96 for standard save operations. 2006-12-28 10:02:43 +00:00
martin f666b179b1 After discussing this further with uwe, rearange stack usage slightly and
replace a comment with words suggested by him.
2006-12-27 13:40:56 +00:00
martin 520e5c8f6a When setting up the __clone()'s userland stack, make sure to allocate
an initial frame. Fixes PR 33075.
2006-12-25 21:44:37 +00:00
ad ae979b2162 Add some items for 1:1 threads. 2006-12-25 11:36:36 +00:00
ad ded2602507 Fix bugs with and improve upon previous. 2006-12-24 18:39:45 +00:00
christos f1700f07c0 But turn on PTHREAD_SA, since turning it off does not work yet. 2006-12-24 03:54:43 +00:00
christos 34bc1fc940 just get this to compile again, so that people can build. 2006-12-24 03:47:53 +00:00
wiz f77162e1ea Fix typo. 2006-12-23 09:55:47 +00:00
wiz 1073e35f2d Use more macros. Fix section in Xr. 2006-12-23 09:54:11 +00:00
ad fe9718ac7c Add another comment. 2006-12-23 09:48:18 +00:00
wiz 168147d486 Sort sections. 2006-12-23 09:04:23 +00:00
wiz 9e92895829 Sort errors; use Dv; s/=A0/ / 2006-12-23 08:09:31 +00:00
wiz ee39be7187 Add missing article. 2006-12-23 07:42:30 +00:00
wiz 73188ad828 Quote - when used as minus; uppercase Dt argument; remove dot at end
of SEE ALSO; new sentence, new line.
2006-12-23 07:29:10 +00:00
wiz 57551caad9 Remove trailing whitespace. 2006-12-23 07:26:09 +00:00
ad 10058f19c8 Add a comment. 2006-12-23 05:18:56 +00:00
ad 1ac6a89b79 Conditionalised support for 1:1 threads. Needs associated kernel changes
and more work to be useful.
2006-12-23 05:14:46 +00:00
pooka 78ed4b8815 markup fixes 2006-12-22 11:56:45 +00:00
christos af4b090320 From Anon Ymous:
- add __unused
- remove __GNUC__ hack
2006-12-20 16:47:13 +00:00
uwe fd6ecc2112 Split "if (cond) stmt;" to be on separate lines. 2006-12-19 02:02:03 +00:00
christos 504a87e860 don't use 256 and 255, define and use a constant. 2006-12-18 22:27:18 +00:00
kleink 20a6bdbc6b Update for tgetstr() null areas. 2006-12-18 13:27:25 +00:00
kleink 4d11183215 No need for static allocation of ptr, and make use of sizeof. 2006-12-18 13:13:20 +00:00
christos a140872833 handle *area being NULL from kjk 2006-12-18 12:59:22 +00:00
christos 790ad13871 make tgetstr() work with a NULL area. 2006-12-18 06:15:56 +00:00
christos cdcb070b9c remove bogus (void)&var; From Anon Ymous 2006-12-18 00:40:14 +00:00
wiz 5021afa87b Sort error descriptions. 2006-12-18 00:09:59 +00:00
wiz 77171fb3a0 Fix xref section. Whitespace cleanups.. 2006-12-18 00:03:43 +00:00
christos 3a1928de28 add EL_GETFP, and EL_SETFP. 2006-12-15 22:13:33 +00:00
ad 11b0ba9c5d pthread__debuglog_printf(): check for linebuf == NULL. 2006-12-14 20:40:57 +00:00
ad 24ae41f8f3 Set _IOLBF on stdout. 2006-12-14 20:39:04 +00:00
he 0a97c3f688 Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
 o Bump libutil minor version number
 o Fix uses to include <util.h> to pick up the function definitions
 o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
christos 33d6b113f2 moved string_to_flags and flags_to_string from ls to libutil. 2006-12-14 19:18:01 +00:00
alc 1a0e3f4a48 CID4360: don't leak `buf' upon return
ok pooka@
2006-12-14 18:15:59 +00:00
tnozaki c61eef3da4 make del(\x7f) pass through. 2006-12-13 16:16:56 +00:00
martin 2ed5a47025 Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
quoting Matthias Drochner:

> -check for a NULL uc_link before calling setcontext(2); do a real exit(3)
>  instead with exit handlers and all that
> -If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
>  than relying on a sensible return value to use as exit code. Makes
>  it less likely that an ucontext corruption goes unnoticed.

This fixes regress/lib/libc/context for m68k.

Thanks to Steve Woodford for optimization hints.
2006-12-13 10:48:02 +00:00
christos a4b90d57e2 Add emalloc. 2006-12-11 00:55:02 +00:00
manu e7390e9b83 Bump libipsec minor 2006-12-10 18:47:15 +00:00
dyoung a26b3af0e0 Render the format %% as %. 2006-12-09 20:18:43 +00:00