Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1320457

[PATCH] mm: provide reference to READ_IMPLIES_EXEC

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] mm: provide reference to READ_IMPLIES_EXEC
Date 2016-01-28 10:20 +0100
Message-ID <qVQU9-1eY-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


blackfin defconfig fails with the error:
mm/internal.h: In function 'is_stack_mapping':
arch/blackfin/include/asm/page.h:15:27: error: 'READ_IMPLIES_EXEC' undeclared

Commit 07dff8ae2bc5 has added is_stack_mapping in mm/internal.h but it
also needs personality.h.

Fixes: 07dff8ae2bc5 ("mm: warn about VmData over RLIMIT_DATA")
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---

build log at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/105335848

 mm/internal.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/internal.h b/mm/internal.h
index cac6eb4..59c496f 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -14,6 +14,7 @@
 #include <linux/fs.h>
 #include <linux/mm.h>
 #include <linux/pagemap.h>
+#include <linux/personality.h>
 #include <linux/tracepoint-defs.h>
 
 /*
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] mm: provide reference to READ_IMPLIES_EXEC Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-01-28 10:20 +0100
  Re: [PATCH] mm: provide reference to READ_IMPLIES_EXEC Konstantin Khlebnikov <koct9i@gmail.com> - 2016-01-28 10:40 +0100
  Re: mm: provide reference to READ_IMPLIES_EXEC Guenter Roeck <linux@roeck-us.net> - 2016-01-28 15:40 +0100
    Re: mm: provide reference to READ_IMPLIES_EXEC Konstantin Khlebnikov <koct9i@gmail.com> - 2016-01-28 16:30 +0100

csiph-web