This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch fixes the unintended and dangerous (calls to non-async-cancel-safe functions, which could leave locks in corrupt state if interrupted by cancellation) use of async cancellation mode in the implementation of system(). As discussed with Carlos in the nptl/tst-cancel7 thread on this list, the code seems to have been introduced mechanically along with similar changes in a number of other files, the rest of which were pure syscalls for which the issue in this bug report does not apply. Copyright papers should not be required since this patch is all-red. :-) Rich
Attachment:
system_async_cancel_bug.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |