mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
59c6558ce3
Added cap_net_raw patch for VDR 1.7.5 - 1.7.21.
12 lines
450 B
Diff
12 lines
450 B
Diff
--- vdr.c.orig 2011-12-09 08:47:52.000000000 +0100
|
|
+++ vdr.c 2011-12-09 08:48:14.000000000 +0100
|
|
@@ -116,7 +116,7 @@
|
|
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;
|