lkml.org 
[lkml]   [2006]   [Jan]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 5/7] uninline capable()
FromArjan van de Ven <>
DateFri, 06 Jan 2006 12:22:19 +0100
On Fri, 2006-01-06 at 12:18 +0100, Michael Buesch wrote:
> On Friday 06 January 2006 11:42, you wrote:
> > Index: linux-2.6.15/include/linux/sched.h
> > ===================================================================
> > --- linux-2.6.15.orig/include/linux/sched.h
> > +++ linux-2.6.15/include/linux/sched.h
> > @@ -1102,19 +1102,8 @@ static inline int sas_ss_flags(unsigned 
> >  }
> > 
> > 
> > -#ifdef CONFIG_SECURITY
> > -/* code is in security.c */
> > +/* code is in security.c or kernel/sys.c if !SECURITY */
> >  extern int capable(int cap);
> 
> BTW, is there a special reason why this is declared in sched.h
> instead of capability.h?

probably a lot of historic bagage... anyway not something that should be
cleaned up as part of this series, could maybe be done in another patch
if you feel so inclined :)


-
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/

\
 
 \ /
  Last update: 2006-01-06 11:26    [from the cache]
©2003-2008