403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/cad/cvc/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/cad/cvc/files/patch-src_mmap__file__pool.cpp
--- src/mmap_file_pool.cpp.orig	2021-12-28 19:09:39 UTC
+++ src/mmap_file_pool.cpp
@@ -116,7 +116,12 @@ namespace mmap_allocator_namespace {
 			throw mmap_allocator_exception("Error in remmap(fd)");
 
 		void *last_address = memory_area;
+#if defined(__FreeBSD__)
+		memory_area = mmap(last_address, size_mapped, PROT_READ, MAP_SHARED, fd, 0);
+#else
 		memory_area = mmap(last_address, size_mapped, PROT_READ, MAP_SHARED | MAP_NORESERVE, fd, 0);
+#endif
+
 		if (memory_area == MAP_FAILED) {
 			if (get_verbosity() > 0) {
 				perror("mmap");

Youez - 2016 - github.com/yon3zu
LinuXploit