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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Capabilities patches for a 2.4 kernel.
From: Jack O'Quin (joq_AT_io.com)
Date: Sat Dec 06 2003 - 06:42:16 EET


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Dec 06 2003 - 06:41:36 EET