sys_lremovexattr  [fs/xattr.c]


Removes an extended attribute.
Extended attributes are name:value pairs associated with inodes (files, directories, symlinks, etc). They are extensions to the normal attributes which are associated with all inodes in the system (i.e. the sys_stat data).

This system call is identical to sys_removexattr except that in a case of a symbolic link, the extended attribute is removed from the link itself, and not from the file that it refers to.

Arguments

eax 236
ebx Pointer to a null-terminated string that specifies the file path.
ecx Pointer to a null-terminated string that specifies the name.

Return values

If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:

-ENOATTR The named attribute does not exist, or the process has no access to this attribute.
-ENOTSUP Extended attributes are not supported by the filesystem, or are disabled.
-EACCES Search permission is denied for one of the directories in the path prefix.
-ELOOP Too many symbolic links encountered while traversing the path.
-ENAMETOOLONG File name too long.
-ENOENT A component of the path does not exist, or the path is an empty string.
-ENOMEM Out of memory (i.e. kernel memory).
-ENOTDIR A component of the path is not a directory.

Remarks

n/a

Compatibility

n/a