zfs/module/os/linux/spl
Rob Norris 38f6f3ada1 Linux 6.8 compat: implement strlcpy fallback
Linux has removed strlcpy in favour of strscpy. This implements a
fallback implementation of strlcpy for this case.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #15805
(cherry picked from commit 7466e09a49)
2024-02-08 13:29:28 -08:00
..
Makefile.in linux 6.7 compat: rework shrinker setup for heap allocations 2024-02-08 13:29:28 -08:00
README.md Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
THIRDPARTYLICENSE.gplv2 OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
THIRDPARTYLICENSE.gplv2.descrip OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-atomic.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-condvar.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-cred.c Linux 6.3 compat: idmapped mount API changes 2023-06-05 10:59:02 -07:00
spl-err.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-generic.c Fix Clang 15 compilation errors 2023-06-05 18:25:57 -07:00
spl-kmem-cache.c Linux 6.8 compat: implement strlcpy fallback 2024-02-08 13:29:28 -08:00
spl-kmem.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-kstat.c Linux 6.8 compat: implement strlcpy fallback 2024-02-08 13:29:28 -08:00
spl-proc.c Linux 6.5 compat: spl: properly unregister sysctl entries 2023-09-11 16:34:23 -07:00
spl-procfs-list.c Linux 6.1 compat: change order of sys/mutex.h includes 2022-11-01 12:44:56 -07:00
spl-shrinker.c linux 6.7 compat: rework shrinker setup for heap allocations 2024-02-08 13:29:28 -08:00
spl-taskq.c Fix cpu hotplug atomic sleep issue 2022-02-15 21:52:45 -08:00
spl-thread.c Linux 6.8 compat: implement strlcpy fallback 2024-02-08 13:29:28 -08:00
spl-trace.c Add tracepoints for taskq entry lifetime events 2019-11-01 13:14:54 -07:00
spl-tsd.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-vmem.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-xdr.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-zlib.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00

README.md

The Solaris Porting Layer, SPL, is a Linux kernel module which provides a compatibility layer used by the OpenZFS project.

Installation

The latest version of the SPL is maintained as part of this repository. Only when building ZFS version 0.7.x or earlier must an external SPL release be used. These releases can be found at:

Release

The SPL is released under a GPLv2 license.
For more details see the NOTICE and THIRDPARTYLICENSE files; UCRL-CODE-235197