Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common zero pa...



details:   https://anonhg.NetBSD.org/src/rev/cc0349b24e94
branches:  trunk
changeset: 345560:cc0349b24e94
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 01 01:54:06 2016 +0000

description:
zero pad syscall.

diffstat:

 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 739e6473111f -r cc0349b24e94 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc   Wed Jun 01 01:52:19 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc   Wed Jun 01 01:54:06 2016 +0000
@@ -103,7 +103,7 @@
                     int fd, u64 offset) {
 #if SANITIZER_NETBSD || SANITIZER_FREEBSD || SANITIZER_LINUX_USES_64BIT_SYSCALLS
   return internal_syscall(SYSCALL(mmap), (uptr)addr, length, prot, flags, fd,
-                          offset);
+                          offset, 0);
 #else
   return internal_syscall(SYSCALL(mmap2), addr, length, prot, flags, fd,
                           offset);



Home | Main Index | Thread Index | Old Index