ensure that client-side message buffer thread calls thread_init callback if/when...
[jack.git] / BUILDING-FOR-LINUX-2.4-KERNEL
blob6efde3b448ef01a1f49225980f6774a9753b77a1
1 Specific Instructions for a 2.4 Linux kernel
2 --------------------------------------------
4 Before using JACK in realtime mode with a 2.4 kernel, you may
5 need or want to take the following steps. A better choice is
6 to use a 2.6 kernel.
8 1) in /usr/src/linux/include/linux/capability.h find these lines
10 #define CAP_INIT_EFF_SET    to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP))
11 #define CAP_INIT_INH_SET    to_cap_t(0)
13    and change them to
15 #define CAP_INIT_EFF_SET    to_cap_t(~0)
16 #define CAP_INIT_INH_SET    to_cap_t(~0)
18    then recompile your kernel and boot it.  (Note that the above lines
19    are from linux 2.4.19; it may be different if you're using a
20    different version)
22    NB: This may expose your system to local denial of service attacks.
23    If it is a shared system or server, you should assess the impact of
24    enabling capabilities in the context of your overall system security
25    requirements.
27 2) install libcap from
28    ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/
30 3) if you're using a journalling filesystem, mount some directory with
31    -t tmpfs and use this with JACK's configure step as the
32    argument to --with-default-tmpdir.
34 4) use --enable-capabilities with JACK's configure step