git: 5440f67a310c - releng/15.0 - LinuxKPI: add fips.h

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Thu, 23 Oct 2025 23:37:12 UTC
The branch releng/15.0 has been updated by cperciva:

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

commit 5440f67a310c1d6e684a915927c452af8f23def5
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-10-17 19:34:20 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-23 23:32:10 +0000

    LinuxKPI: add fips.h
    
    We do not currently aim to support crypto FIPS compliance in LinuxKPI
    so keep this turned off.
    
    Approved by:    re (cperciva)
    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 */