Comment 6 for bug 249937

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

In Ubuntu the maximum page allocation for env+arg is hard coded and limited to 32 pages of 4KB.

If you look at the include/linux/binfmts.h file, you will find the following near the top:

/*
 * MAX_ARG_PAGES defines the number of pages allocated for arguments
 * and envelope for the new program. 32 should suffice, this gives
 * a maximum env+arg of 128kB w/4KB pages!
 */
#define MAX_ARG_PAGES 32