mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
- rename atomic.S and crc32.c to avoid collisions when linking zfs in to the kernel
- update Makefile - ifdef out acl_{alloc, free}, they aren't used by zfs and conflict with existing in-kernel routines
This commit is contained in:
parent
7374caaaed
commit
8569258bf8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191931
@ -424,6 +424,7 @@ cacl_free(void *ptr, size_t size)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __FreeBSD__
|
||||||
acl_t *
|
acl_t *
|
||||||
acl_alloc(enum acl_type type)
|
acl_alloc(enum acl_type type)
|
||||||
{
|
{
|
||||||
@ -469,6 +470,7 @@ acl_free(acl_t *aclp)
|
|||||||
|
|
||||||
cacl_free(aclp, sizeof (acl_t));
|
cacl_free(aclp, sizeof (acl_t));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static uint32_t
|
static uint32_t
|
||||||
access_mask_set(int haswriteperm, int hasreadperm, int isowner, int isallow)
|
access_mask_set(int haswriteperm, int hasreadperm, int isowner, int isallow)
|
||||||
|
@ -28,7 +28,7 @@ SRCS+= opensolaris_zone.c
|
|||||||
|
|
||||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
|
||||||
.PATH: ${SUNW}/common/atomic/${MACHINE_ARCH}
|
.PATH: ${SUNW}/common/atomic/${MACHINE_ARCH}
|
||||||
SRCS+= atomic.S
|
SRCS+= opensolaris_atomic.S
|
||||||
.else
|
.else
|
||||||
.PATH: ${.CURDIR}/../../cddl/compat/opensolaris/kern
|
.PATH: ${.CURDIR}/../../cddl/compat/opensolaris/kern
|
||||||
SRCS+= opensolaris_atomic.c
|
SRCS+= opensolaris_atomic.c
|
||||||
@ -51,7 +51,7 @@ SRCS+= xdr_mem.c
|
|||||||
|
|
||||||
.PATH: ${SUNW}/uts/common/zmod
|
.PATH: ${SUNW}/uts/common/zmod
|
||||||
SRCS+= adler32.c
|
SRCS+= adler32.c
|
||||||
SRCS+= crc32.c
|
SRCS+= opensolaris_crc32.c
|
||||||
SRCS+= deflate.c
|
SRCS+= deflate.c
|
||||||
SRCS+= inffast.c
|
SRCS+= inffast.c
|
||||||
SRCS+= inflate.c
|
SRCS+= inflate.c
|
||||||
|
Loading…
Reference in New Issue
Block a user