opnsense-src/sys/compat/linuxkpi/common/include
Hans Petter Selasky 949440623b Return correct error code to user-space when a system call receives a
signal in the LinuxKPI.

The read(), write() and mmap() system calls can return either EINTR or
ERESTART upon receiving a signal. Add code to figure out the correct
return value by temporarily storing the return code from the relevant
FreeBSD kernel APIs in the Linux task structure.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2018-02-22 15:29:19 +00:00
..
asm Optimise xchg() to use atomic_swap_32() and atomic_swap_64(). 2018-02-18 18:46:56 +00:00
linux Return correct error code to user-space when a system call receives a 2018-02-22 15:29:19 +00:00
net Add full VNET support to the inet_get_local_port_range() function in 2017-03-22 15:46:31 +00:00