FreeBSD Bugzilla – Attachment 148303 Details for
Bug 193961
[exp-run] Remove MAP_RENAME and MAP_NORESERVE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ports patch
ports.2.patch (text/plain), 22.94 KB, created by
John Baldwin
on 2014-10-14 15:29:40 UTC
(
hide
)
Description:
ports patch
Filename:
MIME Type:
Creator:
John Baldwin
Created:
2014-10-14 15:29:40 UTC
Size:
22.94 KB
patch
obsolete
>Index: devel/libunwind/files/patch-tests-mapper.c >=================================================================== >--- devel/libunwind/files/patch-tests-mapper.c (revision 0) >+++ devel/libunwind/files/patch-tests-mapper.c (working copy) >@@ -0,0 +1,12 @@ >+--- tests/mapper.c.orig 2014-10-06 14:46:27.000000000 -0400 >++++ tests/mapper.c 2014-10-06 14:47:00.000000000 -0400 >+@@ -39,6 +39,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE >+ #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) >+ # define MAP_ANONYMOUS MAP_ANON >+ #endif >++#if !defined(MAP_NORESERVE) >++# define MAP_NORESERVE 0 >++#endif >+ >+ int >+ main (void) > >Property changes on: devel/libunwind/files/patch-tests-mapper.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: devel/umem/files/patch-vmem_mmap.c >=================================================================== >--- devel/umem/files/patch-vmem_mmap.c (revision 0) >+++ devel/umem/files/patch-vmem_mmap.c (working copy) >@@ -0,0 +1,11 @@ >+--- vmem_mmap.c.orig 2014-10-06 15:04:33.000000000 -0400 >++++ vmem_mmap.c 2014-10-06 15:08:36.000000000 -0400 >+@@ -48,7 +48,7 @@ >+ #define FREE_PROT PROT_NONE >+ >+ #define ALLOC_FLAGS MAP_PRIVATE | MAP_ANON >+-#define FREE_FLAGS MAP_PRIVATE | MAP_ANON | MAP_NORESERVE >++#define FREE_FLAGS MAP_PRIVATE | MAP_ANON >+ >+ #ifdef MAP_ALIGN >+ #define CHUNKSIZE (64*1024) /* 64 kilobytes */ > >Property changes on: devel/umem/files/patch-vmem_mmap.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c >=================================================================== >--- graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c (revision 0) >+++ graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c (working copy) >@@ -0,0 +1,11 @@ >+--- util/cairo-sphinx/sphinx.c.orig 2014-10-06 15:22:24.000000000 -0400 >++++ util/cairo-sphinx/sphinx.c 2014-10-06 15:23:04.000000000 -0400 >+@@ -1325,7 +1325,7 @@ client_shm (const char *shm_path) >+ >+ base = mmap (NULL, DATA_SIZE, >+ PROT_READ | PROT_WRITE, >+- MAP_SHARED | MAP_NORESERVE, >++ MAP_SHARED, >+ fd, 0); >+ close (fd); >+ > >Property changes on: graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: java/openjdk6/files/patch-set >=================================================================== >--- java/openjdk6/files/patch-set (revision 370787) >+++ java/openjdk6/files/patch-set (working copy) >@@ -1442,7 +1442,16 @@ > > // Add the appropriate client or server subdir > len = strlen(buf); >-@@ -2817,7 +2941,7 @@ >+@@ -2752,7 +2876,7 @@ >+ if (::write(fd, "", 1) == 1) { >+ mmap(base, size, >+ PROT_READ|PROT_WRITE|PROT_EXEC, >+- MAP_PRIVATE|MAP_FIXED|MAP_NORESERVE, fd, 0); >++ MAP_PRIVATE|MAP_FIXED, fd, 0); >+ } >+ } >+ ::close(fd); >+@@ -2815,7 +2939,7 @@ > } > > void os::free_memory(char *addr, size_t bytes, size_t alignment_hint) { >@@ -1451,7 +1460,23 @@ > } > > void os::numa_make_global(char *addr, size_t bytes) { >-@@ -2997,9 +3121,10 @@ >+@@ -2962,7 +3086,7 @@ >+ return ::mprotect(addr, size, PROT_NONE) == 0; >+ #else >+ uintptr_t res = (uintptr_t) ::mmap(addr, size, PROT_NONE, >+- MAP_PRIVATE|MAP_FIXED|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); >++ MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0); >+ return res != (uintptr_t) MAP_FAILED; >+ #endif >+ } >+@@ -2989,15 +3113,16 @@ >+ char * addr; >+ int flags; >+ >+- flags = MAP_PRIVATE | MAP_NORESERVE | MAP_ANONYMOUS; >++ flags = MAP_PRIVATE | MAP_ANONYMOUS; >+ if (fixed) { >+ assert((uintptr_t)requested_addr % os::Bsd::page_size() == 0, "unaligned address"); > flags |= MAP_FIXED; > } > >Index: java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp >=================================================================== >--- java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp (revision 370787) >+++ java/openjdk7/files/patch-src-os-bsd-vm-os_bsd.cpp (working copy) >@@ -1,8 +1,8 @@ > $FreeBSD$ > >---- hotspot/src/os/bsd/vm/os_bsd.cpp.orig 2010-02-21 20:07:54.000000000 -0800 >-+++ hotspot/src/os/bsd/vm/os_bsd.cpp 2010-02-21 20:08:41.000000000 -0800 >-@@ -358,7 +358,7 @@ >+--- hotspot/src/os/bsd/vm/os_bsd.cpp.orig 2014-10-06 17:10:00.000000000 -0400 >++++ hotspot/src/os/bsd/vm/os_bsd.cpp 2014-10-08 10:23:14.000000000 -0400 >+@@ -458,7 +458,7 @@ > * 7: The default directories, normally /lib and /usr/lib. > */ > #ifndef DEFAULT_LIBPATH >@@ -11,3 +11,30 @@ > #endif > > #define EXTENSIONS_DIR "/lib/ext" >+@@ -2947,7 +2947,7 @@ >+ if (::write(fd, "", 1) == 1) { >+ mmap(base, size, >+ PROT_READ|PROT_WRITE|PROT_EXEC, >+- MAP_PRIVATE|MAP_FIXED|MAP_NORESERVE, fd, 0); >++ MAP_PRIVATE|MAP_FIXED, fd, 0); >+ } >+ } >+ ::close(fd); >+@@ -3196,7 +3196,7 @@ >+ return ::mprotect(addr, size, PROT_NONE) == 0; >+ #else >+ uintptr_t res = (uintptr_t) ::mmap(addr, size, PROT_NONE, >+- MAP_PRIVATE|MAP_FIXED|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); >++ MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0); >+ return res != (uintptr_t) MAP_FAILED; >+ #endif >+ } >+@@ -3223,7 +3223,7 @@ >+ char * addr; >+ int flags; >+ >+- flags = MAP_PRIVATE | MAP_NORESERVE | MAP_ANONYMOUS; >++ flags = MAP_PRIVATE | MAP_ANONYMOUS; >+ if (fixed) { >+ assert((uintptr_t)requested_addr % os::Bsd::page_size() == 0, "unaligned address"); >+ flags |= MAP_FIXED; >Index: java/openjdk8/files/patch-bsd >=================================================================== >--- java/openjdk8/files/patch-bsd (revision 370787) >+++ java/openjdk8/files/patch-bsd (working copy) >@@ -941,7 +941,34 @@ > SEM_INIT(_semaphore, 0); > } > >-@@ -2746,6 +2813,7 @@ >+@@ -2128,7 +2195,7 @@ >+ if (::write(fd, "", 1) == 1) { >+ mmap(base, size, >+ PROT_READ|PROT_WRITE|PROT_EXEC, >+- MAP_PRIVATE|MAP_FIXED|MAP_NORESERVE, fd, 0); >++ MAP_PRIVATE|MAP_FIXED, fd, 0); >+ } >+ } >+ ::close(fd); >+@@ -2238,7 +2305,7 @@ >+ return ::mprotect(addr, size, PROT_NONE) == 0; >+ #else >+ uintptr_t res = (uintptr_t) ::mmap(addr, size, PROT_NONE, >+- MAP_PRIVATE|MAP_FIXED|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); >++ MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0); >+ return res != (uintptr_t) MAP_FAILED; >+ #endif >+ } >+@@ -2265,7 +2332,7 @@ >+ char * addr; >+ int flags; >+ >+- flags = MAP_PRIVATE | MAP_NORESERVE | MAP_ANONYMOUS; >++ flags = MAP_PRIVATE | MAP_ANONYMOUS; >+ if (fixed) { >+ assert((uintptr_t)requested_addr % os::Bsd::page_size() == 0, "unaligned address"); >+ flags |= MAP_FIXED; >+@@ -2743,6 +2810,7 @@ > return OS_OK; > #elif defined(__FreeBSD__) > int ret = pthread_setprio(thread->osthread()->pthread_id(), newpri); >Index: lang/ccl/files/patch-lisp-kernel_memory.c >=================================================================== >--- lang/ccl/files/patch-lisp-kernel_memory.c (revision 0) >+++ lang/ccl/files/patch-lisp-kernel_memory.c (working copy) >@@ -0,0 +1,29 @@ >+--- lisp-kernel/memory.c.orig 2014-10-08 10:40:13.000000000 -0400 >++++ lisp-kernel/memory.c 2014-10-08 10:41:19.000000000 -0400 >+@@ -89,7 +89,7 @@ ReserveMemoryForHeap(LogicalAddress want >+ start = mmap((void *)want, >+ totalsize + heap_segment_size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ -1, >+ 0); >+ if (start == MAP_FAILED) { >+@@ -99,7 +99,7 @@ ReserveMemoryForHeap(LogicalAddress want >+ if (start != want) { >+ munmap(start, totalsize+heap_segment_size); >+ start = (void *)((((natural)start)+heap_segment_size-1) & ~(heap_segment_size-1)); >+- if(mmap(start, totalsize, PROT_NONE, MAP_PRIVATE | MAP_ANON | MAP_FIXED | MAP_NORESERVE, -1, 0) != start) { >++ if(mmap(start, totalsize, PROT_NONE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0) != start) { >+ return NULL; >+ } >+ } >+@@ -877,7 +877,7 @@ ReserveMemory(natural size) >+ PAGE_NOACCESS); >+ return p; >+ #else >+- p = mmap(NULL,size,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NORESERVE,-1,0); >++ p = mmap(NULL,size,PROT_NONE,MAP_PRIVATE|MAP_ANON,-1,0); >+ if (p == MAP_FAILED) { >+ return NULL; >+ } > >Property changes on: lang/ccl/files/patch-lisp-kernel_memory.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: lang/v8/files/patch-src_platform-freebsd.cc >=================================================================== >--- lang/v8/files/patch-src_platform-freebsd.cc (revision 0) >+++ lang/v8/files/patch-src_platform-freebsd.cc (working copy) >@@ -0,0 +1,29 @@ >+--- src/platform-freebsd.cc.orig 2014-10-08 11:14:11.000000000 -0400 >++++ src/platform-freebsd.cc 2014-10-08 11:14:30.000000000 -0400 >+@@ -371,7 +371,7 @@ VirtualMemory::VirtualMemory(size_t size >+ void* reservation = mmap(OS::GetRandomMmapAddr(), >+ request_size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ if (reservation == MAP_FAILED) return; >+@@ -443,7 +443,7 @@ void* VirtualMemory::ReserveRegion(size_ >+ void* result = mmap(OS::GetRandomMmapAddr(), >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ >+@@ -473,7 +473,7 @@ bool VirtualMemory::UncommitRegion(void* >+ return mmap(base, >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, >++ MAP_PRIVATE | MAP_ANON | MAP_FIXED, >+ kMmapFd, >+ kMmapFdOffset) != MAP_FAILED; >+ } > >Property changes on: lang/v8/files/patch-src_platform-freebsd.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Index: lang/v8-devel/files/patch-src_platform-freebsd.cc >=================================================================== >--- lang/v8-devel/files/patch-src_platform-freebsd.cc (revision 0) >+++ lang/v8-devel/files/patch-src_platform-freebsd.cc (working copy) >@@ -0,0 +1,29 @@ >+--- src/platform-freebsd.cc.orig 2014-06-03 04:52:11.000000000 -0400 >++++ src/platform-freebsd.cc 2014-10-08 11:16:08.000000000 -0400 >+@@ -189,7 +189,7 @@ VirtualMemory::VirtualMemory(size_t size >+ void* reservation = mmap(OS::GetRandomMmapAddr(), >+ request_size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ if (reservation == MAP_FAILED) return; >+@@ -261,7 +261,7 @@ void* VirtualMemory::ReserveRegion(size_ >+ void* result = mmap(OS::GetRandomMmapAddr(), >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ >+@@ -289,7 +289,7 @@ bool VirtualMemory::UncommitRegion(void* >+ return mmap(base, >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, >++ MAP_PRIVATE | MAP_ANON | MAP_FIXED, >+ kMmapFd, >+ kMmapFdOffset) != MAP_FAILED; >+ } > >Property changes on: lang/v8-devel/files/patch-src_platform-freebsd.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Index: mail/annoyance-filter/files/patch-annoyance-filter.cc >=================================================================== >--- mail/annoyance-filter/files/patch-annoyance-filter.cc (revision 370787) >+++ mail/annoyance-filter/files/patch-annoyance-filter.cc (working copy) >@@ -1,5 +1,5 @@ >---- annoyance-filter.cc.orig Thu Sep 25 01:56:54 2003 >-+++ annoyance-filter.cc Fri Jan 2 02:51:57 2004 >+--- annoyance-filter.cc.orig 2004-08-04 16:28:36.000000000 -0400 >++++ annoyance-filter.cc 2014-10-08 12:04:20.000000000 -0400 > @@ -114,7 +114,7 @@ > #define __GNU_LIBRARY__ > #undef __GETOPT_H__ >@@ -9,3 +9,21 @@ > #include "statlib.h" > > /*237:*/ >+@@ -2675,7 +2675,7 @@ >+ fileLength= lseek(fileHandle,0,2); >+ lseek(fileHandle,0,0); >+ dp= static_cast<char*> (mmap((caddr_t)0,fileLength, >+-PROT_READ,MAP_SHARED|MAP_NORESERVE, >++PROT_READ,MAP_SHARED, >+ fileHandle,0)); >+ istrstream is(dp,fileLength); >+ #else >+@@ -7332,7 +7332,7 @@ >+ long fileLength= lseek(fileHandle,0,2); >+ lseek(fileHandle,0,0); >+ char*dp= static_cast<char*> (mmap((caddr_t)0,fileLength, >+-PROT_READ,MAP_SHARED|MAP_NORESERVE, >++PROT_READ,MAP_SHARED, >+ fileHandle,0)); >+ istrstream is(dp,fileLength); >+ #else >Index: security/binwalk/files/patch-common.c >=================================================================== >--- security/binwalk/files/patch-common.c (revision 0) >+++ security/binwalk/files/patch-common.c (working copy) >@@ -0,0 +1,11 @@ >+--- common.c.orig 2014-10-08 12:07:33.000000000 -0400 >++++ common.c 2014-10-08 12:07:45.000000000 -0400 >+@@ -109,7 +109,7 @@ >+ >+ if(file_size > 0) >+ { >+- buffer = mmap(NULL, file_size, PROT_READ, (MAP_SHARED | MAP_NORESERVE), fd, 0); >++ buffer = mmap(NULL, file_size, PROT_READ, MAP_SHARED, fd, 0); >+ if(buffer == MAP_FAILED) >+ { >+ perror("mmap"); > >Property changes on: security/binwalk/files/patch-common.c >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Index: www/chromium/files/patch-v8__src__base__platform__platform-freebsd.cc >=================================================================== >--- www/chromium/files/patch-v8__src__base__platform__platform-freebsd.cc (revision 370787) >+++ www/chromium/files/patch-v8__src__base__platform__platform-freebsd.cc (working copy) >@@ -32,3 +32,30 @@ > } while (buffer[bytes_read] != '\n'); > buffer[bytes_read] = 0; > // Ignore mappings that are not executable. >+@@ -187,7 +187,7 @@ >+ void* reservation = mmap(OS::GetRandomMmapAddr(), >+ request_size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ if (reservation == MAP_FAILED) return; >+@@ -259,7 +259,7 @@ >+ void* result = mmap(OS::GetRandomMmapAddr(), >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ >+@@ -287,7 +287,7 @@ >+ return mmap(base, >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, >++ MAP_PRIVATE | MAP_ANON | MAP_FIXED, >+ kMmapFd, >+ kMmapFdOffset) != MAP_FAILED; >+ } >Index: www/node/files/patch-deps_v8_src_platform-freebsd.cc >=================================================================== >--- www/node/files/patch-deps_v8_src_platform-freebsd.cc (revision 0) >+++ www/node/files/patch-deps_v8_src_platform-freebsd.cc (working copy) >@@ -0,0 +1,29 @@ >+--- deps/v8/src/platform-freebsd.cc.orig 2014-09-16 18:47:52.000000000 -0400 >++++ deps/v8/src/platform-freebsd.cc 2014-10-08 13:23:25.000000000 -0400 >+@@ -343,7 +343,7 @@ >+ void* reservation = mmap(OS::GetRandomMmapAddr(), >+ request_size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ if (reservation == MAP_FAILED) return; >+@@ -415,7 +415,7 @@ >+ void* result = mmap(OS::GetRandomMmapAddr(), >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ >+@@ -445,7 +445,7 @@ >+ return mmap(base, >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, >++ MAP_PRIVATE | MAP_ANON | MAP_FIXED, >+ kMmapFd, >+ kMmapFdOffset) != MAP_FAILED; >+ } > >Property changes on: www/node/files/patch-deps_v8_src_platform-freebsd.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Index: www/node-devel/files/patch-deps_v8_src_platform-freebsd.cc >=================================================================== >--- www/node-devel/files/patch-deps_v8_src_platform-freebsd.cc (revision 0) >+++ www/node-devel/files/patch-deps_v8_src_platform-freebsd.cc (working copy) >@@ -0,0 +1,29 @@ >+--- deps/v8/src/platform-freebsd.cc.orig 2014-05-01 20:49:51.000000000 -0400 >++++ deps/v8/src/platform-freebsd.cc 2014-10-08 13:34:09.000000000 -0400 >+@@ -213,7 +213,7 @@ >+ void* reservation = mmap(OS::GetRandomMmapAddr(), >+ request_size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ if (reservation == MAP_FAILED) return; >+@@ -285,7 +285,7 @@ >+ void* result = mmap(OS::GetRandomMmapAddr(), >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >++ MAP_PRIVATE | MAP_ANON, >+ kMmapFd, >+ kMmapFdOffset); >+ >+@@ -313,7 +313,7 @@ >+ return mmap(base, >+ size, >+ PROT_NONE, >+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, >++ MAP_PRIVATE | MAP_ANON | MAP_FIXED, >+ kMmapFd, >+ kMmapFdOffset) != MAP_FAILED; >+ } > >Property changes on: www/node-devel/files/patch-deps_v8_src_platform-freebsd.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Index: www/trafficserver/files/patch-lib__ts__Compatability.h >=================================================================== >--- www/trafficserver/files/patch-lib__ts__Compatability.h (revision 0) >+++ www/trafficserver/files/patch-lib__ts__Compatability.h (working copy) >@@ -0,0 +1,11 @@ >+--- lib/ts/Compatability.h.orig 2014-10-08 13:41:39.000000000 -0400 >++++ lib/ts/Compatability.h 2014-10-08 13:42:29.000000000 -0400 >+@@ -55,7 +55,7 @@ >+ #if defined(linux) >+ #define NEED_ALTZONE_DEFINED >+ #define MAP_SHARED_MAP_NORESERVE (MAP_SHARED) >+-#elif defined(darwin) >++#elif defined(darwin) || defined(__FreeBSD__) >+ #define MAP_SHARED_MAP_NORESERVE (MAP_SHARED) >+ #elif defined(solaris) >+ #define NEED_ALTZONE_DEFINED > >Property changes on: www/trafficserver/files/patch-lib__ts__Compatability.h >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: www/trafficserver/files/patch-tools__jtest__jtest.cc >=================================================================== >--- www/trafficserver/files/patch-tools__jtest__jtest.cc (revision 0) >+++ www/trafficserver/files/patch-tools__jtest__jtest.cc (working copy) >@@ -0,0 +1,11 @@ >+--- tools/jtest/jtest.cc.orig 2014-10-08 13:50:58.000000000 -0400 >++++ tools/jtest/jtest.cc 2014-10-08 13:51:12.000000000 -0400 >+@@ -2689,7 +2689,7 @@ >+ ink_assert( !ftruncate(fd,numbytes) ); >+ bytes = (unsigned char *) >+ mmap(NULL,numbytes,PROT_READ|PROT_WRITE, >+- MAP_SHARED|MAP_NORESERVE, >++ MAP_SHARED, >+ fd, 0); >+ if (bytes == (unsigned char*)MAP_FAILED || !bytes) >+ panic("unable to map URL Hash file\n"); > >Property changes on: www/trafficserver/files/patch-tools__jtest__jtest.cc >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193961
:
147741
|
148279
| 148303