[PlanetCCRMA] redhat trouble with grub
Fernando Pablo Lopez-Lezcano
nando at ccrma.Stanford.EDU
Fri Oct 8 12:15:44 PDT 2004
On Fri, 2004-10-08 at 11:50, Noah Garrett Wallach wrote:
> >
> > Yes, I remember now. Sorry, but I don't have the time to build custom
> > kernels for more distros, at least not now :-(
> >
> > You could download the source for this kernel, extract the "capabilities
> > patch" (very simple) patch, and try to add it to the source rpm of
> > the Enterprise kernel you are using and rebuild it...
> >
> > http://ccrma.stanford.edu/planetccrma/mirror/all/linux/SRPMS/kernel-
> > 2.4.20-30.1.caps.src.rpm
>
> I have not seen a response to this so far. can you please just tell me how to
> extract the "capabilities patch". I will try to add it to the source rpm of
> the Enterprise kernel. I have a really nice tutorial for rebuilding a redhat
> kernel. I just need to know how to find and obtain the patch.
It is very small so here it is:
==== CUT HERE ====
--- linux/include/linux/capability.h~ Thu Nov 22 11:46:19 2001
+++ linux/include/linux/capability.h Fri Mar 15 15:16:20 2002
@@ -303,8 +303,8 @@
#define CAP_EMPTY_SET to_cap_t(0)
#define CAP_FULL_SET to_cap_t(~0)
-#define CAP_INIT_EFF_SET to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP))
-#define CAP_INIT_INH_SET to_cap_t(0)
+#define CAP_INIT_EFF_SET to_cap_t(~0)
+#define CAP_INIT_INH_SET to_cap_t(~0)
#define CAP_TO_MASK(x) (1 << (x))
#define cap_raise(c, flag) (cap_t(c) |= CAP_TO_MASK(flag))
==== CUT HERE ====
This will enable you to run jackstart (ie: jackd) with -R as a non-root
user. It will obviously not do anything with regards to the latecy
behavior of the kernel.
-- Fernando
More information about the PlanetCCRMA
mailing list