| #
94944062 |
| 22-Feb-2018 |
Hans Petter Selasky <[email protected]> |
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.
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
show more ...
|
| #
9760ac0a |
| 09-Mar-2017 |
Hans Petter Selasky <[email protected]> |
Implement support for mutexes with deadlock avoidance in the LinuxKPI.
When locking a mutex and deadlock is detected the first mutex lock call that sees the deadlock will return -EDEADLK .
MFC afte
Implement support for mutexes with deadlock avoidance in the LinuxKPI.
When locking a mutex and deadlock is detected the first mutex lock call that sees the deadlock will return -EDEADLK .
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|