Thread (90 messages) flat view 90 messages, 8 authors, 2016-01-13

Re: [PATCH 42/53] perf record: Prevent reading invalid data in record__mmap_read

From: Arnaldo Carvalho de Melo <hidden>
Date: 2016-01-11 15:01:55
Also in: lkml

Em Mon, Jan 11, 2016 at 01:00:07PM -0200, Arnaldo Carvalho de Melo escreveu:
Em Mon, Jan 11, 2016 at 05:21:44PM +0300, Sergei Shtylyov escreveu:
quoted
On 01/11/2016 04:48 PM, Wang Nan wrote:
quoted
 	size = head - old;
+	if (size > (unsigned long)(md->mask) + 1) {
+		WARN_ONCE(1, "WARNING: failed to keep up with mmap data. (warn only once)\n");
   WARNING is already printed by WARN*(), no?
No, at least not in tools/include/asm/bug.h, perhaps include/asm/bug.h
has this now and tools/ drifted? Checking now...
Indeed, need to bring it closer together again...

- Arnaldo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help