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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc

Issue 875543002: Grab a bunch of owners / todos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
OLDNEW
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_io/kernel_proxy.h" 5 #include "nacl_io/kernel_proxy.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <limits.h> 10 #include <limits.h>
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 965
966 Error error = AcquireFsAndNode(path, O_WRONLY, 0, &fs, &node); 966 Error error = AcquireFsAndNode(path, O_WRONLY, 0, &fs, &node);
967 if (error) { 967 if (error) {
968 errno = error; 968 errno = error;
969 return -1; 969 return -1;
970 } 970 }
971 971
972 return FutimensInternal(node, times); 972 return FutimensInternal(node, times);
973 } 973 }
974 974
975 // TODO(noelallen): Needs implementation. 975 // TODO(bradnelson): Needs implementation.
976 int KernelProxy::link(const char* oldpath, const char* newpath) { 976 int KernelProxy::link(const char* oldpath, const char* newpath) {
977 LOG_TRACE("link is not implemented."); 977 LOG_TRACE("link is not implemented.");
978 errno = EINVAL; 978 errno = EINVAL;
979 return -1; 979 return -1;
980 } 980 }
981 981
982 int KernelProxy::symlink(const char* oldpath, const char* newpath) { 982 int KernelProxy::symlink(const char* oldpath, const char* newpath) {
983 LOG_TRACE("symlink is not implemented."); 983 LOG_TRACE("symlink is not implemented.");
984 errno = EINVAL; 984 errno = EINVAL;
985 return -1; 985 return -1;
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 errno = ENOTSOCK; 1818 errno = ENOTSOCK;
1819 return -1; 1819 return -1;
1820 } 1820 }
1821 1821
1822 return 0; 1822 return 0;
1823 } 1823 }
1824 1824
1825 #endif // PROVIDES_SOCKET_API 1825 #endif // PROVIDES_SOCKET_API
1826 1826
1827 } // namespace_nacl_io 1827 } // namespace_nacl_io
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/tests/parse_dsc_test.py ('k') | native_client_sdk/src/libraries/nacl_io/node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698