summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-09-23 13:11:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-09-23 13:11:36 +0200
commit0f320c7d887c272908e85864f3d07a53f440fc39 (patch)
treef8e6ec560045458e55a5b28b245dd62366f23a7c
parent0ecf6b00d43a2f2a372ff0b8b0abd8a75b3c0f0e (diff)
downloadvdr-0f320c7d887c272908e85864f3d07a53f440fc39.tar.gz
vdr-0f320c7d887c272908e85864f3d07a53f440fc39.tar.bz2
Added cap_net_raw to the capabilities that are not dropped
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY3
-rw-r--r--vdr.c4
3 files changed, 5 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index e8a7652b..b0538472 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2782,3 +2782,4 @@ Chris Mayo <aklhfex@gmail.com>
Dominic Evans <oldmanuk@gmail.com>
for making the SVDRP command LSTC accepts channel IDs
+ for adding cap_net_raw to the capabilities that are not dropped
diff --git a/HISTORY b/HISTORY
index 4e0c3e4d..f39fcda4 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6743,7 +6743,7 @@ Video Disk Recorder Revision History
extends over TS packet boundaries is now done by locally skipping TS packets
in cFrameDetector.
-2011-09-18: Version 1.7.22
+2011-09-23: Version 1.7.22
- Fixed scaling subtitles in case the primary device's GetVideoSize() function doesn't
return actual values (thanks to Luca Olivetti).
@@ -6760,3 +6760,4 @@ Video Disk Recorder Revision History
- The SVDRP command LSTC now also accepts channel IDs (thanks to Dominic Evans).
- Fixed handling DVB subtitles and implemented decoding textual DVB subtitles (thanks
to Rolf Ahrenberg).
+- Added cap_net_raw to the capabilities that are not dropped (thanks to Dominic Evans).
diff --git a/vdr.c b/vdr.c
index a599d7c9..b546b2a4 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 2.24 2011/09/10 15:03:23 kls Exp $
+ * $Id: vdr.c 2.25 2011/09/23 13:09:37 kls Exp $
*/
#include <getopt.h>
@@ -116,7 +116,7 @@ static bool SetUser(const char *UserName, bool UserDump)//XXX name?
static bool DropCaps(void)
{
// drop all capabilities except selected ones
- cap_t caps = cap_from_text("= cap_sys_nice,cap_sys_time=ep");
+ cap_t caps = cap_from_text("= cap_sys_nice,cap_sys_time,cap_net_raw=ep");
if (!caps) {
fprintf(stderr, "vdr: cap_from_text failed: %s\n", strerror(errno));
return false;