nixpkgs/pkgs/applications
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
..
audio Merge pull request #5700 from eduarrrd/pianobar 2015-01-11 07:43:29 +01:00
backup/crashplan crashplan: install desktop file 2014-12-19 23:26:35 +01:00
display-managers
editors Add meta attributes to emacsPackages.d 2015-01-11 18:46:48 +01:00
gis nixpkgs: remove redundant attribute sip 2014-12-23 19:37:21 +01:00
graphics darktable: update from 1.6.0 to 1.6.1 2015-01-02 23:48:48 +01:00
inferno
misc blender: Update to 2.73 2015-01-10 12:24:18 +01:00
networking chromium: Fix userns patch for kernel 3.18.2. 2015-01-13 06:18:10 +01:00
office calligra: fix dependencies, and add several new ones 2015-01-11 17:03:14 +02:00
science matita_130312: mark as broken 2015-01-07 02:15:26 -05:00
search
taxes Change occurrences of gcc to the more general cc 2014-12-26 11:06:21 -06:00
version-management hub: Fix build with chrooted Nix. 2015-01-12 03:05:40 +01:00
video miro: Fix build by adding sqlite to buildInputs. 2015-01-12 03:05:40 +01:00
virtualization Merge pull request #5425 from ts468/xen 2015-01-02 12:01:40 +01:00
window-managers Update StumpWM 2015-01-12 02:11:13 +03:00