On Wed, Mar 28, 2007 at 05:38:07PM +0200, Michel Campfort wrote:
Voici la fin de mes investigations . La ligne de commande serait-elle
deux fois plus courte en 64 bits ?
Use the source, Luke.
Le code qui fait la comparaison est le suivant:
bprm->p = PAGE_SIZE*MAX_ARG_PAGES-sizeof(void *);
[...]
bprm->argc = count(argv, bprm->p / sizeof(void *));
if ((retval = bprm->argc) < 0) goto out_mm;
sizeof(void*), ça doit faire 8 sur archi 64 et ça fait 4 sur
archi 32. Donc effectivement ta ligne de commande va etre
moitiée plus courte.
Y.