[folded-merged] mm-secretmem-fix-panic-when-growing-a-memfd_secret-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-secretmem-fix-panic-when-growing-a-memfd_secret-v2
has been removed from the -mm tree.  Its filename was
     mm-secretmem-fix-panic-when-growing-a-memfd_secret-v2.patch

This patch was dropped because it was folded into mm-secretmem-fix-panic-when-growing-a-memfd_secret.patch

------------------------------------------------------
From: Axel Rasmussen <axelrasmussen@xxxxxxxxxx>
Subject: mm-secretmem-fix-panic-when-growing-a-memfd_secret-v2

return EINVAL

Link: https://lkml.kernel.org/r/20220412193023.279320-1-axelrasmussen@xxxxxxxxxx
Signed-off-by: Axel Rasmussen <axelrasmussen@xxxxxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Cc: Mike Rapoport <rppt@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/secretmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/secretmem.c~mm-secretmem-fix-panic-when-growing-a-memfd_secret-v2
+++ a/mm/secretmem.c
@@ -165,7 +165,7 @@ static int secretmem_setattr(struct user
 	unsigned int ia_valid = iattr->ia_valid;
 
 	if ((ia_valid & ATTR_SIZE) && inode->i_size)
-		return -EOPNOTSUPP;
+		return -EINVAL;
 
 	return simple_setattr(mnt_userns, dentry, iattr);
 }
_

Patches currently in -mm which might be from axelrasmussen@xxxxxxxxxx are

mm-secretmem-fix-panic-when-growing-a-memfd_secret.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux