[Top] [All Lists]

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

To: "Hill, Steven" <>
Subject: Re: [PATCH v4] MIPS: Make CP0 config registers readable via sysfs.
From: David Daney <>
Date: Fri, 04 Jan 2013 11:05:05 -0800
Cc: "Maciej W. Rozycki" <>, "" <>, "" <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
References: <> <>,<> <>
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?


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>