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

Unified Diff: src/trusted/service_runtime/nacl_syscall_handlers_gen.py

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/trusted/service_runtime/nacl_desc_postmessage.c ('k') | src/trusted/service_runtime/sys_fdio.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/nacl_syscall_handlers_gen.py
diff --git a/src/trusted/service_runtime/nacl_syscall_handlers_gen.py b/src/trusted/service_runtime/nacl_syscall_handlers_gen.py
index c6ba2d3190f4fdae61ae1a3163100588cf62989b..dd1379558b654effa2a3ed008145b0647aeeaf50 100755
--- a/src/trusted/service_runtime/nacl_syscall_handlers_gen.py
+++ b/src/trusted/service_runtime/nacl_syscall_handlers_gen.py
@@ -152,6 +152,27 @@ SYSCALL_LIST = [
('NACL_sys_chdir', 'NaClSysChdir', ['uint32_t path']),
('NACL_sys_getcwd', 'NaClSysGetcwd', ['uint32_t buffer', 'int len']),
('NACL_sys_unlink', 'NaClSysUnlink', ['uint32_t path']),
+ ('NACL_sys_truncate', 'NaClSysTruncate',
+ ['uint32_t path', 'nacl_abi_off_t len']),
+ ('NACL_sys_lstat', 'NaClSysLstat',
+ ['uint32_t path', 'struct nacl_abi_stat *buf']),
+ ('NACL_sys_link', 'NaClSysLink', ['uint32_t oldpath', 'uint32_t newpath']),
+ ('NACL_sys_chmod', 'NaClSysChmod', ['uint32_t pathname', 'int mode']),
+ ('NACL_sys_access', 'NaClSysAccess', ['uint32_t pathname', 'int mode']),
+ ('NACL_sys_rename', 'NaClSysRename',
+ ['uint32_t oldpath', 'uint32_t newpath']),
+ ('NACL_sys_readlink', 'NaClSysReadlink',
+ ['uint32_t path', 'uint32_t buf', 'size_t bufsiz']),
+ ('NACL_sys_symlink', 'NaClSysSymlink',
+ ['uint32_t oldpath', 'uint32_t newpath']),
+ ('NACL_sys_utimes', 'NaClSysUtimes',
+ ['uint32_t filename', 'uint32_t times']),
+ ('NACL_sys_fchdir', 'NaClSysFchdir', ['int d']),
+ ('NACL_sys_fchmod', 'NaClSysFchmod', ['int d', 'int mode']),
+ ('NACL_sys_fsync', 'NaClSysFsync', ['int d']),
+ ('NACL_sys_fdatasync', 'NaClSysFdatasync', ['int d']),
+ ('NACL_sys_ftruncate', 'NaClSysFtruncate',
+ ['int d', 'nacl_abi_off_t length']),
('NACL_sys_imc_makeboundsock', 'NaClSysImcMakeBoundSock',
['int32_t *sap']),
('NACL_sys_imc_accept', 'NaClSysImcAccept', ['int d']),
« no previous file with comments | « src/trusted/service_runtime/nacl_desc_postmessage.c ('k') | src/trusted/service_runtime/sys_fdio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698