[arch-commits] Commit in linux-lts/trunk (PKGBUILD ecryptfs.patch)
Andreas Radke
andyrtr at archlinux.org
Sat Aug 20 20:30:22 UTC 2016
Date: Saturday, August 20, 2016 @ 20:30:21
Author: andyrtr
Revision: 274092
upgpkg: linux-lts 4.4.19-1
upstream update 4.4.19
Modified:
linux-lts/trunk/PKGBUILD
Deleted:
linux-lts/trunk/ecryptfs.patch
----------------+
PKGBUILD | 13 ++++---------
ecryptfs.patch | 37 -------------------------------------
2 files changed, 4 insertions(+), 46 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-20 20:29:07 UTC (rev 274091)
+++ PKGBUILD 2016-08-20 20:30:21 UTC (rev 274092)
@@ -3,7 +3,7 @@
pkgbase=linux-lts
_srcname=linux-4.4
-pkgver=4.4.16
+pkgver=4.4.19
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
@@ -17,19 +17,17 @@
# standard config files for mkinitcpio ramdisk
"$pkgbase.preset"
change-default-console-loglevel.patch
- 0001-sdhci-revert.patch
- ecryptfs.patch)
+ 0001-sdhci-revert.patch)
# https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
sha256sums=('401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2'
'SKIP'
- '7181b6cb3a1611dab9179f57846a3f03bf2705aa3e4cddd9fbd0398bde50d5f9'
+ '61b34a8ab4ba778c50a6fb04471cb34192e179db68440d81b12694e45dea00fc'
'SKIP'
'b11702727b1503e5a613946790978481d34d8ecc6870337fadd3ce1ef084a8e2'
'68c7296ff2f5f55d69e83aa4d20f925df740b1eb1e6bdb0f13e8a170360ed09f'
'1f036f7464da54ae510630f0edb69faa115287f86d9f17641197ffda8cfd49e0'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
- '5313df7cb5b4d005422bd4cd0dae956b2dadba8f3db904275aaf99ac53894375'
- 'a2e240ab338f02ebde278131cf5810e9aa3846a8238e3d26dc235eace05ab4e7')
+ '5313df7cb5b4d005422bd4cd0dae956b2dadba8f3db904275aaf99ac53894375')
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds <torvalds at linux-foundation.org>
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman (Linux kernel stable release signing key) <greg at kroah.com>
)
@@ -44,9 +42,6 @@
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
- # https://bugs.archlinux.org/task/50126 - broken ecryptfs
- patch -p1 -i "${srcdir}/ecryptfs.patch"
-
# revert http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9faac7b95ea4f9e83b7a914084cc81ef1632fd91
# fixes #47778 sdhci broken on some boards
# https://bugzilla.kernel.org/show_bug.cgi?id=106541
Deleted: ecryptfs.patch
===================================================================
--- ecryptfs.patch 2016-08-20 20:29:07 UTC (rev 274091)
+++ ecryptfs.patch 2016-08-20 20:30:21 UTC (rev 274092)
@@ -1,37 +0,0 @@
-From: Tyler Hicks <tyhicks <at> canonical.com>
-Subject: [PATCH] eCryptfs: Fix directory open regression in linux-stable
-Newsgroups: gmane.comp.file-systems.ecryptfs.general, gmane.linux.kernel.stable
-Date: 2016-06-29 03:39:41 GMT (14 hours and 12 minutes ago)
-
-Cherry-picking mainline commit 2f36db71009304b3f0b95afacd8eba1f9f046b87
-introduces a regression in eCryptfs when mainline commit
-6a480a7842545ec520a91730209ec0bae41694c1 (4.6+) is not present. The
-regression causes all attempts at opening directory files to fail with
-EMEDIUMTYPE when the lower filesystem's file_operations for directory
-files do not implement mmap.
-
-This is a simple fix that allows the check for the lower file's mmap
-implementation to be ignored if the lower file is a directory.
-
-Signed-off-by: Tyler Hicks <tyhicks <at> canonical.com>
-Tested-by: Tyler Hicks <tyhicks <at> canonical.com> # 4.4.y, 3.18.y
-Cc: <stable <at> vger.kernel.org> # 4.5-
----
- fs/ecryptfs/kthread.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/ecryptfs/kthread.c b/fs/ecryptfs/kthread.c
-index e818f5a..b9faeab 100644
---- a/fs/ecryptfs/kthread.c 2016-06-30 23:32:07.029678000 +0200
-+++ b/fs/ecryptfs/kthread.c 2016-06-30 23:34:13.022284475 +0200
-@@ -171,7 +171,7 @@ int ecryptfs_privileged_open(struct file
- goto out;
- }
- have_file:
-- if ((*lower_file)->f_op->mmap == NULL) {
-+ if ((*lower_file)->f_op->mmap == NULL && !d_is_dir(lower_dentry)) {
- fput(*lower_file);
- *lower_file = NULL;
- rc = -EMEDIUMTYPE;
---
-2.7.4
More information about the arch-commits
mailing list