From fc0e108cd1638a5c122dc4b656470c8428079dae Mon Sep 17 00:00:00 2001 From: asac Date: Tue, 13 Mar 2007 20:10:10 +0100 Subject: [PATCH] bz51429-anti-netstat-zombie-linux --- security/nss/lib/freebl/unix_rand.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/security/nss/lib/freebl/unix_rand.c b/security/nss/lib/freebl/unix_rand.c index 13617b1..972c5ca 100644 --- a/security/nss/lib/freebl/unix_rand.c +++ b/security/nss/lib/freebl/unix_rand.c @@ -876,7 +876,11 @@ safe_pclose(FILE *fp) /* Fork netstat to collect its output by default. Do not unset this unless * another source of entropy is available */ +#ifndef LINUX #define DO_NETSTAT 1 +#else +#define DO_NETSTAT 0 +#endif void RNG_SystemInfoForRNG(void) { -- 1.4.4.4