Re: [PATCH 13/13] android: ram_console: honor dmesg_restrict

From: Greg KH
Date: Wed Mar 07 2012 - 17:10:43 EST


On Wed, Mar 07, 2012 at 01:58:23PM -0800, John Stultz wrote:
> From: Nick Kralevich <nnk@xxxxxxxxxx>
>
> The Linux kernel has a setting called dmesg_restrict. When true,
> only processes with CAP_SYSLOG can view the kernel dmesg logs. This
> helps prevent leaking of kernel information into user space.
>
> On Android, it's possible to bypass these restrictions by viewing
> /proc/last_kmsg.
>
> This change makes /proc/last_kmsg require the same permissions as
> dmesg.
>
> Bug: 5555691

In what bugzilla does this bug number reference? Random integers don't
do much for people when looking back at the history of things :)

thanks,

greg k-h
--
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/