From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/programmer_reference/tcl_program.html | 55 +++++++++++++++++------------- 1 file changed, 32 insertions(+), 23 deletions(-) (limited to 'docs/programmer_reference/tcl_program.html') diff --git a/docs/programmer_reference/tcl_program.html b/docs/programmer_reference/tcl_program.html index c3c636e8..e34c64a0 100644 --- a/docs/programmer_reference/tcl_program.html +++ b/docs/programmer_reference/tcl_program.html @@ -14,7 +14,7 @@ -

The Berkeley DB Tcl API does not attempt to avoid evaluating input as Tcl -commands. For this reason, it may be dangerous to pass unreviewed user -input through the Berkeley DB Tcl API, as the input may subsequently be -evaluated as a Tcl command. Additionally, the Berkeley DB Tcl API -initialization routine resets process' effective user and group IDs to -the real user and group IDs, to minimize the effectiveness of a Tcl -injection attack.

-

The Tcl API closely parallels the Berkeley DB programmatic interfaces. If you -are already familiar with one of those interfaces, there will not be many -surprises in the Tcl API.

-

The Tcl API currently does not support multithreading although -it could be made to do so. The Tcl shell itself is -not multithreaded and the Berkeley DB extensions use global data unprotected -from multiple threads.

-

Several pieces of Berkeley DB functionality are not available in the Tcl API. -Any of the functions that require a user-provided function are not -supported via the Tcl API. For example, there is no equivalent to the -DB->set_dup_compare() or DB_ENV->set_errcall() methods. -Additionally, the heap access method is not available.

+

+ The Berkeley DB Tcl API does not attempt to avoid evaluating + input as Tcl commands. For this reason, it may be dangerous to + pass unreviewed user input through the Berkeley DB Tcl API, as + the input may subsequently be evaluated as a Tcl command. + Additionally, the Berkeley DB Tcl API initialization routine + resets process' effective user and group IDs to the real user + and group IDs, to minimize the effectiveness of a Tcl + injection attack. +

+

+ The Tcl API closely parallels the Berkeley DB programmatic + interfaces. If you are already familiar with one of those + interfaces, there will not be many surprises in the Tcl + API. +

+

+ The Tcl API currently does not support multithreading + although it could be made to do so. The Tcl shell itself is + not multithreaded and the Berkeley DB extensions use global + data unprotected from multiple threads. +

+

+ Several pieces of Berkeley DB functionality are not + available in the Tcl API. Any of the functions that require a + user-provided function are not supported via the Tcl API. For + example, there is no equivalent to the DB->set_dup_compare() or + DB_ENV->set_errcall() methods. Additionally, the heap access method + is not available. +