summaryrefslogtreecommitdiffstats
path: root/bfs.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-10-26 01:04:46 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-10-26 01:04:46 -0400
commit462a2cb18ca51afec08e3c80acfe79dd69786332 (patch)
tree4c672f1d966b5cbe071dccb7e8cc0393ea0198b0 /bfs.h
parenta3ed3e8dda52d39d3307a87b848b54606a6f0fed (diff)
downloadbfs-462a2cb18ca51afec08e3c80acfe79dd69786332.tar.xz
exec: Make argument size tracking robust to page-granularity accounting
From looking at the Linux exec() implementation, it seems a big part of the reason we needed extra headroom was that the arguments/environment are copied page-by-page, so even a small accounting difference could result in an error of an entire page size. Grow the headroom to two entire pages to account for this.
Diffstat (limited to 'bfs.h')
0 files changed, 0 insertions, 0 deletions