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

Side by Side Diff: linux_syscall_support.h

Issue 22999007: Linux brk() syscall returns the new program break (Closed) Base URL: https://linux-syscall-support.googlecode.com/svn/trunk/lss
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2005-2011, Google Inc. 1 /* Copyright (c) 2005-2011, Google Inc.
2 * All rights reserved. 2 * All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 "r" (__ctidptr) 2714 "r" (__ctidptr)
2715 : "cr0", "cr1", "memory", "ctr", 2715 : "cr0", "cr1", "memory", "ctr",
2716 "r0", "r29", "r27", "r28"); 2716 "r0", "r29", "r27", "r28");
2717 } 2717 }
2718 LSS_RETURN(int, __ret, __err); 2718 LSS_RETURN(int, __ret, __err);
2719 } 2719 }
2720 #endif 2720 #endif
2721 #define __NR__exit __NR_exit 2721 #define __NR__exit __NR_exit
2722 #define __NR__gettid __NR_gettid 2722 #define __NR__gettid __NR_gettid
2723 #define __NR__mremap __NR_mremap 2723 #define __NR__mremap __NR_mremap
2724 LSS_INLINE _syscall1(int, brk, void *, e) 2724 LSS_INLINE _syscall1(void *, brk, void *, e)
2725 LSS_INLINE _syscall1(int, chdir, const char *,p) 2725 LSS_INLINE _syscall1(int, chdir, const char *,p)
2726 LSS_INLINE _syscall1(int, close, int, f) 2726 LSS_INLINE _syscall1(int, close, int, f)
2727 LSS_INLINE _syscall2(int, clock_getres, int, c, 2727 LSS_INLINE _syscall2(int, clock_getres, int, c,
2728 struct kernel_timespec*, t) 2728 struct kernel_timespec*, t)
2729 LSS_INLINE _syscall2(int, clock_gettime, int, c, 2729 LSS_INLINE _syscall2(int, clock_gettime, int, c,
2730 struct kernel_timespec*, t) 2730 struct kernel_timespec*, t)
2731 LSS_INLINE _syscall1(int, dup, int, f) 2731 LSS_INLINE _syscall1(int, dup, int, f)
2732 LSS_INLINE _syscall2(int, dup2, int, s, 2732 LSS_INLINE _syscall2(int, dup2, int, s,
2733 int, d) 2733 int, d)
2734 LSS_INLINE _syscall3(int, execve, const char*, f, 2734 LSS_INLINE _syscall3(int, execve, const char*, f,
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
3663 # pragma pop_macro("fstat64") 3663 # pragma pop_macro("fstat64")
3664 # pragma pop_macro("lstat64") 3664 # pragma pop_macro("lstat64")
3665 #endif 3665 #endif
3666 3666
3667 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) 3667 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS)
3668 } 3668 }
3669 #endif 3669 #endif
3670 3670
3671 #endif 3671 #endif
3672 #endif 3672 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698