diff options
author | Björn Bidar | 2018-02-02 07:57:26 +0100 |
---|---|---|
committer | Björn Bidar | 2018-02-02 08:06:29 +0100 |
commit | eed04780dca8251cdccd37b7d316cd67d4599b07 (patch) | |
tree | c23dc6639b8b0da73e082be897c2d11e41a666eb | |
parent | 069618b6533135fd13669cd4682bcaeaf9e30d79 (diff) | |
download | aur-eed04780dca8251cdccd37b7d316cd67d4599b07.tar.gz |
upkg
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch | 24 | ||||
-rw-r--r-- | 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch (renamed from 0006-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch) | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
4 files changed, 42 insertions, 54 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Jan 18 12:31:44 UTC 2018 +# Fri Feb 2 06:54:57 UTC 2018 pkgbase = linux-pf pkgdesc = Linux kernel and modules with the pf-kernel patch (uksm, PDS). - pkgver = 4.14.9 + pkgver = 4.15.1 pkgrel = 1 url = http://pf.natalenko.name/ arch = i686 @@ -16,28 +16,24 @@ pkgbase = linux-pf makedepends = kmod makedepends = elfutils options = !strip - source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.14.tar.xz + source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.15.tar.xz source = config.i686 source = config.x86_64 source = linux.preset - source = https://github.com/pfactum/pf-kernel/compare/v4.14...v4.14-pf9.diff + source = https://github.com/pfactum/pf-kernel/compare/v4.15...v4.15-pf1.diff source = 90-linux.hook source = 60-linux.hook - source = 0004-xfrm-Fix-stack-out-of-bounds-read-on-socket-policy-l.patch - source = 0005-cgroup-fix-css_task_iter-crash-on-CSS_TASK_ITER_PROC.patch source = 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch - source = 0006-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch - sha256sums = f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7 + source = 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch + sha256sums = 5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986ca2a769 sha256sums = 102d518779dc312af35faf7e07ff01df3c04521d40d8757fc4e8eba9c595c395 sha256sums = 943e1e6e1518edc8ab86023805f8f88f3672871a4039ccf8a9e97c33e95ae395 sha256sums = 82d660caa11db0cd34fd550a049d7296b4a9dcd28f2a50c81418066d6e598864 - sha256sums = 233adc6ec0faf2c71bea243935c9ed945b4ffadbfabd183cd4455e41a3261efa + sha256sums = 8621c69b3cb7a2ebe085e0b54d6eab9e3f3f6c113671a905e6a8e39b25c995b9 sha256sums = 75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919 sha256sums = ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21 - sha256sums = 1c1f5792c98369c546840950e6569a690cd88e33d4f0931d2b0b5b88f705aa4d - sha256sums = c3d743a0e193294bc5fbae65e7ba69fd997cd8b2ded9c9a45c5151d71d9cfb95 - sha256sums = d8a865a11665424b21fe6be9265eb287ee6d5646261a486954ddf3a4ee87e78f - sha256sums = ec7342aab478af79a17ff65cf65bbd6744b0caee8f66c77a39bba61a78e6576d + sha256sums = 7b7363b53c68f52b119df994c9c08d4f29271b408f021366ab23f862518bd9bc + sha256sums = ac996455cddccc312d93e63845d92b2d8ab8fb53208a221948d28c76c678d215 pkgname = linux-pf pkgdesc = Linux kernel and modules with the pf-kernel patch (uksm, PDS) @@ -53,7 +49,7 @@ pkgname = linux-pf optdepends = nvidia-pf: NVIDIA drivers for linux-pf optdepends = nvidia-beta-all: NVIDIA drivers for all installed kernels optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed. Useful for make localmodconfig. - provides = linux-pf=4.14.9 + provides = linux-pf=4.15.1 provides = linux-tomoyo conflicts = linux-pf conflicts = kernel26-pf @@ -62,13 +58,13 @@ pkgname = linux-pf pkgname = linux-pf-headers pkgdesc = Header files and scripts for building modules for linux-pf kernel. depends = linux-pf - provides = linux-pf-headers=4.14.9 + provides = linux-pf-headers=4.15.1 conflicts = linux-pf-headers pkgname = linux-pf-preset-default pkgdesc = Linux-pf default preset install = linux.install - depends = linux-pf=4.14.9 - provides = linux-pf-preset=4.14.9 + depends = linux-pf=4.15.1 + provides = linux-pf-preset=4.15.1 backup = etc/mkinitcpio.d/linux-pf.preset diff --git a/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch b/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch index c3364a49db0e..a92ee30c4a2e 100644 --- a/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch +++ b/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch @@ -1,8 +1,8 @@ -From 0b716bdb952b678d9bb5eb32198dbc82ec492df2 Mon Sep 17 00:00:00 2001 -Message-Id: <0b716bdb952b678d9bb5eb32198dbc82ec492df2.1515173964.git.jan.steffens@gmail.com> +From 4aefcc4253233dce6ac5938e01371074958b8f1c Mon Sep 17 00:00:00 2001 +Message-Id: <4aefcc4253233dce6ac5938e01371074958b8f1c.1517188106.git.jan.steffens@gmail.com> From: Serge Hallyn <serge.hallyn@canonical.com> Date: Fri, 31 May 2013 19:12:12 +0100 -Subject: [PATCH 1/6] add sysctl to disallow unprivileged CLONE_NEWUSER by +Subject: [PATCH 1/2] add sysctl to disallow unprivileged CLONE_NEWUSER by default Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> @@ -15,7 +15,7 @@ Signed-off-by: Daniel Micay <danielmicay@gmail.com> 3 files changed, 30 insertions(+) diff --git a/kernel/fork.c b/kernel/fork.c -index 500ce64517d93e68..35f5860958b40e9b 100644 +index 2295fc69717f..6f320a216e7d 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -102,6 +102,11 @@ @@ -30,7 +30,7 @@ index 500ce64517d93e68..35f5860958b40e9b 100644 /* * Minimum number of threads to boot the kernel -@@ -1554,6 +1559,10 @@ static __latent_entropy struct task_struct *copy_process( +@@ -1550,6 +1555,10 @@ static __latent_entropy struct task_struct *copy_process( if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) return ERR_PTR(-EINVAL); @@ -41,7 +41,7 @@ index 500ce64517d93e68..35f5860958b40e9b 100644 /* * Thread groups must share signals as well, and detached threads * can only be started up within the thread group. -@@ -2347,6 +2356,12 @@ SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags) +@@ -2343,6 +2352,12 @@ SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags) if (unshare_flags & CLONE_NEWNS) unshare_flags |= CLONE_FS; @@ -55,7 +55,7 @@ index 500ce64517d93e68..35f5860958b40e9b 100644 if (err) goto bad_unshare_out; diff --git a/kernel/sysctl.c b/kernel/sysctl.c -index 56aca862c4f584f5..e8402ba393c1915d 100644 +index 557d46728577..c19d7a828913 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -105,6 +105,9 @@ extern int core_uses_pid; @@ -85,12 +85,12 @@ index 56aca862c4f584f5..e8402ba393c1915d 100644 { .procname = "tainted", diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c -index c490f1e4313b998a..dd03bd39d7bf194d 100644 +index 246d4d4ce5c7..f64432b45cec 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c -@@ -24,6 +24,9 @@ - #include <linux/projid.h> - #include <linux/fs_struct.h> +@@ -26,6 +26,9 @@ + #include <linux/bsearch.h> + #include <linux/sort.h> +/* sysctl */ +int unprivileged_userns_clone; @@ -99,5 +99,5 @@ index c490f1e4313b998a..dd03bd39d7bf194d 100644 static DEFINE_MUTEX(userns_state_mutex); -- -2.15.1 +2.16.1 diff --git a/0006-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch b/0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch index 5d36d15ac47b..e570b9c3cab3 100644 --- a/0006-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch +++ b/0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch @@ -1,10 +1,10 @@ -From cf45be4971bdd769c09e2a11db483510cd0bcc5f Mon Sep 17 00:00:00 2001 -Message-Id: <cf45be4971bdd769c09e2a11db483510cd0bcc5f.1515173964.git.jan.steffens@gmail.com> -In-Reply-To: <0b716bdb952b678d9bb5eb32198dbc82ec492df2.1515173964.git.jan.steffens@gmail.com> -References: <0b716bdb952b678d9bb5eb32198dbc82ec492df2.1515173964.git.jan.steffens@gmail.com> +From 3383f4060f7fe25afd5f863fe169fd2f286ab237 Mon Sep 17 00:00:00 2001 +Message-Id: <3383f4060f7fe25afd5f863fe169fd2f286ab237.1517188106.git.jan.steffens@gmail.com> +In-Reply-To: <4aefcc4253233dce6ac5938e01371074958b8f1c.1517188106.git.jan.steffens@gmail.com> +References: <4aefcc4253233dce6ac5938e01371074958b8f1c.1517188106.git.jan.steffens@gmail.com> From: Jim Bride <jim.bride@linux.intel.com> Date: Mon, 6 Nov 2017 13:38:57 -0800 -Subject: [PATCH 6/6] drm/i915/edp: Only use the alternate fixed mode if it's +Subject: [PATCH 2/2] drm/i915/edp: Only use the alternate fixed mode if it's asked for In commit dc911f5bd8aa ("drm/i915/edp: Allow alternate fixed mode for @@ -24,10 +24,10 @@ Signed-off-by: Jim Bride <jim.bride@linux.intel.com> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c -index 09f274419eea1c74..838cee312e8e6978 100644 +index 158438bb0389..69b16df868ea 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c -@@ -1632,7 +1632,8 @@ static bool intel_edp_compare_alt_mode(struct drm_display_mode *m1, +@@ -1616,7 +1616,8 @@ static bool intel_edp_compare_alt_mode(struct drm_display_mode *m1, m1->vdisplay == m2->vdisplay && m1->vsync_start == m2->vsync_start && m1->vsync_end == m2->vsync_end && @@ -38,5 +38,5 @@ index 09f274419eea1c74..838cee312e8e6978 100644 } -- -2.15.1 +2.16.1 @@ -4,13 +4,13 @@ # Some lines from kernel26-bfs and kernel26-ck # Credits to respective maintainers _major=4 -_minor=14 +_minor=15 #_patchlevel=0 #_subversion=1 _basekernel=${_major}.${_minor} _srcname=linux-${_major}.${_minor} pkgbase=linux-pf -_pfrel=9 +_pfrel=1 _kernelname=-pf _pfpatchhome="https://github.com/pfactum/pf-kernel/compare" _pfpatchname="v$_major.$_minor...v$_major.$_minor-pf$_pfrel.diff" @@ -83,10 +83,8 @@ source=("https://www.kernel.org/pub/linux/kernel/v${_major}.x/linux-${_basekerne "${_pfpatchhome}/${_pfpatchname}" # the -pf patchset "90-linux.hook" "60-linux.hook" - '0004-xfrm-Fix-stack-out-of-bounds-read-on-socket-policy-l.patch' - '0005-cgroup-fix-css_task_iter-crash-on-CSS_TASK_ITER_PROC.patch' '0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch' - '0006-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch' + '0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch' ) # 'cx23885_move_CI_AC_registration_to_a_separate_function.patch' @@ -100,15 +98,11 @@ prepare() { # add latest fixes from stable queue, if needed # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git - # disable USER_NS for non-root users by default patch -Np1 -i ../0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch - # https://bugs.archlinux.org/task/56605 - patch -Np1 -i ../0004-xfrm-Fix-stack-out-of-bounds-read-on-socket-policy-l.patch - # https://bugs.archlinux.org/task/56711 - patch -Np1 -i ../0006-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch + patch -Np1 -i ../0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch # end linux-ARCH patches # fix ci invalid PC card inserted issue hopefully @@ -310,7 +304,7 @@ package_linux-pf() { optdepends=('linux-docs: Kernel hackers manual - HTML documentation that comes with the Linux kernel.' 'crda: to set the correct wireless channels of your country' 'pm-utils: utilities and scripts for suspend and hibernate power management' -x 'nvidia-pf: NVIDIA drivers for linux-pf' + 'nvidia-pf: NVIDIA drivers for linux-pf' 'nvidia-beta-all: NVIDIA drivers for all installed kernels' 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed. Useful for make localmodconfig.') provides=(${pkgbase}=$pkgver 'linux-tomoyo') @@ -680,15 +674,13 @@ package_linux-pf-preset-default() pkgdesc="Linux kernel and modules with the pf-kernel patch (uksm, PDS)." # makepkg -g >>PKGBUILD -sha256sums=('f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7' +sha256sums=('5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986ca2a769' '102d518779dc312af35faf7e07ff01df3c04521d40d8757fc4e8eba9c595c395' '943e1e6e1518edc8ab86023805f8f88f3672871a4039ccf8a9e97c33e95ae395' '82d660caa11db0cd34fd550a049d7296b4a9dcd28f2a50c81418066d6e598864' - '233adc6ec0faf2c71bea243935c9ed945b4ffadbfabd183cd4455e41a3261efa' + '8621c69b3cb7a2ebe085e0b54d6eab9e3f3f6c113671a905e6a8e39b25c995b9' '75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' - '1c1f5792c98369c546840950e6569a690cd88e33d4f0931d2b0b5b88f705aa4d' - 'c3d743a0e193294bc5fbae65e7ba69fd997cd8b2ded9c9a45c5151d71d9cfb95' - 'd8a865a11665424b21fe6be9265eb287ee6d5646261a486954ddf3a4ee87e78f' - 'ec7342aab478af79a17ff65cf65bbd6744b0caee8f66c77a39bba61a78e6576d') + '7b7363b53c68f52b119df994c9c08d4f29271b408f021366ab23f862518bd9bc' + 'ac996455cddccc312d93e63845d92b2d8ab8fb53208a221948d28c76c678d215') |