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

Unified Diff: src/trusted/service_runtime/include/bits/nacl_syscalls.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
Index: src/trusted/service_runtime/include/bits/nacl_syscalls.h
diff --git a/src/trusted/service_runtime/include/bits/nacl_syscalls.h b/src/trusted/service_runtime/include/bits/nacl_syscalls.h
index 88f6d2f7e8194c725f616933f3e1c3e32bd86f98..447387fc4636fd49edd02a8161b2664fdc41327b 100644
--- a/src/trusted/service_runtime/include/bits/nacl_syscalls.h
+++ b/src/trusted/service_runtime/include/bits/nacl_syscalls.h
@@ -31,7 +31,7 @@
#define NACL_sys_stat 16
#define NACL_sys_fstat 17
#define NACL_sys_chmod 18
-/* no fchmod emulation on windows */
+#define NACL_sys_fchmod 19
#define NACL_sys_brk 20
#define NACL_sys_mmap 21
@@ -43,6 +43,9 @@
#define NACL_sys_list_mappings 25
+#define NACL_sys_fsync 26
+#define NACL_sys_fdatasync 27
+
#define NACL_sys_exit 30
#define NACL_sys_getpid 31
#define NACL_sys_sched_yield 32
@@ -59,6 +62,17 @@
#define NACL_sys_chdir 47
#define NACL_sys_getcwd 48
#define NACL_sys_unlink 49
+#define NACL_sys_fchdir 50
+
+#define NACL_sys_truncate 51
+#define NACL_sys_ftruncate 52
+#define NACL_sys_lstat 53
+#define NACL_sys_link 54
+#define NACL_sys_access 55
+#define NACL_sys_rename 56
+#define NACL_sys_readlink 57
+#define NACL_sys_symlink 58
+#define NACL_sys_utimes 59
/* 50-58 previously used for multimedia syscalls */
« no previous file with comments | « src/trusted/desc/posix/nacl_desc_imc_bound_desc.c ('k') | src/trusted/service_runtime/nacl_desc_postmessage.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698