<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ben,<br>
<br>
The following patch seems relevant for Ubuntu and Debian distro
testing.<br>
I know it's minor but I need to know if you do you care about it or
sif I should remove it from the bugs info.<br>
<br>
Thanks<br>
<br>
Best regards<br>
Thierry <br>
<br>
#---------------------------------------------------------------------------------------------------<br>
<br>
From 48a9a9834377a74b603be12dcc76cda24105e33c Mon Sep 17 00:00:00
2001<br>
<p>
From: Thierry Fauck <thierry@<wbr>linux.vnet.<wbr>ibm.com><br>
Date: Fri, 28 Feb 2014 16:17:50 +0100<br>
Subject: [PATCH] selftests: PAGE_SIZE may not be defined</p>
<p id="yui_3_10_3_1_1400169293937_1507">Some systems have a dynamic
PAGE_SIZE value and do not add a definition<br>
for PAGE_SIZE. This value will have to be retrieved using
getpagesize()<br>
or sysconf().</p>
<p>Signed-off-by: Thierry Fauck <thierry@<wbr>linux.vnet.<wbr>ibm.com><br>
---<br>
tools/<wbr>testing/<wbr>selftests/<wbr>ptrace/<wbr>peeksiginfo.<wbr>c
| 4 +++-<br>
1 file changed, 3 insertions(+), 1 deletion(-)</p>
<p>diff --git a/tools/<wbr>testing/<wbr>selftests/<wbr>ptrace/<wbr>peeksiginfo.<wbr>c
b/tools/<wbr>testing/<wbr>selftests/<wbr>ptrace/<wbr>peeksiginfo.<wbr>c<br>
index d46558b..f2ccbbd 100644<br>
--- a/tools/<wbr>testing/<wbr>selftests/<wbr>ptrace/<wbr>peeksiginfo.<wbr>c<br>
+++ b/tools/<wbr>testing/<wbr>selftests/<wbr>ptrace/<wbr>peeksiginfo.<wbr>c<br>
@@ -35,7 +35,9 @@ static int sys_ptrace(int request, pid_t pid,
void *addr, void *data)<br>
fprintf(stderr, \<br>
"Error (%s:%d): " fmt, \<br>
__FILE__, __LINE__, ##__VA_ARGS__)<br>
-<br>
+#ifndef PAGE_SIZE<br>
+#define PAGE_SIZE sysconf(<wbr>_SC_PAGESIZE)<br>
+#endif<br>
static int check_error_<wbr>paths(pid_<wbr>t child)<br>
{<br>
struct ptrace_<wbr>peeksiginfo_<wbr>args arg;<br>
--<br>
1.9.0</p>
<pre class="moz-signature" cols="72">--
Thierry Fauck (<a class="moz-txt-link-abbreviated" href="mailto:thierry@linux.vnet.ibm.com">thierry@linux.vnet.ibm.com</a>)</pre>
</body>
</html>