[tpm] sys call length limitation

Antonio Sun tpm.ats at spamgourmet.com
Wed Jan 22 21:19:14 PST 2014


BINGO. THANKS.

On Wed, Jan 22, 2014 at 2:04 PM, Viktor Pavlenko wrote:

> `string` (or system('string')) call in perl exec-s a shell process
> passing the 'string' as argument. There is a limit on how long an
> argument to exec can be, to see your current limit type:
>
> $ getconf ARG_MAX
> 131072
>
> $ grep ARG_MAX /usr/include/linux/limits.h
> #define ARG_MAX       131072    /* # bytes of args + environ for exec() */
>
>     AS> Any way to increase the sys call length limitation, ie the
>     AS> limitation how much characters one can stuff in between ``?
>
> Change limits.h in your kernel source and recompile the kernel.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20140123/b780325f/attachment.html>


More information about the toronto-pm mailing list