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? -- Greetings Michael.
Attachment:
pgpCphNX2vPGG.pgp
Description: PGP signature
- Follow-Ups:
- Re: [patch 5/7] uninline capable()
- From: Tim Schmielau <[email protected]>
- Re: [patch 5/7] uninline capable()
- From: Arjan van de Ven <[email protected]>
- Re: [patch 5/7] uninline capable()
- References:
- [patch 1/7] Make __always_inline actually force always inlining
- From: Arjan van de Ven <[email protected]>
- [patch 5/7] uninline capable()
- From: Arjan van de Ven <[email protected]>
- [patch 1/7] Make __always_inline actually force always inlining
- Prev by Date: [patch] suspend: update documentation
- Next by Date: Re: [patch 5/7] uninline capable()
- Previous by thread: [patch 5/7] uninline capable()
- Next by thread: Re: [patch 5/7] uninline capable()
- Index(es):