add missing xattr functions
not sure why these were originally omitted..
This commit is contained in:
parent
0d4d1a96e4
commit
7650390de8
2 changed files with 18 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue