debloat src/thread tree but putting lots of junk in one file
[oweals/musl.git] / src / linux / xattr.c
index a66ab827c409b371c8c479070d0ee19f37985ace..fea0d209ace7a2bc5f69e70a3951f37ec7f6cbcc 100644 (file)
@@ -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);
+}