1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs
aszlig 536feffc68
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>
2015-01-13 06:18:10 +01:00
..
applications chromium: Fix userns patch for kernel 3.18.2. 2015-01-13 06:18:10 +01:00
build-support Fix a warning in initrd generation 2015-01-12 17:52:30 +01:00
data include version number in name 2014-12-20 14:45:26 +00:00
desktops enlightenment: import dialog fix 2015-01-10 04:20:57 +01:00
development haskellng: Make amazonka env externally visible 2015-01-12 18:13:40 -05:00
games GNU Chess 6.1.2 -> 6.2.1 2015-01-11 16:43:29 +03:00
misc Wine unstable: 1.7.33 -> 1.7.34 2015-01-11 16:43:29 +03:00
os-specific grsecurity: Update stable and test patches 2015-01-12 18:21:22 +01:00
servers Merge pull request #5693 from benmos/riemann-0.2.7 2015-01-10 17:06:10 +01:00
shells nixpkgs: remove redundant attribute sip 2014-12-23 19:37:21 +01:00
stdenv stdenv: improve message on evaluation check (no hash changes) 2015-01-11 21:38:19 +01:00
test
tools tinc-pre: Update to ae5b56c 2015-01-12 15:25:53 -08:00
top-level Merge pull request #5687 from nckx/ipv6calc 2015-01-12 23:13:31 +01:00