mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
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;
|