[SCM] rtkit/master: Re-introduce Ubuntu-specific patch, which gets applied to Ubuntu only.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Nov 14 23:51:52 UTC 2010


The following commit has been merged in the master branch:
commit b71594b571962b6f76237ca126a34f10e83e6942
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Nov 15 00:50:26 2010 +0100

    Re-introduce Ubuntu-specific patch, which gets applied to Ubuntu only.

diff --git a/debian/patches/01-no_ptrace_cap.patch b/debian/patches/01-no_ptrace_cap.patch
new file mode 100644
index 0000000..8621a62
--- /dev/null
+++ b/debian/patches/01-no_ptrace_cap.patch
@@ -0,0 +1,16 @@
+---
+ rtkit-daemon.c |    3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+--- rtkit.orig/rtkit-daemon.c
++++ rtkit/rtkit-daemon.c
+@@ -1766,8 +1766,7 @@ static int drop_privileges(void) {
+                 cap_t caps;
+                 const cap_value_t cap_values[] = {
+                         CAP_SYS_NICE,             /* Needed for obvious reasons */
+-                        CAP_DAC_READ_SEARCH,      /* Needed so that we can verify resource limits */
+-                        CAP_SYS_PTRACE            /* Needed so that we can read /proc/$$/exe. Linux is weird. */
++                        CAP_DAC_READ_SEARCH      /* Needed so that we can verify resource limits */
+                 };
+ 
+                 /* Third, say that we want to keep caps */
diff --git a/debian/patches/ubuntu.series b/debian/patches/ubuntu.series
new file mode 100644
index 0000000..d66223d
--- /dev/null
+++ b/debian/patches/ubuntu.series
@@ -0,0 +1 @@
+01-no_ptrace_cap.patch

-- 
rtkit packaging



More information about the pkg-multimedia-commits mailing list