Re: [PATCH 1/2] Fix perf LBR filtering

From: Andi Kleen
Date: Thu Apr 25 2013 - 12:41:09 EST

> So why not do the same as we do for userspace? Copy MAX_INSN_SIZE bytes
> and trap -EFAULT.

Read the whole description, then you'll know why that is insecure.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at