me
/
guix
Archived
1
0
Fork 0

build: Use 127 as the Linux hash-bang limit.

Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* m4/guix.m4 (LINUX_HASH_BANG_LIMIT): Set to 127.
master
Ludovic Courtès 2016-01-13 11:04:29 +01:00
parent 98f2339189
commit 93ce8a8e00
1 changed files with 3 additions and 3 deletions

View File

@ -175,9 +175,9 @@ AC_DEFUN([GUIX_TEST_ROOT_DIRECTORY], [
[ac_cv_guix_test_root="`pwd`/test-tmp"]) [ac_cv_guix_test_root="`pwd`/test-tmp"])
]) ])
dnl 'BINPRM_BUF_SIZE' constant in Linux. The Hurd has a limit dnl 'BINPRM_BUF_SIZE' constant in Linux (we leave room for the trailing zero.)
dnl of about a page (see exec/hashexec.c.) dnl The Hurd has a limit of about a page (see exec/hashexec.c.)
m4_define([LINUX_HASH_BANG_LIMIT], 128) m4_define([LINUX_HASH_BANG_LIMIT], 127)
dnl Hardcoded 'sun_path' length in <sys/un.h>. dnl Hardcoded 'sun_path' length in <sys/un.h>.
m4_define([SOCKET_FILE_NAME_LIMIT], 108) m4_define([SOCKET_FILE_NAME_LIMIT], 108)