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 -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html