linux-mips
[Top] [All Lists]

Re: [PATCH v4] MIPS: Make CP0 config registers readable via sysfs.

To: "Hill, Steven" <sjhill@mips.com>
Subject: Re: [PATCH v4] MIPS: Make CP0 config registers readable via sysfs.
From: David Daney <ddaney.cavm@gmail.com>
Date: Fri, 04 Jan 2013 11:05:05 -0800
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>, "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, "ralf@linux-mips.org" <ralf@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ORHSDGg59oCKhIKA9/cwFsuJVM/1NJ1zxemBLh1Y7Bo=; b=DZ+ynN3bFLXzm28YK2mHiSUZNq4BQQMiyNy8u4aJalgOp4LE4mssmuX2eId+5UNHhn u8lPqFZUfr1F2Ei6TWkEoyXn7JX908y87g3Hv+zdBwh7BuZ72dtR5dsjhvWROJ7o7aEK iDVartADHjNV7kwXbBJvGeriMBIcFbT3WsPmi3Z2L2UXdVy5K9Nys0O+tUkeenC5LdXu zAnUAaTLw7IclCT9kL7+iO9UyX9zgqMmfboP/Kn69DsaM6ZWRm+Y6R/VQ7CQNSFkvB5q v0Z8ICaex2yRy4nMz4T3LxwZwvvRGE6lmn8o9zHrxRrxIXGriczEekraMZr0gp75XbvN gxeQ==
In-reply-to: <31E06A9FC96CEC488B43B19E2957C1B801146AF10B@exchdb03.mips.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1355436915-24381-1-git-send-email-sjhill@mips.com> <alpine.LFD.2.02.1212132325180.5950@eddie.linux-mips.org>,<50CA6712.1060809@gmail.com> <31E06A9FC96CEC488B43B19E2957C1B801146AF10B@exchdb03.mips.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
On 01/04/2013 10:38 AM, Hill, Steven wrote:
You're exporting privileged context outside the kernel -- have all the
security implications been considered?

Maciej,

I have gone through the config registers bit-by-bit and I do not see
where there are any security implications.

[...]

Unless you can provide a counterexample,
this patch does not compromise the system in anyway.


The patch stands alone. Any security problems it might have are completely unrelated to any hypothetical Counter Examples.

David Daney

<Prev in Thread] Current Thread [Next in Thread>