summaryrefslogtreecommitdiffstats
path: root/tests/remove-sibling.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2018-07-07 12:28:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2018-07-07 12:28:43 -0400
commit30b48746565be758f7014dce9448d8e91febab60 (patch)
treed5b590b482bf76ec60cd972fe5ea0794f052899f /tests/remove-sibling.sh
parent4e9a4cd67d050cfa997d66067f0a08c702e0c8d7 (diff)
downloadbfs-30b48746565be758f7014dce9448d8e91febab60.tar.xz
exec: Make ARG_MAX accounting a bit less restrictive with large pages
For Linux-style accounting, we really only need to handle a single page of wasted space due to rounding. Subtracting two pages for extra headroom was reasonable on systems with 4K pages, but overkill on systems like ppc64le with 64K pages. Worse yet was the fact that Alpine Linux only gives us 128K for arguments. Instead, only subtract a single page, plus the POSIX-recommended 2048 bytes. Credit to Mike Sullivan for the initial patch and testing on Alpine ppc64le. Fixes: http://build.alpinelinux.org/buildlogs/build-edge-ppc64le/testing/bfs/bfs-1.2.2-r0.log Co-authored-by: Mike Sullivan <mksully22@gmail.com>
Diffstat (limited to 'tests/remove-sibling.sh')
0 files changed, 0 insertions, 0 deletions