1 |
Use portage.process.spawn (with new cwd parameter) and self.spawn_kwargs |
2 |
to drop privileges for git gc and merge commands. |
3 |
|
4 |
Fixes: 3cd8cf93abb6 ("GitSync: abort checkout for signature problem (bug 660372)") |
5 |
Fixes: 903c4b1a6768 ("GitSync: support sync-depth (bug 552814)") |
6 |
Bug: https://bugs.gentoo.org/669496 |
7 |
Signed-off-by: Zac Medico <zmedico@g.o> |
8 |
|
9 |
Zac Medico (2): |
10 |
portage.process.spawn: add cwd parameter |
11 |
git: drop privileges for gc and merge (bug 669496) |
12 |
|
13 |
lib/portage/process.py | 13 ++++++++++--- |
14 |
lib/portage/sync/modules/git/git.py | 10 ++++++---- |
15 |
lib/portage/tests/sync/test_sync_local.py | 22 ++++++++++++++++++++-- |
16 |
3 files changed, 36 insertions(+), 9 deletions(-) |
17 |
|
18 |
-- |
19 |
2.18.1 |