summaryrefslogtreecommitdiff
path: root/lib/csu/sh
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-03-05 01:15:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-03-05 01:15:27 +0000
commit1b2a1e164cac68fc8382984c0c4cc8ae47b10de0 (patch)
tree96a0bc88c4c52bbddf74f46e1207fbe29d587a2b /lib/csu/sh
parente65b98a142f78ed32246495f2063b4a885afa357 (diff)
#define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch
needs (looking at you sgi, but others required this before). This is for the circumstances we need pagesize known at compile time, not getpagesize() runtime. Use it for malloc storage sizes, for shm, and to set pthread stack default sizes. The stack sizes were a mess, and pushing them towards page-aligned is healthy move (which will also be needed by the coming stack register checker) ok guenther kettenis, discussion with stefan
Diffstat (limited to 'lib/csu/sh')
0 files changed, 0 insertions, 0 deletions