DescriptionRevert of Non-SFI mode: Add Linux asynchronous signal support (patchset #12 id:220001 of https://codereview.chromium.org/1212613002/ )
Reason for revert:
test_async_safe_signal seems to be broken on x86_32 bots, but not reproducible on trybots or local machine.
Original issue's description:
> Non-SFI mode: Add Linux asynchronous signal support
>
> This change adds a mechanism to both receive and send signals to other
> threads in the process. A single signal is implemented with no option
> to mask it, but user code can use this to multiplex multiple signals and
> implement something that looks more like POSIX.
>
> Enabling signals will require allowing the tgkill system call (with the
> current pid and SIGUSR1 as signum) and adding the CLONE_PARENT_SETTID
> flag to clone.
>
> * Refactored some functions common to both signal and exception
> handling from src/nonsfi/linux/irt_exception_handling.c to
> src/nonsfi/linux/irt_signal_handling.c. That way, other code
> can still call |nonsfi_initialize_signal_handler| and it will
> install both.
> * Added a test for user async-signals.
> * Added documentation for this feature in
> documentation/nonsfi_mode_async_signals.txt
>
> BUG=https://code.google.com/p/nativeclient/issues/detail?id=4065
> TEST=./scons run_user_async_signal_test_irt bitcode=1 nonsfi_nacl=1 \
> --mode=nacl,dbg-host,nacl_irt_test [platform=arm]
> TEST=git try
>
> Committed: https://chromium.googlesource.com/native_client/src/native_client/+/6a0ce065f481a3eb0bcd63ed62755d82d339c617
TBR=mseaborn@chromium.org,uekawa@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=https://code.google.com/p/nativeclient/issues/detail?id=4065
Committed: https://chromium.googlesource.com/native_client/src/native_client/+/e73a2db66b7730fb7863b53839d071f6372fd71d
Patch Set 1 #
Created: 5 years, 4 months ago
(Patch set is too large to download)
Messages
Total messages: 9 (3 generated)
|