vdr-plugin-streamdev/patches/vdr-1.6.0-cap_net_raw.diff
Frank Schmirler 59c6558ce3 VDR 1.7.22 obsoletes cap_net_raw patch.
Added cap_net_raw patch for VDR 1.7.5 - 1.7.21.
2011-12-09 09:04:00 +01:00

12 lines
428 B
Diff

--- vdr.c.orig 2009-02-13 09:45:55.000000000 +0100
+++ vdr.c 2009-02-13 09:46:24.000000000 +0100
@@ -115,7 +115,7 @@
static bool SetCapSysTime(void)
{
// drop all capabilities except cap_sys_time
- cap_t caps = cap_from_text("= cap_sys_time=ep");
+ cap_t caps = cap_from_text("= cap_sys_time,cap_net_raw=ep");
if (!caps) {
fprintf(stderr, "vdr: cap_from_text failed: %s\n", strerror(errno));
return false;