Re: [patch 5/7] uninline capable()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux