From eba659cbbac0bd31889eb7ca58bf9c86f7dd0feb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 23 Apr 2015 08:01:51 +0000 Subject: hostapd: backport fix for CVE-2015-1863, refresh patches Signed-off-by: Felix Fietkau SVN-Revision: 45567 --- package/network/services/hostapd/patches/120-daemonize_fix.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/network/services/hostapd/patches/120-daemonize_fix.patch') diff --git a/package/network/services/hostapd/patches/120-daemonize_fix.patch b/package/network/services/hostapd/patches/120-daemonize_fix.patch index 07a146d1a0..032e2072a3 100644 --- a/package/network/services/hostapd/patches/120-daemonize_fix.patch +++ b/package/network/services/hostapd/patches/120-daemonize_fix.patch @@ -8,7 +8,7 @@ #ifdef ANDROID #include -@@ -155,59 +156,46 @@ int os_gmtime(os_time_t t, struct os_tm +@@ -155,59 +156,46 @@ int os_gmtime(os_time_t t, struct os_tm return 0; } @@ -66,8 +66,8 @@ -#else /* __APPLE__ */ -#define os_daemon daemon -#endif /* __APPLE__ */ -- +- -int os_daemonize(const char *pid_file) -{ -#if defined(__uClinux__) || defined(__sun__) -- cgit v1.2.3