commit | 586992b33b0e0df9a4c7b27dcb165f774bd008f3 | [log] [tgz] |
---|---|---|
author | Caspar Zhang <caspar@casparzhang.com> | Mon May 14 12:22:30 2012 +0800 |
committer | Caspar Zhang <caspar@casparzhang.com> | Mon Jul 02 16:32:25 2012 +0800 |
tree | e67eee640a9e75dd60c9e918516687da34c6903c | |
parent | 3d8e9490dfb5369dc9df8b2846912df71451c5e1 [diff] |
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>