/* pseudo-errors returned inside kernel to modify return to process */
#define ERESTART (-1) /* restart syscall */
#define EJUSTRETURN (-2) /* don't modify regs, just return */
+
+#ifdef BSD_KERNEL_PRIVATE
#define ERECYCLE (-5) /* restart lookup under heavy vnode pressure/recycling */
#define EREDRIVEOPEN (-6)
+#else /* BSD_KERNEL_PRIVATE */
+/* -5 and -6 are reserved for kernel internal use */
+#endif /* BSD_KERNEL_PRIVATE */
+
#endif
#endif /* _SYS_ERRNO_H_ */