git: 6248a6554547 - stable/14 - LinuxKPI: add fips.h

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 16 Jan 2026 19:41:15 UTC
The branch stable/14 has been updated by bz:

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

commit 6248a65545474b0e534ddcf97959205f133ac2de
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-10-17 19:34:20 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-01-16 19:37:52 +0000

    LinuxKPI: add fips.h
    
    We do not currently aim to support crypto FIPS compliance in LinuxKPI
    so keep this turned off.
    
    Reviewed by:    emaste, dumbbell
    Differential Revision: https://reviews.freebsd.org/D53207
    
    (cherry picked from commit 98609f4fecffd0e70293ddd57c2b785e498b1131)
    (cherry picked from commit 3aaaba20786966062d1355d4809142b623ffc4b7)
---
 sys/compat/linuxkpi/common/include/linux/fips.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/fips.h b/sys/compat/linuxkpi/common/include/linux/fips.h
new file mode 100644
index 000000000000..25c0c1fc1fa0
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/fips.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2025 Bjoern A. Zeeb
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#ifndef	_LINUXKPI_LINUX_FIPS_H
+#define	_LINUXKPI_LINUX_FIPS_H
+
+#define	fips_enabled	0
+
+#endif /* _LINUXKPI_LINUX_FIPS_H */