Fixed agent crash when kernel supports unknown capabilities.

When capabilities are enabled, the capabilities initialisation code
would check that /proc/sys/kernel/cap_last_cap is less than
MAX_CAPABILITY, i.e. that the kernel doesn't support any capability the
code doesn't expect.  However the error message attempted to format
cap_last_cap value as a Capability enum, which would crash.

Part of fix for #10203.
1 file changed
tree: 31ddbccd96276db6a27c31bd3193f97ef708b08b
  1. 3rdparty/
  2. bin/
  3. cmake/
  4. docs/
  5. include/
  6. m4/
  7. site/
  8. src/
  9. support/
  10. .gitattributes
  11. bootstrap
  12. CHANGELOG
  13. CMakeLists.txt
  14. configure.ac
  15. Doxyfile
  16. LICENSE
  17. Makefile.am
  18. mesos.pc.in
  19. NOTICE
  20. README.md
README.md

Apache Mesos

Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, Jenkins, Spark, Aurora, and other frameworks on a dynamically shared pool of nodes.

Visit us at mesos.apache.org.

Mailing Lists

Documentation

Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.

Installation

Instructions are included on the Getting Started page.

License

Apache Mesos is licensed under the Apache License, Version 2.0.

For additional information, see the LICENSE and NOTICE files.