[linux-audio-user] building new machine, couple simple questions

Fernando Pablo Lopez-Lezcano nando at ccrma.Stanford.EDU
Sun Mar 2 23:54:00 EST 2003


> Also, can someone point me to docs for enabling/using
> a capabilities enabled kernel? Enabling normal user
> capabilities for jackd is my objective. I believe
> Fernando has this included in the CCRMA stuff but a
> quick google didn't find any docs. They're probably
> there. Hints appreciated. I'll search LAD
> archives...it's probably all there.

This is what you need:
==== CUT HERE ====
--- linux/include/linux/capability.h~   Thu Nov 22 11:46:19 2001
+++ linux/include/linux/capability.h    Fri Mar 15 15:16:20 2002
@@ -303,8 +303,8 @@

 #define CAP_EMPTY_SET       to_cap_t(0)
 #define CAP_FULL_SET        to_cap_t(~0)
-#define CAP_INIT_EFF_SET    to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP))
-#define CAP_INIT_INH_SET    to_cap_t(0)
+#define CAP_INIT_EFF_SET    to_cap_t(~0)
+#define CAP_INIT_INH_SET    to_cap_t(~0)

 #define CAP_TO_MASK(x) (1 << (x))
 #define cap_raise(c, flag)   (cap_t(c) |=  CAP_TO_MASK(flag))
==== CUT HERE ====

-- Fernando





More information about the Linux-audio-user mailing list