From owner-p4-projects@FreeBSD.ORG Thu May 29 15:38:46 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0524537B404; Thu, 29 May 2003 15:38:46 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95BFE37B401 for ; Thu, 29 May 2003 15:38:45 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A6DA43FBD for ; Thu, 29 May 2003 15:38:45 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4TMci0U068012 for ; Thu, 29 May 2003 15:38:44 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4TMciVw068009 for perforce@freebsd.org; Thu, 29 May 2003 15:38:44 -0700 (PDT) Date: Thu, 29 May 2003 15:38:44 -0700 (PDT) Message-Id: <200305292238.h4TMciVw068009@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 32065 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 22:38:46 -0000 http://perforce.freebsd.org/chv.cgi?CH=32065 Change 32065 by peter@peter_daintree on 2003/05/29 15:38:24 IFC @32064 Affected files ... .. //depot/projects/hammer/lib/libc/rpc/svc_vc.c#4 integrate .. //depot/projects/hammer/share/man/man5/libmap.conf.5#2 integrate .. //depot/projects/hammer/sys/amd64/amd64/amd64-gdbstub.c#1 branch Differences ... ==== //depot/projects/hammer/lib/libc/rpc/svc_vc.c#4 (text+ko) ==== @@ -34,7 +34,7 @@ static char *sccsid = "@(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC"; #endif #include -__FBSDID("$FreeBSD: src/lib/libc/rpc/svc_vc.c,v 1.19 2003/05/29 19:43:22 mbr Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/rpc/svc_vc.c,v 1.20 2003/05/29 22:06:06 mbr Exp $"); /* * svc_vc.c, Server side for Connection Oriented based RPC. @@ -779,8 +779,7 @@ bcopy(&cm.cmsg, &cmp->cmsg, sizeof(cmp->cmsg)); bcopy(CMSG_DATA(&cm), &cmp->cmcred, sizeof(cmp->cmcred)); - if (msg.msg_controllen == 0 || - (msg.msg_flags & MSG_CTRUNC) != 0) + if ((msg.msg_flags & MSG_CTRUNC) != 0) return (-1); return (ret); ==== //depot/projects/hammer/share/man/man5/libmap.conf.5#2 (text+ko) ==== @@ -22,10 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man5/libmap.conf.5,v 1.1 2003/04/07 16:21:26 mdodd Exp $ +.\" $FreeBSD: src/share/man/man5/libmap.conf.5,v 1.2 2003/05/29 21:41:11 ru Exp $ .\" -.\" Note: The date here should be updated whenever a non-trivial -.\" change is made to the manual page. .Dd April 7, 2003 .Dt LIBMAP.CONF 5 .Os @@ -34,41 +32,44 @@ .Nd "configuration file for dynamic object dependency mapping" .Sh DESCRIPTION The -.Em libmap +.Nm libmap functionality of -.Nm ld-elf.so.1 +.Xr ld-elf.so.1 1 allows dynamic object dependencies to be mapped to arbitrary names. .Pp -The configuration file consists of two whitespace separated columns; the +The configuration file consists of two whitespace separated columns; the left hand side containing the mapping candidate and the right hand -side containing the mapping. Dependencies are matched against candidates -and replaced with the mappings. +side containing the mapping. +Dependencies are matched against candidates and replaced with the mappings. .Pp Constrained mappings may be specified by enclosing the name of the -executable or library in brackets. All mappings following a constraint -will only be evaluated for that constraint. Currently, constraints -are matched literally so that an executable with a fully qualified pathname -will only match the same constraint. This means that -.Em /usr/bin/foo +executable or library in brackets. +All mappings following a constraint will only be evaluated for that constraint. +Currently, constraints +are matched literally so that an executable with a fully qualified pathname +will only match the same constraint. +This means that +.Pa /usr/bin/foo will not match a constraint for -.Em foo +.Pa foo and vise-versa. .Pp -WARNING! Constrained mappings must never appear first in the configuration -file. While there is a way to specify the +WARNING! +Constrained mappings must never appear first in the configuration file. +While there is a way to specify the .Dq default constraint, its use is not recommended. .Pp The most common use at the date of writing is for allowing multiple -POSIX threading libraries to be used on a system without relinking or +.Tn POSIX +threading libraries to be used on a system without relinking or changing symlinks. .Pp -In order to enable this feature please see +In order to enable this feature please see .Pa src/libexec/rtld-elf/Makefile . .Sh EXAMPLE .Bd -literal - # /etc/libmap.conf # # candidate mapping @@ -98,14 +99,15 @@ The libmap configuration file. .El .Sh SEE ALSO +.Xr ldd 1 , .Xr rtld 1 -.Xr ldd 1 .Sh HISTORY The .Nm -manual page and libmap.conf functionality first appeared in +manual page and +.Nm libmap +functionality first appeared in .Fx 5.1 . .Sh AUTHORS -This -manual page was written by -.An Matthew N. Dodd . +This manual page was written by +.An Matthew N. Dodd Aq winter@jurai.net .