hugetlb: shmmax could be ULONG_MAX - 1

on some systems, shmmax could be ULONG_MAX - 1 by default, but
SAFE_STRTOL() upper bound is LONG_MAX,  which causes hugeshm* tests fail
to parse shmmax value in SAFE_STRTOL() function. This patch increases
the upper bound of SAFE_STRTOL() parameter to ULONG_MAX.

Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
1 file changed