Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932147AbWEAQt0 (ORCPT ); Mon, 1 May 2006 12:49:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932144AbWEAQtZ (ORCPT ); Mon, 1 May 2006 12:49:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:45543 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S932150AbWEAQtY (ORCPT ); Mon, 1 May 2006 12:49:24 -0400 Date: Mon, 1 May 2006 09:47:40 -0700 From: Greg KH To: Jan Engelhardt Cc: Arjan van de Ven , James Morris , Christoph Hellwig , Andrew Morton , Stephen Smalley , T?r?k Edwin , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Wright , Linus Torvalds Subject: Re: [PATCH 4a/4] MultiAdmin LSM (LKCS'ed) Message-ID: <20060501164740.GA8995@kroah.com> References: <20060417195146.GA8875@kroah.com> <1145462454.3085.62.camel@laptopd505.fenrus.org> <20060419201154.GB20545@kroah.com> <20060421150529.GA15811@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2040 Lines: 62 On Mon, May 01, 2006 at 06:03:09PM +0200, Jan Engelhardt wrote: > > > Does Lindented suffice? It's a good start, but you still need to fix things like: > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include asm #include goes last. > +static inline void chg2_superadm(kernel_cap_t *); > +static inline void chg2_subadm(kernel_cap_t *); > +static inline void chg2_netadm(kernel_cap_t *); > +static inline int is_any_superadm(uid_t, gid_t); > +static inline int is_uid_superadm(uid_t); > +static inline int is_gid_superadm(gid_t); > +static inline int is_any_subadm(uid_t, gid_t); > +static inline int is_uid_subadm(uid_t); > +static inline int is_gid_subadm(gid_t); > +static inline int is_uid_netadm(uid_t); > +static inline int is_uid_user(uid_t); > +static inline int is_task1_user(const task_t *); > +static inline int is_task_user(const task_t *); > +static inline int range_intersect(uid_t, uid_t, uid_t, uid_t); > +static inline int range_intersect_wrt(uid_t, uid_t, uid_t, uid_t); inline functions don't need definitions like this. > +static gid_t Supergid = -1, Subgid = -1; > +static uid_t Superuid_start = 0, Superuid_end = 0, > + Subuid_start = -1, Subuid_end = -1, > + Netuid = -1, Wrtuid_start = -1, Wrtuid_end = -1; > +static int Secondary = 0; Variables do not have capital letters. thanks, greg k-h - 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/