X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fxattr.c;h=fea0d209ace7a2bc5f69e70a3951f37ec7f6cbcc;hb=ef2f595f7489a79b328766e3f8c2c899c8d23fd1;hp=a66ab827c409b371c8c479070d0ee19f37985ace;hpb=207460d09742304941f1a010a89fc2efa46bcb29;p=musl 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); +}