aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/ChangeLog4
-rw-r--r--util/secmem.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index e8585ac27..4fdc43f7e 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 7 18:45:31 CET 2000 Werner Koch <[email protected]>
+
+ * secmem.c (lock_pool): No more warning for QNX. By Sam Roberts.
+
2000-03-02 15:51:04 Werner Koch ([email protected])
* ttyio.c (tty_print_utf8_string): Oops.
diff --git a/util/secmem.c b/util/secmem.c
index 0ab218567..54836cbcf 100644
--- a/util/secmem.c
+++ b/util/secmem.c
@@ -145,6 +145,12 @@ lock_pool( void *p, size_t n )
show_warning = 1;
}
+ #elif defined ( __QNX__ )
+ /* QNX does not page at all, so the whole secure memory stuff does
+ * not make much sense. However it is still of use because it
+ * wipes out the memory on a free().
+ * Therefore it is sufficient to suppress the warning
+ */
#else
log_info("Please note that you don't have secure memory on this system\n");
#endif