From owner-freebsd-questions Fri Sep 11 05:48:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA26743 for freebsd-questions-outgoing; Fri, 11 Sep 1998 05:48:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA26738 for ; Fri, 11 Sep 1998 05:48:44 -0700 (PDT) (envelope-from rminnich@Sarnoff.COM) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id IAA16343; Fri, 11 Sep 1998 08:48:23 -0400 Date: Fri, 11 Sep 1998 08:48:22 -0400 (EDT) From: "Ron G. Minnich" X-Sender: rminnich@terra To: questions@FreeBSD.ORG Subject: a problem with mount_portal, which I hope is obvious to someone Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following fails on FreeBSD 3.0-980627-SNAP (CLUSTER) #4: Wed Sep 9 06:05:32 EDT 1998 Code is: /* * If there is a file descriptor to send then * construct a suitable rights control message. */ if (fd >= 0) { ctl.fd = fd; ctl.cmsg.cmsg_len = sizeof(ctl); ctl.cmsg.cmsg_level = SOL_SOCKET; ctl.cmsg.cmsg_type = SCM_RIGHTS; msg.msg_control = (caddr_t) &ctl; msg.msg_controllen = ctl.cmsg.cmsg_len; } /* * Send to kernel... */ if ((n = sendmsg(so, &msg, MSG_EOR)) < 0) syslog(LOG_ERR, "send: %s", strerror(errno)); returns with EINVAL. anybody out there who can look at this and say "of course", send me the "of course" on how to fix it... :=-) oh yeah, anyone who wants to remind me of the cvsup command to update the snap, let me know. I'm too stupid to figure it out, even though I got it once. WRT to another discussion that occured earlier, we have found the freebsd snapshots to be more reliable than the linux equivalent of "stable". Freebsd does set quite a standard here. That's not to say that Linux is not good. It's great. It's just that in terms of uptime/reliability, freebsd is better. thanks ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message