diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-23 08:01:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-04-23 08:01:51 +0000 |
commit | d763b3051aa945d5ac87f4ccd159a92ac7661772 (patch) | |
tree | 344a0ddf8262751ab5306ab8b3b662adcbf7dea8 /package/network/services/hostapd/patches/120-daemonize_fix.patch | |
parent | d025f9b0e30e4833cc10ab386f660c5319c8668a (diff) | |
download | upstream-d763b3051aa945d5ac87f4ccd159a92ac7661772.tar.gz upstream-d763b3051aa945d5ac87f4ccd159a92ac7661772.tar.bz2 upstream-d763b3051aa945d5ac87f4ccd159a92ac7661772.zip |
hostapd: backport fix for CVE-2015-1863, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45567 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd/patches/120-daemonize_fix.patch')
-rw-r--r-- | package/network/services/hostapd/patches/120-daemonize_fix.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/capability.h> -@@ -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__) |