summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-01-13 06:18:10 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-01-13 06:18:10 +0100
commit536feffc685f3550f7b54f292d629e1643ae8c15 (patch)
tree3941e6fa0f8f9181e258d41532cef56d0eb89d56 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent37bb586452a93fdc0b2513043ccb536f619335c1 (diff)
chromium: Fix userns patch for kernel 3.18.2.
Writing the gid_map is already non-fatal, but the actual sandbox process still tries to setresgid() to nogroup (usually 65534). This however fails, because if user namespace sandboxing is present, the namespace doesn't have CAP_SETGID at this point. Fortunately, the effective GID is already 65534, so we just need to check whether the target gid matches and only(!) setresgid() if it doesn't. So if someone would run a SUID version of the sandbox, it would still work nonetheless without a negative impact on security. Fixes #5730, thanks to @wizeman for reporting and initial debugging. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions