git: ecb4d2c6e1d8 - stable/13 - kernel: add missed FEATUREs compat_freebsd 8-14

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 23 Nov 2023 04:02:36 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=ecb4d2c6e1d8685c02e730e8986400a52403d8d3

commit ecb4d2c6e1d8685c02e730e8986400a52403d8d3
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-11-16 20:47:18 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-11-23 04:02:00 +0000

    kernel: add missed FEATUREs compat_freebsd 8-14
    
    (cherry picked from commit e256f71389fbf0ef6cf8f547342d5f789e69f918)
---
 sys/kern/kern_mib.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index 55f1ce5889bb..37b7b46c87a2 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -630,6 +630,26 @@ FEATURE(compat_freebsd6, "Compatible with FreeBSD 6");
 FEATURE(compat_freebsd7, "Compatible with FreeBSD 7");
 #endif
 
+#ifdef COMPAT_FREEBSD8
+FEATURE(compat_freebsd8, "Compatible with FreeBSD 8");
+#endif
+
+#ifdef COMPAT_FREEBSD9
+FEATURE(compat_freebsd9, "Compatible with FreeBSD 9");
+#endif
+
+#ifdef COMPAT_FREEBSD10
+FEATURE(compat_freebsd10, "Compatible with FreeBSD 10");
+#endif
+
+#ifdef COMPAT_FREEBSD11
+FEATURE(compat_freebsd11, "Compatible with FreeBSD 11");
+#endif
+
+#ifdef COMPAT_FREEBSD12
+FEATURE(compat_freebsd12, "Compatible with FreeBSD 12");
+#endif
+
 /*
  * This is really cheating.  These actually live in the libc, something
  * which I'm not quite sure is a good idea anyway, but in order for