FreeBSD/src 828be90 (r329976)sys/compat/linuxkpi/common/include/linux sched.h mutex.h, sys/compat/linuxkpi/common/src linux_compat.c linux_lock.c

MFC r329825:
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.

Sponsored by:   Mellanox Technologies
DeltaFile
+56-32sys/compat/linuxkpi/common/src/linux_compat.c
+33-1sys/compat/linuxkpi/common/src/linux_lock.c
+20-10sys/compat/linuxkpi/common/src/linux_schedule.c
+17-2sys/compat/linuxkpi/common/include/linux/sched.h
+3-1sys/compat/linuxkpi/common/include/linux/mutex.h
+3-1sys/compat/linuxkpi/common/include/linux/rwsem.h
+132-476 files

UnifiedSplitRaw