Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758271Ab0BDVTI (ORCPT ); Thu, 4 Feb 2010 16:19:08 -0500 Received: from tundra.namei.org ([65.99.196.166]:57614 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757865Ab0BDVTE (ORCPT ); Thu, 4 Feb 2010 16:19:04 -0500 Date: Fri, 5 Feb 2010 08:17:59 +1100 (EST) From: James Morris To: Kees Cook cc: Alex Riesen , "Serge E. Hallyn" , Casey Schaufler , linux-security-module@vger.kernel.org, Eric Paris , David Howells , Alexey Dobriyan , Ingo Molnar , Andrew Morton , Simon Kagstrom , David Woodhouse , Robin Getz , Greg Kroah-Hartman , Paul Moore , Tetsuo Handa , Stephen Smalley , Etienne Basset , "David P. Quigley" , LKLM Subject: Re: [PATCH v2 1/2] syslog: distinguish between /proc/kmsg and syscalls In-Reply-To: <20100204080923.GL19355@outflux.net> Message-ID: References: <20100202055354.GV19355@outflux.net> <4B67C2EA.705@schaufler-ca.com> <20100202202054.GW19355@outflux.net> <20100202212510.GG32305@us.ibm.com> <20100203233643.GI19355@outflux.net> <81b0412b1002032358j163d2e3fm2c0353ba3ec2842a@mail.gmail.com> <20100204080923.GL19355@outflux.net> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1665246916-1476481985-1265318281=:3356" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 34 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1665246916-1476481985-1265318281=:3356 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 4 Feb 2010, Kees Cook wrote: > Hi Alex, > > On Thu, Feb 04, 2010 at 08:58:43AM +0100, Alex Riesen wrote: > > > + ? ? ? /* /proc/kmsg can open be opened by CAP_SYS_ADMIN */ > > > + ? ? ? if (type != 1 && from_file) > > > + ? ? ? ? ? ? ? return 0; > > > > "can open be opened"? > > Erk, sorry. s/open // > > James, do you want a patch for that? I guess... and 'opened with' might be better. -- James Morris --1665246916-1476481985-1265318281=:3356-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/