jack1 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines

  1. Specific Instructions for a 2.4 Linux kernel
  2. --------------------------------------------
  3. Before using JACK in realtime mode with a 2.4 kernel, you may
  4. need or want to take the following steps. A better choice is
  5. to use a 2.6 kernel.
  6. 1) in /usr/src/linux/include/linux/capability.h find these lines
  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. and change them to
  10. #define CAP_INIT_EFF_SET to_cap_t(~0)
  11. #define CAP_INIT_INH_SET to_cap_t(~0)
  12. then recompile your kernel and boot it. (Note that the above lines
  13. are from linux 2.4.19; it may be different if you're using a
  14. different version)
  15. NB: This may expose your system to local denial of service attacks.
  16. If it is a shared system or server, you should assess the impact of
  17. enabling capabilities in the context of your overall system security
  18. requirements.
  19. 2) install libcap from
  20. ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/
  21. 3) if you're using a journalling filesystem, mount some directory with
  22. -t tmpfs and use this with JACK's configure step as the
  23. argument to --with-default-tmpdir.
  24. 4) use --enable-capabilities with JACK's configure step