Upate and add execveat_common kernel patch

This commit is contained in:
Artemis Tosini 2022-01-27 16:46:11 +00:00
parent 991ecf1360
commit fea7b75025
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 22 additions and 9 deletions

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1639871969, "lastModified": 1642653493,
"narHash": "sha256-6feWUnMygRzA9tzkrfAzpA5/NBYg75bkFxnqb1DtD7E=", "narHash": "sha256-22mGPjiHUo2Jmze4IjXCJLjeK2mbvvCztHmUyUMr4yw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "697cc8c68ed6a606296efbbe9614c32537078756", "rev": "28b9ae40c45c5e7711c353fee1b7af734e293979",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -23,11 +23,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1642190797, "lastModified": 1643247693,
"narHash": "sha256-cxeEEAtfIACnm8sV1oz0xlNp9IVk10Fxcc09ggoEZuo=", "narHash": "sha256-rmShxIuNjYBz4l83J0J++sug+MURUY1koPCzX4F8hfo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3ddd960a3b575bf3230d0e59f42614b71f9e0db9", "rev": "6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -39,11 +39,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1642373004, "lastModified": 1643262078,
"narHash": "sha256-AZ1fTklT9OkLFtmZ8qMbQ2Uf1dF0+np3WjnTIIquApA=", "narHash": "sha256-1aVvEq0GDONmBDntHck168jonD9saMRshVgT47EwfqE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b13052a35a63e1ea9eba916ffe48886ab7af58ce", "rev": "d01b2cc71bf6e220e164bf57d757624b01429ba0",
"type": "github" "type": "github"
}, },
"original": { "original": {

12
sets/kernelpatch.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
boot.kernelPatches = [{
name = "fix-execve";
patch = pkgs.fetchpatch
{
url = "https://git.alpinelinux.org/aports/plain/main/linux-lts/0001-fs-exec-require-argv-0-presence-in-do_execveat_commo.patch?id=520e6dfd6e814414ab7cf862b897ca6ba427d30f";
sha256 = "sha256-vrN64lGDiAFgMn5SGWiI9MwNRct4m9DJDxokFZ6EpiE=";
};
}];
}

View file

@ -17,6 +17,7 @@
../../sets/virtualization.nix ../../sets/virtualization.nix
../../sets/workstation.nix ../../sets/workstation.nix
../../sets/1password.nix ../../sets/1password.nix
../../sets/kernelpatch.nix
]; ];
# Network # Network