[folded-merged] sysctl-handle-overflow-for-file-max-v4.patch removed from -mm tree

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

 



The patch titled
     Subject: sysctl-handle-overflow-for-file-max-v4
has been removed from the -mm tree.  Its filename was
     sysctl-handle-overflow-for-file-max-v4.patch

This patch was dropped because it was folded into sysctl-handle-overflow-for-file-max.patch

------------------------------------------------------
From: Christian Brauner <christian@xxxxxxxxxx>
Subject: sysctl-handle-overflow-for-file-max-v4

Link: http://lkml.kernel.org/r/20190210203943.8227-3-christian@xxxxxxxxxx
Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Christian Brauner <christian@xxxxxxxxxx>
Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>
Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Cc: Joe Lawrence <joe.lawrence@xxxxxxxxxx>
Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
Cc: Waiman Long <longman@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/sysctl.c |    4 ----
 1 file changed, 4 deletions(-)

--- a/kernel/sysctl.c~sysctl-handle-overflow-for-file-max-v4
+++ a/kernel/sysctl.c
@@ -2872,10 +2872,6 @@ static int __do_proc_doulongvec_minmax(v
 				break;
 			if (neg)
 				continue;
-			if ((max && val > *max) || (min && val < *min)) {
-				err = -EINVAL;
-				break;
-			}
 			val = convmul * val / convdiv;
 			if ((min && val < *min) || (max && val > *max))
 				continue;
_

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

sysctl-handle-overflow-in-proc_get_long.patch
sysctl-handle-overflow-for-file-max.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