Don't define acl_alloc and acl_free during kernel builds.

Fixes module build with clang.
This commit is contained in:
joerg 2011-03-15 00:48:04 +00:00
parent e49693227e
commit e2e40b270e
1 changed files with 2 additions and 0 deletions

View File

@ -423,6 +423,7 @@ cacl_free(void *ptr, size_t size)
#endif
}
#if !defined(_KERNEL)
acl_t *
acl_alloc(enum acl_type type)
{
@ -468,6 +469,7 @@ acl_free(acl_t *aclp)
cacl_free(aclp, sizeof (acl_t));
}
#endif
static uint32_t
access_mask_set(int haswriteperm, int hasreadperm, int isowner, int isallow)