diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-09-17 15:14:01 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-17 15:16:54 -0700 |
commit | a4db85fff210f0f4f2164f0d620c6cfdc288e26c (patch) | |
tree | 929158e05a86e1bf045391d23f05f89fe8e5961e /pkg/sentry/fsimpl | |
parent | d796b100ecfe529e350575655b972400c52390d7 (diff) |
Return ENOPROTOOPT for all SOL_PACKET options.
This is required to make tcpdump work. tcpdump falls back to not using things
like PACKET_RX_RING if setsockopt returns ENOPROTOOPT. This used to be the case
before https://github.com/google/gvisor/commit/6f8fb7e0db2790ff1f5ba835780c03fe245e437f.
Fixes #3981
PiperOrigin-RevId: 332326517
Diffstat (limited to 'pkg/sentry/fsimpl')
0 files changed, 0 insertions, 0 deletions