25#include <seastar/util/modules.hh>
29#include <initializer_list>
41 std::optional<int> sublevel;
42 std::optional<int> subsublevel;
43 std::optional<int> distro_patch;
44 std::string distro_extra;
46 bool same_as_or_descendant_of(
const uname_t& x)
const;
47 bool same_as_or_descendant_of(
const char* x)
const;
48 bool whitelisted(std::initializer_list<const char*>)
const;
51 int component_count()
const;
54 bool has_distro_extra(std::string extra)
const;
55 friend std::ostream& operator<<(std::ostream& os,
const uname_t& u);
58uname_t kernel_uname();
60uname_t parse_uname(
const char* u);
Seastar API namespace.
Definition: abort_on_ebadf.hh:26