Chromium Code Reviews| Index: native_client_sdk/src/libraries/nacl_io/kernel_proxy.h |
| diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h b/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h |
| index 21d68c1de5216e3594603c61e8eb12a4f02fa2cd..4cff84e9ef3fa73996da75aef8288aa2d69e4bd6 100644 |
| --- a/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h |
| +++ b/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h |
| @@ -12,6 +12,7 @@ |
| #include "nacl_io/kernel_object.h" |
| #include "nacl_io/mount_factory.h" |
| #include "nacl_io/mount_socket.h" |
| +#include "nacl_io/ossignal.h" |
| #include "nacl_io/ossocket.h" |
| #include "nacl_io/ostypes.h" |
| #include "nacl_io/osutime.h" |
| @@ -125,6 +126,10 @@ class KernelProxy : protected KernelObject { |
| virtual int tcsetattr(int fd, int optional_actions, |
| const struct termios *termios_p); |
| + virtual int kill(pid_t pid, int sig); |
| + virtual sighandler_t signal(int signum, sighandler_t handler); |
| + virtual sighandler_t sigset(int signum, sighandler_t handler); |
| + |
| #ifdef PROVIDES_SOCKET_API |
| virtual int select(int nfds, fd_set* readfds, fd_set* writefds, |
| fd_set* exceptfds, struct timeval* timeout); |
| @@ -179,6 +184,7 @@ class KernelProxy : protected KernelObject { |
| int dev_; |
| PepperInterface* ppapi_; |
| static KernelProxy *s_instance_; |
| + sighandler_t sigwinch_handler_; |
|
binji
2013/08/21 17:42:01
kernel_proxy is a bit of a god class, so can very
|
| #ifdef PROVIDES_SOCKET_API |
| HostResolver host_resolver_; |
| #endif |