search for: map_anon

Displaying 20 results from an estimated 62 matches for "map_anon".

2002 Jun 26
2
MAP_ANON replacement?
Here I would like to suggest a replacement for MAP_ANON on systems which do not have it, such as Solaris < 8. In "man mmap" of Solaris 8: When MAP_ANON is set in flags, and fd is set to -1, mmap() provides a direct path to return anonymous pages to the caller. This operation is equivalent to passing mmap() an o...
2010 Jul 21
3
smbd -D hangs
I'm testing both sunfreeware and official sun (sfw) samba on Solaris 10. For some reason since yesterday, the smbd process just "hangs" at the start. No log is generated on server side Where smbd is started, I can't find any open port on 139 or 145 My OS is Solaris 10 # uname -a SunOS labo2 5.10 Generic_142900-13 sun4v sparc SUNW,SPARC-Enterprise-T5120 #
2002 Jun 25
3
3.3p1 patch for Solaris 2.6
...oes 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 +++ work.i386/openssh-3.3p1/m...
2002 Jun 25
2
Linux 2.2 + borken mmap() round 1
...ision 1.139 diff -u -r1.139 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 -...
2002 Jun 25
1
[Bug 259] UsePrivilegeSeparation crashed sshd under Linux 2.2
http://bugzilla.mindrot.org/show_bug.cgi?id=259 ------- Additional Comments From Al.Smith at gold.net 2002-06-25 18:09 ------- Linux 2.2 defines MAP_ANON in <bits/mman.h>, however it can seen in /usr/src/linux/mm/mmap.c (lines 200 onwards) that if MAP_ANON is used then the system call will return -EINVAL. The following is a quick hack to get openssh to compile on linux 2.2: diff -ur openssh-3.3p1-orig/monitor_mm.c openssh-3.3p1/monitor_mm.c...
2006 Jan 26
0
smbclient failure
...Comment --------- ---- ------- Error returning browse list: NT_STATUS_OK Server Comment --------- ------- Workgroup Master --------- ------- This is the output from 'truss' mmap(0x0,3920,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672452608 (0x2814d000) munmap(0x2814d000,0xf50) = 0 (0x0) __sysctl(0xbfbfea78,0x2,0x28149a58,0xbfbfea74,0x0,0x0) = 0 (0x0) mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 672452608 (0x2814d000) issetugid() = 0 (0x0) open("/etc/libmap.conf"...
2006 Aug 01
9
DNS resolutions is not working in a Solaris 10 DomU
...= 0 resolvepath("/lib/libxnet.so.1", "/lib/libxnet.so.1", 1023) = 17 open("/lib/libxnet.so.1", O_RDONLY) = 3 mmap(0x00010000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xC6FC0000 mmap(0x00001000, 8192, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xC6FB0000 mmap(0xC6FB0000, 5292, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xC6FB0000 mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xC6FA0000 close(3) = 0 xstat(2, &q...
2008 Dec 17
10
Cannot remove a file on a GOOD ZFS filesystem
Hello all, First off, i''m talking about a SXDE build 89. Sorry if that was discussed here before, but i did not find anything related on the archives, and i think is a "weird" issue... If i try to remove a specific file, i got: # rm file1 rm: file1: No such file or directory # rm -rf dir2 rm: Unable to remove directory dir2: Directory not empty Take a look: ------- cut
2011 May 03
4
multipl disk failures cause zpool hang
...oblem would be appreciated. Thanks The followings are trace for zpoo list #truss zpool list execve("/sbin/zpool", 0x08047CB4, 0x08047CC0) argc = 2 sysinfo(SI_MACHINE, "i86pc", 257) = 6 mmap(0x00000000, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFB0000 mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFA0000 mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF90000 mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF80000 mem...
2009 Feb 19
1
NUT 2.4.1 crashes on FreeBSD - additional info
...setenv UPSNAME ups > freenas:~# setenv NOTIFYTYPE ONLINE > freenas:~# upssched > Executing command: resume > Segmentation fault (core dumped) > > freenas:~# truss upssched > __sysctl(0xbfbfea24,0x2,0xbfbfea2c,0xbfbfea30,0x0,0x0) = 0 (0x0) > mmap(0x0,280,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 671584256 (0x28079000) > munmap(0x28079000,280) = 0 (0x0) > __sysctl(0xbfbfea88,0x2,0x28075d7c,0xbfbfea90,0x0,0x0) = 0 (0x0) > mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = > 671584256 (0x28079000) > issetugid(0x2806eeac,0xbfbf...
2002 Jun 26
0
IRIX 6.5 patch for Compression with UsePrivilegeSeparation
Simon Cooper already mailed in a patch to get the effects of MAP_ANON on IRIX systems, but it was against openssh/3.3p1. I've reapplied his patach to openssh/3.4p1 and include it as an attachment. Here's his explanation: > I noticed that the recent release requires the existence of MAP_ANON to get > an anonymous memory region. In Irix the equivalent...
2007 Jan 05
0
troubles with telnet sessions under Solaris8 as AD member with winbind V3.0.23d
..."/usr/lib/securit y/pam_unix_session.so.1", 1023) = 39 19080: open("/usr/lib/security/pam_unix_session.so.1", O_RDONLY) = 9 19080: mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0xFF1E0 000 19080: mmap(0x00000000, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, - 1, 0) = 0xFF0C0000 19080: mmap(0xFF0C0000, 3782, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 9, 0) = 0xFF0C0000 19080: mmap(0xFF0D2000, 1796, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_F IXED, 9, 8192) = 0xFF0D2000 19080: munmap(0xFF0C2000, 65536) = 0 19080: memcn...
2009 Oct 25
21
zfs inotify?
OK, so this may be a little off-topic, but here goes: The reason I switched to OpenSolaris was primarily to take advantage of ZFS''s features when storing my digital imaging collection. I switched from a pretty stock Linux setup, but it left me at one disadvantage. I had been using inotify under Linux to trigger a series of Ruby scripts that would do all the basic ingestion/setup for
2004 Sep 16
1
[LLVMdev] Patch to lib/System/Interix
Hi Interix does not know MAP_ANON or -NOCORE only MAP_SHARED, -PRIVATE and -FIXED. Henrik _________________________________________________________________ F� alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Memory.cpp.zip T...
2002 Jun 24
4
README.privsep
...scalation by containing corruption to an unprivileged process. More information is available at: http://www.citi.umich.edu/u/provos/ssh/privsep.html Privilege separation is now enabled by default; see the UsePrivilegeSeparation option in sshd_config(5). On systems which lack mmap or anonymous (MAP_ANON) memory mapping, compression must be disabled in order for privilege separation to function. When privsep is enabled, during the pre-authentication phase sshd will chroot(2) to "/var/empty" and change its privileges to the "sshd" user and its primary group. You should do som...
2003 Oct 23
1
pam_smbpass on Solaris box
...) = 0xFF030000 9662: mmap(0x00000000, 1392640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFED00000 9662: mmap(0xFEE36000, 62088, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 1204224) = 0xFEE36000 9662: mmap(0xFEE46000, 49716, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEE46000 9662: munmap(0xFEE28000, 57344) = 0 9662: munmap(0xFEE54000, -8192) Err#22 EINVAL 9662: memcntl(0xFED00000, 277476, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 9662: close(3) and later : 9662: stat64("/usr/lib/security/pam_sm...
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
2011 Jun 16
7
[PATCH] replace fchmod()-based heartbeat with raindrops
...er. Now there''s no need to set a higher file descriptor limit for systems running >= 1024 workers. --- I just pushed this out to git://bogomips.org/unicorn.git and it''ll be in Unicorn 4.x. The subset of raindrops used by Unicorn should work on all machines with mmap(2) + MAP_ANON/MAP_ANONYMOUS support, so *BSDs shouldn''t be left out. Obviously the Linux-only INET_DIAG/TCP_INFO statistics support in raindrops won''t ever be a requirement in Unicorn. If you''re not using gcc 4+, you might need to install libatomic_ops http://www.hpl.hp.com/rese...
2005 Jul 22
0
winbbind not quiried by nsswitch on solaris 8
...ib/nss_winbind.so.1", 0xFFBEED14) = 0 open("/usr/local/ssl/lib/nss_winbind.so.1", O_RDONLY) = 3 fstat(3, 0xFFBEED14) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF270000 mmap(0x00000000, 90112, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF160000 mmap(0xFF160000, 10841, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF160000 mmap(0xFF172000, 3601, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xFF172000 mmap(0xFF174000, 4592, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1,...
2007 Feb 14
3
severe performance problem (mail cache related?)
...is a grave concern if I'm going to roll this out from 15 test users to 250 production users. Thanks for your help. PS: Raw logs are also attached below. -dp write(1, " * 1 0 7 9 5 F E T C".., 2050) = 2050 mmap64(0x00000000, 7356416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFD800000 munmap(0xFE602000, 1048576) = 0 munmap(0xFE502000, 1048576) = 0 munmap(0xFE402000, 1048576) = 0 munmap(0xFE302000, 1048576) = 0 munmap(0xFE202000, 1048576) = 0 munmap(0xFE102000,...