diff options
| author | 2021-10-05 15:41:02 -0700 | |
|---|---|---|
| committer | 2021-11-12 00:48:34 +0000 | |
| commit | 0a5da7025e651fa14570fe967d7fc36b333345a2 (patch) | |
| tree | 6343efe43e2c214147d4b2cc0c1c488edf7f7740 /rust/project_json.go | |
| parent | 17acadbcb0188323ea5283b6d2ea3631924b3467 (diff) | |
sbox: run commands using script for large commands
Linux has limit of 32 pages for a single argument. Sbox's method of
handling commands as a single large string can run into this limitation.
Write the large command to a script file and then execute that file.
This better accommodates the large commands, and leaves a script in the
temporary directory useful for manual inspection if necessary.
Bug: 177070955
Bug: 174232579
Fixes: 202297224
Test: m
Test: make particular target with very long command exceeding limit.
Change-Id: Ia298fdfd7a759821c37f540deaf800026041e511
Diffstat (limited to 'rust/project_json.go')
0 files changed, 0 insertions, 0 deletions