Re: [GIT PULL] x86/kaslr for v3.14

From: H. Peter Anvin
Date: Mon Jan 27 2014 - 01:51:50 EST


On 01/26/2014 10:49 PM, Richard Weinberger wrote:
>>
>> No, because that information is available to user space unless we panic.
>
> Didn't you mean non-root?
> I thought one has to set dmesg_restrict anyways if kASLR is used.
>
> And isn't the offset available to perf too?
> Of course only for root, but still user space.
>

For certain system security levels one want to protect even from a rogue
root. In those cases, leaking that information via dmesg and perf isn't
going to work, either.

With lower security settings, by all means...

-hpa

--
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/