Lines Matching defs:xattr

24  * Extended attributes (xattr) on Solaris are implemented as files
25 * which exist in a hidden xattr directory. These extended attributes
51 * exist for every file when xattr labeling is enabled.
53 * The Linux xattr implementation has been written to take advantage of
54 * this typical usage. When the dataset property 'xattr=sa' is set,
58 * xattr space is required, which is unlikely under Linux, they will
63 * for every xattr value. When multiple xattrs are stored per-file
72 * NOTE: One additional consequence of the xattr directory implementation
107 * Determine is a given xattr name should be visible and if so copy it
115 /* Check permissions using the per-namespace list xattr handler. */
193 /* Lookup the xattr directory */
287 /* Lookup the xattr directory */
293 /* Lookup a specific xattr name in the directory */
394 /* check where the xattr resides */
421 cmn_err(CE_WARN, "ZFS: inode %p has xattr \"%s\""
466 * Lookup the xattr directory. When we're adding an entry pass
467 * CREATE_XATTR_DIR to ensure the xattr directory is created.
469 * unnecessarily creating a new xattr directory.
480 /* Lookup a specific xattr name in the directory */
487 /* Remove a specific name xattr when value is set to NULL. */
495 /* Lookup failed create a new xattr. */
616 * Before setting the xattr check to see if it already exists.
619 * XATTR_CREATE: fail if xattr already exists
620 * XATTR_REPLACE: fail if xattr does not exist
632 /* The xattr to be removed already doesn't exist */
642 /* Preferentially store the xattr as a SA for better performance */
698 * for an explanation of the sticky bit)." - xattr(7)
701 * by setting the 'xattr=off' property on the dataset.
752 * Remove alternate compat version of the xattr so we only set the
757 * XATTR_CREATE: fail if xattr already exists
758 * XATTR_REPLACE: fail if xattr does not exist
774 * XATTR_CREATE was specified and we failed to clear the xattr
781 * an xattr, we don't need to replace anything when setting
812 * ordinary processes should not have access." - xattr(7)
877 * CAP_SYS_ADMIN capability." - xattr(7)
920 zpl_xattr_security_init_impl(struct inode *ip, const struct xattr *xattrs,
923 const struct xattr *xattr;
926 for (xattr = xattrs; xattr->name != NULL; xattr++) {
928 xattr->name, xattr->value, xattr->value_len, 0);
946 * Security xattr namespace handlers.
961 * attribute implemented by filesystems in the kernel." - xattr(7)
1358 * ACL access xattr namespace handlers.
1372 * ACL default xattr namespace handlers.
1556 "Use legacy ZFS xattr naming for writing new user namespace xattrs");