diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-10-26 01:04:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-10-26 01:04:46 -0400 |
commit | 462a2cb18ca51afec08e3c80acfe79dd69786332 (patch) | |
tree | 4c672f1d966b5cbe071dccb7e8cc0393ea0198b0 /mtab.c | |
parent | a3ed3e8dda52d39d3307a87b848b54606a6f0fed (diff) | |
download | bfs-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 'mtab.c')
0 files changed, 0 insertions, 0 deletions