Copy epoll(2) changes to minadb.

Bug: 17588403
Change-Id: Ib3525824ff09330bd9d6f9e96d662e5a55a20ec2
Merge "Copy epoll(2) changes to minadb."