Date: Sat, 6 Feb 2010 11:48:16 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 174394 for review Message-ID: <201002061148.o16BmGDu007876@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=174394 Change 174394 by trasz@trasz_victim on 2010/02/06 11:47:49 IFC. Affected files ... .. //depot/projects/soc2009/trasz_limits/bin/pax/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/csup/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/csup/TODO#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/csup/auth.c#1 branch .. //depot/projects/soc2009/trasz_limits/contrib/csup/auth.h#1 branch .. //depot/projects/soc2009/trasz_limits/contrib/csup/config.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/csup/cpasswd.1#1 branch .. //depot/projects/soc2009/trasz_limits/contrib/csup/cpasswd.sh#1 branch .. //depot/projects/soc2009/trasz_limits/contrib/csup/csup.1#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/csup/main.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/csup/proto.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/netcat/FREEBSD-vendor#4 integrate .. //depot/projects/soc2009/trasz_limits/etc/defaults/rc.conf#12 integrate .. //depot/projects/soc2009/trasz_limits/etc/network.subr#9 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/Makefile#10 integrate .. //depot/projects/soc2009/trasz_limits/etc/rc.d/rtsold#1 branch .. //depot/projects/soc2009/trasz_limits/etc/services#4 integrate .. //depot/projects/soc2009/trasz_limits/games/morse/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/games/morse/morse.c#2 integrate .. //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/Makefile.inc#2 integrate .. //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/gdb/Makefile.alpha#2 delete .. //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/ld/Makefile.alpha#2 delete .. //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/libbfd/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/libbfd/Makefile.alpha#2 delete .. //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/libopcodes/Makefile.alpha#2 delete .. //depot/projects/soc2009/trasz_limits/gnu/usr.bin/groff/tmac/mdoc.local#6 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/getutxent.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/rand48.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/mips/sys/ptrace.S#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_opt_info.3#3 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_recvmsg.3#3 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_send.3#4 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_sendmsg.3#4 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_sys_calls.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/stdlib/malloc.3#3 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/stdlib/malloc.c#6 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/stdlib/ql.h#1 branch .. //depot/projects/soc2009/trasz_limits/lib/libc/stdlib/qr.h#1 branch .. //depot/projects/soc2009/trasz_limits/lib/libc/string/memccpy.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/string/memchr.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/string/memcmp.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/string/memset.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/string/strndup.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libefi/libefi.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libgpib/Makefile#4 integrate .. //depot/projects/soc2009/trasz_limits/lib/libgpib/gpib.3#1 branch .. //depot/projects/soc2009/trasz_limits/lib/libpam/modules/pam_unix/pam_unix.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/msun/amd64/fenv.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/msun/amd64/fenv.h#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/msun/i387/fenv.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/msun/i387/fenv.h#2 integrate .. //depot/projects/soc2009/trasz_limits/release/doc/en_US.ISO8859-1/hardware/article.sgml#6 integrate .. //depot/projects/soc2009/trasz_limits/release/doc/en_US.ISO8859-1/relnotes/article.sgml#6 integrate .. //depot/projects/soc2009/trasz_limits/sbin/camcontrol/camcontrol.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sbin/dump/itime.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/dump/main.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/geom/class/multipath/geom_multipath.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/ifcarp.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/iscontrol/iscontrol.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/iscontrol/pdu.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/mount_nfs/mount_nfs.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sbin/newfs/newfs.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/sysctl/sysctl.8#2 integrate .. //depot/projects/soc2009/trasz_limits/sbin/sysctl/sysctl.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sbin/umount/umount.c#4 integrate .. //depot/projects/soc2009/trasz_limits/share/examples/kld/cdev/test/Makefile#3 integrate .. //depot/projects/soc2009/trasz_limits/share/examples/kld/syscall/test/Makefile#3 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/gpib.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/pcii.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/tnt4882.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/misc/committers-src.dot#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/amd64/amd64_mem.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/ata/ata_all.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/ata/ata_da.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/ata/ata_pmp.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/ata/ata_xpt.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/cam_ccb.h#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/cam_xpt.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/sys/dkio.h#2 delete .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/uts/common/sys/dklabel.h#2 delete .. //depot/projects/soc2009/trasz_limits/sys/dev/acpica/acpi_cpu.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ahci/ahci.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ahci/ahci.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/ata-all.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/ata-all.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/atapi-cam.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/chipsets/ata-netcell.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/chipsets/ata-siliconimage.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/bge/if_bge.c#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ciss/ciss.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/e1000/if_em.c#10 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/e1000/if_igb.c#11 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/fb/vesa.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ieee488/ibfoo.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ieee488/pcii.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ieee488/tnt4882.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ieee488/tnt4882.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/dev/ieee488/upd7210.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ieee488/upd7210.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/isp.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/isp_freebsd.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/isp_library.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/isp_library.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/isp_pci.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/isp_sbus.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/ispmbox.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/isp/ispvar.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/mpt/mpt_cam.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/mpt/mpt_raid.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/pci/pci.c#10 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/pci/pcireg.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/pci/pcivar.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/siba.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/siba_bwn.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/siba_cc.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/siba_core.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/siba_ids.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/siba_pcib.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/sibareg.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siba/sibavar.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siis/siis.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/siis/siis.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/usb/serial/u3g.c#10 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/usb/usbdevs#16 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfsclient/nfs_clvfsops.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfsclient/nfs_clvnops.c#13 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfsclient/nfsmount.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfsclient/nfsnode.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/geom/geom_redboot.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/geom/virstor/g_virstor.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/gnu/fs/ext2fs/ext2_readwrite.c#5 delete .. //depot/projects/soc2009/trasz_limits/sys/i386/i386/pmap.c#13 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_shutdown.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_umtx.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/vfs_lookup.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/conf/SWARM#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/include/proc.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/mips/exception.S#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/mips/swtch.S#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/mips/trap.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/sibyte/sb_asm.S#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/sibyte/sb_machdep.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/sibyte/sb_scd.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/sibyte/sb_scd.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/sibyte/sb_zbbus.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/sibyte/sb_zbpci.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/Makefile#15 integrate .. //depot/projects/soc2009/trasz_limits/sys/modules/siba_bwn/Makefile#1 branch .. //depot/projects/soc2009/trasz_limits/sys/net/vnet.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/net/vnet.h#11 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_adhoc.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_hostap.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_ioctl.h#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_mesh.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_sta.c#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_wds.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/in.c#14 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/ip.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/sctp_input.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/tcp.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/powerpc/mpc85xx/pci_ocp.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/security/audit/audit_bsm.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/sun4v/include/bus.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sun4v/sun4v/bus_machdep.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/ata.h#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/fbio.h#3 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/bc/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/bc/bc.y#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/bc/extern.h#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/bc/scan.l#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/csup/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/dc/Makefile#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/dc/bcode.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/dc/bcode.h#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/dc/dc.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/dc/inout.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/dc/mem.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/dc/stack.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/gcore/extern.h#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/gcore/gcore.c#3 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/procstat/procstat.1#3 integrate .. //depot/projects/soc2009/trasz_limits/usr.bin/truss/mips-fbsd.c#4 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/powerd/Makefile#3 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/powerd/powerd.c#4 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/rtsold/rtsold.c#3 integrate Differences ... ==== //depot/projects/soc2009/trasz_limits/bin/pax/Makefile#2 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -# $FreeBSD: src/bin/pax/Makefile,v 1.12 2004/05/14 13:31:19 cognet Exp $ +# $FreeBSD: src/bin/pax/Makefile,v 1.13 2010/02/04 07:18:19 imp Exp $ # To install on versions prior to BSD 4.4 the following may have to be # defined with CFLAGS += @@ -33,8 +33,6 @@ #MAN= pax.1 tar.1 cpio.1 #LINKS= ${BINDIR}/pax ${BINDIR}/tar ${BINDIR}/pax ${BINDIR}/cpio -.if ${MACHINE_ARCH} == "arm" WARNS?= 3 -.endif .include <bsd.prog.mk> ==== //depot/projects/soc2009/trasz_limits/contrib/csup/Makefile#2 (text) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/contrib/csup/Makefile,v 1.2 2009/01/05 15:18:16 lulf Exp $ +# $FreeBSD: src/contrib/csup/Makefile,v 1.3 2010/02/02 05:57:42 lulf Exp $ PREFIX?= /usr/local BINDIR?= ${PREFIX}/bin @@ -7,7 +7,7 @@ UNAME!= /usr/bin/uname -s PROG= csup -SRCS= attrstack.c config.c detailer.c diff.c fattr.c fixups.c fnmatch.c \ +SRCS= attrstack.c auth.c config.c detailer.c diff.c fattr.c fixups.c fnmatch.c \ globtree.c idcache.c keyword.c lister.c main.c misc.c mux.c parse.y \ pathcomp.c proto.c status.c stream.c threads.c token.l updater.c \ rcsfile.c rcsparse.c lex.rcs.c rsyncfile.c @@ -42,4 +42,7 @@ DPADD= ${LIBCRYPTO} ${LIBZ} LDADD= -lcrypto -lz +SCRIPTS= cpasswd.sh +MAN= csup.1 cpasswd.1 + .include <bsd.prog.mk> ==== //depot/projects/soc2009/trasz_limits/contrib/csup/TODO#2 (text) ==== @@ -1,4 +1,4 @@ -$FreeBSD: src/contrib/csup/TODO,v 1.2 2009/01/05 15:18:16 lulf Exp $ +$FreeBSD: src/contrib/csup/TODO,v 1.3 2010/02/02 05:57:42 lulf Exp $ BUGS: @@ -17,7 +17,6 @@ MISSING FEATURES: -- Add support for authentication. - Add support for shell commands sent by the server. - Add missing support for various CVSup options : -D, -a (requires authentication support), -e and -E (requires shell commands support) ==== //depot/projects/soc2009/trasz_limits/contrib/csup/config.h#2 (text) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/contrib/csup/config.h,v 1.1.1.2 2006/03/14 03:51:12 mux Exp $ + * $FreeBSD: src/contrib/csup/config.h,v 1.2 2010/02/02 05:57:42 lulf Exp $ */ #ifndef _CONFIG_H_ #define _CONFIG_H_ @@ -108,6 +108,7 @@ struct chan *chan1; struct stream *server; fattr_support_t fasupport; + int reqauth; }; struct config *config_init(const char *, struct coll *, int); ==== //depot/projects/soc2009/trasz_limits/contrib/csup/csup.1#2 (text) ==== @@ -22,7 +22,7 @@ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $Id: cvsup.1,v 1.70 2003/03/04 18:23:46 jdp Exp $ -.\" $FreeBSD: src/contrib/csup/csup.1,v 1.2 2009/01/07 18:37:07 lulf Exp $ +.\" $FreeBSD: src/contrib/csup/csup.1,v 1.3 2010/02/02 05:57:42 lulf Exp $ .\" .Dd February 1, 2006 .Os FreeBSD @@ -32,7 +32,7 @@ .Nd network distribution package for CVS repositories .Sh SYNOPSIS .Nm -.Op Fl 146ksvzZ +.Op Fl 146aksvzZ .Op Fl A Ar addr .Op Fl b Ar base .Op Fl c Ar collDir @@ -106,6 +106,12 @@ Forces .Nm to use IPv6 addresses only. +.It Fl a +Requires the server to authenticate itself (prove its identity) to +the client. If authentication of the server fails, the update is +canceled. See +.Sx AUTHENTICATION , +below. .It Fl A Ar addr Specifies a local address to bind to when connecting to the server. The local address might be a hostname or a numeric host address string @@ -793,6 +799,102 @@ .It .Pa /bar/stool/src-all/refuse.cvs:RELENG_3 .El +.Sh AUTHENTICATION +.Nm +implements an optional authentication mechanism which can be used by the +client and server to verify each other's identities. +Public CVSup servers normally do not enable authentication. +.Nm +users may ignore this section unless they have been informed +that authentication is required by the administrator of their server. +.Pp +The authentication subsystem uses a +challenge-response protocol which is immune to packet sniffing and +replay attacks. No passwords are sent over the network in either +direction. Both the client and the server can independently verify +the identities of each other. +.Pp +The file +.Li $ Ns Ev HOME Ns Pa /.csup/auth +holds the information used for authentication. This file contains a +record for each server that the client is allowed to access. Each +record occupies one line in the file. Lines beginning with +.Ql # +are ignored, as are lines containing only white space. White space is +significant everywhere else in the file. Fields are separated by +.Ql \&: +characters. +.Pp +Each record of the file has the following form: +.Bd -literal -offset indent +.Sm off +.Xo Ar serverName No : Ar clientName No : +.Ar password No : Ar comment +.Xc +.Sm on +.Ed +.Pp +All fields must be present even if some of them are empty. +.Ar ServerName +is the name of the server to which the record applies. By convention, +it is the canonical fully-qualified domain name of the server, e.g., +.Ql CVSup177.FreeBSD.ORG . +This must agree with the server's own idea of its name. The name is +case-insensitive. +.Pp +.Ar ClientName +is the name the client uses to gain access to the server. By +convention, e-mail addresses are used for all client names, e.g., +.Ql BillyJoe@FreeBSD.ORG . +Client names are case-insensitive. +.Pp +.Ar Password +is a secret string of characters that the client uses to prove its +identity. It may not contain any +.Ql \&: +or newline characters. +.Pp +.Ar Comment +may contain any additional information to identify the record. It +is not interpreted by the program. +.Pp +To set up authentication for a given server, one must perform the +following steps: +.Bl -enum +.It +Obtain the official +.Ar serverName +from the administrator of the server or from some other source. +.It +Choose an appropriate +.Ar clientName . +It should be in the form of a valid e-mail address, to make it easy +for the server administrator to contact the user if necessary. +.It +Choose an arbitrary secret +.Ar password . +.It +Run the +.Nm cpasswd +utility, and type in the +.Ar password +when prompted for it. The utility will print out a line to send +to the server administrator, and instruct you how to modify your +.Li $ Ns Ev HOME Ns Pa /.csup/auth +file. You should use a secure channel to send the line to the +server administrator. +.El +.Pp +Since +.Li $ Ns Ev HOME Ns Pa /.csup/auth +contains passwords, you should ensure that it is not readable by +anyone except yourself. +.Pp +Authentication works independently in both directions. The server +administrator controls whether you must prove your identity. +You control whether to check the server's identity, by means of the +.Fl a +command line option. .Sh csup AND FIREWALLS In its default mode, .Nm @@ -865,6 +967,7 @@ List files. .El .Sh SEE ALSO +.Xr cpasswd 1 , .Xr cvs 1 , .Xr rcsintro 1 , .Xr ssh 1 . ==== //depot/projects/soc2009/trasz_limits/contrib/csup/main.c#2 (text) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/contrib/csup/main.c,v 1.1.1.2 2006/03/14 03:51:11 mux Exp $ + * $FreeBSD: src/contrib/csup/main.c,v 1.2 2010/02/02 05:57:42 lulf Exp $ */ #include <sys/file.h> @@ -60,6 +60,8 @@ "(same as \"-r 0\")"); lprintf(-1, USAGE_OPTFMT, "-4", "Force usage of IPv4 addresses"); lprintf(-1, USAGE_OPTFMT, "-6", "Force usage of IPv6 addresses"); + lprintf(-1, USAGE_OPTFMT, "-a", + "Require server to authenticate itself to us"); lprintf(-1, USAGE_OPTFMT, "-A addr", "Bind local socket to a specific address"); lprintf(-1, USAGE_OPTFMT, "-b base", @@ -107,7 +109,7 @@ struct stream *lock; char *argv0, *file, *lockfile; int family, error, lockfd, lflag, overridemask; - int c, i, deletelim, port, retries, status; + int c, i, deletelim, port, retries, status, reqauth; time_t nexttry; error = 0; @@ -124,9 +126,10 @@ lockfile = NULL; override = coll_new(NULL); overridemask = 0; + reqauth = 0; while ((c = getopt(argc, argv, - "146A:b:c:d:gh:i:kl:L:p:P:r:svzZ")) != -1) { + "146aA:b:c:d:gh:i:kl:L:p:P:r:svzZ")) != -1) { switch (c) { case '1': retries = 0; @@ -137,6 +140,10 @@ case '6': family = AF_INET6; break; + case 'a': + /* Require server authentication */ + reqauth = 1; + break; case 'A': error = getaddrinfo(optarg, NULL, NULL, &res); if (error) { @@ -303,6 +310,7 @@ config->laddrlen = laddrlen; } config->deletelim = deletelim; + config->reqauth = reqauth; lprintf(2, "Connecting to %s\n", config->host); i = 0; ==== //depot/projects/soc2009/trasz_limits/contrib/csup/proto.c#2 (text) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/contrib/csup/proto.c,v 1.3 2009/02/15 13:22:21 lulf Exp $ + * $FreeBSD: src/contrib/csup/proto.c,v 1.4 2010/02/02 05:57:42 lulf Exp $ */ #include <sys/param.h> @@ -45,6 +45,7 @@ #include <string.h> #include <unistd.h> +#include "auth.h" #include "config.h" #include "detailer.h" #include "fattr.h" @@ -74,7 +75,6 @@ static int proto_waitconnect(int); static int proto_greet(struct config *); static int proto_negproto(struct config *); -static int proto_login(struct config *); static int proto_fileattr(struct config *); static int proto_xchgcoll(struct config *); static struct mux *proto_mux(struct config *); @@ -251,56 +251,6 @@ return (STATUS_FAILURE); } -static int -proto_login(struct config *config) -{ - struct stream *s; - char hostbuf[MAXHOSTNAMELEN]; - char *line, *login, *host, *cmd, *realm, *challenge, *msg; - int error; - - s = config->server; - error = gethostname(hostbuf, sizeof(hostbuf)); - hostbuf[sizeof(hostbuf) - 1] = '\0'; - if (error) - host = NULL; - else - host = hostbuf; - login = getlogin(); - proto_printf(s, "USER %s %s\n", login != NULL ? login : "?", - host != NULL ? host : "?"); - stream_flush(s); - line = stream_getln(s, NULL); - cmd = proto_get_ascii(&line); - realm = proto_get_ascii(&line); - challenge = proto_get_ascii(&line); - if (challenge == NULL || line != NULL) - goto bad; - if (strcmp(realm, ".") != 0 || strcmp(challenge, ".") != 0) { - lprintf(-1, "Authentication required by the server and not " - "supported by client\n"); - return (STATUS_FAILURE); - } - proto_printf(s, "AUTHMD5 . . .\n"); - stream_flush(s); - line = stream_getln(s, NULL); - cmd = proto_get_ascii(&line); - if (cmd == NULL || line == NULL) - goto bad; - if (strcmp(cmd, "OK") == 0) - return (STATUS_SUCCESS); - if (strcmp(cmd, "!") == 0) { - msg = proto_get_rest(&line); - if (msg == NULL) - goto bad; - lprintf(-1, "Server error: %s\n", msg); - return (STATUS_FAILURE); - } -bad: - lprintf(-1, "Invalid server reply to AUTHMD5\n"); - return (STATUS_FAILURE); -} - /* * File attribute support negotiation. */ @@ -601,7 +551,7 @@ if (status == STATUS_SUCCESS) status = proto_negproto(config); if (status == STATUS_SUCCESS) - status = proto_login(config); + status = auth_login(config); if (status == STATUS_SUCCESS) status = proto_fileattr(config); if (status == STATUS_SUCCESS) ==== //depot/projects/soc2009/trasz_limits/contrib/netcat/FREEBSD-vendor#4 (text+ko) ==== @@ -1,5 +1,5 @@ -# $FreeBSD: src/contrib/netcat/FREEBSD-vendor,v 1.4 2009/12/08 19:12:38 delphij Exp $ +# $FreeBSD: src/contrib/netcat/FREEBSD-vendor,v 1.5 2010/02/02 00:30:44 delphij Exp $ Project: netcat (aka src/usr.bin/nc in OpenBSD) ProjectURL: http://www.openbsd.org/ -Version: 4.5 +Version: 4.6 License: BSD ==== //depot/projects/soc2009/trasz_limits/etc/defaults/rc.conf#12 (text+ko) ==== @@ -15,7 +15,7 @@ # For a more detailed explanation of all the rc.conf variables, please # refer to the rc.conf(5) manual page. # -# $FreeBSD: src/etc/defaults/rc.conf,v 1.367 2010/01/17 08:41:07 ume Exp $ +# $FreeBSD: src/etc/defaults/rc.conf,v 1.368 2010/02/03 16:18:42 ume Exp $ ############################################################## ### Important initial Boot-time options #################### @@ -460,6 +460,10 @@ # Now this works only for IPv6 link local # multicast addrs. rtsol_flags="" # Flags to IPv6 router solicitation. +rtsold_enable="NO" # Set to YES to enable an IPv6 router + # solicitation daemon. +rtsold_flags="-a" # Flags to an IPv6 router solicitation + # daemon. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # advertisement daemon. If set to YES, # this router becomes a possible candidate ==== //depot/projects/soc2009/trasz_limits/etc/network.subr#9 (text+ko) ==== @@ -22,7 +22,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $FreeBSD: src/etc/network.subr,v 1.205 2009/12/29 21:06:49 jhb Exp $ +# $FreeBSD: src/etc/network.subr,v 1.206 2010/02/03 16:18:42 ume Exp $ # # @@ -882,7 +882,9 @@ { if ipv6_autoconfif $1; then ifconfig $1 inet6 accept_rtadv up - rtsol ${rtsol_flags} $1 + if ! checkyesno rtsold_enable; then + rtsol ${rtsol_flags} $1 + fi fi } ==== //depot/projects/soc2009/trasz_limits/etc/rc.d/Makefile#10 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/etc/rc.d/Makefile,v 1.102 2009/12/02 15:05:26 ume Exp $ +# $FreeBSD: src/etc/rc.d/Makefile,v 1.103 2010/02/03 16:18:42 ume Exp $ .include <bsd.own.mk> @@ -30,7 +30,7 @@ powerd power_profile ppp pppoed pwcheck \ quota \ random rarpd resolv rfcomm_pppd_server root \ - route6d routed routing rpcbind rtadvd rwho \ + route6d routed routing rpcbind rtadvd rtsold rwho \ savecore sdpd securelevel sendmail \ serial sppp statd static_arp stf swap1 \ syscons sysctl syslogd \ ==== //depot/projects/soc2009/trasz_limits/etc/services#4 (text+ko) ==== @@ -16,7 +16,7 @@ # Kerberos services are for Kerberos v4, and are unofficial. Sites running # v5 should uncomment v5 entries and comment v4 entries. # -# $FreeBSD: src/etc/services,v 1.116 2010/01/27 11:23:21 edwin Exp $ +# $FreeBSD: src/etc/services,v 1.117 2010/02/01 13:30:06 ume Exp $ # From: @(#)services 5.8 (Berkeley) 5/9/91 # # WELL KNOWN PORT NUMBERS @@ -2225,6 +2225,8 @@ nuts_dem 4132/udp #NUTS Daemon nuts_bootp 4133/tcp #NUTS Bootp Server nuts_bootp 4133/udp #NUTS Bootp Server +sieve 4190/tcp #ManageSieve Protocol +sieve 4190/udp #ManageSieve Protocol rwhois 4321/tcp #Remote Who Is rwhois 4321/udp #Remote Who Is unicall 4343/tcp ==== //depot/projects/soc2009/trasz_limits/games/morse/Makefile#2 (text+ko) ==== @@ -1,11 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -# $FreeBSD: src/games/morse/Makefile,v 1.8 2005/11/11 09:57:32 ru Exp $ +# $FreeBSD: src/games/morse/Makefile,v 1.9 2010/02/04 07:08:06 imp Exp $ PROG= morse MAN= morse.6 -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" -CFLAGS += -DSPEAKER=\"/dev/speaker\" -.endif - .include <bsd.prog.mk> ==== //depot/projects/soc2009/trasz_limits/games/morse/morse.c#2 (text+ko) ==== @@ -47,7 +47,7 @@ static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93"; #endif static const char rcsid[] = - "$FreeBSD: src/games/morse/morse.c,v 1.22 2008/06/08 19:35:47 scf Exp $"; + "$FreeBSD: src/games/morse/morse.c,v 1.23 2010/02/04 07:08:06 imp Exp $"; #endif /* not lint */ #include <sys/time.h> @@ -63,6 +63,9 @@ #include <termios.h> #include <unistd.h> +/* Always use the speaker, let the open fail if -p is selected */ +#define SPEAKER "/dev/speaker" + #ifdef SPEAKER #include <dev/speaker/speaker.h> #endif ==== //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/Makefile.inc#2 (text+ko) ==== @@ -1,9 +1,5 @@ -# $FreeBSD: src/gnu/usr.bin/binutils/Makefile.inc,v 1.9 2006/09/12 19:24:01 obrien Exp $ +# $FreeBSD: src/gnu/usr.bin/binutils/Makefile.inc,v 1.10 2010/02/03 02:39:08 imp Exp $ -.if (${TARGET_ARCH} == "alpha") -WARNS?= 2 -.else WARNS?= 3 -.endif .include "../Makefile.inc" ==== //depot/projects/soc2009/trasz_limits/gnu/usr.bin/binutils/libbfd/Makefile#2 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/gnu/usr.bin/binutils/libbfd/Makefile,v 1.33 2004/10/24 15:32:25 ru Exp $ +# $FreeBSD: src/gnu/usr.bin/binutils/libbfd/Makefile,v 1.34 2010/02/03 18:29:35 imp Exp $ .include "../Makefile.inc0" @@ -11,8 +11,7 @@ section.c srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \ targmatch.h dwarf1.c dwarf2.c config.h bfdver.h bfdio.c simple.c WARNS?= 0 -.if (${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "ia64" || \ - ${TARGET_ARCH} == "sparc64") +.if (${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64") WARNS?= 2 .endif CFLAGS+= -D_GNU_SOURCE ==== //depot/projects/soc2009/trasz_limits/gnu/usr.bin/groff/tmac/mdoc.local#6 (text+ko) ==== @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/gnu/usr.bin/groff/tmac/mdoc.local,v 1.72 2010/01/15 14:05:06 ru Exp $ +.\" $FreeBSD: src/gnu/usr.bin/groff/tmac/mdoc.local,v 1.73 2010/02/01 20:54:45 joerg Exp $ .\" .\" %beginstrip% . @@ -46,6 +46,7 @@ .ds doc-str-Lb-libelf ELF Parsing Library (libelf, \-lelf) .ds doc-str-Lb-libfetch File Transfer Library (libfetch, \-lfetch) .ds doc-str-Lb-libgeom Userland API Library for kernel GEOM subsystem (libgeom, \-lgeom) +.ds doc-str-Lb-libgpib General-Purpose Instrument Bus (GPIB) library (libgpib, \-lgpib) .ds doc-str-Lb-libipx IPX Address Conversion Support Library (libipx, \-lipx) .ds doc-str-Lb-libjail Jail Library (libjail, \-ljail) .ds doc-str-Lb-libkiconv Kernel side iconv library (libkiconv, \-lkiconv) ==== //depot/projects/soc2009/trasz_limits/lib/libc/gen/getutxent.3#2 (text+ko) ==== @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/gen/getutxent.3,v 1.7 2010/01/23 17:58:40 ed Exp $ +.\" $FreeBSD: src/lib/libc/gen/getutxent.3,v 1.8 2010/02/03 19:31:02 ed Exp $ .\" .Dd January 8, 2010 .Os @@ -426,8 +426,10 @@ .Fa ut_type . This prevents the need for special utility functions to update the other databases, such as the +.Fn updlastlogx +and .Fn updwtmpx -function which is often available in other implementations. +functions which are available in other implementations. It also tries to replace .Dv DEAD_PROCESS entries in the active sessions database when storing ==== //depot/projects/soc2009/trasz_limits/lib/libc/gen/rand48.3#2 (text+ko) ==== @@ -10,9 +10,9 @@ .\" to anyone/anything when using this software. .\" .\" @(#)rand48.3 V1.0 MB 8 Oct 1993 -.\" $FreeBSD: src/lib/libc/gen/rand48.3,v 1.17 2005/01/20 09:17:02 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/rand48.3,v 1.19 2010/02/02 19:44:51 gavin Exp $ .\" -.Dd October 8, 1993 +.Dd February 2, 2010 .Dt RAND48 3 .Os .Sh NAME @@ -57,7 +57,7 @@ particular formula employed is r(n+1) = (a * r(n) + c) mod m where the default values are -for the multiplicand a = 0xfdeece66d = 25214903917 and +for the multiplicand a = 0x5deece66d = 25214903917 and the addend c = 0xb = 11. The modulo is always fixed at m = 2 ** 48. r(n) is called the seed of the random number generator. ==== //depot/projects/soc2009/trasz_limits/lib/libc/mips/sys/ptrace.S#2 (text+ko) ==== @@ -33,7 +33,7 @@ */ #include <machine/asm.h> -__FBSDID("$FreeBSD: src/lib/libc/mips/sys/ptrace.S,v 1.3 2008/04/26 12:08:02 imp Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/mips/sys/ptrace.S,v 1.6 2010/02/04 05:49:59 neel Exp $"); #include "SYS.h" #if defined(LIBC_SCCS) && !defined(lint) @@ -42,14 +42,26 @@ #endif /* LIBC_SCCS and not lint */ LEAF(ptrace) + .frame sp, 40, ra + .mask 0x80000000, -8 #ifdef __ABICALLS__ .set noreorder .cpload t9 .set reorder #endif + subu sp, sp, 40 + sw ra, 32(sp) +#ifdef __ABICALLS__ + .cprestore 16 +#endif la t9, _C_LABEL(__error) # locate address of errno jalr t9 +#ifdef __ABICALLS__ + lw gp, 16(sp) +#endif sw zero, 0(v0) + lw ra, 32(sp) + addu sp, sp, 40 li v0, SYS_ptrace syscall bne a3, zero, 1f ==== //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_opt_info.3#3 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)send.2 8.2 (Berkeley) 2/21/94 -.\" $FreeBSD: src/lib/libc/net/sctp_opt_info.3,v 1.5 2010/01/12 21:45:03 brueffer Exp $ +.\" $FreeBSD: src/lib/libc/net/sctp_opt_info.3,v 1.6 2010/01/31 21:45:14 brucec Exp $ .\" .Dd December 15, 2006 .Dt SCTP_OPT_INFO 3 @@ -87,6 +87,8 @@ .Dv SCTP_PEER_AUTH_CHUNKS .Pp .Dv SCTP_LOCAL_AUTH_CHUNKS +.Sh RETURN VALUES +The call returns 0 on success and -1 upon error. .Sh ERRORS The .Fn sctp_opt_info ==== //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_recvmsg.3#3 (text+ko) ==== @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/net/sctp_recvmsg.3,v 1.6 2010/01/12 21:45:03 brueffer Exp $ +.\" $FreeBSD: src/lib/libc/net/sctp_recvmsg.3,v 1.7 2010/01/31 21:45:14 brucec Exp $ .\" .Dd August 13, 2007 .Dt SCTP_RECVMSG 3 @@ -269,7 +269,7 @@ but may be caused by transient congestion. .It Bq Er EHOSTUNREACH The remote host was unreachable. -.It Bq Er ENOTCON +.It Bq Er ENOTCONN On a one-to-one style socket no association exists. .It Bq Er ECONNRESET An abort was received by the stack while the user was ==== //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_send.3#4 (text+ko) ==== @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/net/sctp_send.3,v 1.6 2010/01/12 21:45:03 brueffer Exp $ +.\" $FreeBSD: src/lib/libc/net/sctp_send.3,v 1.7 2010/01/31 21:45:14 brucec Exp $ .\" .Dd December 15, 2006 .Dt SCTP_SEND 3 @@ -319,7 +319,7 @@ but may be caused by transient congestion. .It Bq Er EHOSTUNREACH The remote host was unreachable. -.It Bq Er ENOTCON +.It Bq Er ENOTCONN On a one-to-one style socket no association exists. .It Bq Er ECONNRESET An abort was received by the stack while the user was ==== //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_sendmsg.3#4 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)send.2 8.2 (Berkeley) 2/21/94 -.\" $FreeBSD: src/lib/libc/net/sctp_sendmsg.3,v 1.6 2010/01/12 21:45:03 brueffer Exp $ +.\" $FreeBSD: src/lib/libc/net/sctp_sendmsg.3,v 1.7 2010/01/31 21:45:14 brucec Exp $ .\" .Dd December 15, 2006 .Dt SCTP_SENDMSG 3 @@ -296,7 +296,7 @@ but may be caused by transient congestion. .It Bq Er EHOSTUNREACH The remote host was unreachable. -.It Bq Er ENOTCON +.It Bq Er ENOTCONN On a one-to-one style socket no association exists. .It Bq Er ECONNRESET An abort was received by the stack while the user was ==== //depot/projects/soc2009/trasz_limits/lib/libc/net/sctp_sys_calls.c#2 (text+ko) ==== @@ -29,7 +29,7 @@ * SUCH DAMAGE. */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/lib/libc/net/sctp_sys_calls.c,v 1.14 2007/07/24 20:06:01 rrs Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/net/sctp_sys_calls.c,v 1.15 2010/01/31 21:47:39 brucec Exp $"); #include <stdio.h> #include <string.h> #include <errno.h> @@ -784,7 +784,7 @@ free(buf); if (ret != 0) { if (errno == EALREADY) { - no_end_cx = 1;; + no_end_cx = 1; goto continue_send; } return (ret); ==== //depot/projects/soc2009/trasz_limits/lib/libc/stdlib/malloc.3#3 (text+ko) ==== @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)malloc.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/stdlib/malloc.3,v 1.81 2009/09/26 18:20:40 alc Exp $ +.\" $FreeBSD: src/lib/libc/stdlib/malloc.3,v 1.82 2010/01/31 23:16:10 jasone Exp $ .\" -.Dd September 26, 2009 +.Dd January 31, 2010 .Dt MALLOC 3 .Os .Sh NAME @@ -55,9 +55,7 @@ .Ft const char * .Va _malloc_options ; .Ft void -.Fo \*(lp*_malloc_message\*(rp -.Fa "const char *p1" "const char *p2" "const char *p3" "const char *p4" -.Fc +.Fn \*(lp*_malloc_message\*(rp "const char *p1" "const char *p2" "const char *p3" "const char *p4" .In malloc_np.h .Ft size_t .Fn malloc_usable_size "const void *ptr" @@ -124,7 +122,9 @@ This is a .Fx specific API designed to ease the problems with traditional coding styles -for realloc causing memory leaks in libraries. +for +.Fn realloc +causing memory leaks in libraries. .Pp The .Fn free @@ -184,18 +184,6 @@ The process will call .Xr abort 3 in these cases. -.It B -Double/halve the per-arena lock contention threshold at which a thread is -randomly re-assigned to an arena. -This dynamic load balancing tends to push threads away from highly contended >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002061148.o16BmGDu007876>