zfs/module/os/linux/spl
Matthew Macy e4f5fa1229 Fix strdup conflict on other platforms
In the FreeBSD kernel the strdup signature is:

```
char	*strdup(const char *__restrict, struct malloc_type *);
```

It's unfortunate that the developers have chosen to change
the signature of libc functions - but it's what I have to
deal with.

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9433
2019-10-10 09:47:06 -07:00
..
Makefile.in OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
README.md OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -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 OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-condvar.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-cred.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-err.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-generic.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-kmem-cache.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-kmem.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
spl-kobj.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-kstat.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
spl-proc.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-procfs-list.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-taskq.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
spl-thread.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-tsd.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-vmem.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-vnode.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-xdr.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
spl-zlib.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00

README.md

The Solaris Porting Layer, SPL, is a Linux kernel module which provides a compatibility layer used by the ZFS on Linux 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