summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_xxx.c')
-rw-r--r--sys/kern/kern_xxx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/kern/kern_xxx.c b/sys/kern/kern_xxx.c
index 5009db2..4738aa1 100644
--- a/sys/kern/kern_xxx.c
+++ b/sys/kern/kern_xxx.c
@@ -138,6 +138,14 @@ oquota(p, uap)
}
#endif /* COMPAT_43 */
+/*
+ * This is the FreeBSD-1.1 compatable uname(2) interface. These
+ * days it is done in libc as a wrapper around a bunch of sysctl's.
+ * This must maintain the old 1.1 binary ABI.
+ */
+#if SYS_NMLN != 32
+#error "FreeBSD-1.1 uname syscall has been broken"
+#endif
#ifndef _SYS_SYSPROTO_H_
struct uname_args {
struct utsname *name;
OpenPOWER on IntegriCloud