From 7650390de8f72822ec0d4a9fb5b52efcf0be4698 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 15 Aug 2012 08:31:44 -0400 Subject: add missing xattr functions not sure why these were originally omitted.. --- src/linux/xattr.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src') 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); +} -- cgit v1.2.3-70-g09d2