Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.15 KB

module.rst

File metadata and controls

55 lines (36 loc) · 1.15 KB

Interface to extended filesystem attributes

xattr

Constants

XATTR_CREATE

Used as flags value, the target attribute will be created, giving an error if it already exists.

XATTR_REPLACE

Used as flags value, the target attribute will be replaced, giving an error if it doesn't exist.

NS_SECURITY

The security name space, used by kernel security modules to store (for example) capabilities information.

NS_SYSTEM

The system name space, used by the kernel to store (for example) ACLs.

NS_TRUSTED

The trusted name space, visible and accessibly only to trusted processes, used to implement mechanisms in user space.

NS_USER

The user name space; this is the name space accessible to non-privileged processes.

Functions

list

get

get_all

set

remove

Deprecated functions

getxattr

setxattr

listxattr

removexattr