mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibC: Remove stubbed out xattr.h and xattr.cpp
Serenity does not support extended attributes (xattr) and the only port that needed those were the GLib port. The GLib port has now been updated to compiled without xattr support.
This commit is contained in:
parent
8989482293
commit
1464ce6fbb
Notes:
sideshowbarker
2024-07-17 06:23:03 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/1464ce6fbb Pull-request: https://github.com/SerenityOS/serenity/pull/15462
3 changed files with 0 additions and 113 deletions
|
@ -62,7 +62,6 @@ set(LIBC_SOURCES
|
||||||
sys/statvfs.cpp
|
sys/statvfs.cpp
|
||||||
sys/uio.cpp
|
sys/uio.cpp
|
||||||
sys/wait.cpp
|
sys/wait.cpp
|
||||||
sys/xattr.cpp
|
|
||||||
syslog.cpp
|
syslog.cpp
|
||||||
termcap.cpp
|
termcap.cpp
|
||||||
termios.cpp
|
termios.cpp
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021, the SerenityOS developers.
|
|
||||||
* Copyright (c) 2022, Kenneth Myhra <kennethmyhra@serenityos.org>.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <AK/Format.h>
|
|
||||||
#include <sys/xattr.h>
|
|
||||||
|
|
||||||
ssize_t getxattr(char const*, char const*, void*, size_t)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement getxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ssize_t lgetxattr(char const*, char const*, void*, size_t)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement lgetxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ssize_t fgetxattr(int, char const*, void*, size_t)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement fgetxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int setxattr(char const*, char const*, void const*, size_t, int)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement setxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int lsetxattr(char const*, char const*, void const*, size_t, int)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement lsetxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int fsetxattr(int, char const*, void const*, size_t, int)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement fsetxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ssize_t listxattr(char const*, char*, size_t)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement listxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ssize_t llistxattr(char const*, char*, size_t)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement llistxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ssize_t flistxattr(int, char*, size_t)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement flistxattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int removexattr(char const*, char const*)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement removexattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int lremovexattr(char const*, char const*)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement lremovexattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int fremovexattr(int, char const*)
|
|
||||||
{
|
|
||||||
dbgln("FIXME: Implement fremovexattr()");
|
|
||||||
return 0;
|
|
||||||
}
|
|
|
@ -1,31 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021, the SerenityOS developers.
|
|
||||||
* Copyright (c) 2022, Kenneth Myhra <kennethmyhra@serenityos.org>.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
__BEGIN_DECLS
|
|
||||||
|
|
||||||
ssize_t getxattr(char const* path, char const* name, void* value, size_t size);
|
|
||||||
ssize_t lgetxattr(char const* path, char const* name, void* value, size_t size);
|
|
||||||
ssize_t fgetxattr(int fd, char const* name, void* value, size_t size);
|
|
||||||
|
|
||||||
int setxattr(char const* path, char const* name, void const* value, size_t size, int flags);
|
|
||||||
int lsetxattr(char const* path, char const* name, void const* value, size_t size, int flags);
|
|
||||||
int fsetxattr(int fd, char const* name, void const* value, size_t size, int flags);
|
|
||||||
|
|
||||||
ssize_t listxattr(char const* path, char* list, size_t size);
|
|
||||||
ssize_t llistxattr(char const* path, char* list, size_t size);
|
|
||||||
ssize_t flistxattr(int fd, char* list, size_t size);
|
|
||||||
|
|
||||||
int removexattr(char const* path, char const* name);
|
|
||||||
int lremovexattr(char const* path, char const* name);
|
|
||||||
int fremovexattr(int fd, char const* name);
|
|
||||||
|
|
||||||
__END_DECLS
|
|
Loading…
Reference in a new issue