[lkml]   [2011]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RFC: android logger feedback request
On Wed, 21 Dec 2011, Brian Swetland wrote:

> Any thoughts as to how one could allow N userspace agents to log to a
> single shared buffer without one agent, if buggy or malicious,
> spamming out all the other contents of the log? This is one of the
> main reasons we maintain separate logs in Android today, and are
> likely to continue doing so until we figure out how resolve the issue.

note that you still don't prevent one app from blowing out the logs, all
you do is separate the logs into a handfulof categories and limit the app
(through standard filesystem permissions) to only blowing out one category
of logs.

or do I misunderstand this and you actually keep a separate queue for each
pid (which would seem to be a problem as you no longer know how much space
you need)

David Lang

 \ /
  Last update: 2011-12-22 05:55    [W:0.089 / U:2.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site