Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Use sanity timeouts around blocking operations #146
Conversation
|
+1 |
zyga
merged commit bbc9b54
into
master
Sep 17, 2016
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
zyga
deleted the
enable-sanity-timeouts
branch
Sep 17, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zyga commentedSep 14, 2016
This patch uses the sanity timeout mechanism around both locking
flock(2) calls and around the eventfd_read(2) call. This ensures that
even if the call blocks due to unknown bugs in the code, snap-confine
will die at within a predictable amount of time.
Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com