| 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 "nacl_mounts/kernel_proxy.h" | 5 #include "nacl_mounts/kernel_proxy.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #include <pthread.h> | 9 #include <pthread.h> |
| 10 #include <string.h> | 10 #include <string.h> |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 return -1; | 340 return -1; |
| 341 } | 341 } |
| 342 int KernelProxy::remove(const char* path) { | 342 int KernelProxy::remove(const char* path) { |
| 343 errno = EINVAL; | 343 errno = EINVAL; |
| 344 return -1; | 344 return -1; |
| 345 } | 345 } |
| 346 int KernelProxy::unlink(const char* path) { | 346 int KernelProxy::unlink(const char* path) { |
| 347 errno = EINVAL; | 347 errno = EINVAL; |
| 348 return -1; | 348 return -1; |
| 349 } | 349 } |
| 350 int KernelProxy::access(const char*path, int amode) { | 350 int KernelProxy::access(const char* path, int amode) { |
| 351 errno = EINVAL; | 351 errno = EINVAL; |
| 352 return -1; | 352 return -1; |
| 353 } | 353 } |
| 354 off_t KernelProxy::lseek(int fd, off_t offset, int whence) { | 354 off_t KernelProxy::lseek(int fd, off_t offset, int whence) { |
| 355 errno = EINVAL; | 355 errno = EINVAL; |
| 356 return -1; | 356 return -1; |
| 357 } | 357 } |
| OLD | NEW |