- uml-__user-annotation-in-arch_prctl.patch removed from -mm tree

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

 



The patch titled

     uml: __user annotation in arch_prctl

has been  the -mm tree.  Its filename is

     uml-__user-annotation-in-arch_prctl.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: uml: __user annotation in arch_prctl
From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>


fix uml/amd64 prctl()

put_user() there should go to (long __user *)addr, not &addr

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/um/sys-x86_64/syscalls.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/um/sys-x86_64/syscalls.c~uml-__user-annotation-in-arch_prctl arch/um/sys-x86_64/syscalls.c
--- devel/arch/um/sys-x86_64/syscalls.c~uml-__user-annotation-in-arch_prctl	2006-06-04 02:51:16.000000000 -0700
+++ devel-akpm/arch/um/sys-x86_64/syscalls.c	2006-06-04 02:51:16.000000000 -0700
@@ -45,7 +45,7 @@ static long arch_prctl_tt(int code, unsi
 	case ARCH_GET_GS:
 		ret = arch_prctl(code, (unsigned long) &tmp);
 		if(!ret)
-			ret = put_user(tmp, &addr);
+			ret = put_user(tmp, (long __user *)addr);
 		break;
 	default:
 		ret = -EINVAL;
_

Patches currently in -mm which might be from viro@xxxxxxxxxxxxxxxxxx are

git-audit-master.patch
kauditd_thread-warning-fix.patch
vfs-add-lock-owner-argument-to-flush-operation.patch
nbd-endian-annotations.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux