| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 #include <errno.h> | 5 #include <errno.h> |
| 6 #include "nacl_mounts/kernel_intercept.h" | 6 #include "nacl_io/kernel_intercept.h" |
| 7 #include "nacl_mounts/kernel_proxy.h" | 7 #include "nacl_io/kernel_proxy.h" |
| 8 #include "nacl_mounts/kernel_wrap.h" | 8 #include "nacl_io/kernel_wrap.h" |
| 9 #include "nacl_mounts/pepper_interface.h" | 9 #include "nacl_io/pepper_interface.h" |
| 10 #include "nacl_mounts/pepper_interface.h" | 10 #include "nacl_io/pepper_interface.h" |
| 11 #include "nacl_mounts/real_pepper_interface.h" | 11 #include "nacl_io/real_pepper_interface.h" |
| 12 | 12 |
| 13 | 13 |
| 14 static KernelProxy* s_kp; | 14 static KernelProxy* s_kp; |
| 15 | 15 |
| 16 void ki_init(void* kp) { | 16 void ki_init(void* kp) { |
| 17 ki_init_ppapi(kp, 0, NULL); | 17 ki_init_ppapi(kp, 0, NULL); |
| 18 } | 18 } |
| 19 | 19 |
| 20 void ki_init_ppapi(void* kp, | 20 void ki_init_ppapi(void* kp, |
| 21 PP_Instance instance, | 21 PP_Instance instance, |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 return s_kp->access(path, amode); | 148 return s_kp->access(path, amode); |
| 149 } | 149 } |
| 150 | 150 |
| 151 int ki_link(const char* oldpath, const char* newpath) { | 151 int ki_link(const char* oldpath, const char* newpath) { |
| 152 return s_kp->link(oldpath, newpath); | 152 return s_kp->link(oldpath, newpath); |
| 153 } | 153 } |
| 154 | 154 |
| 155 int ki_symlink(const char* oldpath, const char* newpath) { | 155 int ki_symlink(const char* oldpath, const char* newpath) { |
| 156 return s_kp->symlink(oldpath, newpath); | 156 return s_kp->symlink(oldpath, newpath); |
| 157 } | 157 } |
| OLD | NEW |