haiku/headers/private
Jérôme Duval 837f4f48db kernel/thread: restore signal mask just before returning to userland
* otherwise the signal to be handled might be blocked. fixes #15193
* also remove automatic syscall restart on _kern_select, to match Linux and
BSDs behavior: this fixes parallel build with newer gnu make, which happens
to use pselect.
* also remove automatic syscall restart on _kern_poll.

from https://man7.org/linux/man-pages/man7/signal.7.html
"The following interfaces are never restarted after being
       interrupted by a signal handler, regardless of the use of
       SA_RESTART; they always fail with the error EINTR when
       interrupted by a signal handler: ...
	select(2), and pselect(2)."
from https://notes.shichao.io/unp/ch6/
"Berkeley-derived kernels never automatically restart select."

Change-Id: I7f86d221eae1ad93d8a308a75581d2c30a369c9e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3627
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-01-15 17:41:33 +00:00
..
app BCursor: add a constructor with bitmap and point 2020-10-08 08:23:31 +00:00
audio
binary_compatibility
bluetooth
debug
debugger Add (void*) casts to memcpy/memset invocations to appease GCC 8. 2019-05-24 14:21:37 -04:00
device acpi_battery: support for _BIX method. 2020-03-10 13:14:09 +00:00
drivers [WIP] sd/mmc: enable high speed transfers 2021-01-12 22:01:43 +01:00
file_systems fs_shell: Prevent inclusion of BSD headers; fix DeviceOpener. 2020-05-10 12:44:46 -04:00
firewire Minor tweaks to fix the build after the last commit. 2019-03-26 20:06:09 -04:00
fs_shell file_system/fat: Rework driver for fs_shell support 2020-12-30 14:10:19 +00:00
graphics radeon_hd: Cram in a bunch of new PCIID's 2020-07-06 06:39:11 +00:00
i2c i2c: add acquire_bus/release_bus hooks 2020-04-12 16:55:52 +00:00
index_server
input Integrate PadBlocker in input preferences 2020-06-22 15:08:48 +00:00
interface Tracker: improve algorithm to decide desktop text color 2020-12-19 10:17:55 +01:00
kernel kernel/thread: restore signal mask just before returning to userland 2021-01-15 17:41:33 +00:00
libroot Prepare for ICU update 2020-08-02 11:58:14 +02:00
locale locale kit: allow creating a catalog without entry_ref 2020-09-01 18:14:57 +00:00
mail
media media_kit: Dynamic allocation of ChunkCache based on media 2021-01-03 20:51:37 +00:00
midi
mount
net Fix clang warning "mismatched-tags" 2020-03-23 01:30:23 +00:00
notification
package kit/package: Error on short file read 2019-08-05 15:07:24 +00:00
preferences
print
runtime_loader libroot: make API version available. 2019-09-13 13:38:08 +00:00
screen_saver
shared AutoDeleter: add IsSet method 2021-01-08 09:56:38 +00:00
storage Speed up BResource loading 2020-06-01 14:09:54 +00:00
support
syslog_daemon
system sparc: implement elf relocation 2021-01-01 22:10:43 +00:00
textencoding
tracker
usb_vision
userlandfs Relicense all of Ingo's BSD/MIT+advertising clause'd code as plain MIT. 2019-08-30 18:27:35 -04:00
virtio virtio: add clear_feature hook. 2020-03-21 17:16:45 +00:00
vmdk
wmi wmi: add ACPI WMI implementation 2020-04-20 14:56:59 +00:00