Module xattr

Source
Expand description

Provides utilites for extended attributes.

Structsยง

InlineXattrs
Xattr data written into Inodeโ€™s inline xattr space.
XattrEntry ๐Ÿ”’

Constantsยง

XATTR_HEADER_MAGIC ๐Ÿ”’

Functionsยง

align ๐Ÿ”’
dump_xattrs
Retrieves the list of pairs of a name and a value of the extended attribute of the given path. If path is a symbolic link, it wonโ€™t be followed and the value of the symlink itself is returned. The return values are byte arrays WITHOUT trailing NULL byte.
lgetxattr ๐Ÿ”’
listxattr ๐Ÿ”’
set_xattr
Sets the extended attribute of the given path with the given key and value.