about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linux/xattr.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/linux/xattr.c b/src/linux/xattr.c
index a66ab827..fea0d209 100644
--- a/src/linux/xattr.c
+++ b/src/linux/xattr.c
@@ -45,3 +45,18 @@ int fsetxattr(int filedes, const char *name, const void *value, size_t size, int
 {
 	return syscall(SYS_fsetxattr, filedes, name, value, size, flags);
 }
+
+int removexattr(const char *path, const char *name)
+{
+	return syscall(SYS_removexattr, path, name);
+}
+
+int lremovexattr(const char *path, const char *name)
+{
+	return syscall(SYS_lremovexattr, path, name);
+}
+
+int fremovexattr(int fd, const char *name)
+{
+	return syscall(SYS_fremovexattr, fd, name);
+}