[Bug 295991] lib/libc posix_spawnp(): PATH-search child runs on an undersized rfork_thread stack and underflows into the caller's heap (heavily-linked processes; PHP proc_open)

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295991

Marek Zarychta <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected].
                   |                            |pl

--- Comment #5 from Marek Zarychta <[email protected]> ---
(In reply to Kyle Evans from comment #3)
FWIW, it changes nothing to me. 

diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h
index 763b89da9e12..75246b23df09 100644
--- a/sys/amd64/include/vmparam.h
+++ b/sys/amd64/include/vmparam.h
@@ -62,7 +62,7 @@
 #define        MAXDSIZ         (32768UL*1024*1024)     /* max data size */
 #endif
 #ifndef        DFLSSIZ
-#define        DFLSSIZ         (8UL*1024*1024)         /* initial stack size
limit */
+#define        DFLSSIZ         (16UL*1024*1024)                /* initial
stack size limit */
 #endif
 #ifndef        MAXSSIZ
 #define        MAXSSIZ         (512UL*1024*1024)       /* max stack size */

(In reply to Bryan Drewery from comment #2)
Perhaps we can incorporate this patch into the port ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.