PERFORCE change 57578 for review
David Xu
davidxu at FreeBSD.org
Sat Jul 17 19:58:19 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=57578
Change 57578 by davidxu at davidxu_alona on 2004/07/18 02:57:48
IFC @57576
Affected files ...
.. //depot/projects/davidxu_ksedbg/src/MAINTAINERS#3 integrate
.. //depot/projects/davidxu_ksedbg/src/Makefile#3 integrate
.. //depot/projects/davidxu_ksedbg/src/UPDATING#5 integrate
.. //depot/projects/davidxu_ksedbg/src/bin/date/date.1#4 integrate
.. //depot/projects/davidxu_ksedbg/src/contrib/smbfs/examples/dot.nsmbrc#2 integrate
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/alpha/config.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/amd64/config.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/i386/config.h#5 integrate
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/ia64/config.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/sparc64/config.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#12 edit
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/tar/Makefile#2 integrate
.. //depot/projects/davidxu_ksedbg/src/include/wchar.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libc/gen/vis.3#4 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/Makefile.inc#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/fgetln.3#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/fgetln.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/fgetwln.3#1 branch
.. //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/fgetwln.c#1 branch
.. //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/local.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libc/sys/getfsstat.2#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libc/sys/recv.2#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libthread_db/include/thread_db.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/lib/libthread_db/pthread/pthread_db.c#8 edit
.. //depot/projects/davidxu_ksedbg/src/lib/msun/src/math.h#4 integrate
.. //depot/projects/davidxu_ksedbg/src/release/scripts/print-cdrom-packages.sh#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sbin/mount_unionfs/mount_unionfs.8#3 integrate
.. //depot/projects/davidxu_ksedbg/src/share/examples/Makefile#2 integrate
.. //depot/projects/davidxu_ksedbg/src/share/examples/kld/cdev/module/cdev.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/share/examples/kld/cdev/module/cdevmod.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/share/man/man4/fdc.4#2 integrate
.. //depot/projects/davidxu_ksedbg/src/share/man/man4/mac_biba.4#3 integrate
.. //depot/projects/davidxu_ksedbg/src/share/man/man4/mac_mls.4#3 integrate
.. //depot/projects/davidxu_ksedbg/src/share/man/man9/suser.9#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/alpha/alpha/pmap.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/alpha/alpha/promcons.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/alpha/tlsb/zs_tlsb.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/amd64/amd64/pmap.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/amd64/conf/GENERIC#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/boot/forth/loader.conf#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/compat/ia32/ia32_sysvec.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/compat/linux/linux_socket.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/conf/NOTES#8 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/conf/files#8 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/conf/files.amd64#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/conf/files.i386#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/contrib/pf/net/pf.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/acpica/acpi.c#6 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/acpica/acpi_acad.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/acpica/acpi_cmbat.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/acpica/acpi_if.m#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/acpica/acpi_video.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/ata/ata-chipset.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/cx/if_cx.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/cy/cy.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/dcons/dcons.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/digi/digi.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc_acpi.c#1 branch
.. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc_isa.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc_pccard.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdcvar.h#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/firewire/fwohci_pci.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/firewire/fwohcireg.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/nmdm/nmdm.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/ofw/ofw_console.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/rc/rc.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/rp/rp.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sab/sab.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/si/si.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sio/sio.c#6 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/snp/snp.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/ad1816.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/es1888.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/ess.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/gusc.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/mss.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/sb16.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/sb8.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/isa/sbc.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/als4000.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/au88x0.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/aureal.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/cmi.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/cs4281.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/csa.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/csapcm.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/ds1.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/emu10k1.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/es137x.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/fm801.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/ich.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/maestro.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/maestro3.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/neomagic.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/solo.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/t4dwave.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/via8233.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/via82c686.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pci/vibes.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pcm/sound.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/pcm/sound.h#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sound/usb/uaudio_pcm.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/sx/sx.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/syscons/syscons.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/syscons/sysmouse.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/uart/uart_tty.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/usb/ehci.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/usb/ubser.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/usb/ucom.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/dev/zs/zs.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/i386/acpica/acpi_wakeup.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/i386/i386/pmap.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/i386/i386/swtch.s#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/i386/isa/pcvt/pcvt_drv.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/ia64/ia64/pmap.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/ia64/ia64/ssc.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/ia64/include/pmap.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/isa/psm.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_kse.c#7 edit
.. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_prot.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_sig.c#11 edit
.. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_switch.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_synch.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_thread.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/sched_4bsd.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/sched_ule.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/subr_prof.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/subr_trap.c#4 edit
.. //depot/projects/davidxu_ksedbg/src/sys/kern/sys_process.c#13 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/tty.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/tty_conf.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/tty_pty.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/tty_subr.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/uipc_socket.c#6 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/uipc_syscalls.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/kern/uipc_usrreq.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/libkern/qsort.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/libkern/qsort_r.c#1 branch
.. //depot/projects/davidxu_ksedbg/src/sys/modules/fdc/Makefile#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/modules/sound/Makefile#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/modules/sound/sound/Makefile#1 branch
.. //depot/projects/davidxu_ksedbg/src/sys/net/ppp_tty.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/netgraph/ng_ppp.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/netinet/ip_fw2.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/netinet/ip_icmp.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/netinet/tcp_syncache.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/netinet/tcp_usrreq.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/netinet/tcp_var.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/pc98/conf/GENERIC#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/pc98/conf/GENERIC.hints#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/pc98/pc98/fd.c#4 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/pc98/pc98/fdc_cbus.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/pc98/pc98/fdcvar.h#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/pc98/pc98/sio.c#6 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/powerpc/powerpc/elf_machdep.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/powerpc/powerpc/pmap.c#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/rpc/rpcclnt.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/security/mac_biba/mac_biba.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/security/mac_biba/mac_biba.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/security/mac_mls/mac_mls.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/security/mac_mls/mac_mls.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sparc64/sparc64/pmap.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/libkern.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/mbuf.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/mount.h#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/proc.h#9 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/resourcevar.h#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/socket.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/syscallsubr.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/systm.h#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/sys/tty.h#5 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/vm/vm_map.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/sys/vm/vm_pageout.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/tools/regression/netatalk/simple_send/Makefile#1 branch
.. //depot/projects/davidxu_ksedbg/src/tools/regression/netatalk/simple_send/simple_send.c#1 branch
.. //depot/projects/davidxu_ksedbg/src/tools/regression/security/proc_to_proc/scenario.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/tools/regression/sockets/accept_fd_leak/Makefile#1 branch
.. //depot/projects/davidxu_ksedbg/src/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c#1 branch
.. //depot/projects/davidxu_ksedbg/src/usr.bin/apply/apply.1#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/colrm/colrm.1#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/finger/finger.1#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/fmt/fmt.1#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/hexdump/Makefile#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/hexdump/conv.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/jot/jot.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/look/look.1#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/make/make.1#4 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/rev/rev.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/rs/rs.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/sed/sed.1#6 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/tar/Makefile#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/tar/bsdtar.c#7 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/tar/bsdtar.h#4 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/alpha-fbsd.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/amd64-fbsd.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/extern.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/i386-fbsd.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/i386-linux.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/ia64-fbsd.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/main.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/sparc64-fbsd.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/syscall.h#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/truss/syscalls.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/ul/ul.1#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/wall/wall.1#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.bin/write/write.1#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/amd/include/config.h#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/burncd/burncd.8#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/lptcontrol/lptcontrol.8#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/ppp/command.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/ppp/ipcp.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/ppp/log.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/ppp/log.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/ppp/ppp.8.m4#4 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/ppp/radius.c#3 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/ppp/radius.h#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/rpc.lockd/lock_proc.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/rpc.lockd/lockd.c#2 integrate
.. //depot/projects/davidxu_ksedbg/src/usr.sbin/rpc.lockd/lockd_lock.c#2 integrate
Differences ...
==== //depot/projects/davidxu_ksedbg/src/MAINTAINERS#3 (text+ko) ====
@@ -1,4 +1,4 @@
-$FreeBSD: src/MAINTAINERS,v 1.92 2004/07/02 19:40:36 pjd Exp $
+$FreeBSD: src/MAINTAINERS,v 1.95 2004/07/17 20:22:24 alfred Exp $
subsystem login notes
-----------------------------
@@ -97,7 +97,10 @@
geom_nop pjd Pre-commit review requested.
geom_stripe pjd Pre-commit review requested.
sbin/geom pjd Pre-commit review requested.
-
+nfs alfred Will be happy to review code, but not mandatory.
+rpc.lockd alfred Will be happy to review code, but not mandatory.
+truss alfred Will be happy to review code, but not mandatory.
+rpc alfred Pre-commit review requested.
Following are the entries from the Makefiles, and a few other sources.
Please remove stale entries from both their origin, and this file.
==== //depot/projects/davidxu_ksedbg/src/Makefile#3 (text+ko) ====
@@ -1,5 +1,5 @@
#
-# $FreeBSD: src/Makefile,v 1.300 2004/07/09 13:55:50 phk Exp $
+# $FreeBSD: src/Makefile,v 1.303 2004/07/18 01:19:33 obrien Exp $
#
# The user-driven targets are:
#
@@ -144,14 +144,17 @@
# Set a reasonable default
.MAIN: all
+.if defined(I_KNOW_WHAT_IM_DOING_THANKYOU_VERY_MUCH) || defined(DESTDIR)
.if make(world)
STARTTIME!= LC_ALL=C date
.endif
#
# world
#
-# Attempt to rebuild and reinstall *everything*, with reasonable chance of
-# success, regardless of how old your existing system is.
+# Attempt to rebuild and reinstall everything. This target is not to be
+# used for upgrading an existing FreeBSD system, because the kernel is
+# not included. One can argue that this target doesn't build everything
+# then.
#
world: upgrade_checks
@echo "--------------------------------------------------------------"
@@ -178,6 +181,17 @@
@echo ">>> make world completed on `LC_ALL=C date`"
@echo " (started ${STARTTIME})"
@echo "--------------------------------------------------------------"
+.else
+world:
+ @echo "WARNING: make world will overwrite your existing FreeBSD"
+ @echo "installation without also building and installing a new"
+ @echo "kernel. This can be dangerous. Please read the handbook,"
+ @echo "'Using make world', for how to upgrade your system."
+ @echo "Define DESTDIR to the where you want to install FreeBSD,"
+ @echo "including /, to override this warning and proceed as usual."
+ @echo "Bailing out now..."
+ @false
+.endif
#
# kernel
==== //depot/projects/davidxu_ksedbg/src/UPDATING#5 (text+ko) ====
@@ -17,6 +17,11 @@
developers choose to disable these features on build machines
to maximize performance.
+20040716:
+ The sound device drivers are renamed. `sound' is always required,
+ while `snd_*' should be configured accordingly to your hardware.
+ Refer to NOTES for the detail of the drivers.
+
20040710:
__FreeBSD_version bumped to 502122.
@@ -1714,4 +1719,4 @@
Contact Warner Losh if you have any questions about your use of
this document.
-$FreeBSD: src/UPDATING,v 1.325 2004/07/11 13:26:44 simon Exp $
+$FreeBSD: src/UPDATING,v 1.326 2004/07/16 04:04:29 tanimura Exp $
==== //depot/projects/davidxu_ksedbg/src/bin/date/date.1#4 (text+ko) ====
@@ -29,7 +29,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
-.\" $FreeBSD: src/bin/date/date.1,v 1.66 2004/07/03 00:03:25 ru Exp $
+.\" $FreeBSD: src/bin/date/date.1,v 1.67 2004/07/17 00:26:31 alfred Exp $
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -328,6 +328,14 @@
sets the time to
.Li "2:32 PM" ,
without modifying the date.
+.Pp
+Finally the command:
+.Pp
+.Dl "date -j -f ""%a %b %d %T %Z %Y"" ""`date`"" ""+%s"""
+.Pp
+can be used to parse the ouput from
+.Nm
+and express it in epoch time.
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :
==== //depot/projects/davidxu_ksedbg/src/contrib/smbfs/examples/dot.nsmbrc#2 (text+ko) ====
@@ -1,10 +1,11 @@
# $Id: dot.nsmbrc,v 1.7 2002/04/10 04:21:11 bp Exp $
+# $FreeBSD: src/contrib/smbfs/examples/dot.nsmbrc,v 1.2 2004/07/17 14:38:42 bp Exp $
#
# Example for .nsmbrc file
#
# smbfs lookups configuration files in next order:
# 1. ~/.nsmbrc
-# 2. /usr/local/etc/nsmb.conf - if this file found it will
+# 2. /etc/nsmb.conf - if this file found it will
# override values with same keys from user files.
#
#
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/alpha/config.h#2 (text+ko) ====
@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/alpha/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/alpha/config.h,v 1.2 2004/07/16 05:03:41 marcel Exp $ */
/* config.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
@@ -502,7 +502,7 @@
#define HAVE_FPREGSET_T 1
/* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
/* Define if <sys/procfs.h> has prfpregset_t. */
#define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
#define HAVE_LWPID_T 1
/* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
/* Define if <sys/procfs.h> has prsysent_t. */
/* #undef HAVE_PRSYSENT_T */
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/amd64/config.h#2 (text+ko) ====
@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/amd64/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/amd64/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
/* config.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
@@ -502,7 +502,7 @@
#define HAVE_FPREGSET_T 1
/* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
/* Define if <sys/procfs.h> has prfpregset_t. */
#define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
#define HAVE_LWPID_T 1
/* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
/* Define if <sys/procfs.h> has prsysent_t. */
/* #undef HAVE_PRSYSENT_T */
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/i386/config.h#5 (text+ko) ====
@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/i386/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/i386/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
/* config.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/ia64/config.h#2 (text+ko) ====
@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/ia64/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/ia64/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
/* config.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
@@ -502,7 +502,7 @@
#define HAVE_FPREGSET_T 1
/* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
/* Define if <sys/procfs.h> has prfpregset_t. */
#define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
#define HAVE_LWPID_T 1
/* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
/* Define if <sys/procfs.h> has prsysent_t. */
/* #undef HAVE_PRSYSENT_T */
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/arch/sparc64/config.h#2 (text+ko) ====
@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/sparc64/config.h,v 1.1 2004/06/25 06:48:54 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/sparc64/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
/* config.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
@@ -502,7 +502,7 @@
#define HAVE_FPREGSET_T 1
/* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
/* Define if <sys/procfs.h> has prfpregset_t. */
#define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
#define HAVE_LWPID_T 1
/* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
/* Define if <sys/procfs.h> has prsysent_t. */
/* #undef HAVE_PRSYSENT_T */
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#12 (text+ko) ====
@@ -1,3 +1,4 @@
+/* $FreeBSD: src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c,v 1.2 2004/07/16 06:11:48 davidxu Exp $ */
/* FreeBSD libthread_db assisted debugging support.
Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
@@ -69,7 +70,7 @@
static td_thragent_t *thread_agent;
/* The last thread we are single stepping */
-static ptid_t last_single_step_thread;
+static lwpid_t last_single_step_lwp;
/* Pointers to the libthread_db functions. */
@@ -382,7 +383,7 @@
td_thrinfo_t ti;
ptid_t work_ptid;
int resume_all, ret;
- long lwp, thvalid = 0;
+ long lwp;
#if 0
printf_filtered("%s ptid=%ld.%ld.%ld step=%d\n", __func__,
@@ -398,7 +399,7 @@
return;
}
- if (GET_PID(ptid) != -1 && step != 0)
+ if (GET_PID (ptid) != -1 && step != 0)
{
resume_all = 0;
work_ptid = ptid;
@@ -431,49 +432,59 @@
ret = td_thr_get_info_p (&th, &ti);
if (ret)
error (thread_db_err_str (ret));
- thvalid = 1;
lwp = ti.ti_lid;
}
+ if (!resume_all && lwp == 0)
+ {
+ error ("sorry this version of FreeBSD can not resume inactivated thread");
+ }
+
if (lwp)
{
int req = step ? PT_SETSTEP : PT_CLEARSTEP;
- if (ptrace (req, (pid_t) lwp, (caddr_t) 1, target_signal_to_host(signo)))
+ if (ptrace (req, (pid_t) lwp, 0, 0))
perror_with_name ("PT_SETSTEP/PT_CLEARSTEP");
}
- if (!ptid_equal (last_single_step_thread, null_ptid))
+ int nlwps = ptrace (PT_GETNUMLWPS, proc_handle.pid, 0, 0);
+ if (nlwps == -1)
+ perror_with_name ("PT_GETNUMLWPS");
+ lwpid_t *lwps = malloc (nlwps * sizeof(lwpid_t));
+ nlwps = ptrace (PT_GETLWPLIST, proc_handle.pid, (caddr_t)lwps, nlwps);
+ if (nlwps == -1)
{
- ret = td_ta_thr_iter_p (thread_agent, resume_thread_callback, NULL,
- TD_THR_ANY_STATE, TD_THR_LOWEST_PRIORITY,
- TD_SIGNO_MASK, TD_THR_ANY_USER_FLAGS);
- if (ret != TD_OK)
- error ("resume error: %s", thread_db_err_str (ret));
+ perror_with_name ("PT_GETLWPLIST");
+ free (lwps);
}
- if (!resume_all)
+ int i;
+ if (last_single_step_lwp != 0)
{
- ret = td_ta_thr_iter_p (thread_agent, suspend_thread_callback, NULL,
- TD_THR_ANY_STATE, TD_THR_LOWEST_PRIORITY,
- TD_SIGNO_MASK, TD_THR_ANY_USER_FLAGS);
- if (ret != TD_OK)
- error ("suspend error: %s", thread_db_err_str (ret));
- last_single_step_thread = work_ptid;
+ /* resume all threads if ever suspend them */
+ for (i = 0; i < nlwps; ++i)
+ {
+ if (ptrace (PT_RESUME, lwps[i], 0, 0))
+ perror_with_name ("PT_SUSPEND");
+ }
}
- else
- last_single_step_thread = null_ptid;
- if (thvalid)
+ if (!resume_all)
{
- ret = td_thr_dbresume_p (&th);
- if (ret != TD_OK)
- error ("resume error: %s", thread_db_err_str (ret));
+ for (i = 0; i < nlwps; ++i)
+ {
+ if (lwps[i] == lwp)
+ continue;
+ if (ptrace (PT_SUSPEND, lwps[i], 0, 0))
+ perror_with_name ("PT_SUSPEND");
+ }
+ last_single_step_lwp = lwp;
}
else
- {
- /* it is not necessary, put it here for completness */
- ret = ptrace(PT_RESUME, lwp, 0, 0);
- }
+ last_single_step_lwp = 0;
+
+ free (lwps);
+/* ret = ptrace(PT_RESUME, lwp, 0, 0); */
/* now continue the process, suspended thread wont run */
if (ptrace (PT_CONTINUE, proc_handle.pid , (caddr_t)1,
@@ -1024,66 +1035,50 @@
ps_err_e
ps_lgetregs (struct ps_prochandle *ph, lwpid_t lwpid, prgregset_t gregset)
{
- struct cleanup *old_chain;
-
- old_chain = save_inferior_ptid ();
- inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
- target_fetch_registers (-1);
- fill_gregset (gregset, -1);
- do_cleanups (old_chain);
- return PS_OK;
+ if (ptrace (PT_GETREGS, lwpid, (caddr_t)gregset, 0) == 0)
+ return PS_OK;
+ return PS_ERR;
}
ps_err_e
ps_lsetregs (struct ps_prochandle *ph, lwpid_t lwpid, const prgregset_t gregset)
{
- struct cleanup *old_chain;
-
- old_chain = save_inferior_ptid ();
- inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
- supply_gregset (gregset);
- target_store_registers (-1);
- do_cleanups (old_chain);
- return PS_OK;
+ if (ptrace (PT_SETREGS, lwpid, (caddr_t)gregset, 0) == 0)
+ return PS_OK;
+ return PS_ERR;
}
ps_err_e
ps_lgetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, prfpregset_t *fpregset)
{
- struct cleanup *old_chain;
-
- old_chain = save_inferior_ptid ();
- inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
- target_fetch_registers (-1);
- fill_fpregset (fpregset, -1);
- do_cleanups (old_chain);
- return PS_OK;
+ if (ptrace (PT_GETFPREGS, lwpid, (caddr_t)fpregset, 0) == 0)
+ return PS_OK;
+ return PS_ERR;
}
ps_err_e
ps_lsetfpregs (struct ps_prochandle *ph, lwpid_t lwpid,
const prfpregset_t *fpregset)
{
- struct cleanup *old_chain;
-
- old_chain = save_inferior_ptid ();
- inferior_ptid = BUILD_LWP (lwpid, PIDGET (inferior_ptid));
- supply_fpregset (fpregset);
- target_store_registers (-1);
- do_cleanups (old_chain);
- return PS_OK;
+ if (ptrace (PT_SETFPREGS, lwpid, (caddr_t)fpregset, 0) == 0)
+ return PS_OK;
+ return PS_ERR;
}
ps_err_e
ps_lstop(struct ps_prochandle *ph, lwpid_t lwpid)
{
- return (ptrace (lwpid, PT_SUSPEND, 0, 0) == 0);
+ if (ptrace (PT_SUSPEND, lwpid, 0, 0) == -1)
+ return PS_ERR;
+ return PS_OK;
}
ps_err_e
ps_lcontinue(struct ps_prochandle *ph, lwpid_t lwpid)
{
- return (ptrace (lwpid, PT_RESUME, 0, 0) == 0);
+ if (ptrace (PT_RESUME, lwpid, 0, 0) == -1)
+ return PS_ERR;
+ return PS_OK;
}
pid_t
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/tar/Makefile#2 (text+ko) ====
@@ -1,11 +1,11 @@
-# $FreeBSD: src/gnu/usr.bin/tar/Makefile,v 1.23 2004/06/04 00:39:46 kientzle Exp $
+# $FreeBSD: src/gnu/usr.bin/tar/Makefile,v 1.24 2004/07/17 06:03:47 kientzle Exp $
TARDIR= ${.CURDIR}/../../../contrib/tar
.PATH: ${TARDIR}/lib ${TARDIR}/src
PROG= gtar
-.if !defined(WITH_BSDTAR)
+.if defined(WITH_GTAR)
SYMLINKS= ${BINDIR}/gtar ${BINDIR}/tar
MLINKS= gtar.1 tar.1
.endif
==== //depot/projects/davidxu_ksedbg/src/include/wchar.h#2 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/include/wchar.h,v 1.41 2004/06/07 10:31:10 tjr Exp $
+ * $FreeBSD: src/include/wchar.h,v 1.42 2004/07/16 06:06:09 tjr Exp $
*/
/*-
@@ -208,6 +208,7 @@
#endif
#if __BSD_VISIBLE
+wchar_t *fgetwln(struct __sFILE * __restrict, size_t * __restrict);
size_t wcslcat(wchar_t *, const wchar_t *, size_t);
size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
#endif
==== //depot/projects/davidxu_ksedbg/src/lib/libc/gen/vis.3#4 (text+ko) ====
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)vis.3 8.1 (Berkeley) 6/9/93
-.\" $FreeBSD: src/lib/libc/gen/vis.3,v 1.25 2004/07/02 23:52:10 ru Exp $
+.\" $FreeBSD: src/lib/libc/gen/vis.3,v 1.26 2004/07/17 12:27:25 tjr Exp $
.\"
.Dd March 21, 2004
.Dt VIS 3
@@ -182,7 +182,7 @@
Use an
.Ql M
to represent meta characters (characters with the 8th
-bit set), and use carat
+bit set), and use caret
.Ql ^
to represent control characters see
.Pf ( Xr iscntrl 3 ) .
==== //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/Makefile.inc#2 (text+ko) ====
@@ -1,11 +1,12 @@
# @(#)Makefile.inc 8.3 (Berkeley) 4/17/94
-# $FreeBSD: src/lib/libc/stdio/Makefile.inc,v 1.32 2003/01/10 06:22:28 tjr Exp $
+# $FreeBSD: src/lib/libc/stdio/Makefile.inc,v 1.33 2004/07/16 06:06:09 tjr Exp $
# stdio sources
.PATH: ${.CURDIR}/stdio
SRCS+= _flock_stub.c asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c \
- fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c fgetws.c \
+ fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c fgetwln.c \
+ fgetws.c \
fileno.c findfp.c flags.c fopen.c fprintf.c fpurge.c fputc.c fputs.c \
fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \
ftell.c funopen.c fvwrite.c fwalk.c fwide.c fwprintf.c fwscanf.c \
@@ -22,7 +23,8 @@
vswprintf.c vswscanf.c vwprintf.c vwscanf.c wbuf.c wprintf.c wscanf.c \
wsetup.c
-MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetws.3 flockfile.3 \
+MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
+ flockfile.3 \
fopen.3 fputs.3 \
fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 getwc.3 mktemp.3 \
printf.3 putc.3 putwc.3 remove.3 scanf.3 setbuf.3 stdio.3 tmpnam.3 \
==== //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/fgetln.3#2 (text+ko) ====
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)fgetln.3 8.3 (Berkeley) 4/19/94
-.\" $FreeBSD: src/lib/libc/stdio/fgetln.3,v 1.7 2001/10/01 16:08:59 ru Exp $
+.\" $FreeBSD: src/lib/libc/stdio/fgetln.3,v 1.8 2004/07/16 06:07:12 tjr Exp $
.\"
.Dd April 19, 1994
.Dt FGETLN 3
@@ -118,6 +118,7 @@
.Sh SEE ALSO
.Xr ferror 3 ,
.Xr fgets 3 ,
+.Xr fgetwln 3 ,
.Xr fopen 3 ,
.Xr putc 3
.Sh HISTORY
==== //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/fgetln.c#2 (text+ko) ====
@@ -38,7 +38,7 @@
static char sccsid[] = "@(#)fgetln.c 8.2 (Berkeley) 1/2/94";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/stdio/fgetln.c,v 1.9 2004/03/10 09:28:38 tjr Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/stdio/fgetln.c,v 1.10 2004/07/16 05:52:51 tjr Exp $");
#include "namespace.h"
#include <stdio.h>
@@ -55,8 +55,8 @@
* so we add 1 here.
#endif
*/
-static int
-slbexpand(FILE *fp, size_t newsize)
+int
+__slbexpand(FILE *fp, size_t newsize)
{
void *p;
@@ -132,7 +132,7 @@
* file buffer to line buffer, refill file and look for
* newline. The loop stops only when we find a newline.
*/
- if (slbexpand(fp, len + OPTIMISTIC))
+ if (__slbexpand(fp, len + OPTIMISTIC))
goto error;
(void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
len - off);
@@ -146,7 +146,7 @@
p++;
diff = p - fp->_p;
len += diff;
- if (slbexpand(fp, len))
+ if (__slbexpand(fp, len))
goto error;
(void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
diff);
==== //depot/projects/davidxu_ksedbg/src/lib/libc/stdio/local.h#2 (text+ko) ====
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)local.h 8.3 (Berkeley) 7/3/94
- * $FreeBSD: src/lib/libc/stdio/local.h,v 1.25 2004/06/08 05:45:32 das Exp $
+ * $FreeBSD: src/lib/libc/stdio/local.h,v 1.26 2004/07/16 05:52:51 tjr Exp $
*/
#include <sys/types.h> /* for off_t */
@@ -57,6 +57,7 @@
extern wint_t __fputwc(wchar_t, FILE *);
extern int __sflush(FILE *);
extern FILE *__sfp(void);
+extern int __slbexpand(FILE *, size_t);
extern int __srefill(FILE *);
extern int __sread(void *, char *, int);
extern int __swrite(void *, char const *, int);
==== //depot/projects/davidxu_ksedbg/src/lib/libc/sys/getfsstat.2#2 (text+ko) ====
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)getfsstat.2 8.3 (Berkeley) 5/25/95
-.\" $FreeBSD: src/lib/libc/sys/getfsstat.2,v 1.16 2003/11/21 01:30:28 tjr Exp $
+.\" $FreeBSD: src/lib/libc/sys/getfsstat.2,v 1.17 2004/07/16 01:18:13 alfred Exp $
.\"
.Dd November 20, 2003
.Dt GETFSSTAT 2
@@ -63,8 +63,13 @@
The buffer is filled with an array of
.Fa fsstat
structures, one for each mounted file system
-up to the size specified by
+up to the byte count specified by
.Fa bufsize .
+Note, the
+.Fa bufsize
+argument is the number of bytes that
+.Fa buf
+can hold, not the count of statfs structures it will hold.
.Pp
If
.Fa buf
==== //depot/projects/davidxu_ksedbg/src/lib/libc/sys/recv.2#2 (text+ko) ====
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)recv.2 8.3 (Berkeley) 2/21/94
-.\" $FreeBSD: src/lib/libc/sys/recv.2,v 1.20 2003/12/24 18:52:41 alfred Exp $
+.\" $FreeBSD: src/lib/libc/sys/recv.2,v 1.21 2004/07/16 17:15:37 harti Exp $
.\"
.Dd February 21, 1994
.Dt RECV 2
@@ -124,10 +124,11 @@
function is formed by
.Em or Ap ing
one or more of the values:
-.Bl -column MSG_WAITALL -offset indent
+.Bl -column MSG_DONTWAIT -offset indent
.It Dv MSG_OOB Ta process out-of-band data
.It Dv MSG_PEEK Ta peek at incoming message
.It Dv MSG_WAITALL Ta wait for full request or error
+.It Dv MSG_DONTWAIT Ta don't block
.El
.Pp
The
@@ -145,6 +146,12 @@
However, the call may still return less data than requested
if a signal is caught, an error or disconnect occurs,
or the next data to be received is of a different type than that returned.
+The MSG_DONTWAIT flag requests the call to return when it would block otherwise.
+If no data is available
+.Va errno
+is set to
+.Er EAGAIN .
+This flag is not available in strict ANSI or C99 compilation mode.
.Pp
The
.Fn recvmsg
==== //depot/projects/davidxu_ksedbg/src/lib/libthread_db/include/thread_db.h#2 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/lib/libthread_db/include/thread_db.h,v 1.1 2004/07/15 03:36:35 davidxu Exp $
+ * $FreeBSD: src/lib/libthread_db/include/thread_db.h,v 1.2 2004/07/17 17:09:12 marcel Exp $
*/
#ifndef _THREAD_DB_H_
@@ -267,7 +267,7 @@
td_err_e td_thr_getxregs(const td_thrhandle_t *, void *);
td_err_e td_thr_getxregsize(const td_thrhandle_t *, int *);
td_err_e td_thr_setfpregs(const td_thrhandle_t *, const prfpregset_t *);
-td_err_e td_thr_setgregs(const td_thrhandle_t *, prgregset_t);
+td_err_e td_thr_setgregs(const td_thrhandle_t *, const prgregset_t);
td_err_e td_thr_setxregs(const td_thrhandle_t *, const void *);
td_err_e td_thr_event_enable(const td_thrhandle_t *, int);
td_err_e td_thr_set_event(const td_thrhandle_t *, td_thr_events_t *);
==== //depot/projects/davidxu_ksedbg/src/lib/libthread_db/pthread/pthread_db.c#8 (text+ko) ====
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+__FBSDID("$FreeBSD: src/lib/libthread_db/pthread/pthread_db.c,v 1.1 2004/07/15 03:36:35 davidxu Exp $");
#include <stddef.h>
#include <stdlib.h>
@@ -842,34 +842,37 @@
ret = ps_pdread(ta->ph, ptr, &lwp, sizeof(lwpid_t));
if (ret != 0)
return (P2T(ret));
+ ret = ps_pdread(ta->ph,
+ tmbx_addr + offsetof(struct kse_thr_mailbox, tm_dflags),
+ &dflags, sizeof(dflags));
+ if (ret != 0)
+ return (P2T(ret));
+
+ if (suspend)
+ dflags |= TMDF_DONOTRUNUSER;
+ else
+ dflags &= ~TMDF_DONOTRUNUSER;
+ ret = ps_pdwrite(ta->ph,
+ tmbx_addr + offsetof(struct kse_thr_mailbox, tm_dflags),
+ &dflags, sizeof(dflags));
+ if (ret)
+ return (P2T(ret));
/*
* don't stop lwp assigned to a M:N thread, it belongs
* to UTS, UTS shouldn't be stopped.
*/
- if (lwp != 0 && (attrflags & PTHREAD_SCOPE_SYSTEM)) {
+ if (lwp != 0) {/* && (attrflags & PTHREAD_SCOPE_SYSTEM)) { */
/* dont' suspend signal thread */
+#if 0
if (attrflags & THR_SIGNAL_THREAD)
return 0;
+#endif
if (suspend)
ret = ps_lstop(ta->ph, lwp);
else
ret = ps_lcontinue(ta->ph, lwp);
- return (P2T(ret));
}
- ret = ps_pdread(ta->ph,
- tmbx_addr + offsetof(struct kse_thr_mailbox, tm_dflags),
- &dflags, sizeof(dflags));
- if (ret != 0)
- return (P2T(ret));
-
- if (suspend)
- dflags |= TMDF_DONOTRUNUSER;
- else
- dflags &= ~TMDF_DONOTRUNUSER;
- ret = ps_pdwrite(ta->ph,
- tmbx_addr + offsetof(struct kse_thr_mailbox, tm_dflags),
- &dflags, sizeof(dflags));
return (P2T(ret));
}
>>> TRUNCATED FOR MAIL (1000 lines) <<<
More information about the p4-projects
mailing list