From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752694Ab1KGUsW (ORCPT ); Mon, 7 Nov 2011 15:48:22 -0500 Received: from terminus.zytor.com ([198.137.202.10]:45283 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546Ab1KGUsV (ORCPT ); Mon, 7 Nov 2011 15:48:21 -0500 Message-ID: <4EB843FF.5080201@zytor.com> Date: Mon, 07 Nov 2011 12:47:59 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Vasiliy Kulikov CC: Eric Paris , kernel-hardening@lists.openwall.com, Valdis.Kletnieks@vt.edu, linux-kernel@vger.kernel.org, Alexey Dobriyan , Andrew Morton , linux-security-module@vger.kernel.org, Linus Torvalds Subject: Re: [kernel-hardening] Re: [PATCH] proc: restrict access to /proc/interrupts References: <20111107174522.GA2317@albatros> <9718.1320689192@turing-police.cc.vt.edu> <20111107190112.GA3732@albatros> <4EB82F08.8060209@zytor.com> <20111107192915.GA4690@albatros> <4EB83674.3040207@zytor.com> <20111107201120.GA5775@albatros> In-Reply-To: <20111107201120.GA5775@albatros> X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/07/2011 12:11 PM, Vasiliy Kulikov wrote: > > My statement was about static files - /proc/{interrupts,meminfo,stat,cpuinfo}. > They don't change during the system life. /proc/$PID/* files are indeed > dymanic and the first link in my quoted email was about addition of such > mount options. > You didn't really get my point. There are global nodes which are dynamic, and more importantly the *set* changes across the system life. A global policy option is a lot easier to deal with for the vast majority of users who don't need fine grain control. -hpa