| 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_io/kernel_intercept.h" | 6 #include "nacl_io/kernel_intercept.h" |
| 7 #include "nacl_io/kernel_proxy.h" | 7 #include "nacl_io/kernel_proxy.h" |
| 8 #include "nacl_io/kernel_wrap.h" | 8 #include "nacl_io/kernel_wrap.h" |
| 9 #include "nacl_io/pepper_interface.h" | 9 #include "nacl_io/pepper_interface.h" |
| 10 #include "nacl_io/pepper_interface.h" | 10 #include "nacl_io/pepper_interface.h" |
| 11 #include "nacl_io/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; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 return s_kp->fchown(fd, owner, group); | 185 return s_kp->fchown(fd, owner, group); |
| 186 } | 186 } |
| 187 | 187 |
| 188 int ki_lchown(const char* path, uid_t owner, gid_t group) { | 188 int ki_lchown(const char* path, uid_t owner, gid_t group) { |
| 189 return s_kp->lchown(path, owner, group); | 189 return s_kp->lchown(path, owner, group); |
| 190 } | 190 } |
| 191 | 191 |
| 192 int ki_utime(const char* filename, const struct utimbuf* times) { | 192 int ki_utime(const char* filename, const struct utimbuf* times) { |
| 193 return s_kp->utime(filename, times); | 193 return s_kp->utime(filename, times); |
| 194 } | 194 } |
| OLD | NEW |