diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-08-15 08:31:44 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-08-15 08:31:44 -0400 |
commit | 7650390de8f72822ec0d4a9fb5b52efcf0be4698 (patch) | |
tree | 29b869a26cb56d1bec5065768bd25b5f837b9e0f /src/linux/xattr.c | |
parent | 0d4d1a96e4fd827267250e469affc7ebfc44324f (diff) | |
download | musl-7650390de8f72822ec0d4a9fb5b52efcf0be4698.tar.gz musl-7650390de8f72822ec0d4a9fb5b52efcf0be4698.tar.xz musl-7650390de8f72822ec0d4a9fb5b52efcf0be4698.zip |
add missing xattr functions
not sure why these were originally omitted..
Diffstat (limited to 'src/linux/xattr.c')
-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); +} |