Displaying 20 results from an estimated 49 matches for "have_mmap".
2002 Jun 25
3
3.3p1 patch for Solaris 2.6
...for Solaris 2.6 - it does not handle
mmap() with fd = -1. does it look okay?
itojun
--- work.i386/openssh-3.3p1/servconf.c- Tue Jun 25 23:43:22 2002
+++ work.i386/openssh-3.3p1/servconf.c Tue Jun 25 23:43:33 2002
@@ -257,7 +257,7 @@
if (use_privsep == -1)
use_privsep = 1;
-#if !defined(HAVE_MMAP) || !defined(MAP_ANON)
+#if !defined(HAVE_MMAP)
if (use_privsep && options->compression == 1) {
error("This platform does not support both privilege "
"separation and compression");
--- work.i386/openssh-3.3p1/monitor_mm.c- Tue Jun 25 23:42:02 2002
+++ wor...
2002 Jun 25
2
Linux 2.2 + borken mmap() round 1
...acconfig.h
--- acconfig.h 24 Jun 2002 16:26:49 -0000 1.139
+++ acconfig.h 25 Jun 2002 00:15:54 -0000
@@ -355,6 +355,9 @@
/* Path that unprivileged child will chroot() to in privep mode */
#undef PRIVSEP_PATH
+/* Define if you have the `mmap' function that supports MAP_ANON|SHARED */
+#undef HAVE_MMAP_ANON_SHARED
+
@BOTTOM@
/* ******************* Shouldn't need to edit below this line ************** */
Index: configure.ac
===================================================================
RCS file: /var/cvs/openssh/configure.ac,v
retrieving revision 1.69
diff -u -r1.69 configure.ac
--- co...
2002 Jun 25
2
Help wanted: configure test for busted mmap
Linux 2.2 (and probably others) have a deficient mmap which has caused a
number of problems (e.g. bug #285).
A workaround is in development, but it would be helpful to have a
configure test to detect the bad mmaps().
Any takers?
-d
2002 Jun 25
1
[Bug 259] UsePrivilegeSeparation crashed sshd under Linux 2.2
...linux 2.2:
diff -ur openssh-3.3p1-orig/monitor_mm.c openssh-3.3p1/monitor_mm.c
--- openssh-3.3p1-orig/monitor_mm.c Fri Jun 7 03:57:25 2002
+++ openssh-3.3p1/monitor_mm.c Tue Jun 25 10:06:06 2002
@@ -84,6 +84,7 @@
*/
mm->mmalloc = mmalloc;
+#undef MAP_ANON
#if defined(HAVE_MMAP) && defined(MAP_ANON)
address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED,
-1, 0);
diff -ur openssh-3.3p1-orig/servconf.c openssh-3.3p1/servconf.c
--- openssh-3.3p1-orig/servconf.c Fri Jun 21 08:20:44 2002
+++ openssh-3.3p1/servconf.c Tue Jun 25...
2002 May 28
5
Problems with UsePrivilegeSeparation (was: port fwd as user != root?
I just upgraded to OpenSSH3.2.3p1 as it seemed that
UsePrivilegeSeparation yes
might help with my problem (connections forwarded
are owned by root instead of the user I logged in as
on the server), but instead, sshd barfs on receiving
a connection. Without UsePrivilegeSeparation
the server works fine.
# strace -o /tmp/sshd.str sshd -d
debug1: sshd version OpenSSH_3.2.3p1
debug1: private host
2002 Sep 16
2
privsep versus compression
...options->authorized_keys_file = _PATH_SSH_USER_PERMITTED_KEYS;
- /* Turn privilege separation _off_ by default */
+ /* Turn privilege separation on by default */
if (use_privsep == -1)
- use_privsep = 0;
+ use_privsep = 1;
+
+#ifndef HAVE_MMAP
+ if (use_privsep && options->compression == 1) {
+ error("This platform does not support both privilege "
+ "separation and compression");
+ error("Compression disabled");
+ options->compr...
2001 Oct 05
4
SaMBa 2.2.1a in HP/UX 11.00
Hullo All
I hjave a problem with SaMBa 2.2.1a with HP/UX 11.00. It seems to work fine,
but after a couple hours users received a message in Windows (all 95) like
that ...
"There were no servers to log you into", or something like that (Win95
Brazilian Portuguese). It seems like it can't find the domain master
server...
Below is my smb.conf... Some help is greatly apreciated...
2020 Sep 05
8
[PATCH 0/5] ZSTD compression support for OpenSSH
I added ZSTD support to OpenSSH roughly over a year and I've been
playing with it ever since.
The nice part is that ZSTD achieves reasonable compression (like zlib)
but consumes little CPU so it is unlikely that compression becomes the
bottle neck of a transfer. The compression overhead (CPU) is negligible
even when uncompressed data is tunneled over the SSH connection (SOCKS
proxy, port
2020 Mar 24
4
ZSTD compression support for OpenSSH
I hacked zstd support into OpenSSH a while ago and just started to clean
it up in the recent days. The cleanup includes configuration support
among other things that I did not have.
During testing I noticed the following differences compared to zlib:
- highly interactive shell output (as in refreshed at a _very_ high
rate) may result in higher bandwidth compared to zlib. Since zstd is
quicker
2002 Apr 07
5
[Bug 205] PrivSep needs to be a compile-time option
http://bugzilla.mindrot.org/show_bug.cgi?id=205
------- Additional Comments From mouring at eviladmin.org 2002-04-07 10:28 -------
Created an attachment (id=64)
This patch (does not include configure.ac patch) should allow non-mmap platforms to compile, but will not allow them to use privsep period. One has to do more R&D to figure out where to disable compression on sshd since
2002 Oct 25
0
NeXT Community
...etlogin setproctitle setresgid setreuid \
setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \
socketpair strerror strlcat strlcpy strmode sysconf tcgetpgrp \
truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty)
+
+dnl Make sure that mmap prototype is defined before defining HAVE_MMAP
+AC_CHECK_DECL(mmap, [AC_CHECK_FUNCS(mmap)])
dnl Make sure strsep prototype is defined before defining HAVE_STRSEP
AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)])
2003 May 01
0
a little issue with ADS
...R_RETURNS_VOID
HAVE_FUNCTION_MACRO
HAVE_C99_VSNPRINTF
HAVE_NATIVE_ICONV
HAVE_KERNEL_OPLOCKS_LINUX
HAVE_KERNEL_CHANGE_NOTIFY
HAVE_KERNEL_SHARE_MODES
HAVE_FTRUNCATE_EXTEND
REPLACE_GETPASS
HAVE_SECURE_MKSTEMP
SYSCONF_SC_NGROUPS_MAX
HAVE_IFACE_IFCONF
USE_SETRESUID
HAVE_MMAP
HAVE_FCNTL_LOCK
HAVE_STRUCT_FLOCK64
HAVE_LIBPAM
STAT_STATVFS64
HAVE_EXPLICIT_LARGEFILE_SUPPORT
UTMP Related:
WITH_UTMP
HAVE_UTIMBUF
HAVE_UT_UT_NAME
HAVE_UT_UT_USER
HAVE_UT_UT_ID
HAVE_UT_UT_HOST
HAVE_UT_UT_TIME
HAVE_UT_UT_TV
HAVE_UT_UT_TYPE
HAVE_UT_UT_PI...
2002 Jul 19
2
Samba stops working on HP-UX 11
I've had a consistent problem with Samba from 2.2.1 onwards, maybe even
before then, I'm not sure when it started.
Anyway, Samba will randomly stop responding to any requests, although
it usually occurs after transfering large amounts of data (1 GB+). To
get around the problem, I've been restarting samba every night, but we
still have the problem occasionally.
smbclient shows:
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
...KRB5
HAVE_LIBLBER
HAVE_LIBLDAP
HAVE_LIBNSL
HAVE_LIBPAM
HAVE_LIBRESOLV
HAVE_LIBSEC
HAVE_LIBSENDFILE
HAVE_LIBSOCKET
HAVE_LINK
HAVE_LLSEEK
HAVE_LONGLONG
HAVE_LSEEK64
HAVE_LSTAT64
HAVE_MEMMOVE
HAVE_MEMORY_KEYTAB
HAVE_MEMSET
HAVE_MKNOD
HAVE_MKTIME
HAVE_MMAP
HAVE_NATIVE_ICONV
HAVE_NL_LANGINFO
HAVE_OPEN64
HAVE_PASSWD_PW_AGE
HAVE_PASSWD_PW_COMMENT
HAVE_PATHCONF
HAVE_PIPE
HAVE_POLL
HAVE_PREAD
HAVE_PREAD64
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_RAND
HAVE_RANDOM
HAVE_READDIR64
HAVE...
2018 Feb 09
3
[PATCH] Add a cache for iconv_t handles to hive_t
...6 files changed, 90 insertions(+), 42 deletions(-)
diff --git a/lib/handle.c b/lib/handle.c
index 9dcf81d..7d715df 100644
--- a/lib/handle.c
+++ b/lib/handle.c
@@ -31,6 +31,9 @@
#include <errno.h>
#include <assert.h>
+#include <iconv.h>
+#include <pthread.h>
+
#ifdef HAVE_MMAP
#include <sys/mman.h>
#else
@@ -62,6 +65,32 @@ header_checksum (const hive_h *h)
#define HIVEX_OPEN_MSGLVL_MASK (HIVEX_OPEN_VERBOSE|HIVEX_OPEN_DEBUG)
+iconv_t *
+_hivex_get_iconv (hive_h *h, recode_type t)
+{
+ pthread_mutex_lock (&h->iconv_cache[t].mutex);
+ if (h->iconv_c...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...IT
HAVE_GETTIMEOFDAY_TZ
HAVE_GLOB
HAVE_GRANTPT
HAVE_ICONV
HAVE_IFACE_AIX
HAVE_INITGROUPS
HAVE_INNETGR
HAVE_INO64_T
HAVE_LIBPAM
HAVE_LIBREADLINE
HAVE_LINK
HAVE_LLSEEK
HAVE_LONGLONG
HAVE_LSEEK64
HAVE_LSTAT64
HAVE_MEMMOVE
HAVE_MEMSET
HAVE_MKNOD
HAVE_MKTIME
HAVE_MMAP
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NL_LANGINFO
HAVE_NO_ACLS
HAVE_OFF64_T
HAVE_OPEN64
HAVE_OPENDIR64
HAVE_PATHCONF
HAVE_PIPE
HAVE_POLL
HAVE_PRCTL
HAVE_PREAD
HAVE_PREAD64
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_RAND
HAV...
2007 Sep 24
2
Where is the tdbsam password database file?
...NG_LONG
HAVE_LREMOVEXATTR
HAVE_LSEEK64
HAVE_LSETXATTR
HAVE_LSTAT
HAVE_LSTAT64
HAVE_MAGIC_IN_KRB5_ADDRESS
HAVE_MAKEDEV
HAVE_MEMALIGN
HAVE_MEMCPY
HAVE_MEMMOVE
HAVE_MEMSET
HAVE_MKDIR_MODE
HAVE_MKDTEMP
HAVE_MKNOD
HAVE_MKTIME
HAVE_MLOCK
HAVE_MLOCKALL
HAVE_MMAP
HAVE_MUNLOCK
HAVE_MUNLOCKALL
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NEW_LIBREADLINE
HAVE_NL_LANGINFO
HAVE_NO_AIO
HAVE_OPEN64
HAVE_PAM_GET_DATA
HAVE_PAM_VSYSLOG
HAVE_PATHCONF
HAVE_PEERCRED
HAVE_PIPE
HAVE_POLL
HAVE_POSIX_ACLS
HAVE_POSIX_FADVISE
HAVE_P...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...LDAP_SET_REBIND_PROC
HAVE_LIBASN1
HAVE_LIBCOM_ERR
HAVE_LIBGSSAPI
HAVE_LIBKRB5
HAVE_LIBLBER
HAVE_LIBLDAP
HAVE_LIBPAM
HAVE_LIBREADLINE
HAVE_LIBROKEN
HAVE_LINK
HAVE_LONGLONG
HAVE_MAKEDEV
HAVE_MEMMOVE
HAVE_MEMSET
HAVE_MKNOD
HAVE_MKTIME
HAVE_MMAP
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NL_LANGINFO
HAVE_NO_ACLS
HAVE_NO_AIO
HAVE_PATHCONF
HAVE_PIPE
HAVE_POLL
HAVE_PREAD
HAVE_PWRITE
HAVE_QUOTACTL_4B
HAVE_RAND
HAVE_RANDOM
HAVE_READLINK
HAVE_REALPATH
HAVE_RENAME
HAVE_ROKEN_GETADDRIN...
2005 May 18
1
Samba Comple Problem on Solaris 2.8
...BLBER
HAVE_LIBLDAP
HAVE_LIBNSL
HAVE_LIBPAM
HAVE_LIBREADLINE
HAVE_LIBRESOLV
HAVE_LIBROKEN
HAVE_LIBSEC
HAVE_LIBSENDFILE
HAVE_LIBSOCKET
HAVE_LINK
HAVE_LLSEEK
HAVE_LONGLONG
HAVE_LSEEK64
HAVE_LSTAT64
HAVE_MEMMOVE
HAVE_MEMSET
HAVE_MKNOD
HAVE_MKTIME
HAVE_MMAP
HAVE_NL_LANGINFO
HAVE_NO_ACLS
HAVE_OPEN64
HAVE_PASSWD_PW_AGE
HAVE_PASSWD_PW_COMMENT
HAVE_PATHCONF
HAVE_PIPE
HAVE_POLL
HAVE_PREAD
HAVE_PREAD64
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_RAND
HAVE_RANDOM
HAVE_READDIR64
HAVE_READ...
2005 May 07
0
force group broken in 3.0.14?
...HAVE_LIBLBER
HAVE_LIBLDAP
HAVE_LIBPAM
HAVE_LIBRESOLV
HAVE_LINK
HAVE_LINUX_XFS_QUOTAS
HAVE_LISTXATTR
HAVE_LLISTXATTR
HAVE_LLSEEK
HAVE_LONGLONG
HAVE_LREMOVEXATTR
HAVE_LSEEK64
HAVE_LSETXATTR
HAVE_LSTAT64
HAVE_MAKEDEV
HAVE_MEMMOVE
HAVE_MEMSET
HAVE_MKNOD
HAVE_MKTIME
HAVE_MMAP
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NL_LANGINFO
HAVE_NO_ACLS
HAVE_OPEN64
HAVE_PATHCONF
HAVE_PIPE
HAVE_POLL
HAVE_PREAD
HAVE_PREAD64
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_QUOTACTL_LINUX
HAVE_RAND
HAVE_RANDOM
HAVE_READDIR64
HAVE_READLINK...