403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.39
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/multimedia/lms/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/lms/files/patch-src_libs_utils_impl_ChildProcess.cpp
--- src/libs/utils/impl/ChildProcess.cpp.orig	2022-02-02 17:25:04 UTC
+++ src/libs/utils/impl/ChildProcess.cpp
@@ -68,6 +68,7 @@ ChildProcess::ChildProcess(boost::asio::io_context& io
 	if (res < 0)
 		throw SystemException {errno, "pipe2 failed!"};
 
+#if !defined(__FreeBSD__) // see https://github.com/epoupon/lms/issues/144
 	{
 #if defined(__linux__) && defined(F_SETPIPE_SZ)
 		// Just a hint here to prevent the writer from writing too many bytes ahead of the reader
@@ -79,6 +80,7 @@ ChildProcess::ChildProcess(boost::asio::io_context& io
 			throw SystemException {errno, "fcntl failed!"};
 #endif
 	}
+#endif
 
 	res = fork();
 	if (res == -1)

Youez - 2016 - github.com/yon3zu
LinuXploit