Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/arch
Module Name: src
Committed By: drochner
Date: Wed Nov 8 20:28:03 UTC 2006
Modified Files:
src/lib/libc/arch/alpha/gen: resumecontext.c
src/lib/libc/arch/i386/gen: resumecontext.S
src/lib/libc/arch/x86_64/gen: resumecontext.S
Log Message:
-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.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/lib/libc/arch/alpha/gen/resumecontext.c
cvs rdiff -r1.4 -r1.5 src/lib/libc/arch/i386/gen/resumecontext.S
cvs rdiff -r1.2 -r1.3 src/lib/libc/arch/x86_64/gen/resumecontext.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index