"Jack O'Quin" <[EMAIL PROTECTED]> writes:

> Mark Constable <[EMAIL PROTECTED]> writes:
> 
> > Would anyone have any idea what settings I need to tweak
> > for ALSA built into a 2.6 kernel to avoid this problem ?
> 
> This question just came up, and I don't know the answer.
> 
> For a 2.4 kernel you needed to patch include/linux/capability.h as
> follows...
> 
>   #define CAP_INIT_EFF_SET    to_cap_t(~0)
>   #define CAP_INIT_INH_SET    to_cap_t(~0)
> 
> where the original values were...
> 
>   #define CAP_INIT_EFF_SET    to_cap_t(~0&~CAP_TO_MASK(CAP_SETPCAP))
>   #define CAP_INIT_INH_SET    to_cap_t(0)
> 
> See if that code is still present and if the patch still works.  

Downloaded 2.6.0-test7 to check, and that code is still present.
Someone said recently that capabilities were enabled in 2.6, but it
looks like the patch is still required.  Sigh!
-- 
  joq


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to