Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1779)

Unified Diff: src/untrusted/nacl/syscall_bindings_trampoline.h

Issue 24889002: Provides some of the missing POSIX file syscalls Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/irt/irt_interfaces.c ('k') | tests/syscalls/syscalls.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c29a4e4a21009a14daa2cb4ffb162ec60eb93320..6ff02771ee6abc248de20f3b3d6d4fdfa85c7511 100644
--- a/src/untrusted/nacl/syscall_bindings_trampoline.h
+++ b/src/untrusted/nacl/syscall_bindings_trampoline.h
@@ -76,6 +76,35 @@ 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_truncate) (const char *pathname, off_t length);
+
+typedef int (*TYPE_nacl_lstat) (const char *pathname, struct stat *);
+
+typedef int (*TYPE_nacl_link) (const char *oldpath, const char *newpath);
+
+typedef int (*TYPE_nacl_chmod) (const char *path, mode_t mode);
+
+typedef int (*TYPE_nacl_access) (const char *path, int amode);
+
+typedef int (*TYPE_nacl_rename) (const char *oldpath, const char *newpath);
+
+typedef int (*TYPE_nacl_readlink) (const char *path, char *buf, size_t bufsiz);
+
+typedef int (*TYPE_nacl_symlink) (const char *oldpath, const char *newpath);
+
+typedef int (*TYPE_nacl_utimes) (const char *filename,
+ const struct timeval *times);
+
/* ============================================================ */
/* imc */
/* ============================================================ */
« no previous file with comments | « src/untrusted/irt/irt_interfaces.c ('k') | tests/syscalls/syscalls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698