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

Unified Diff: src/untrusted/irt/irt_interfaces.c

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.h ('k') | src/untrusted/nacl/syscall_bindings_trampoline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/irt/irt_interfaces.c
diff --git a/src/untrusted/irt/irt_interfaces.c b/src/untrusted/irt/irt_interfaces.c
index cd1d4382ac59653338a9ced23094ebafba9627e6..7322b338d29c54338da14cfa877a7efb60fff89f 100644
--- a/src/untrusted/irt/irt_interfaces.c
+++ b/src/untrusted/irt/irt_interfaces.c
@@ -43,9 +43,13 @@ static const struct nacl_interface_table irt_interfaces[] = {
{ NACL_IRT_BASIC_v0_1, &nacl_irt_basic, sizeof(nacl_irt_basic), NULL },
{ NACL_IRT_FDIO_v0_1, &nacl_irt_fdio, sizeof(nacl_irt_fdio), NULL },
{ NACL_IRT_DEV_FDIO_v0_1, &nacl_irt_fdio, sizeof(nacl_irt_fdio), NULL },
+ { NACL_IRT_DEV_FDIO_v0_2, &nacl_irt_dev_fdio, sizeof(nacl_irt_dev_fdio),
+ NULL },
{ NACL_IRT_FILENAME_v0_1, &nacl_irt_filename, sizeof(nacl_irt_filename),
NULL },
- { NACL_IRT_DEV_FILENAME_v0_2, &nacl_irt_dev_filename,
+ { NACL_IRT_DEV_FILENAME_v0_2, &nacl_irt_dev_filename_v0_2,
+ sizeof(nacl_irt_dev_filename_v0_2), file_access_filter },
+ { NACL_IRT_DEV_FILENAME_v0_3, &nacl_irt_dev_filename,
sizeof(nacl_irt_dev_filename), file_access_filter },
{ NACL_IRT_MEMORY_v0_1, &nacl_irt_memory_v0_1, sizeof(nacl_irt_memory_v0_1),
NULL },
« no previous file with comments | « src/untrusted/irt/irt_interfaces.h ('k') | src/untrusted/nacl/syscall_bindings_trampoline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698