Re: [PATCH v12 05/20] index-helper: add --strict

2016-06-25 Thread Duy Nguyen
On Thu, May 19, 2016 at 11:45 PM, David Turner wrote: > +--strict:: > +--no-strict:: > + Strict mode makes index-helper verify the shared memory after > + it's created. If the result does not match what's read from > + $GIT_DIR/index, the shared memory is destroyed. This makes >

[PATCH v12 05/20] index-helper: add --strict

2016-05-19 Thread David Turner
From: Nguyễn Thái Ngọc Duy There are "holes" in the index-helper approach because the shared memory is not verified again by git. If $USER is compromised, shared memory could be modified. But anyone who could do this could already modify $GIT_DIR/index. A more realistic risk is some bugs in index