1
2 Quick Install Guide
3 ---------------------
4
5 1) in /usr/src/linux/include/linux/capability.h find these lines
6
7 #define CAP_INIT_EFF_SET to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP))
8 #define CAP_INIT_INH_SET to_cap_t(0)
9
10 and change them to
11
12 #define CAP_INIT_EFF_SET to_cap_t(~0)
13 #define CAP_INIT_INH_SET to_cap_t(~0)
14
15 then recompile your kernel and boot it. (Note that the above lines
16 are from linux 2.4.19; it may be different if you're using a
17 different version)
18
19 NB: This may expose your system to local denial of service attacks.
20 If it is a shared system or server, you should assess the impact of
21 enabling capabilities in the context of your overall system security
22 requirements.
23
24 2) install libcap from
25 ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/
26
27 3) if you're using a journalling filesystem, mount some directory with
28 -t tmpfs and tell configure about it with --with-default-tmpdir
29
30 4) configure with --enable-optimize --enable-capabilities and
31 --with-default-tmpdir=/where/ever
32
33 5) make
34
35 6) as root, do
36
37 make install
38
39 7) create a .asoundrc file in your home directory like this:
40
41 ------ 8< ----------- 8< ------
42
43 pcm.SOMENAME {
44 type hw
45 card 0
46 }
47
48 ctl.SOMENAME {
49 type hw
50 card 0
51 }
52
53 ------ 8< ----------- 8< ------
54
55 8) run the jack server with:
56
57 jackstart -R -d alsa -d SOMENAME
58
59
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.