From 9c4d008ca5b1922c98500869c0510c83eae6127b Mon Sep 17 00:00:00 2001
From: Dave Korn <dave.korn.cygwin@gmail.com>
Date: Sat, 29 Dec 2007 19:26:56 +0000
Subject: [PATCH] 	* bloda.cc (enum bad_app):  Add BYTEMOBILE. 
 (dodgy_app_detects[]):  Add FILENAME entry to detect bmnet.dll. 
 (big_list_of_dodgy_apps[]):  Add description for BYTEMOBILE.

---
 winsup/utils/ChangeLog |  6 ++++++
 winsup/utils/bloda.cc  | 10 +++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 8deaeac21..89e6e0fae 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-29  Dave Korn  <dave.korn@artimi.com>
+
+	* bloda.cc (enum bad_app):  Add BYTEMOBILE.
+	(dodgy_app_detects[]):  Add FILENAME entry to detect bmnet.dll.
+	(big_list_of_dodgy_apps[]):  Add description for BYTEMOBILE.
+
 2007-12-20  Brian Dessent  <brian@dessent.net>
 
 	* Makefile.in (cygcheck.exe): Don't link to ntdll.
diff --git a/winsup/utils/bloda.cc b/winsup/utils/bloda.cc
index ddb302222..5c977cec1 100644
--- a/winsup/utils/bloda.cc
+++ b/winsup/utils/bloda.cc
@@ -41,13 +41,19 @@
     LanDesk
     Windows Defender 
     Embassy Trust Suite fingerprint reader software containing wxvault.dll
+    ByteMobile laptop optimization client
+
+  A live version is now being maintained in the Cygwin FAQ, at
+    http://cygwin.com/faq/faq.using.html#faq.using.bloda
+
 */
 
 enum bad_app
 {
   SONIC,    NORTON,  MACAFFEE,    SYMANTEC,
   LOGITECH, KERIO,   AGNITUM,     ZONEALARM,
-  IOLO,     LANDESK, WINDEFENDER, EMBASSYTS
+  IOLO,     LANDESK, WINDEFENDER, EMBASSYTS,
+  BYTEMOBILE
 };
 
 struct bad_app_info
@@ -78,6 +84,7 @@ static const struct bad_app_det dodgy_app_detects[] =
   { HKLMKEY,     "SYSTEM\\CurrentControlSet\\Services\\lvprcsrv",                LOGITECH   },
   { PROCESSNAME, "LVPrcSrv.exe",                                                 LOGITECH   },
   { FILENAME,    "%programfiles%\\common files\\logitech\\lvmvfm\\LVPrcSrv.exe", LOGITECH   },
+  { FILENAME,    "%windir%\\System32\\bmnet.dll",                                BYTEMOBILE },
 }; 
 
 static const size_t num_of_detects = sizeof (dodgy_app_detects) / sizeof (dodgy_app_detects[0]);
@@ -96,6 +103,7 @@ static struct bad_app_info big_list_of_dodgy_apps[] =
   { LANDESK,     "Landesk"                                                                },
   { WINDEFENDER, "Windows Defender"                                                       },
   { EMBASSYTS,   "Embassy Trust Suite fingerprint reader software containing wxvault.dll" },
+  { BYTEMOBILE,  "ByteMobile laptop optimization client"                                  },
 };
 
 static const size_t num_of_dodgy_apps = sizeof (big_list_of_dodgy_apps) / sizeof (big_list_of_dodgy_apps[0]);