Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-03-30 15:30:13 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-03-30 15:30:13 +0400
commite612307024b1578d137ea50b70315b81aeeb248b (patch)
tree0d9947ff87ebe05b5009210b38aeff9618ece29e /winsup/doc
parent8a92f14092aa538546d319620c341ac058b833a6 (diff)
* cygwinenv.sgml (cygwinenv-implemented-options): Add detect_bloda.
* new-features.sgml (ov-new1.7.12): Add list items for the change to flock and the detect_bloda CYGWIN option. * overview2.sgml (ov-hi-process-problems): Add a reference to the detect_bloda CYGWIN option.
Diffstat (limited to 'winsup/doc')
-rw-r--r--winsup/doc/ChangeLog8
-rw-r--r--winsup/doc/cygwinenv.sgml10
-rw-r--r--winsup/doc/new-features.sgml18
-rw-r--r--winsup/doc/overview2.sgml6
4 files changed, 40 insertions, 2 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index ab58c5cd9..0e0a55e12 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-30 Corinna Vinschen <corinna@vinschen.de>
+
+ * cygwinenv.sgml (cygwinenv-implemented-options): Add detect_bloda.
+ * new-features.sgml (ov-new1.7.12): Add list items for the change to
+ flock and the detect_bloda CYGWIN option.
+ * overview2.sgml (ov-hi-process-problems): Add a reference to the
+ detect_bloda CYGWIN option.
+
2012-03-27 Corinna Vinschen <corinna@vinschen.de>
* new-features.sgml (ov-new1.7.12): Create. Move mountinfo here.
diff --git a/winsup/doc/cygwinenv.sgml b/winsup/doc/cygwinenv.sgml
index 1b9fee499..2be87c8b2 100644
--- a/winsup/doc/cygwinenv.sgml
+++ b/winsup/doc/cygwinenv.sgml
@@ -12,6 +12,16 @@ by prefixing with <literal>no</literal>.</para>
<itemizedlist mark="bullet">
<listitem>
+<para><envar>(no)detect_bloda</envar> - If set, Cygwin will try to detect
+foreign applications which try to inject threads into a Cygwin process,
+or which redirect system sockets by providing an enforced so-called
+<literal>Layered Service Provider</literal>. This may or may not help to
+detect <ulink url="http://cygwin.com/faq/faq.using.html#faq.using.bloda">
+BLODAs</ulink>. Don't use this option for day-to-day usage, it will slow
+down every thread and socket creation!</para>
+</listitem>
+
+<listitem>
<para><envar>(no)dosfilewarning</envar> - If set, Cygwin will warn the
first time a user uses an "MS-DOS" style path name rather than a POSIX-style
path name. Defaults to set.</para>
diff --git a/winsup/doc/new-features.sgml b/winsup/doc/new-features.sgml
index a5216f8a8..bffe47db4 100644
--- a/winsup/doc/new-features.sgml
+++ b/winsup/doc/new-features.sgml
@@ -13,6 +13,24 @@ POSIX devices.
Add virtual /proc/PID/mountinfo file.
</para></listitem>
+<listitem><para>
+flock now additionaly supports the following scenario, which requires
+ to propagate locks to the parent process:
+
+ (
+ flock -n 9 || exit 1
+ # ... commands executed under lock ...
+ } 9>/var/lock/mylockfile
+
+ Only propagation to the direct parent process is supported so far,
+ not to grand parents or sibling processes.
+</para></listitem>
+
+<listitem><para>
+Add a "detect_bloda" setting for the CYGWIN environment variable to help
+finding potential BLODAs.
+</para></listitem>
+
</itemizedlist>
</sect2>
diff --git a/winsup/doc/overview2.sgml b/winsup/doc/overview2.sgml
index 5c1e8652f..def02ba38 100644
--- a/winsup/doc/overview2.sgml
+++ b/winsup/doc/overview2.sgml
@@ -387,8 +387,10 @@ BLODA</ulink>. Badly-behaved applications which
inject dlls into other processes often manage to clobber important
sections of the child's address space, leading to base address
collisions which rebasing cannot fix. The only way to resolve this
-problem is to remove (usually uninstall) the offending
-app.</listitem></itemizedlist></para>
+problem is to remove (usually uninstall) the offending app. See
+<xref linkend="cygwinenv-implemented-options"></xref> for the
+<literal>detect_bloda</literal> option, which may be able to identify the
+BLODA.</listitem></itemizedlist></para>
<para>In summary, current Windows implementations make it
impossible to implement a perfectly reliable fork, and occasional