Commit Graph

2 Commits

Author SHA1 Message Date
Chris Weir
64e3ec2155 Add clearPollErr to Socket
nlproxy gets stuck if a POLLERR is encountered, and I found a CL that
suggests the only way to clear the error is to recv (which should return
zero bytes in theory) on that socket.

Bug: 224850481
Test: nlproxy works
Change-Id: Ib1420ce542deeb35977223baf787bdee1b125110
2022-03-16 13:11:57 -07:00
Chris Weir
7b1428f3f3 Add default implementation for Nlinterceptor
Add default Netlink Interceptor implementation

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: I7c765f9528a3d5be85bf5554e22eae51c1607548
2021-12-02 11:02:12 -08:00