Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933383Ab0KORpf (ORCPT ); Mon, 15 Nov 2010 12:45:35 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:62338 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933227Ab0KORpa (ORCPT ); Mon, 15 Nov 2010 12:45:30 -0500 MIME-Version: 1.0 In-Reply-To: References: <1289669176.16461.12.camel@Joe-Laptop> <1289677904.16461.82.camel@Joe-Laptop> Date: Mon, 15 Nov 2010 12:45:28 -0500 Message-ID: Subject: Re: [PATCH] Fix dmesg_restrict build failure with CONFIG_EMBEDDED=y and CONFIG_PRINTK=n From: Eric Paris To: Linus Torvalds Cc: Joe Perches , Dan Rosenberg , LKML , Ingo Molnar , Eugene Teo , Kees Cook , Andrew Morton , James Morris , LSM List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 17 On Mon, Nov 15, 2010 at 12:41 PM, Linus Torvalds wrote: > If the old rule should have been that you _have_ > to call cap_syslog(), then just eviscerating that entirely and putting > it in the generic code is definitely the right thing. That is the rule for ALL of the hooks in commoncap.c. The one time I tried to do something else *cough*mmap_min_addr*cough* I screwed it up. I'll put a note in my todo list about looking into lifting all of commoncap.c into the callers. -Eric -- 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/