diff options
author | Matteo De Carlo | 2016-12-08 20:48:11 +0100 |
---|---|---|
committer | Matteo De Carlo | 2016-12-08 20:48:11 +0100 |
commit | c86aeec9b3b6d2d9129d76fba50040784fe1becf (patch) | |
tree | 411df33c518d7c4c9cf09e9f226377c3ef3d6342 /PKGBUILD | |
parent | c6905093822292bb0dae72463c312d64a9fded91 (diff) | |
download | aur-c86aeec9b3b6d2d9129d76fba50040784fe1becf.tar.gz |
fix a race condition that allows to gain root
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -2,9 +2,9 @@ pkgbase=linux-covolunablu-gaming # Build kernel with a different name _srcname=linux-4.8 pkgver=4.8.12 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') -url="http://www.kernel.org/" +url="https://www.kernel.org/" license=('GPL2') makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'libelf') options=('!strip') @@ -26,6 +26,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" # standard config files for mkinitcpio ramdisk 'linux.preset' 'change-default-console-loglevel.patch' + 'fix_race_condition_in_packet_set_ring.diff' 'http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.8.0-v8r4/0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r11-4.8.0.patch' 'http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.8.0-v8r4/0002-block-introduce-the-BFQ-v7r11-I-O-sched-to-be-ported.patch' 'http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.8.0-v8r4/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r11-to-.patch' @@ -41,6 +42,7 @@ sha256sums=('3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a' '834bd254b56ab71d73f59b3221f056c72f559553c04718e350ab2a3e2991afe0' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65' '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99' + 'ad1ee95f906f88d31fcdb9273cd08e02e8eda177449f0c98dc1bff8cbf1483c2' '1dabd969b18b7e09e2ffeffe4c2430dbc26e5df9868563d54ca95f45c690262f' 'c8d17a7893d5780fd0c90311470160dcc842b81621b30671150e2e3224be86d2' 'e47ea5b1c2f20cfade4e6a85bff1320dac84ac638e48ef4eec7285fe9e1e1def' @@ -61,6 +63,10 @@ prepare() { # add upstream patch patch -p1 -i "${srcdir}/patch-${pkgver}" + # fix a race condition that allows to gain root + # https://marc.info/?l=linux-netdev&m=148054660230570&w=2 + patch -p1 -i "${srcdir}/fix_race_condition_in_packet_set_ring.diff" + # add latest fixes from stable queue, if needed # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git |