8380636: Add static asserts for mirrored library constants

Reviewed-by: cnorrbin, dholmes
This commit is contained in:
Severin Gehwolf 2026-04-14 08:33:28 +00:00
parent c4199831b9
commit 64bbbe751b

View File

@ -40,6 +40,8 @@
// Inlined from <linux/magic.h> for portability.
#ifndef CGROUP2_SUPER_MAGIC
# define CGROUP2_SUPER_MAGIC 0x63677270
#else
STATIC_ASSERT(CGROUP2_SUPER_MAGIC == 0x63677270);
#endif
// controller names have to match the *_IDX indices