| Index: src/untrusted/nacl/syscall_bindings_trampoline.h
|
| diff --git a/src/untrusted/nacl/syscall_bindings_trampoline.h b/src/untrusted/nacl/syscall_bindings_trampoline.h
|
| index 6386057e03b6589bd84f3b1adf16f443dba65004..80085c827fb94138e05c22477d02862c1d87208c 100644
|
| --- a/src/untrusted/nacl/syscall_bindings_trampoline.h
|
| +++ b/src/untrusted/nacl/syscall_bindings_trampoline.h
|
| @@ -18,6 +18,7 @@ extern "C" {
|
| #include <stdint.h>
|
| #include <sys/types.h>
|
| #include <time.h>
|
| +#include <utime.h>
|
|
|
| #include "native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h"
|
| #include "native_client/src/trusted/service_runtime/nacl_config.h"
|
| @@ -83,6 +84,16 @@ typedef int (*TYPE_nacl_lseek) (int desc,
|
|
|
| typedef int (*TYPE_nacl_stat) (const char *file, struct stat *st);
|
|
|
| +typedef int (*TYPE_nacl_fchdir) (int fd);
|
| +
|
| +typedef int (*TYPE_nacl_fchmod) (int fd, mode_t mode);
|
| +
|
| +typedef int (*TYPE_nacl_fsync) (int fd);
|
| +
|
| +typedef int (*TYPE_nacl_fdatasync) (int fd);
|
| +
|
| +typedef int (*TYPE_nacl_ftruncate) (int fd, off_t length);
|
| +
|
| typedef int (*TYPE_nacl_pread) (int fd, void *buf, size_t count, off_t *offset);
|
|
|
| typedef int (*TYPE_nacl_pwrite) (int fd,
|
| @@ -224,6 +235,8 @@ typedef int (*TYPE_nacl_readlink) (const char *path, char *buf, size_t bufsize);
|
|
|
| typedef int (*TYPE_nacl_utimes) (const char *path, const struct timeval *times);
|
|
|
| +typedef int (*TYPE_nacl_utime) (const char *path, const struct utimbuf *times);
|
| +
|
| #ifdef __GNUC__
|
| typedef void (*TYPE_nacl_exit) (int status) __attribute__((noreturn));
|
| #else
|
|
|