summaryrefslogtreecommitdiffstats
path: root/lib/libspl
diff options
context:
space:
mode:
authorWarner Losh <[email protected]>2020-10-13 22:05:49 -0600
committerGitHub <[email protected]>2020-10-13 21:05:49 -0700
commitb302185a9283fa93ce98d17ca9893437753ec665 (patch)
treebfb35fa1de85c884030d3b3b1371a5f6c4230d74 /lib/libspl
parent57dc5d42b185d2983717580b7fb58bfe423cd834 (diff)
FreeBSD: make adjustments for the standalone environment
In FreeBSD, there are three compile environments that are supported: user land, the kernel and the bootloader / standalone. Adjust the headers to compile in the standalone environment. Limit kernel-only items from view when _STANDALONE is defined. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Warner Losh <[email protected]> Closes #10998
Diffstat (limited to 'lib/libspl')
-rw-r--r--lib/libspl/include/os/freebsd/sys/param.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libspl/include/os/freebsd/sys/param.h b/lib/libspl/include/os/freebsd/sys/param.h
index 7c23b6705..cb5260ea3 100644
--- a/lib/libspl/include/os/freebsd/sys/param.h
+++ b/lib/libspl/include/os/freebsd/sys/param.h
@@ -45,10 +45,6 @@
*/
#define MAXNAMELEN 256
-#ifndef IN_BASE
-#define UID_NOBODY 60001 /* user ID no body */
-#define GID_NOBODY UID_NOBODY
-#endif
#define UID_NOACCESS 60002 /* user ID no access */
#define MAXUID UINT32_MAX /* max user id */