mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-13 04:38:20 +00:00
libc: reintegrate libc_resolv library
Remove getaddrinfo and freeaddrinfo from the Libc::Plugin and get rid of the extra libc_resolv library. Remove getaddrinfo/freeaddrinfo symbol hiding patch for FreeBSD sources. Remove libc_resolv from Makefiles and run scenarios. Fix #2273
This commit is contained in:
committed by
Christian Helmuth
parent
170b532892
commit
8ca63d4a6e
@ -53,10 +53,6 @@ namespace Libc {
|
||||
virtual bool supports_execve(char const *filename, char *const argv[],
|
||||
char *const envp[]);
|
||||
virtual bool supports_mkdir(const char *path, mode_t mode);
|
||||
virtual bool supports_freeaddrinfo(struct ::addrinfo *res);
|
||||
virtual bool supports_getaddrinfo(const char *node, const char *service,
|
||||
const struct ::addrinfo *hints,
|
||||
struct ::addrinfo **res);
|
||||
virtual bool supports_open(const char *pathname, int flags);
|
||||
virtual bool supports_pipe();
|
||||
virtual bool supports_readlink(const char *path, char *buf, ::size_t bufsiz);
|
||||
@ -95,13 +91,9 @@ namespace Libc {
|
||||
char *const envp[]);
|
||||
virtual int fstatfs(File_descriptor *, struct statfs *buf);
|
||||
virtual int fcntl(File_descriptor *, int cmd, long arg);
|
||||
virtual void freeaddrinfo(struct ::addrinfo *res);
|
||||
virtual int fstat(File_descriptor *, struct stat *buf);
|
||||
virtual int fsync(File_descriptor *);
|
||||
virtual int ftruncate(File_descriptor *, ::off_t length);
|
||||
virtual int getaddrinfo(const char *node, const char *service,
|
||||
const struct ::addrinfo *hints,
|
||||
struct ::addrinfo **res);
|
||||
virtual ssize_t getdirentries(File_descriptor *, char *buf,
|
||||
::size_t nbytes, ::off_t *basep);
|
||||
virtual int getpeername(File_descriptor *,
|
||||
|
Reference in New Issue
Block a user