Move EFAULT to the list of expected errors for ::read.
This commit is contained in:
parent
0c09070ce5
commit
7e4f349da8
@ -522,10 +522,10 @@ class SocketFdImpl {
|
||||
case EISDIR:
|
||||
case EBADF:
|
||||
case ENXIO:
|
||||
case EFAULT:
|
||||
case EINVAL:
|
||||
LOG(FATAL) << error;
|
||||
UNREACHABLE();
|
||||
case EFAULT: // happens on various Android 13 phones manufactured by BBK Electronics
|
||||
default:
|
||||
LOG(WARNING) << error;
|
||||
// fallthrough
|
||||
|
Loading…
Reference in New Issue
Block a user