mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <jpe...@apache.org>
Subject Review Request 60290: Handle EINVAL from the capabilities version check.
Date Wed, 21 Jun 2017 20:52:35 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60290/
-----------------------------------------------------------

Review request for mesos, Alexander Rukletsov, Benjamin Bannier, and Jie Yu.


Repository: mesos


Description
-------

capget will fail with the error EINVAL, and set the version field
to the kernel pre- ferred value of _LINUX_CAPABILITY_VERSION_?
when an unsupported version value is specified.

So if we get EINVAL, we can treat that as success because we can
continue to verify the capabilities version.


Diffs
-----

  src/linux/capabilities.cpp b362759c06637a3a2b4359b95e86d6d3b87352dd 


Diff: https://reviews.apache.org/r/60290/diff/1/


Testing
-------

make check (CentOS 6)


Thanks,

James Peach


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message