| Index: src/trusted/service_runtime/sys_filename.h
|
| diff --git a/src/trusted/service_runtime/sys_filename.h b/src/trusted/service_runtime/sys_filename.h
|
| index 0d9721badaabbdccb5c41d96c458fe795b3f741f..c45325182fa69d895b829582907523a8eb071769 100644
|
| --- a/src/trusted/service_runtime/sys_filename.h
|
| +++ b/src/trusted/service_runtime/sys_filename.h
|
| @@ -10,6 +10,8 @@
|
| #include "native_client/src/include/nacl_base.h"
|
| #include "native_client/src/include/portability.h"
|
|
|
| +#include "native_client/src/trusted/service_runtime/include/sys/stat.h"
|
| +
|
| EXTERN_C_BEGIN
|
|
|
| struct NaClApp;
|
| @@ -50,6 +52,43 @@ int32_t NaClSysGetcwd(struct NaClAppThread *natp,
|
| int32_t NaClSysUnlink(struct NaClAppThread *natp,
|
| uint32_t path);
|
|
|
| +int32_t NaClSysTruncate(struct NaClAppThread *natp,
|
| + uint32_t path,
|
| + nacl_abi_off_t length);
|
| +
|
| +int32_t NaClSysLstat(struct NaClAppThread *natp,
|
| + uint32_t path,
|
| + struct nacl_abi_stat *buf);
|
| +
|
| +int32_t NaClSysLink(struct NaClAppThread *natp,
|
| + uint32_t oldpath,
|
| + uint32_t newpath);
|
| +
|
| +int32_t NaClSysChmod(struct NaClAppThread *natp,
|
| + uint32_t pathname,
|
| + int mode);
|
| +
|
| +int32_t NaClSysAccess(struct NaClAppThread *natp,
|
| + uint32_t pathname,
|
| + int mode);
|
| +
|
| +int32_t NaClSysRename(struct NaClAppThread *natp,
|
| + uint32_t oldpath,
|
| + uint32_t newpath);
|
| +
|
| +int32_t NaClSysReadlink(struct NaClAppThread *natp,
|
| + uint32_t path,
|
| + uint32_t buf,
|
| + size_t bufsiz);
|
| +
|
| +int32_t NaClSysSymlink(struct NaClAppThread *natp,
|
| + uint32_t oldpath,
|
| + uint32_t newpath);
|
| +
|
| +int32_t NaClSysUtimes(struct NaClAppThread *natp,
|
| + uint32_t filename,
|
| + uint32_t times);
|
| +
|
| EXTERN_C_END
|
|
|
| #endif
|
|
|