mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
78410ea576
Modified Files: CONTRIBUTORS HISTORY Makefile README po/de_DE.po po/fi_FI.po po/fr_FR.po po/it_IT.po po/ru_RU.po server/component.c server/component.h server/connection.c server/connection.h server/livefilter.c server/server.c server/setup.c server/setup.h server/streamer.c server/streamer.h streamdev/streamdevhosts.conf tools/socket.c tools/socket.h Added Files: patches/vdr-cap_net_raw.diff server/componentIGMP.c server/componentIGMP.h server/connectionIGMP.c server/connectionIGMP.h
12 lines
428 B
Diff
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;
|