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

Unified Diff: src/trusted/service_runtime/include/bits/nacl_syscalls.h

Issue 1235633004: DON'T USE THIS -- Providing some missing POSIX File syscalls. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 5 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/trusted/desc/posix/nacl_desc_imc_bound_desc.c ('k') | src/trusted/service_runtime/include/sys/time.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 615cc193f520175293c99e2fadcd75db3263e5dc..5aa712f61325696c884e6ae03e68931c1f18e7eb 100644
--- a/src/trusted/service_runtime/include/bits/nacl_syscalls.h
+++ b/src/trusted/service_runtime/include/bits/nacl_syscalls.h
@@ -31,7 +31,6 @@
#define NACL_sys_fstat 17
#define NACL_sys_chmod 18
#define NACL_sys_isatty 19
-/* no fchmod emulation on windows */
#define NACL_sys_brk 20
#define NACL_sys_mmap 21
@@ -43,6 +42,10 @@
#define NACL_sys_list_mappings 25
+#define NACL_sys_fsync 26
+#define NACL_sys_fdatasync 27
+#define NACL_sys_fchmod 28
+
#define NACL_sys_exit 30
#define NACL_sys_getpid 31
#define NACL_sys_sched_yield 32
@@ -59,6 +62,9 @@
#define NACL_sys_chdir 47
#define NACL_sys_getcwd 48
#define NACL_sys_unlink 49
+#define NACL_sys_fchdir 50
+
+#define NACL_sys_ftruncate 52
/* 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/include/sys/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698