nixpkgs/nixos
aszlig f6ae3948bc
tests/boot-stage1: Fix build of kcanary module
In bfe9c928c1 the default kernel has been
updated to version 4.14 and the declarations for allow_signal() and
signal_pending() are no longer exposed via kthread.h, so let's actually
use the right header files.

I've added a condition for kernel 4.10 and upwards to include the
linux/sched/signal.h header file, because that got introduced in version
4.10. Even if the declaration would still reside in kthread.h (I haven't
checked) for version 4.10 it won't hurt and the compilation will still
succeed.

Tested against kernel 4.9 and 4.14 and the build now succeeds.

Signed-off-by: aszlig <aszlig@nix.build>
2017-11-14 04:36:19 +01:00
..
doc/manual lib/types: add ints.positive. 2017-11-05 15:56:32 +01:00
lib make-disk-image: fix eval 2017-11-13 14:56:30 +00:00
maintainers amazon-image: make derivation name configurable 2017-10-23 16:22:24 -04:00
modules Merge pull request #31630 from Ma27/fix-postgres-quoting 2017-11-13 17:01:05 -05:00
tests tests/boot-stage1: Fix build of kcanary module 2017-11-14 04:36:19 +01:00
COPYING
default.nix Remove nixFallback 2017-03-06 15:54:50 +01:00
README
release-combined.nix php: Add nixos test to ensure php-pcre works in httpd 2017-11-12 08:05:27 +01:00
release-small.nix php: pcre test blocks -small channels as well 2017-11-12 11:03:54 +01:00
release.nix php: Add nixos test to ensure php-pcre works in httpd 2017-11-12 08:05:27 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.