diff options
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/xattr.c | 15 |
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); +} |