nixpkgs/pkgs
Dmitry Kalinkin 6740593bdd
glibc: provide fallback for kernels with missing prlimit64
The current version of glibc implements support for kernels down to
3.2.0 (and we make sure to enable such support with apporopriate
--enable-kernel setting). The current RHEL6 operating system is based on
a maintained kernel based on 2.6.32 with lots of backports. We provide
basic support for this specific kernel by patching glibc to provide an
exception for this specific version of kernel. This allows for nixpkgs
software distribution to work on RHEL6 and it does so quite well with
almost no problems. There are, however, a few syscalls that are missing
in the 2.6.32 kernel, one of which is prlimit64. This commit provides a
fallback that uses an older {get,set}rlimit syscalls in cases when
prlimit64 is not available. This should streamline the experience for
nixpkgs users wanting to run it on RHEL6, namely, this fixes one of the
tests in findutils.

See also discussion in guix:
https://lists.gnu.org/archive/html/guix-devel/2018-03/msg00356.html
2020-03-01 17:33:27 -05:00
..
applications Merge pull request #77071 from peterhoeg/git_emacs_files 2020-02-23 21:16:55 +08:00
build-support Merge pull request #80091 from NixOS/npregit-dumpall 2020-02-19 07:37:11 +01:00
common-updater
data Merge pull request #80326 from rnhmjoj/uni-vga 2020-02-19 11:07:22 +01:00
desktops gnome3.gnome-desktop: 3.34.2 -> 3.34.4 2020-02-19 21:28:08 -05:00
development glibc: provide fallback for kernels with missing prlimit64 2020-03-01 17:33:27 -05:00
games qtads: 2.1.99.2019-04-12 -> 3.0.0 2020-02-16 23:39:18 +00:00
misc vimPlugins.notational-fzf-vim: init at 2019-12-03 2020-02-18 09:06:46 -08:00
os-specific Merge branch 'staging-next' into staging 2020-02-19 21:27:20 -05:00
servers Merge branch 'staging-next' into staging 2020-02-19 21:27:20 -05:00
shells nushell: 0.9.0 -> 0.10.0 2020-02-19 00:57:31 +03:00
stdenv
test
tools Merge pull request #80623 from r-ryantm/auto-update/network-manager 2020-02-22 18:18:11 -05:00
top-level Merge pull request #80417 from Ma27/fix-waybar 2020-02-20 01:50:44 +01:00