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

Unified Diff: src/trusted/service_runtime/nacl_syscall_common.c

Issue 12209042: Ensure syscall functions are consistently prefixed with "NaClSys" (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 10 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
Index: src/trusted/service_runtime/nacl_syscall_common.c
diff --git a/src/trusted/service_runtime/nacl_syscall_common.c b/src/trusted/service_runtime/nacl_syscall_common.c
index 6a1efc9fa4ae9b9147fce495dfe3a1e185717457..0c65a4831fc084d786e52751bda946058d299dca 100644
--- a/src/trusted/service_runtime/nacl_syscall_common.c
+++ b/src/trusted/service_runtime/nacl_syscall_common.c
@@ -108,8 +108,8 @@ int32_t NaClSysNull(struct NaClAppThread *natp) {
return 0;
}
-int32_t NaClSetBreak(struct NaClAppThread *natp,
- uintptr_t new_break) {
+int32_t NaClSysBrk(struct NaClAppThread *natp,
+ uintptr_t new_break) {
struct NaClApp *nap = natp->nap;
uintptr_t break_addr;
int32_t rv = -NACL_ABI_EINVAL;
@@ -127,7 +127,7 @@ int32_t NaClSetBreak(struct NaClAppThread *natp,
break_addr = nap->break_addr;
- NaClLog(3, "Entered NaClSetBreak(new_break 0x%08"NACL_PRIxPTR")\n",
+ NaClLog(3, "Entered NaClSysBrk(new_break 0x%08"NACL_PRIxPTR")\n",
new_break);
sys_new_break = NaClUserToSysAddr(nap, new_break);
@@ -254,7 +254,7 @@ cleanup_no_lock:
*/
rv = (int32_t) break_addr;
- NaClLog(3, "NaClSetBreak: returning 0x%08"NACL_PRIx32"\n", rv);
+ NaClLog(3, "NaClSysBrk: returning 0x%08"NACL_PRIx32"\n", rv);
return rv;
}
« no previous file with comments | « src/trusted/service_runtime/nacl_syscall_common.h ('k') | src/trusted/service_runtime/nacl_syscall_handlers_gen.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698