[linux-audio-dev] Capabilities patches for a 2.4 kernel.

Jack O'Quin joq at io.com
Sat Dec 6 04:42:16 UTC 2003


Luke Yelavich <luke at audioslack.com> writes:

> I am currently preparing an updated kernel, and am wondering whether
> any of the proposed patches for a 2.4 kernel are stable enough to be
> usable. If so, where can I obtain the patches?

The most stable and best-tested is the two-line capabilities patch.
It is generally applied by hand, editing capability.h as described
here...

  http://jackit.sourceforge.net/docs/faq.php#a5

This is sufficient to allow you to run JACK applications using
jackstart, assuming you compiled it with --enable-capabilities.

In addition, Kjetil Svalastog Matheussen posted a kernel patch to this
list...

  http://www.notam02.no/arkiv/src/schedmlockpatch-2.4.23-rc1

I modified it to work with my 2.4.19 system and ran with it for a
while.  It works fine for me.  YMMV.  I've been working on a similar
patch with realtime group support, but have not released it yet.

If you want to run JACK with Kjetil's patch, use current CVS, it has a
small change that allows creation of realtime client threads without
requiring capabilities.

Right now, I'm more interested in 2.6.  Torben Hohn wrote a Linux
Security Module that is functionally equivalent to the 2.4
capabilities patch (see above), but dynamically installable without
modifying the kernel.  He posted it in a message to this list.  This
is a big step forward, since it works with a completely unmodified
kernel.  I've been running it for about a week now without any
problems.
-- 
  joq



More information about the Linux-audio-dev mailing list