lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7e94d9e3967f67b1151689921a21fd65@pinky>
Date:	Mon, 6 Nov 2006 18:35:21 +0000
From:	Andy Whitcroft <apw@...dowen.org>
To:	schwidefsky@...ibm.com, heiko.carstens@...ibm.com,
	linux390@...ibm.com
Cc:	Andrew Morton <akpm@...l.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Andy Whitcroft <apw@...dowen.org>, linux-390@...marist.edu
Subject: [PATCH] s390 need definitions for pagefault_disable and pagefault_enable

s390: need definitions for pagefault_disable and pagefault_enable

Seems that when the changes for user futex's went into 2.6.19-rc4-mm2
s390 was missed.  Leading to the following compile failure:

    arch/s390/lib/lib.a(uaccess_std.o)(.text+0x37c): In function
						    `futex_atomic_op':
    : undefined reference to `pagefault_disable'
    arch/s390/lib/lib.a(uaccess_std.o)(.text+0x3cc): In function
						    `futex_atomic_op':
    : undefined reference to `pagefault_enable'
    [...]

This seems to be enough to get testing working again.

Signed-off-by: Andy Whitcroft <apw@...dowen.org>
---
diff --git a/arch/s390/lib/uaccess_std.c b/arch/s390/lib/uaccess_std.c
index 9bbeaa0..ad296dc 100644
--- a/arch/s390/lib/uaccess_std.c
+++ b/arch/s390/lib/uaccess_std.c
@@ -11,6 +11,8 @@
 
 #include <linux/errno.h>
 #include <linux/mm.h>
+#include <linux/uaccess.h>
+
 #include <asm/uaccess.h>
 #include <asm/futex.h>
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ