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.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/