diff options
author | archdevlab | 2024-01-10 22:30:57 -0500 |
---|---|---|
committer | archdevlab | 2024-01-10 22:30:57 -0500 |
commit | 98b7f80088b598b5e2c19c901fd5a1d2ee2973a0 (patch) | |
tree | ba813c88d5833bd8b6a66e316072a4343086e0c7 | |
parent | d06605b813e230fd70dcd1c1cb0c4f0b03c400ba (diff) | |
download | aur-98b7f80088b598b5e2c19c901fd5a1d2ee2973a0.tar.gz |
update linux-llvm to 6.7.0
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch | 24 | ||||
-rw-r--r-- | 0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
4 files changed, 29 insertions, 29 deletions
@@ -1,5 +1,5 @@ pkgbase = linux-llvm - pkgver = 6.6.0 + pkgver = 6.7.0 pkgrel = 1 url = https://www.kernel.org/ arch = x86_64 @@ -31,14 +31,14 @@ pkgbase = linux-llvm makedepends = lld makedepends = python options = !strip - source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.tar.xz - source = https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/3175f498d244950892b9c8ef2c3093d01a491047/config + source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.7.tar.xz + source = https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/79425d7496066714f38535eb4f37df529668e83a/config source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch source = 0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch - sha256sums = d926a06c63dd8ac7df3f86ee1ffc2ce2a3b81a2d168484e76b5b389aba8e56d0 - sha256sums = d2060f5045a30832d70a7747c780f1358a9f4cfc1811c8ccaeaab9c027b59ee4 - sha256sums = 5d5a766ea646d6b6e64f56867cbd10c64704107ac6f15123387c4b65e49d71c3 - sha256sums = cf80842fc0b2df079905c3212faeecddde7a4c4fd0742364564f10df4f7f6aa3 + sha256sums = ef31144a2576d080d8c31698e83ec9f66bf97c677fa2aaf0d5bbb9f3345b1069 + sha256sums = 45a44ff0e957cd562d2ceb60c1c90fc19c19e808209cebb46bfacfccfb56ad96 + sha256sums = f936aae4d832ac87db8fbb9effb066dd368d092f71dd7135d1548babdb7d10c8 + sha256sums = 758690814fbe8bba6e6ab91c80352bf328d49b686c74213f85039180aecb67df pkgname = linux-llvm pkgdesc = The Linux kernel and modules - Build with LLVM/CLANG diff --git a/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch b/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch index 9e62ab5a25a8..66cb0bb1d276 100644 --- a/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch +++ b/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch @@ -1,4 +1,4 @@ -From 0f5f96ad4cb82b68c1f6669227b21ad887e8a469 Mon Sep 17 00:00:00 2001 +From 35d79b574508f84805b19ef3e1c4b21b9605e946 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> Date: Mon, 16 Sep 2019 04:53:20 +0200 Subject: [PATCH 1/2] ZEN: Add sysctl and CONFIG to disallow unprivileged @@ -14,10 +14,10 @@ Our default behavior continues to match the vanilla kernel. 5 files changed, 53 insertions(+) diff --git a/include/linux/user_namespace.h b/include/linux/user_namespace.h -index 45f09bec0..87b20e2ee 100644 +index 6030a8235..60b7fe5fa 100644 --- a/include/linux/user_namespace.h +++ b/include/linux/user_namespace.h -@@ -148,6 +148,8 @@ static inline void set_userns_rlimit_max(struct user_namespace *ns, +@@ -156,6 +156,8 @@ static inline void set_userns_rlimit_max(struct user_namespace *ns, #ifdef CONFIG_USER_NS @@ -26,7 +26,7 @@ index 45f09bec0..87b20e2ee 100644 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) { if (ns) -@@ -181,6 +183,8 @@ extern bool current_in_userns(const struct user_namespace *target_ns); +@@ -189,6 +191,8 @@ extern bool current_in_userns(const struct user_namespace *target_ns); struct ns_common *ns_get_owner(struct ns_common *ns); #else @@ -36,7 +36,7 @@ index 45f09bec0..87b20e2ee 100644 { return &init_user_ns; diff --git a/init/Kconfig b/init/Kconfig -index 6d35728b9..0562c8ca7 100644 +index 9ffb103fc..f91ccd3c1 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1226,6 +1226,22 @@ config USER_NS @@ -63,7 +63,7 @@ index 6d35728b9..0562c8ca7 100644 bool "PID Namespaces" default y diff --git a/kernel/fork.c b/kernel/fork.c -index 3b6d20dfb..200a77738 100644 +index 10917c3e1..458360cf9 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -100,6 +100,10 @@ @@ -77,7 +77,7 @@ index 3b6d20dfb..200a77738 100644 #include <asm/pgalloc.h> #include <linux/uaccess.h> #include <asm/mmu_context.h> -@@ -2260,6 +2264,10 @@ __latent_entropy struct task_struct *copy_process( +@@ -2265,6 +2269,10 @@ __latent_entropy struct task_struct *copy_process( if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) return ERR_PTR(-EINVAL); @@ -88,7 +88,7 @@ index 3b6d20dfb..200a77738 100644 /* * Thread groups must share signals as well, and detached threads * can only be started up within the thread group. -@@ -3413,6 +3421,12 @@ int ksys_unshare(unsigned long unshare_flags) +@@ -3411,6 +3419,12 @@ int ksys_unshare(unsigned long unshare_flags) if (unshare_flags & CLONE_NEWNS) unshare_flags |= CLONE_FS; @@ -102,7 +102,7 @@ index 3b6d20dfb..200a77738 100644 if (err) goto bad_unshare_out; diff --git a/kernel/sysctl.c b/kernel/sysctl.c -index 354a2d294..5bc5605e7 100644 +index 157f7ce29..881fc4f5d 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -80,6 +80,9 @@ @@ -132,7 +132,7 @@ index 354a2d294..5bc5605e7 100644 { .procname = "tainted", diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c -index 1d8e47bed..fec01d016 100644 +index eabe8bcc7..ac9d1f702 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c @@ -22,6 +22,13 @@ @@ -146,9 +146,9 @@ index 1d8e47bed..fec01d016 100644 +int unprivileged_userns_clone; +#endif + - static struct kmem_cache *user_ns_cachep __read_mostly; + static struct kmem_cache *user_ns_cachep __ro_after_init; static DEFINE_MUTEX(userns_state_mutex); -- -2.42.1 +2.43.0 diff --git a/0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch b/0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch index 124bbe3367cc..5ee33ca6aaa6 100644 --- a/0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch +++ b/0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch @@ -1,4 +1,4 @@ -From 8a9ec6e76ff5600e467775b0173b6f96cb1b62ca Mon Sep 17 00:00:00 2001 +From d7cb932d45ed4d5560fc0a96a8e3728debf5fe90 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas <javierm@redhat.com> Date: Thu, 19 May 2022 14:40:07 +0200 Subject: [PATCH 2/2] drivers/firmware: skip simpledrm if nvidia-drm.modeset=1 @@ -85,5 +85,5 @@ index 82fcfd29b..17b7e096b 100644 if (!IS_ERR(pd)) goto unlock_mutex; -- -2.42.1 +2.43.0 @@ -19,11 +19,11 @@ BUILD_FLAGS=(CC=clang CXX=clang++ HOSTCC=clang HOSTCXX=clang++ LD=ld.lld LLVM=1 ################################################################################### pkgbase=linux-llvm -pkgver=6.6.0 -_pkgver=6.6 +pkgver=6.7.0 +_pkgver=6.7 pkgrel=1 -major=6.6 -commit=3175f498d244950892b9c8ef2c3093d01a491047 +major=6.7 +commit=79425d7496066714f38535eb4f37df529668e83a arch=(x86_64) url='https://www.kernel.org/' license=(GPL2) @@ -288,10 +288,10 @@ _package-headers(){ ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -sha256sums=('d926a06c63dd8ac7df3f86ee1ffc2ce2a3b81a2d168484e76b5b389aba8e56d0' - 'd2060f5045a30832d70a7747c780f1358a9f4cfc1811c8ccaeaab9c027b59ee4' - '5d5a766ea646d6b6e64f56867cbd10c64704107ac6f15123387c4b65e49d71c3' - 'cf80842fc0b2df079905c3212faeecddde7a4c4fd0742364564f10df4f7f6aa3') +sha256sums=('ef31144a2576d080d8c31698e83ec9f66bf97c677fa2aaf0d5bbb9f3345b1069' + '45a44ff0e957cd562d2ceb60c1c90fc19c19e808209cebb46bfacfccfb56ad96' + 'f936aae4d832ac87db8fbb9effb066dd368d092f71dd7135d1548babdb7d10c8' + '758690814fbe8bba6e6ab91c80352bf328d49b686c74213f85039180aecb67df') pkgname=($pkgbase $pkgbase-headers) for _p in "${pkgname[@]}"; do |