From owner-freebsd-sparc Mon Mar 11 7: 7:56 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id C7FB137B417 for ; Mon, 11 Mar 2002 07:07:51 -0800 (PST) Received: (qmail 25814 invoked by uid 0); 11 Mar 2002 15:07:50 -0000 Received: from pd9e1621c.dip.t-dialin.net (HELO forge.local) (217.225.98.28) by mail.gmx.net (mp001-rz3) with SMTP; 11 Mar 2002 15:07:50 -0000 Received: from tmm by forge.local with local (Exim 3.34 #1) id 16kROz-0000l2-00; Mon, 11 Mar 2002 16:07:53 +0100 Date: Mon, 11 Mar 2002 16:07:53 +0100 From: Thomas Moestl To: Gregory Neil Shapiro Cc: freebsd-sparc@freebsd.org Subject: Re: userland porting for sendmail Message-ID: <20020311150753.GA273@crow.dom2ip.de> Mail-Followup-To: Gregory Neil Shapiro , freebsd-sparc@freebsd.org References: <15499.58324.267110.225254@horsey.gshapiro.net> <20020311015512.GE282@crow.dom2ip.de> <15500.20048.979487.781861@horsey.gshapiro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15500.20048.979487.781861@horsey.gshapiro.net> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 2002/03/10 at 22:27:28 -0800, Gregory Neil Shapiro wrote: > >> It turned up one compile time warning > >> (fixed for sendmail 8.12.3) and one problem. The shared memory libsm test > >> core dumps (signal 12). I believe I recall seeing shared memory hadn't > >> been implemented yet to this is of no big surprise. > > tmoestl> It is not enabled in the sparc64 GENERIC, so I guess Mike's kernel was > tmoestl> built without it. > > Yes, but even without kernel support, should a userland application die? I > would have figured shmget() or the like would return -1. I've actually > never tried doing this on an x86 FreeBSD box without SYSVSHM enabled. If no real entry for a syscall is present in the syscall table (just a placeholder like nosys or lkmressys, or in the case of a syscall number exceeding the table size), SIGSYS is delivered, as in this case; some other options work by #ifdef'ing the implementation away and returning ENOSYS. - thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message