diff options
author | Chenbo Feng <fengc@google.com> | 2019-03-28 17:08:12 -0700 |
---|---|---|
committer | Maciej Żenczykowski <maze@google.com> | 2019-04-02 20:36:18 +0000 |
commit | 1f45df4904133e05a0c133551f57f4f03a6643c1 (patch) | |
tree | 24f624bd34ea10e3ec723521d509cd6c9bfdd411 /annotations/generate_annotated_java_files.py | |
parent | b9d77e102b8418cd70b7fc9466ea52057e17c980 (diff) |
Throw security exception for EPERM error in socket creation
Starting from 4.14+ kernels, the native library and android kernel will
use eBPF to control socket creation instead of android paranoid network.
The error code return would be EPERM instead of EACCESS for eBPF filter
denials. Add this to the check so the proper exception is thrown.
Bug: 128944261
Test: CtsNetTestCasesInternetPermission
Change-Id: Idcb77458e79cc5fed7eb95d6deade5aca4929456
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions