| Index: sysdeps/nacl/irt_syscalls.c
|
| diff --git a/sysdeps/nacl/irt_syscalls.c b/sysdeps/nacl/irt_syscalls.c
|
| index 684fa707bc76a0ab3a2d193345c6b84d4bf06200..a5f6d16968d7ee00a7743e4b9162cca3fe4a99de 100644
|
| --- a/sysdeps/nacl/irt_syscalls.c
|
| +++ b/sysdeps/nacl/irt_syscalls.c
|
| @@ -306,6 +306,38 @@ int (*__nacl_irt_stat) (const char *pathname, struct nacl_abi_stat *);
|
| int (*__nacl_irt_getdents) (int fd, struct dirent *, size_t count,
|
| size_t *nread);
|
|
|
| +int (*__nacl_irt_epoll_create) (int flags); // size
|
| +int (*__nacl_irt_epoll_create1 )(int flags);
|
| +int (*__nacl_irt_epoll_ctl) (int epfd, int op, int fd, struct epoll_event *event);
|
| +int (*__nacl_irt_epoll_pwait) (int epfd, struct epoll_event *events,
|
| + int maxevents, int timeout,
|
| + const sigset_t *sigmask, size_t sigsetsize);
|
| +int (*__nacl_irt_epoll_wait) (int epfd, struct epoll_event *events,
|
| + int maxevents, int timeout);
|
| +int (*__nacl_irt_poll) (struct pollfd *fds, nfds_t nfds,
|
| + int timeout);
|
| +int (*__nacl_irt_ppoll) (struct pollfd *fds, nfds_t nfds,
|
| + const struct timespec *timeout,
|
| + const sigset_t *sigmask, size_t sigsetsize);
|
| +int (*__nacl_irt_socket) (int domain, int type, int protocol);
|
| +int (*__nacl_irt_accept) (int sockfd, struct sockaddr *addr, socklen_t *addrlen);
|
| +int (*__nacl_irt_bind) (int sockfd, struct sockaddr *addr, socklen_t addrlen);
|
| +int (*__nacl_irt_listen) (int sockfd, int backlog);
|
| +int (*__nacl_irt_connect) (int sockfd, struct sockaddr *addr, socklen_t *addrlen);
|
| +int (*__nacl_irt_send) (int sockfd, const void *buf, size_t len, int flags);
|
| +int (*__nacl_irt_sendto) (int sockfd, const void *buf, size_t len, int flags,
|
| + const struct sockaddr *dest_addr, socklen_t addrlen);
|
| +int (*__nacl_irt_recv) (int sockfd, void *buf, size_t len, int flags);
|
| +int (*__nacl_irt_recvfrom) (int sockfd, void *buf, size_t len, int flags,
|
| + struct sockaddr *dest_addr, socklen_t addrlen);
|
| +
|
| +int (*__nacl_irt_select) (int nfds, fd_set *readfds,
|
| + fd_set *writefds, fd_set *exceptfds,
|
| + const struct timeval *timeout);
|
| +int (*__nacl_irt_pselect) (int nfds, fd_set *readfds,
|
| + fd_set *writefds, fd_set *exceptfds,
|
| + const struct timeval *timeout, void* sigmask);
|
| +
|
| int (*__nacl_irt_sysbrk) (void **newbrk);
|
| int (*__nacl_irt_mmap) (void **addr, size_t len, int prot, int flags,
|
| int fd, off_t off);
|
| @@ -559,6 +591,25 @@ init_irt_table (void)
|
| __nacl_irt_chdir = not_implemented;
|
| __nacl_irt_rmdir = not_implemented;
|
| __nacl_irt_getcwd = not_implemented;
|
| +
|
| + __nacl_irt_epoll_create = not_implemented;
|
| + __nacl_irt_epoll_create1 = not_implemented;
|
| + __nacl_irt_epoll_ctl = not_implemented;
|
| + __nacl_irt_epoll_pwait = not_implemented;
|
| + __nacl_irt_epoll_wait = not_implemented;
|
| + __nacl_irt_poll = not_implemented;
|
| + __nacl_irt_ppoll = not_implemented;
|
| + __nacl_irt_socket = not_implemented;
|
| + __nacl_irt_accept = not_implemented;
|
| + __nacl_irt_bind = not_implemented;
|
| + __nacl_irt_listen = not_implemented;
|
| + __nacl_irt_connect = not_implemented;
|
| + __nacl_irt_send = not_implemented;
|
| + __nacl_irt_sendto = not_implemented;
|
| + __nacl_irt_recv = not_implemented;
|
| + __nacl_irt_recvfrom = not_implemented;
|
| + __nacl_irt_select = not_implemented;
|
| + __nacl_irt_pselect = not_implemented;
|
| }
|
|
|
| size_t nacl_interface_query(const char *interface_ident,
|
|
|