#define STREAM_ACL_SOLARIS_ACE 1013 /* Solaris specific ace_t string representation from
* from acl_totext (NFSv4 or ZFS acl)
*/
+#define STREAM_XATTR_OPENBSD 1993 /* OpenBSD specific extended attributes */
#define STREAM_XATTR_SOLARIS_SYS 1994 /* Solaris specific extensible attributes or
* otherwise named extended system attributes.
*/
* - Linux (Extended Attributes)
* - NetBSD (Extended Attributes)
* - FreeBSD (Extended Attributes)
+ * - OpenBSD (Extended Attributes)
* - Solaris (Extended Attributes and Extensible Attributes)
*
* Written by Marco van Wieringen, November MMVIII
static int os_default_xattr_streams[1] = { STREAM_XATTR_LINUX };
static const char *xattr_acl_skiplist[2] = { "system.posix_acl_access", NULL };
static const char *xattr_skiplist[1] = { NULL };
-#elif defined(HAVE_NETBSD_OS)
-static int os_default_xattr_streams[1] = { STREAM_XATTR_NETBSD };
-static const char *xattr_acl_skiplist[1] = { NULL };
-static const char *xattr_skiplist[1] = { NULL };
#endif
/*
static bxattr_exit_code (*os_build_xattr_streams)(JCR *jcr, FF_PKT *ff_pkt) = generic_xattr_build_streams;
static bxattr_exit_code (*os_parse_xattr_streams)(JCR *jcr, int stream) = generic_xattr_parse_streams;
-#elif defined(HAVE_FREEBSD_OS)
+#elif defined(HAVE_FREEBSD_OS) || \
+ defined(HAVE_NETBSD_OS) || \
+ defined(HAVE_OPENBSD_OS)
#ifdef HAVE_SYS_EXTATTR_H
#include <sys/extattr.h>
return _("Solaris Specific ACL attribs");
case STREAM_ACL_SOLARIS_ACE:
return _("Solaris Specific ACL attribs");
+ case STREAM_XATTR_OPENBSD:
+ return _("OpenBSD Specific Extended attribs");
case STREAM_XATTR_SOLARIS_SYS:
return _("Solaris Specific Extensible attribs or System Extended attribs");
case STREAM_XATTR_SOLARIS:
/* Ignore Unix ACL attributes */
break;
+ case STREAM_XATTR_OPENBSD:
case STREAM_XATTR_SOLARIS_SYS:
case STREAM_XATTR_SOLARIS:
case STREAM_XATTR_DARWIN: