============================================================== Author alfred Revision 196746 Date 2009-09-02T02:12:07.318149Z Log: MFC: r196489,196498 Critical USB bugfixes for 8.0 Approved by: re /stable/8/sys/cddl/contrib/opensolaris /stable/8/sys/dev/usb/usb_handle_request.c /stable/8/sys/dev/usb/usb_process.h /stable/8/sys/contrib/pf /stable/8/sys/dev/usb/usb_device.h /stable/8/sys/dev/usb/usb_transfer.c /stable/8/sys/amd64/include/xen /stable/8/sys/dev/usb/input/ukbd.c /stable/8/sys/contrib/dev/acpica /stable/8/sys/dev/xen/xenpci /stable/8/sys/dev/usb/usb_dev.c /stable/8/sys/dev/usb/usb_hub.c /stable/8/sys/dev/usb/usb_process.c /stable/8/sys /stable/8/sys/dev/usb/usb_device.c ============================================================== Author alfred Revision 196498 Date 2009-08-24T05:05:38.310051Z Log: - Patch to allow USB controller to resume operation after being polled. - Remove the need for Giant from the USB HUB driver. - Leave device unconfigured instead of disabling the USB port when Huawei Autoinstall disk detection triggers. This should fix problems that the Huawei device is not detected after Autoinstall eject is issued. - Reported by: Nikolay Antsiferov - Fix memory use after free race for USB character devices. - Reported by: Lucius Windschuh - Factor out the enumeration lock into three functions to make the coming newbus lock conversion more easy. - usbd_enum_lock - usbd_enum_unlock - usbd_enum_is_locked Submitted by: hps /head/sys/dev/usb/usb_handle_request.c /head/sys/dev/usb/usb_process.h /head/sys/dev/usb/usb_device.h /head/sys/dev/usb/usb_transfer.c /head/sys/dev/usb/usb_dev.c /head/sys/dev/usb/usb_hub.c /head/sys/dev/usb/usb_process.c /head/sys/dev/usb/usb_device.c ============================================================== Author alfred Revision 196497 Date 2009-08-24T05:03:59.392673Z Log: Remove redundant locking. Submitted by: hps /head/sys/dev/usb/wlan/if_upgt.c ============================================================== Author alfred Revision 196496 Date 2009-08-24T05:03:30.922195Z Log: Add a reminder comment to optimize bus_dmamap_sync calls. Submitted by: hps /head/sys/dev/usb/usb_busdma.c ============================================================== Author alfred Revision 196495 Date 2009-08-24T05:02:36.564576Z Log: Add mass storage quirks. PR: usb/137138,usb/137226,usb/137789,usb/135372 Submitted by: hps /head/sys/dev/usb/usbdevs /head/sys/dev/usb/storage/umass.c ============================================================== Author alfred Revision 196494 Date 2009-08-24T05:01:40.538639Z Log: - fix uvisor support, mostly correct buffer sizes used. - correct device info flag for SONY Cli NR70V Reported by: Marc Fonvieille Submitted by: hps /head/sys/dev/usb/serial/uvisor.c ============================================================== Author alfred Revision 196493 Date 2009-08-24T05:01:06.032615Z Log: - Fix false positive uipaq probe Reported by: Alexander Motin Submitted by: hps /head/sys/dev/usb/serial/uipaq.c /head/sys/dev/usb/usb.h ============================================================== Author alfred Revision 196492 Date 2009-08-24T05:00:33.326077Z Log: - fix CDC ethernet matching order so that the match flags get correct. Reported by: Juergen Lock Submitted by: hps /head/sys/dev/usb/net/if_cdce.c ============================================================== Author alfred Revision 196491 Date 2009-08-24T05:00:07.480321Z Log: We used force all of the GPIO pins low first and then enable the ones we want. This has been changed to better match the ADMtek's reference design to avoid setting the power-down configuration line of the PHY at the same time it is reset. Submitted by: John Hood via hps /head/sys/dev/usb/net/if_aue.c ============================================================== Author alfred Revision 196490 Date 2009-08-24T04:59:09.237671Z Log: - FIFO's are always opened separately in read and write direction even if the actual device is opened for read and write. Fix fflags check so that the UFM and URIO drivers work. Reported by: Krassimir Slavchev Submitted by: hps /head/sys/dev/usb/misc/ufm.c /head/sys/dev/usb/storage/urio.c ============================================================== Author alfred Revision 196489 Date 2009-08-24T04:58:42.101970Z Log: - patch for cordump slowdown. Avoid using DELAY(1000) when no keys are pressed. - Reported by: Various people - add sysctl to disable keyboard led control request - Reported by: Yoshihiro Ota - Save system CPU usage: Patch to stop keyboard timer when no keys are pressed. Submitted by: hps MFC after: 3 days /head/sys/dev/usb/input/ukbd.c ============================================================== Author alfred Revision 196488 Date 2009-08-24T04:58:11.763888Z Log: - allow disabling "root_mount_hold()" by setting a sysctl/tunable at boot - remove some redundant initial explore code Submitted by: hps /head/sys/dev/usb/controller/usb_controller.c ============================================================== Author alfred Revision 196487 Date 2009-08-24T04:57:48.959715Z Log: Remove redundant Giant reference. Giant will be dropped automatically when the mutex argument is NULL. Reported by: Various people Submitted by: hps /head/sys/dev/sound/usb/uaudio.c ============================================================== Author alfred Revision 195968 Date 2009-07-30T00:57:54.636339Z Log: Missed this file for r195963: USB core: - add support for defragging of written device data. - improve handling of alternate settings in device side mode. - correct return value from usbd_get_no_alts() function. - reported by: HPS - P4 ID: 166156, 166168 - report USB device release information to devd and pnpinfo. - reported by: MIHIRA Sanpei Yoshiro - P4 ID: 166221 Submitted by: hps Approved by: re /head/sys/dev/usb/usbdi.h ============================================================== Author alfred Revision 195967 Date 2009-07-30T00:17:08.213369Z Log: USB CORE - Improve HID parsing See PR description for more info. Patch is implemented differently than suggested, but having the same result. PR: usb/137188 Submitted by: hps Approved by: re /head/sys/dev/usb/usb_hid.c ============================================================== Author alfred Revision 195966 Date 2009-07-30T00:16:50.896447Z Log: USB CORE - compat Linux: - Patch request from Tim Borgeaud: - add automatic locking - add refcount for killing URB's Submitted by: hps Approved by: re /head/sys/dev/usb/usb_compat_linux.c /head/sys/dev/usb/usb_compat_linux.h ============================================================== Author alfred Revision 195965 Date 2009-07-30T00:16:32.154429Z Log: USB controller: - allow disabling "root_mount_hold()" by setting "hw.usb.no_boot_wait" sysctl Submitted by: hps Approved by: re /head/sys/dev/usb/controller/usb_controller.c ============================================================== Author alfred Revision 195964 Date 2009-07-30T00:16:06.553626Z Log: ULPT: - add conditional printer status checking - P4 ID: 166176 Submitted by: hps Approved by: re /head/sys/dev/usb/serial/ulpt.c ============================================================== Author alfred Revision 195963 Date 2009-07-30T00:15:50.107040Z Log: USB core: - add support for defragging of written device data. - improve handling of alternate settings in device side mode. - correct return value from usbd_get_no_alts() function. - reported by: HPS - P4 ID: 166156, 166168 - report USB device release information to devd and pnpinfo. - reported by: MIHIRA Sanpei Yoshiro - P4 ID: 166221 Submitted by: hps Approved by: re /head/sys/dev/usb/usb_dev.h /head/sys/dev/usb/usb_handle_request.c /head/sys/dev/usb/usb_request.c /head/sys/dev/usb/usb_parse.c /head/sys/dev/usb/usb_dev.c /head/sys/dev/usb/usb_hub.c /head/sys/dev/usb/usb_device.c ============================================================== Author alfred Revision 195962 Date 2009-07-30T00:15:17.311767Z Log: USB serial: - add new ID for Huawei - P4 ID: 166150 PR: usb/136761 Submitted by: hps Approved by: re /head/sys/dev/usb/usbdevs /head/sys/dev/usb/serial/u3g.c /head/share/man/man4/u3g.4 ============================================================== Author alfred Revision 195961 Date 2009-07-30T00:14:56.397617Z Log: USB audio: - code factoring patch from "Eygene Ryabinkin" - P4 ID: 166149 Submitted by: hps Approved by: re /head/sys/dev/sound/usb/uaudio.c ============================================================== Author alfred Revision 195960 Date 2009-07-30T00:14:34.951819Z Log: USB CORE: - Add minimum polling support to drive UMASS and UKBD in case of panic. - Add extra check to ukbd probe to fix problem about mouse devices attaching like keyboards. - P4 ID: 166148 Submitted by: hps Approved by: re /head/sys/dev/usb/controller/ehci.c /head/sys/dev/usb/controller/uhci.c /head/sys/dev/usb/usb_transfer.c /head/sys/dev/usb/controller/avr32dci.c /head/sys/dev/usb/controller/at91dci.c /head/sys/dev/usb/controller/atmegadci.c /head/sys/dev/usb/usb_controller.h /head/sys/dev/usb/controller/musb_otg.c /head/sys/dev/usb/input/ukbd.c /head/sys/dev/usb/controller/ohci.c /head/sys/dev/usb/controller/uss820dci.c ============================================================== Author alfred Revision 195959 Date 2009-07-30T00:13:09.207043Z Log: USB input - add support for setting the UMS polling rate through -F option passed to moused. - requested by Alexander Best - P4 ID: 166075 PR: usb/125264 Submitted by: hps Approved by: re /head/sys/dev/usb/input/ums.c ============================================================== Author alfred Revision 195958 Date 2009-07-30T00:12:47.608614Z Log: USB controller: - patch from Alexander Motin - add more ID's - P4 ID: 165805 Submitted by: hps Approved by: re /head/sys/dev/usb/controller/ohci_pci.c /head/sys/dev/usb/controller/ehci_pci.c /head/sys/dev/usb/controller/uhci_pci.c ============================================================== Author alfred Revision 195957 Date 2009-07-30T00:11:41.662358Z Log: LibUSB v1.0: - Significantly improve libusb10 support. - Many minor issues fixed. - P4 ID: 166189, 165853, 165991, 166052, 166069 Submitted by: hps Approved by: re /head/lib/libusb/libusb10_io.c /head/lib/libusb/libusb10_desc.c /head/lib/libusb/libusb.3 /head/lib/libusb/libusb10.c /head/lib/libusb/libusb20_int.h /head/lib/libusb/libusb20.3 /head/lib/libusb/libusb.h /head/lib/libusb/libusb10.h /head/lib/libusb/libusb20_compat01.c ============================================================== Author alfred Revision 187994 Date 2009-02-02T00:49:39.469235Z Log: src/usr.bin/usbhidaction/usbhidaction.c src/usr.bin/usbhidctl/usbhid.c src/sys/dev/usb2/include/usb2_hid.h src/sys/dev/usb2/input/uhid2.c src/lib/libusbhid/Makefile src/lib/libusbhid/descr.c src/lib/libusbhid/descr_compat.c src/lib/libusbhid/usbhid.3 src/lib/libusbhid/usbhid.h src/lib/libusbhid/usbvar.h Patches to make libusbhid and HID userland utilities compatible with the new USB stack. All HID ioctls should go through the libusbhid library to ensure compatibility. I have found at least one piece of software in /usr/ports which needs to get updated before USB HID devices will work. This is the X joystick input driver. Reported and tested by: Daichi GOTO and Masanori OZAWA. src/sys/dev/usb2/core/usb2_process.c Correct USB process names. Reported by: Andre Guibert de Bruet src/sys/dev/usb2/serial/uftdi2.c Integrate changes from old USB stack. Submitted by: hps /head/lib/libusbhid/descr_compat.c /head/lib/libusbhid/usbhid.h /head/sys/dev/usb2/include/usb2_hid.h /head/usr.bin/usbhidctl/usbhid.c /head/sys/dev/usb2/input/uhid2.c /head/lib/libusbhid/usbvar.h /head/sys/dev/usb2/serial/uftdi2.c /head/lib/libusbhid/Makefile /head/sys/dev/usb2/bluetooth/ubtbcmfw2.c /head/sys/dev/usb2/core/usb2_process.c /head/usr.bin/usbhidaction/usbhidaction.c /head/lib/libusbhid/usbhid.3 /head/lib/libusbhid/descr.c ============================================================== Author alfred Revision 186730 Date 2009-01-04T00:12:01.952154Z Log: Sync with usb4bsd: src/lib/libusb20/libusb20_desc.c Make "libusb20_desc_foreach()" more readable. src/sys/dev/usb2/controller/*.[ch] src/sys/dev/usb2/core/*.[ch] Implement support for USB power save for all HC's. Implement support for Big-endian EHCI. Move Huawei quirks back into "u3g" driver. Improve device enumeration. src/sys/dev/usb2/ethernet/*[ch] Patches for supporting new AXE Gigabit chipset. src/sys/dev/usb2/serial/*[ch] Fix IOCTL return code. src/sys/dev/usb2/wlan/*[ch] Sync with old USB stack. Submitted by: hps /head/sys/dev/usb2/controller/uss820dci.c /head/sys/dev/usb2/storage/ustorage2_fs.c /head/sys/dev/usb2/wlan/if_zyd2.c /head/sys/dev/usb2/include/usb2_devtable.h /head/sys/dev/usb2/core/usb2_request.c /head/sys/dev/usb2/controller/ehci2.c /head/sys/dev/usb2/include/usb2_devid.h /head/sys/dev/usb2/core/usb2_request.h /head/sys/dev/usb2/controller/at91dci.c /head/sys/dev/usb2/image/uscanner2.c /head/sys/dev/usb2/controller/ehci2.h /head/sys/modules/usb2/Makefile /head/sys/dev/usb2/controller/ohci2.c /head/sys/dev/usb2/ethernet/if_axe2.c /head/sys/dev/usb2/controller/uhci2.c /head/sys/dev/usb2/core/usb2_busdma.c /head/sys/dev/usb2/core/usb2_generic.c /head/sys/dev/usb2/serial/u3g2.c /head/sys/dev/usb2/serial/uplcom2.c /head/sys/dev/usb2/controller/usb2_controller.c /head/sys/dev/usb2/controller/uhci2.h /head/sys/dev/usb2/wlan/if_ural2.c /head/sys/dev/usb2/core/usb2_msctest.c /head/sys/dev/usb2/controller/usb2_controller.h /head/sys/dev/usb2/core/usb2_transfer.c /head/sys/dev/usb2/core/usb2_dynamic.c /head/sys/dev/usb2/wlan/if_zyd2_reg.h /head/sys/dev/usb2/core/usb2_msctest.h /head/sys/dev/usb2/core/usb2_transfer.h /head/sys/dev/usb2/core/usb2_dynamic.h /head/sys/dev/usb2/controller/usb2_bus.h /head/sys/dev/usb2/serial/uftdi2.c /head/sys/dev/usb2/serial/uvscom2.c /head/sys/dev/usb2/storage/umass2.c /head/sys/dev/usb2/serial/uchcom2.c /head/sys/dev/usb2/core/usb2_core.h /head/sys/modules/usb2/serial_3g /head/sys/dev/usb2/core/usb2_device.c /head/sys/dev/usb2/include/usb2_standard.h /head/sys/dev/usb2/controller/musb2_otg.c /head/sys/dev/usb2/core/usb2_handle_request.c /head/sys/dev/usb2/core/usb2_device.h /head/sys/dev/usb2/ethernet/if_axe2_reg.h /head/sys/dev/usb2/include/usb2_ioctl.h /head/sys/modules/usb2/serial_3g/Makefile /head/sys/dev/usb2/sound/uaudio2.c /head/sys/dev/usb2/core/usb2_hub.c /head/lib/libusb20/libusb20_desc.c /head/sys/dev/usb2/core/usb2_hub.h ============================================================== Author alfred Revision 186402 Date 2008-12-22T21:37:06.219238Z Log: Fix typo for udav include. Add link to the u3g2 driver. /head/sys/conf/files ============================================================== Author alfred Revision 185499 Date 2008-12-01T00:45:51.616830Z Log: Provide a 'tinderbox' target that compiles enough of FreeBSD that a developer can rest reasonably assured that the tinderbox will not be broken. This target leverages most of 'universe' but will exit non-zero and output a summary at the end. "make tinderbox" /head/Makefile ============================================================== Author alfred Revision 185290 Date 2008-11-25T08:04:40.713703Z Log: src/lib/libusb20/libusb20_compat01.c Fix some issues about re-scanning of the devices. src/lib/libusb20/libusb20_ugen20.c Fix issue about libusb20 having to release the USB transfers before doing a SET_CONFIG, else the kernel will kill the file handle. src/sys/dev/usb2/core/usb2_device. src/sys/dev/usb2/core/usb2_generic.c src/sys/dev/usb2/core/usb2_generic.h Add support for U3G devices. Improve and cleanup FIFO free handling. Improve device re-enumeration. src/sys/dev/usb2/core/usb2_msctest.c src/sys/dev/usb2/core/usb2_msctest.h Fix some problems in the USB Mass Storage Test. Add Huawei vendor specific quirks. src/sys/dev/usb2/core/usb2_request.c Improve device re-enumeration. src/sys/dev/usb2/ethernet/if_aue2.c src/sys/dev/usb2/include/usb2_devid.h src/sys/dev/usb2/include/usb2_devtable.h src/sys/dev/usb2/quirk/usb2_quirk.c Integrate changes from the old USB driver. src/sys/dev/usb2/include/usb2_standard.h Add definition of USB3.0 structures from USB.org. src/sys/dev/usb2/serial/u3g2.c src/sys/dev/usb2/serial/ugensa2.c src/sys/modules/usb2/Makefile src/sys/modules/usb2/serial_3g/Makefile Import U3G driver. Submitted by: Hans Petter Selasky (usb4bsd) /head/lib/libusb20/libusb20_compat01.c /head/sys/dev/usb2/include/usb2_devtable.h /head/sys/dev/usb2/core/usb2_msctest.h /head/sys/dev/usb2/core/usb2_request.c /head/sys/dev/usb2/include/usb2_devid.h /head/sys/dev/usb2/quirk/usb2_quirk.c /head/sys/dev/usb2/core/usb2_device.c /head/sys/dev/usb2/serial/ugensa2.c /head/sys/dev/usb2/include/usb2_standard.h /head/lib/libusb20/libusb20_ugen20.c /head/sys/modules/usb2/Makefile /head/sys/dev/usb2/ethernet/if_aue2.c /head/sys/dev/usb2/serial/u3g2.c /head/sys/dev/usb2/core/usb2_generic.c /head/sys/dev/usb2/core/usb2_generic.h /head/sys/dev/usb2/core/usb2_msctest.c ============================================================== Author alfred Revision 185087 Date 2008-11-19T08:56:35.982319Z Log: src/sys/dev/usb2/controller/uss820dci_pccard.c src/sys/dev/usb2/core/usbdevs src/sys/dev/usb2/include/urio2_ioctl.h src/sys/dev/usb2/storage/ustorage2_fs.h These files are not used any more. src/usr.sbin/Makefile src/etc/mtree/BSD.include.dist src/include/Makefile src/lib/Makefile src/share/man/man7/hier.7 src/share/mk/bsd.libnames.mk src/etc/mtree/BSD.include.dist Make "usbconfig" and "libusb20" a part of the default build. src/sys/dev/usb/rio500_usb.h src/sys/dev/usb2/storage/urio2.c Use common include file. src/sys/dev/usb2/bluetooth/ng_ubt2.c Make USB bluetooth depend on "ng_hci" module. src/sys/dev/usb2/controller/ehci2.c src/sys/dev/usb2/controller/ehci2.h Patches for Marvell EHCI. src/sys/dev/usb2/core/usb2_busdma.c Bugfix for 64-bit platforms. Need to unload the previously loaded DMA map and some cleanup regarding some corner cases. src/sys/dev/usb2/core/usb2_core.h src/sys/dev/usb2/core/usb2_dev.c src/sys/dev/usb2/core/usb2_dev.h Bugfix for libusb filesystem interface. New feature: Add support for filtering device data at the expense of the userland process. Add some more comments. Some minor code styling. Remove unused function, usb2_fifo_get_data_next(). Fix an issue about "fifo_index" being used instead of "ep_index". src/sys/dev/usb2/core/usb2_device.c src/sys/dev/usb2/core/usb2_generic.c Bugfix for Linux USB compat layer. Do not free non-generic FIFOs when doing an alternate setting. Cleanup USB IOCTL and USB reference handling. Fix a corner case where USB-FS was left initialised after setting a new configuration or alternate setting. src/sys/dev/usb2/core/usb2_hub.c Improvement: Check all USB HUB ports by default at least one time. src/sys/dev/usb2/core/usb2_request.c Bugfix: Make sure destination ASCII string is properly zero terminated in all cases. Improvement: Skip invalid characters instead of replacing with a dot. src/sys/dev/usb2/core/usb2_util.c src/sys/dev/usb2/image/uscanner2.c Spelling. src/sys/dev/usb2/include/Makefile Share "usbdevs" with the old USB stack. src/sys/dev/usb2/include/usb2_devid.h src/sys/dev/usb2/include/usb2_devtable.h Regenerate files. Alfred: Please fix the RCS tag at the top. src/sys/dev/usb2/include/usb2_ioctl.h Fix compilation of "kdump". src/sys/dev/usb2/serial/ubsa2.c src/sys/dev/usb2/serial/ugensa2.c Remove device ID's which will end up in a new 3G driver. src/sys/dev/usb2/sound/uaudio2.c Correct a debug printout. src/sys/dev/usb2/storage/umass2.c Sync with old USB stack. src/lib/libusb20/libusb20.3 Add more documentation. src/lib/libusb20/libusb20.c Various bugfixes and improvements. src/usr.sbin/usbconfig/dump.c src/usr.sbin/usbconfig/usbconfig.c New commands for dumping strings and doing custom USB requests from the command line. Remove keyword requirements from generated files: "head/sys/dev/usb2/include/usb2_devid.h" "head/sys/dev/usb2/include/usb2_devtable.h" /head/lib/libusb20/libusb20_compat01.c /head/lib/libusb20/libusb20.h /head/sys/dev/usb2/include/usb2_devtable.h /head/sys/dev/usb/rio500_usb.h /head/sys/dev/usb2/core/usb2_request.c /head/lib/libusb20/libusb20_compat01.h /head/sys/dev/usb2/controller/ehci2.c /head/sys/dev/usb2/include/usb2_devid.h /head/sys/dev/usb2/image/uscanner2.c /head/sys/dev/usb2/controller/ehci2.h /head/sys/dev/usb2/controller/uss820dci_pccard.c /head/lib/libusb20/libusb20.3 /head/lib/libusb20/libusb20_ugen20.c /head/share/man/man7/hier.7 /head/sys/dev/usb2/serial/ugensa2.c /head/usr.sbin/Makefile /head/etc/mtree/BSD.include.dist /head/sys/dev/usb2/serial/ubsa2.c /head/sys/dev/usb2/core/usb2_busdma.c /head/sys/dev/usb2/core/usb2_generic.c /head/sys/dev/usb2/core/usb2_util.c /head/sys/dev/usb2/core/usb2_generic.h /head/sys/dev/usb2/storage/urio2.c /head/include/Makefile /head/sys/dev/usb2/storage/umass2.c /head/sys/dev/usb2/include/Makefile /head/sys/dev/usb2/core/usb2_core.h /head/usr.sbin/usbconfig/dump.c /head/sys/dev/usb2/include/urio2_ioctl.h /head/sys/dev/usb2/core/usbdevs /head/sys/dev/usb2/core/usb2_device.c /head/share/mk/bsd.libnames.mk /head/usr.sbin/usbconfig/usbconfig.c /head/lib/Makefile /head/sys/dev/usb2/include/usb2_ioctl.h /head/sys/dev/usb2/sound/uaudio2.c /head/sys/dev/usb2/core/usb2_hub.c /head/sys/dev/usb2/core/usb2_dev.c /head/lib/libusb20/libusb20_desc.c /head/lib/libusb20/libusb20.c /head/sys/dev/usb2/bluetooth/ng_ubt2.c /head/sys/dev/usb2/core/usb2_dev.h /head/lib/libusb20/libusb20_desc.h ============================================================== Author alfred Revision 184612 Date 2008-11-04T03:42:01.131018Z Log: add usb2_if.m to mfiles to unbreak build of modules. /head/sys/conf/kmod.mk ============================================================== Author alfred Revision 184611 Date 2008-11-04T02:36:18.617790Z Log: all done with usb2 commit! /svnadmin/conf/sizelimit.conf ============================================================== Author alfred Revision 184610 Date 2008-11-04T02:31:03.706669Z Log: Bring in USB4BSD, Hans Petter Selasky rework of the USB stack that includes significant features and SMP safety. This commit includes a more or less complete rewrite of the *BSD USB stack, including Host Controller and Device Controller drivers and updating all existing USB drivers to use the new USB API: 1) A brief feature list: - A new and mutex enabled USB API. - Many USB drivers are now running Giant free. - Linux USB kernel compatibility layer. - New UGEN backend and libusb library, finally solves the "driver unloading" problem. The new BSD licensed libusb20 library is fully compatible with libusb-0.1.12 from sourceforge. - New "usbconfig" utility, for easy configuration of USB. - Full support for Split transactions, which means you can use your full speed USB audio device on a high speed USB HUB. - Full support for HS ISOC transactions, which makes writing drivers for various HS webcams possible, for example. - Full support for USB on embedded platforms, mostly cache flushing and buffer invalidating stuff. - Safer parsing of USB descriptors. - Autodetect of annoying USB install disks. - Support for USB device side mode, also called USB gadget mode, using the same API like the USB host side. In other words the new USB stack is symmetric with regard to host and device side. - Support for USB transfers like I/O vectors, means more throughput and less interrupts. - ... see the FreeBSD quarterly status reports under "USB project" 2) To enable the driver in the default kernel build: 2.a) Remove all existing USB device options from your kernel config file. 2.b) Add the following USB device options to your kernel configuration file: # USB core support device usb2_core # USB controller support device usb2_controller device usb2_controller_ehci device usb2_controller_ohci device usb2_controller_uhci # USB mass storage support device usb2_storage device usb2_storage_mass # USB ethernet support, requires miibus device usb2_ethernet device usb2_ethernet_aue device usb2_ethernet_axe device usb2_ethernet_cdce device usb2_ethernet_cue device usb2_ethernet_kue device usb2_ethernet_rue device usb2_ethernet_dav # USB wireless LAN support device usb2_wlan device usb2_wlan_rum device usb2_wlan_ral device usb2_wlan_zyd # USB serial device support device usb2_serial device usb2_serial_ark device usb2_serial_bsa device usb2_serial_bser device usb2_serial_chcom device usb2_serial_cycom device usb2_serial_foma device usb2_serial_ftdi device usb2_serial_gensa device usb2_serial_ipaq device usb2_serial_lpt device usb2_serial_mct device usb2_serial_modem device usb2_serial_moscom device usb2_serial_plcom device usb2_serial_visor device usb2_serial_vscom # USB bluetooth support device usb2_bluetooth device usb2_bluetooth_ng # USB input device support device usb2_input device usb2_input_hid device usb2_input_kbd device usb2_input_ms # USB sound and MIDI device support device usb2_sound 2) To enable the driver at runtime: 2.a) Unload all existing USB modules. If USB is compiled into the kernel then you might have to build a new kernel. 2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same base name like the kernel device option. Submitted by: Hans Petter Selasky hselasky at c2i dot net Reviewed by: imp, alfred /head/sys/dev/usb2/include/usb2_devtable.h /head/share/man/man4/usb2_sound.4 /head/sys/dev/usb2/ethernet/if_rue2.c /head/sys/dev/usb2/include/usb2_error.h /head/lib/libusb20/Makefile /head/share/man/man4/usb2_input.4 /head/sys/dev/usb2/core/usb2_sw_transfer.c /head/sys/modules/usb2/misc/Makefile /head/sys/modules/usb2/quirk/Makefile /head/sys/modules/usb2/serial_gensa/Makefile /head/lib/libusb20/libusb20.3 /head/sys/dev/usb2/core/usb2_sw_transfer.h /head/sys/modules/usb2/input/Makefile /head/sys/modules/usb2/ethernet /head/sys/dev/usb2/include/usb2_hid.h /head/sys/dev/usb2/include/ufm2_ioctl.h /head/sys/modules/usb2/serial_mct /head/sys/dev/usb2/core/usb2_busdma.c /head/sys/modules/usb2/serial_vscom /head/lib/libusb20 /head/sys/dev/usb2/storage/usb2_storage.c /head/sys/dev/usb2/core/usb2_busdma.h /head/sys/dev/usb2/ethernet/if_kue2_fw.h /head/sys/dev/usb2/wlan/if_ural2.c /head/sys/dev/usb2/core/usb2_transfer.c /head/sys/modules/usb2/input_ms /head/usr.sbin/usbconfig/Makefile /head/sys/dev/usb2/storage/usb2_storage.h /head/sys/dev/usb2/quirk /head/sys/dev/usb2/ethernet/if_rue2_reg.h /head/sys/dev/usb2/core/usb2_error.c /head/sys/dev/usb2/core/usb2_transfer.h /head/sys/dev/usb2/serial/uvscom2.c /head/sys/dev/usb2/ethernet/if_udav2.c /head/sys/modules/usb2/bluetooth /head/sys/dev/usb2/serial/uipaq2.c /head/sys/modules/usb2/ethernet_aue /head/sys/dev/usb2/storage/ata-usb2.c /head/sys/dev/usb2/controller/ohci2_pci.c /head/sys/modules/usb2/ndis/Makefile /head/sys/modules/usb2/wlan_ral/Makefile /head/sys/modules/usb2/misc_fm /head/sys/dev/usb2/core/usb2_lookup.c /head/sys/dev/usb2/sound/uaudio2.c /head/sys/dev/usb2/core/usb2_lookup.h /head/sys/dev/usb2/controller /head/lib/libusb20/libusb20.c /head/sys/dev/usb2/ethernet/if_kue2_reg.h /head/sys/dev/usb2/sound/uaudio2.h /head/lib/libusb20/libusb20.h /head/sys/modules/usb2/controller_ohci/Makefile /head/sys/dev/usb2/core/usb2_request.c /head/sys/modules/usb2/serial_ftdi/Makefile /head/sys/modules/usb2/wlan_zyd/Makefile /head/sys/modules/usb2/core/Makefile /head/sys/dev/usb2/ethernet/if_udav2_reg.h /head/sys/dev/usb2/core/usb2_request.h /head/sys/modules/usb2/serial_bser/Makefile /head/sys/dev/usb2/input/ums2.c /head/sys/dev/usb2/ethernet/usb2_ethernet.c /head/sys/dev/usb2/controller/ohci2.c /head/sys/dev/usb2/serial/usb2_serial.c /head/sys/dev/usb2/ethernet/usb2_ethernet.h /head/sys/dev/usb2/controller/ohci2.h /head/sys/dev/usb2/serial/usb2_serial.h /head/sys/dev/usb2/controller/usb2_pci.h /head/sys/dev/usb2/template/usb2_template_cdce.c /head/sys/dev/usb2/input/usb2_rdesc.h /head/share/man/man4/usb2_serial.4 /head/sys/modules/usb2/wlan_zyd /head/sys/modules/usb2/serial_chcom /head/sys/modules/usb2/serial_ipaq /head/sys/dev/usb2/core/usb2_msctest.c /head/sys/modules/usb2/serial_mct/Makefile /head/sys/dev/usb2/wlan/if_zyd2_reg.h /head/sys/modules/usb2/controller_at91dci /head/sys/dev/usb2/core/usb2_msctest.h /head/sys/modules/usb2/serial_visor /head/sys/modules/usb2/wlan_rum/Makefile /head/sys/dev/sound/pcm/mixer.c /head/sys/modules/usb2/ethernet_dav /head/sys/modules/usb2/serial_plcom /head/sys/dev/usb2/include/usb2_standard.h /head/sys/dev/sound/pcm/mixer.h /head/sys/dev/usb2/input/usb2_input.c /head/sys/modules/usb2/serial_foma /head/sys/modules/usb2/storage/Makefile /head/sys/dev/usb2/input/usb2_input.h /head/sys/modules/usb2/ethernet_rue /head/sys/modules/usb2/serial_ark/Makefile /head/sys/dev/usb2/serial/uark2.c /head/sys/modules/usb2/storage_rio/Makefile /head/sys/modules/usb2/serial_gensa /head/sys/modules/usb2/bluetooth_fw /head/sys/dev/usb2/serial/uftdi2_reg.h /head/sys/modules/usb2/serial_ipaq/Makefile /head/usr.sbin/usbconfig/usbconfig.8 /head/sys/dev/usb2/wlan/if_rum2_var.h /head/sys/dev/usb2/include/usb2_endian.h /head/share/man/man4/usb2_wlan.4 /head/sys/modules/usb2/ethernet_axe /head/sys/dev/usb2/serial/uvisor2.c /head/sys/modules/usb2/misc_dbp /head/sys/dev/usb2/ethernet/if_cue2.c /head/sys/modules/usb2/controller_ohci /head/sys/modules/usb2/serial_ftdi /head/sys/modules/usb2/serial_plcom/Makefile /head/sys/dev/usb2/bluetooth/ubtbcmfw2.c /head/sys/dev/usb2/core/usb2_process.c /head/sys/dev/usb2/core/usb2_process.h /head/sys/modules/usb2/misc_dbp/Makefile /head/sys/dev/usb2/core/usb2_debug.c /head/sys/dev/usb2/controller/usb2_bus.h /head/sys/modules/usb2/storage_mass/Makefile /head/sys/dev/usb2/core/usb2_debug.h /head/sys/modules/usb2/ethernet_rue/Makefile /head/sys/modules/usb2/serial_moscom/Makefile /head/sys/modules/usb2/ethernet_cue /head/sys/dev/usb2/core/usb2_compat_linux.c /head/sys/modules/usb2/serial /head/sys/dev/usb2/core/usb2_compat_linux.h /head/usr.sbin/usbconfig/usbconfig.c /head/sys/modules/usb2/ethernet_kue /head/sys/dev/usb2/wlan/usb2_wlan.c /head/sys/modules/usb2/storage_mass /head/sys/dev/usb2/wlan/usb2_wlan.h /head/share/man/man4/usb2_image.4 /head/sys/dev/usb2/misc/ufm2.c /head/sys/dev/usb2/include/usb2_defs.h /head/sys/modules/usb2/input_kbd/Makefile /head/sys/modules/Makefile /head/sys/dev/usb2/sound/usb2_sound.c /head/share/man/man4/usb2_misc.4 /head/sys/dev/usb2/core/usb2_mbuf.c /head/sys/dev/usb2/controller/ehci2.c /head/sys/dev/usb2/ethernet/if_cdce2_reg.h /head/sys/dev/usb2/sound/usb2_sound.h /head/sys/dev/usb2/core/usb2_mbuf.h /head/sys/dev/usb2/controller/ehci2.h /head/sys/modules/usb2/serial_cycom /head/sys/dev/usb2/serial/umoscom2.c /head/sys/dev/usb2/serial/ugensa2.c /head/sys/dev/usb2/controller/uss820dci_pccard.c /head/sys/modules/usb2/controller_ehci /head/sys/dev/usb2/serial/umodem2.c /head/sys/dev/usb2/ethernet/if_axe2.c /head/sys/dev/usb2/controller/uhci2.c /head/sys/dev/usb2/ethernet /head/sys/dev/usb2/template/usb2_template_mtp.c /head/sys/modules/usb2/sound /head/sys/dev/usb2/controller/uhci2.h /head/sys/modules/usb2/storage_ata /head/sys/modules/usb2/misc_fm/Makefile /head/sys/modules/usb2/controller_uhci /head/sys/dev/usb2/wlan/if_rum2_fw.h /head/sys/dev/usb2/core/usb2_dynamic.c /head/sys/dev/usb2/serial/uftdi2.c /head/sys/dev/usb2/core/usb2_dynamic.h /head/sys/modules/usb2/serial_vscom/Makefile /head/usr.sbin/usbconfig/dump.c /head/sys/dev/usb2/bluetooth/ng_ubt2_var.h /head/sys/modules/usb2/template /head/sys/dev/usb2/ndis/usb2_ndis.c /head/sys/modules/usb2/serial_ark /head/usr.sbin/usbconfig/dump.h /head/sys/dev/usb2/core/usb2_handle_request.c /head/sys/dev/usb2/core/usb2_hid.c /head/sys/dev/usb2/ndis/usb2_ndis.h /head/sys/dev/usb2/ethernet/if_aue2_reg.h /head/usr.sbin/usbconfig /head/sys/dev/usb2/core/usb2_handle_request.h /head/sys/dev/usb2/core/usb2_hid.h /head/share/man/man4/usb2_ethernet.4 /head/sys/modules/usb2/serial_cycom/Makefile /head/sys/modules/usb2/ethernet_axe/Makefile /head/sys/dev/usb2/core/usb2_hub.c /head/sys/dev/usb2/include /head/sys/modules/usb2/serial_bser /head/sys/dev/usb2/core/usb2_hub.h /head/sys/dev/usb2/core /head/sys/modules/usb2/ethernet_kue/Makefile /head/sys/modules/usb2/serial_modem /head/sys/modules/usb2/storage_ata/Makefile /head/sys/dev/usb2/wlan/if_ural2_var.h /head/sys/dev/usb2/controller/at91dci.c /head/sys/dev/usb2/controller/at91dci.h /head/sys/modules/usb2/serial_modem/Makefile /head/sys/modules/usb2/wlan/Makefile /head/sys/dev/usb2/controller/uss820dci_atmelarm.c /head/sys/modules/usb2/image /head/share/man/man4/usb2_template.4 /head/sys/dev/usb2/ndis/if_ndis_usb2.c /head/sys/dev/usb2/storage/urio2.c /head/sys/modules/usb2/serial_moscom /head/sys/modules/usb2/input /head/sys/dev/usb2/ethernet/if_cdce2.c /head/sys/conf/files /head/sys/dev/usb2/storage/umass2.c /head/share/man/man4/usb2_ndis.4 /head/sys/dev/usb2/serial/uchcom2.c /head/sys/dev/usb2/include/Makefile /head/sys/dev/usb2/serial/ubser2.c /head/sys/modules/usb2/controller_musb /head/sys/dev/usb2/include/urio2_ioctl.h /head/sys/dev/usb2/template/usb2_template_msc.c /head/sys/dev/usb2/ethernet/if_cue2_reg.h /head/sys/modules/usb2/ethernet_aue/Makefile /head/sys/modules/usb2/core /head/sys/modules/usb2/controller_ehci/Makefile /head/lib/libusb20/libusb20_desc.c /head/sys/dev/usb2/wlan/if_rum2_reg.h /head/lib/libusb20/libusb20_desc.h /head/sys/dev/usb2/wlan/if_zyd2.c /head/lib/libusb20/libusb20_compat01.c /head/sys/dev/usb2/serial/ufoma2.c /head/sys/modules/usb2/wlan_ral /head/sys/dev/usb2/ndis /head/lib/libusb20/libusb20_compat01.h /head/sys/modules/usb2/serial_bsa /head/sys/dev/usb2/include/usb2_devid.h /head/sys/modules/usb2/controller_uhci/Makefile /head/sys/dev/usb2/template/usb2_template.c /head/sys/modules/usb2/serial_lpt/Makefile /head/sys/dev/usb2/template/usb2_template.h /head/sys/dev/usb2/ethernet/if_aue2.c /head/sys/modules/usb2/controller_musb/Makefile /head/sys/dev/usb2/core/usb2_generic.c /head/sys/modules/usb2/template/Makefile /head/sys/dev/usb2/core/usb2_generic.h /head/sys/dev/usb2/sound /head/lib/libusb20/libusb20_compat10.c /head/sys/modules/usb2/image/Makefile /head/sys/modules/usb2/controller/Makefile /head/sys/modules/usb2/input_hid/Makefile /head/sys/dev/usb2/misc /head/sys/dev/usb2/input/uhid2.c /head/sys/dev/usb2/include/usb2_cdc.h /head/lib/libusb20/libusb20_compat10.h /head/sys/modules/usb2/serial_chcom/Makefile /head/sys/dev/usb2/core/usb2_device.c /head/sys/dev/usb2/core/usbdevs /head/sys/modules/usb2/storage_fs/Makefile /head/sys/dev/usb2/core/usb2_device.h /head/sys/modules/usb2/ethernet_dav/Makefile /head/sys/modules/usb2/bluetooth_ng /head/sys/dev/sound/pcm/channel.c /head/sys/dev/usb2/bluetooth/ng_ubt2.c /head/sys/modules/usb2/ndis /head/sys/dev/usb2/controller/uss820dci.c /head/sys/modules/usb2/serial_lpt /head/sys/modules/usb2 /head/sys/dev/sound/pcm/channel.h /head/sys/dev/usb2/controller/uss820dci.h /head/share/man/man4/usb2_quirk.4 /head/sys/dev/usb2 /head/sys/dev/usb2/core/usb2_config_td.c /head/sys/modules/usb2/ethernet_cdce/Makefile /head/lib/libusb20/libusb20_int.h /head/sys/dev/usb2/core/usb2_config_td.h /head/share/man/man4/usb2_storage.4 /head/sys/modules/usb2/Makefile /head/share/man/man4/usb2_bluetooth.4 /head/sys/modules/usb2/controller_at91dci/Makefile /head/sys/modules/usb2/serial_visor/Makefile /head/sys/dev/usb2/sound/uaudio2_pcm.c /head/sys/dev/usb2/serial/uplcom2.c /head/sys/dev/usb2/image /head/sys/dev/usb2/ethernet/if_kue2.c /head/sys/dev/usb2/wlan/if_rum2.c /head/share/man/man4/usb2_controller.4 /head/sys/modules/usb2/misc /head/sys/modules/usb2/quirk /head/sys/modules/usb2/serial/Makefile /head/sys/dev/usb2/misc/udbp2.c /head/sys/modules/usb2/serial_foma/Makefile /head/sys/dev/usb2/wlan/if_zyd2_fw.h /head/sys/dev/usb2/controller/ehci2_pci.c /head/share/man/man4/usb2_core.4 /head/sys/dev/usb2/core/usb2_core.c /head/sys/dev/usb2/misc/udbp2.h /head/sys/dev/usb2/input /head/sys/modules/usb2/bluetooth_ng/Makefile /head/sys/dev/usb2/wlan /head/sys/dev/usb2/core/usb2_core.h /head/sys/dev/usb2/misc/usb2_misc.c /head/sys/dev/usb2/controller/musb2_otg.c /head/sys/dev/usb2/bluetooth /head/sys/dev/usb2/misc/usb2_misc.h /head/sys/modules/usb2/bluetooth_fw/Makefile /head/sys/dev/usb2/controller/uhci2_pci.c /head/sys/dev/usb2/controller/musb2_otg.h /head/sys/dev/usb2/template /head/sys/modules/usb2/scanner /head/sys/dev/usb2/bluetooth/usb2_bluetooth.c /head/sys/dev/usb2/wlan/if_ural2_reg.h /head/sys/dev/usb2/input/ukbd2.c /head/sys/dev/usb2/storage/ustorage2_fs.c /head/sys/dev/usb2/bluetooth/usb2_bluetooth.h /head/sys/modules/usb2/controller_uss820dci/Makefile /head/sys/dev/usb2/include/usb2_revision.h /head/sys/dev/usb2/image/uscanner2.c /head/sys/dev/usb2/core/README.TXT /head/lib/libusb20/libusb20_ugen20.c /head/sys/dev/usb2/serial/ulpt2.c /head/sys/modules/usb2/storage_rio /head/sys/modules/usb2/input_kbd /head/sys/modules/usb2/serial_bsa/Makefile /head/sys/modules/usb2/bluetooth/Makefile /head/sys/dev/usb2/serial/ubsa2.c /head/sys/dev/usb2/include/usb2_mfunc.h /head/sys/dev/usb2/core/usb2_if.m /head/sys/modules/usb2/wlan_rum /head/sys/modules/usb2/controller_uss820dci /head/sys/dev/usb2/core/usb2_util.c /head/sys/dev/usb2/controller/usb2_controller.c /head/sys/dev/usb2/sound/uaudio2_reg.h /head/sys/dev/usb2/controller/at91dci_atmelarm.c /head/sys/modules/usb2/ethernet/Makefile /head/sys/dev/usb2/core/usb2_util.h /head/sys/modules/usb2/storage_fs /head/sys/dev/usb2/controller/usb2_controller.h /head/sys/dev/usb2/controller/musb2_otg_atmelarm.c /head/sys/dev/usb2/bluetooth/TODO.TXT /head/sys/dev/usb2/serial/umct2.c /head/sys/dev/usb2/controller/ohci2_atmelarm.c /head/sys/modules/usb2/wlan /head/sys/modules/usb2/storage /head/sys/modules/usb2/sound/Makefile /head/sys/modules/usb2/scanner/Makefile /head/sys/dev/usb2/quirk/usb2_quirk.c /head/sys/dev/usb2/storage /head/sys/modules/usb2/input_ms/Makefile /head/sys/dev/usb2/quirk/usb2_quirk.h /head/sys/modules/usb2/controller /head/sys/modules/usb2/input_hid /head/sys/dev/usb2/include/usb2_ioctl.h /head/sys/dev/usb2/core/usb2_parse.c /head/sys/dev/usb2/ethernet/if_axe2_reg.h /head/sys/dev/usb2/serial /head/sys/dev/usb2/image/usb2_image.c /head/sys/dev/usb2/serial/ucycom2.c /head/sys/modules/usb2/ethernet_cue/Makefile /head/sys/dev/usb2/core/usb2_dev.c /head/sys/dev/usb2/core/usb2_parse.h /head/sys/dev/usb2/image/usb2_image.h /head/sys/modules/usb2/ethernet_cdce /head/sys/dev/usb2/core/usb2_dev.h ============================================================== Author alfred Revision 184608 Date 2008-11-04T01:45:49.873142Z Log: unlimit my commit size check for usb2 import. /svnadmin/conf/sizelimit.conf ============================================================== Author alfred Revision 184239 Date 2008-10-25T01:46:29.765442Z Log: Merge r184172 (pthread condvar race fix) into 6.4-release. Reviewed by: re, davidxu Approved by: re /releng/6.4/lib/libthr/thread/thr_private.h /releng/6.4/sys /releng/6.4/lib/libthr/thread/thr_cond.c /releng/6.4/lib/libthr /releng/6.4/sys/kern/kern_umtx.c ============================================================== Author alfred Revision 184172 Date 2008-10-22T18:07:37.791968Z Log: Close races in the pthread_condvar implementation in 6.x, note that 7.x and beyond have very different implementations and these fixes do not apply. In the kernel: Move the flag UQF_UMTXQ from the thread's td_flags where it was unlocked to the umtx_q struct where it now has locking. Nuke the UMTX_DYNAMIC_SHARED define while here, it's unused and complex. Refactor do_wait so that if we get a signal or timeout AND woken up, we forward the wakeup to any other waiters pending to avoid a missed wakeup. In userland: Bring over some fixes from DragonFlyBSD for the userland part of pthread_condvars, basically relax the consistency on the number of waiters and signals pending because it was both too strict and incorrect causing lost wakeups. Reviewed by: davidxu Approved by: re /stable/6/lib/libthr/thread/thr_cond.c /stable/6/sys/kern/kern_umtx.c /stable/6/lib/libthr/thread/thr_private.h ============================================================== Author alfred Revision 181793 Date 2008-08-16T21:48:10.704153Z Log: Prevent crashes due to unlocked access to hash buckets in two sysctls. Use CACHE_LOCK to prevent crashes. Sysctls fixed: debug.hashstat.nchash and debug.hashstat.rawnchash. Obtained from: Juniper Networks MFC After: 1 week /head/sys/kern/vfs_cache.c ============================================================== Author alfred Revision 177491 Date 2008-03-22T07:29:45.000000Z Log: Fix a race where timeout/untimeout could cause crashes for Giant locked code. The bug: There exists a race condition for timeout/untimeout(9) due to the way that the softclock thread dequeues timeouts. The softclock thread sets the c_func and c_arg of the callout to NULL while holding the callout lock but not Giant. It then drops the callout lock and acquires Giant. It is at this point where untimeout(9) on another cpu/thread could be called. Since c_arg and c_func are cleared, untimeout(9) does not touch the callout and returns as if the callout is canceled. The softclock then tries to acquire Giant and likely blocks due to the other cpu/thread holding it. The other cpu/thread then likely deallocates the backing store that c_arg points to and finishes working and hence drops Giant. Softclock resumes and acquires giant and calls the function with the now free'd c_arg and we have corruption/crash. The fix: We need to track curr_callout even for timeout(9) (LOCAL_ALLOC) callouts. We need to free the callout after the softclock processes it to deal with the race here. Obtained from: Juniper Networks, iedowse Reviewed by: jhb, iedowse MFC After: 2 weeks. /head/sys/kern/kern_timeout.c ============================================================== Author alfred Revision 177209 Date 2008-03-15T03:20:53.000000Z Log: In calcru, we make sure the thread's state is correct, however we do not emit the thread or proc information making debugging this assertion difficult. Emit the thread/proc that caused the KASSERT to fail to ease debugging. Note: this assert does not exist in later branches of FreeBSD. /stable/6/sys/kern/kern_resource.c ============================================================== Author alfred Revision 172697 Date 2007-10-16T10:54:55.000000Z Log: Get rid of qaddr_t. Requested by: bde /head/sys/fs/nwfs/nwfs_vfsops.c /head/sys/fs/portalfs/portal_vfsops.c /head/sys/fs/udf/udf_vfsops.c /head/sys/fs/msdosfs/msdosfs_vfsops.c /head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c /head/sys/fs/hpfs/hpfs_vfsops.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/nfsclient/nfs_vfsops.c /head/sys/fs/unionfs/union_vfsops.c /head/sys/nfs4client/nfs4_vfsops.c /head/sys/fs/coda/coda_vfsops.c /head/sys/fs/nullfs/null_vfsops.c /head/sys/fs/pseudofs/pseudofs.c /head/sys/gnu/fs/xfs/FreeBSD/xfs_vfs.c /head/sys/ufs/ffs/ffs_vfsops.c /head/sys/fs/smbfs/smbfs_vfsops.c /head/sys/fs/ntfs/ntfs_vfsops.c /head/sys/gnu/fs/ext2fs/ext2_vfsops.c /head/sys/fs/cd9660/cd9660_vfsops.c ============================================================== Author alfred Revision 172696 Date 2007-10-16T10:40:53.000000Z Log: Export maxswzone, maxbcache, maxtsiz, dfldsiz, maxdsiz, dflssiz, maxssiz, and sgrowsiz via sysctl. MFC after: 1 week /head/sys/kern/subr_param.c ============================================================== Author alfred Revision 172217 Date 2007-09-18T09:22:16.000000Z Log: Reserve AF_ constants for vendors by giving them the odd numbered AF_ constants ranging from 39 to 133. Approved by: re (kensmith) /head/sys/sys/socket.h ============================================================== Author alfred Revision 172140 Date 2007-09-10T23:43:52.000000Z Log: FreeBSD 7 has a macro that converts calls to sx_init -> sx_init_flags, however FreeBSD 6 needs this as a function to preserve binary compat. Pointed out by: kmacy /stable/6/sys/kern/kern_sx.c /stable/6/sys/sys/sx.h ============================================================== Author alfred Revision 172059 Date 2007-09-05T22:18:39.000000Z Log: Remove/refactor calls to turnstile_release() as it turns out that turnstile_unpend_queue() drops the lock that turnstile_release() does. This was triggering a mtx_unlock() of an already unlocked mutex panic. Obtained from: Juniper Networks /stable/6/sys/kern/kern_rwlock.c ============================================================== Author alfred Revision 172051 Date 2007-09-05T17:38:28.000000Z Log: Unbreak "options DDB" breakage from previous commit. /stable/6/sys/kern/subr_turnstile.c /stable/6/sys/kern/kern_sx.c ============================================================== Author alfred Revision 172047 Date 2007-09-04T22:40:40.000000Z Log: Backport of optimized sx locks and rwlocks from FreeBSD 7.0. Reviewed by: attilio, jhb Obtained from: Juniper Networks /stable/6/sys/sys/_rwlock.h /stable/6/sys/kern/subr_turnstile.c /stable/6/sys/sys/rwlock.h /stable/6/sys/kern/kern_thread.c /stable/6/sys/sys/proc.h /stable/6/sys/kern/kern_ktrace.c /stable/6/sys/sys/lock_profile.h /stable/6/sys/conf/NOTES /stable/6/sys/netinet6/in6_src.c /stable/6/sys/conf/options /stable/6/sys/sys/sleepqueue.h /stable/6/sys/vm/vm_map.c /stable/6/sys/conf/files /stable/6/sys/kern/subr_sleepqueue.c /stable/6/sys/kern/kern_sx.c /stable/6/sys/sys/_sx.h /stable/6/sys/sys/turnstile.h /stable/6/sys/sys/sx.h /stable/6/sys/kern/kern_rwlock.c /stable/6/sys/dev/acpica/acpi_ec.c ============================================================== Author alfred Revision 165902 Date 2007-01-08T23:24:21.000000Z Log: Remove my "custom" locks that allow for lock acquire abort, they are not needed if the proper ordering is done in attach and shutdown. Remove usage of if_timer/watchdog and roll my own by piggybacking off the tick() function. Use the new usb system to allocate task queues instead of using the system wide thread for taskqueues. /head/sys/dev/usb/if_auereg.h /head/sys/dev/usb/if_aue.c ============================================================== Author alfred Revision 165901 Date 2007-01-08T23:21:06.000000Z Log: Add the following functions to abstract away the creation of task threads for usb. I hope that this will eventually be used for generic devices that need full fledged blocking threads for event processing. Create a taskqueue: void usb_ether_task_init(device_t, int, struct usb_taskqueue *); Enqueue a task: void usb_ether_task_enqueue(struct usb_taskqueue *, struct task *); Wait for all tasks queued to complete: void usb_ether_task_drain(struct usb_taskqueue *, struct task *); Destroy the taskqueue: void usb_ether_task_destroy(struct usb_taskqueue *); /head/sys/dev/usb/usb_ethersubr.c /head/sys/dev/usb/usb_ethersubr.h ============================================================== Author alfred Revision 165497 Date 2006-12-23T17:18:18.000000Z Log: Fix a deadlock in detach/shutdown. The problem was that I was acquiring the driver sx lock and then waiting for a taskqueue to drain, however the taskqueue itself would try to acquire the lock as well leading to a deadlock. To fix the problem roll my own exclusive lock that allows for lock cancellation. This is a normal exclusive lock, however if someone marks it as "dead" then all waiters who request an error return will get back an error instead of continuing to wait for the lock. In this particular case, the shutdown and detach functions kill the lock while the async task thread tries to acquire the lock but will abort if the lock returns an error. The other option was to drop the driver lock mid-detach and mid-shutdown, mid-detach was a ok, however mid-shutdown was not. While I'm here, fix a bug in what appears to be the mii link status word in the softc going out to lunch. Explicitly set the status word to 1 after initializing the mii. This would result in an interface that would never respond to "if_start" requests as the mii interface would always look down. /head/sys/dev/usb/if_auereg.h /head/sys/dev/usb/if_aue.c ============================================================== Author alfred Revision 165191 Date 2006-12-13T22:38:56.000000Z Log: Use callouts to prevent races. Cleanup debug code. /head/sys/dev/usb/if_auereg.h /head/sys/dev/usb/if_aue.c ============================================================== Author alfred Revision 165094 Date 2006-12-11T09:57:41.000000Z Log: defer all processing to a full fledged thread. once usb is SMP safe, this should be the first SMPsafe usb ethernet driver. /head/sys/dev/usb/if_auereg.h /head/sys/dev/usb/usb_ethersubr.c /head/sys/dev/usb/usb_ethersubr.h /head/sys/dev/usb/if_aue.c ============================================================== Author alfred Revision 164758 Date 2006-11-29T20:24:56.000000Z Log: Bump .Dd, (9 year jump!) Requested by: ru cvs: ---------------------------------------------------------------------- /head/share/man/man9/uio.9 ============================================================== Author alfred Revision 164756 Date 2006-11-29T19:19:44.000000Z Log: Stop INVARIANTS panics in if_aue with a stopgap. aue_tick calls several synchronous usb functions from a timeout(9), this is very broken since a timeout(9) is run as an interrupt and the usb functions tsleep. A stopgap fix is to schedule a taskqueue task from the timeout and defer work to that taskqueue task. /head/sys/dev/usb/if_auereg.h /head/sys/dev/usb/if_aue.c ============================================================== Author alfred Revision 164755 Date 2006-11-29T19:10:53.000000Z Log: Do a better job of documenting uio_resid. /head/share/man/man9/uio.9 ============================================================== Author alfred Revision 164754 Date 2006-11-29T19:08:45.000000Z Log: Document struct uio.h entries. /head/sys/sys/uio.h ============================================================== Author alfred Revision 159793 Date 2006-06-20T19:56:26.000000Z Log: MFC: don't deref NULL for really old modules. /stable/6/sys/kern/kern_conf.c ============================================================== Author alfred Revision 154487 Date 2006-01-17T17:29:03.000000Z Log: I ran into an nfs client panic a couple of times in a row over the last few days. I tracked it down to the fact that nfs_reclaim() is setting vp->v_data to NULL _before_ calling vnode_destroy_object(). After silence from the mailing list I checked further and discovered that ufs_reclaim() is unique among FreeBSD filesystems for calling vnode_destroy_object() early, long before tossing v_data or much of anything else, for that matter. The rest, including NFS, appear to be identical, as if they were just clones of one original routine. The enclosed patch fixes all file systems in essentially the same way, by moving the call to vnode_destroy_object() to early in the routine (before the call to vfs_hash_remove(), if any). I have only tested NFS, but I've now run for over eighteen hours with the patch where I wouldn't get past four or five without it. Submitted by: Frank Mayhar Requested by: Mohan Srinivasan MFC After: 1 week /head/sys/nfsclient/nfs_node.c /head/sys/fs/ntfs/ntfs_vnops.c /head/sys/fs/smbfs/smbfs_node.c /head/sys/fs/msdosfs/msdosfs_denode.c /head/sys/fs/cd9660/cd9660_node.c /head/sys/fs/nwfs/nwfs_node.c /head/sys/fs/udf/udf_vnops.c /head/sys/fs/hpfs/hpfs_vnops.c /head/sys/isofs/cd9660/cd9660_node.c ============================================================== Author alfred Revision 154266 Date 2006-01-12T19:15:14.000000Z Log: Novel idea, don't print a string if it is NULL! This protects people from loading _really_ old modules, like say from 5.x to a 6.x or 7.x system, like for instance right after an upgrade. /head/sys/kern/kern_conf.c ============================================================== Author alfred Revision 151361 Date 2005-10-15T06:17:29.000000Z Log: The kernel accepts sockaddrs with len set to zero for sockaddr_in types, so refactor the code here to grab them when length is zero. /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 147389 Date 2005-06-14T21:51:08.000000Z Log: Decode chroot(2) args. Approved by: re /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 146660 Date 2005-05-26T22:51:04.000000Z Log: MFC: 1.48 utimes/chflags. /stable/5/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 146658 Date 2005-05-26T22:49:06.000000Z Log: decode utimes, lutimes, futimes, chflags, lchflags. /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 146655 Date 2005-05-26T21:26:00.000000Z Log: MFC: When doing the initial open of the proc via procfs, complain if we are unable to open the /proc/pid/mem file. Otherwise doing a truss on a nonexistant pid makes us return success even though no such process exists. I've been working on this somewhat so I'm moving the parts I'm touching to be as style(9) compliant as I can. /stable/5/usr.bin/truss/main.c /stable/5/usr.bin/truss/extern.h /stable/5/usr.bin/truss/setup.c ============================================================== Author alfred Revision 146654 Date 2005-05-26T20:50:46.000000Z Log: MFC: procctl doc xref. /stable/5/usr.bin/truss/truss.1 ============================================================== Author alfred Revision 146653 Date 2005-05-26T20:47:29.000000Z Log: MFC: 1.46, 1.47 /stable/5/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 146652 Date 2005-05-26T20:06:57.000000Z Log: decode mkdir args. /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 144838 Date 2005-04-09T14:09:54.000000Z Log: Document the debug.witness.watch sysctl/tuneable. /head/share/man/man4/witness.4 ============================================================== Author alfred Revision 144178 Date 2005-03-27T12:53:25.000000Z Log: When doing the initial open of the proc via procfs, complain if we are unable to open the /proc/pid/mem file. Otherwise doing a truss on a nonexistant pid makes us return success even though no such process exists. /head/usr.bin/truss/setup.c /head/usr.bin/truss/main.c /head/usr.bin/truss/extern.h ============================================================== Author alfred Revision 144177 Date 2005-03-27T12:47:04.000000Z Log: I've been working on this somewhat so I'm moving the parts I'm touching to be as style(9) compliant as I can. /head/usr.bin/truss/setup.c /head/usr.bin/truss/main.c ============================================================== Author alfred Revision 143308 Date 2005-03-09T00:17:33.000000Z Log: Make MSG_NOSIGNAL available to native programs. Bump FreeBSD_version to note this change. Reviewed by: sobomax /head/sys/sys/param.h /head/lib/libc/sys/send.2 /head/sys/sys/socket.h ============================================================== Author alfred Revision 143109 Date 2005-03-03T17:20:36.000000Z Log: Change fix a bug where the length of data written by snprintf was being mishandled by using accumulation (into an uninitialized variable) instead of direct assignment. Reviewed by: scottl /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 141614 Date 2005-02-10T10:44:29.000000Z Log: back out 1.7 changes, unneeded and possibly wrong. /head/usr.bin/rpcgen/rpc_tblout.c ============================================================== Author alfred Revision 141152 Date 2005-02-02T22:14:10.000000Z Log: Modify rpcgen -t output to something that's a lot more useful in today's modern "no sir, not today" compilers. Basically, when building the table: use NULL instead of 0, use braces around array initializers, case the function pointers to xdrproc_t, don't cast function pointers that do not need casting. MFC After: 1 week /head/usr.bin/rpcgen/rpc_tblout.c ============================================================== Author alfred Revision 137113 Date 2004-11-01T19:05:04.000000Z Log: When listing the special $ variables, ($!, $#, etc) list them as $! instead of just !, this allows one to more easily locate/understand the section of the manpage in question. Additional wording correction by: keramida Reviewed by: keramida /head/bin/sh/sh.1 ============================================================== Author alfred Revision 137059 Date 2004-10-30T02:57:28.000000Z Log: MFC: 1.295 (clear procfs STOPEVENTS on reciept of SIGKILL) Approved by: re /releng/5.3/sys/kern/kern_sig.c ============================================================== Author alfred Revision 137058 Date 2004-10-30T02:56:22.000000Z Log: Allow kill -9 to kill processes stuck in procfs STOPEVENTs. /head/sys/kern/kern_sig.c ============================================================== Author alfred Revision 137031 Date 2004-10-29T08:26:58.000000Z Log: Backout 1.289.2.3 (MFC of fix for truss problems). Approved by: re /releng/5.3/sys/kern/kern_sig.c ============================================================== Author alfred Revision 137030 Date 2004-10-29T08:24:41.000000Z Log: Backout 1.291. re doesn't seem to think this fixes: Desired features for 5.3-RELEASE "More truss problems" /head/sys/kern/kern_sig.c ============================================================== Author alfred Revision 137002 Date 2004-10-27T23:19:34.000000Z Log: comment out debug printf. Submitted by: rees /head/sys/nfs4client/nfs4_vfsops.c ============================================================== Author alfred Revision 136958 Date 2004-10-26T02:25:17.000000Z Log: Give a "proper" prototype for the xdrproc_t type. And a proper one for rpctest_service(). This allows programs utilizing the rpc headers to utilize higher warning levels. /stable/4/include/rpc/svc.h /stable/4/include/rpc/xdr.h ============================================================== Author alfred Revision 136610 Date 2004-10-17T07:13:34.000000Z Log: Document EMSGSIZE return from recvmsg due to insufficient free files when transfering rights (file descriptors.) /head/lib/libc/sys/recv.2 ============================================================== Author alfred Revision 136263 Date 2004-10-08T15:23:50.000000Z Log: MFC 1.291: Clear a process's procfs trace points upon delivery of SIGKILL. Approved by: re (scottl) /stable/5/sys/kern/kern_sig.c ============================================================== Author alfred Revision 136024 Date 2004-10-01T14:15:20.000000Z Log: Clear a process's procfs trace points upon delivery of SIGKILL. MT5 candidate. (Desired features for 5.3-RELEASE "More truss problems") /head/sys/kern/kern_sig.c ============================================================== Author alfred Revision 136007 Date 2004-10-01T05:54:06.000000Z Log: cover soreadable and sowriteable with the corresponding socketbuffer locks. /head/sys/kern/vfs_aio.c ============================================================== Author alfred Revision 135960 Date 2004-09-30T09:18:48.000000Z Log: Forward declare struct kaioinfo to un-void a pointer in struct proc. /head/sys/sys/proc.h ============================================================== Author alfred Revision 135097 Date 2004-09-12T07:06:48.000000Z Log: WARNS=4 safe. /head/sbin/mount_autofs/mount_autofs.c ============================================================== Author alfred Revision 135094 Date 2004-09-12T02:24:01.000000Z Log: Fix build. /head/sbin/mount_autofs/mount_autofs.c ============================================================== Author alfred Revision 135093 Date 2004-09-12T01:25:47.000000Z Log: Hook mount_autofs to the build. /head/sbin/Makefile ============================================================== Author alfred Revision 134983 Date 2004-09-09T10:54:08.000000Z Log: bump .Dd requested by: ru /head/lib/libautofs/libautofs.3 ============================================================== Author alfred Revision 134969 Date 2004-09-09T01:26:11.000000Z Log: Plug an fd leak by using autoh_freeall(3). Refuse to run unless root. Check in /etc, /usr/local/etc and ./ for the "autotab" configuration file. Add more debug statements. /head/share/examples/autofs/driver/autodriver.c ============================================================== Author alfred Revision 134968 Date 2004-09-09T01:23:27.000000Z Log: Add/document autoreq_getxid(3), which gets the autofs request transaction id from the request, this is useful for debugging. Fix the autoh_freeall(3) function to properly free the array of auto handles. Before it was freeing individual members of the list OK, however it was then advancing the pointer and freeing the wrong data for the whole list. /head/lib/libautofs/libautofs.3 /head/lib/libautofs/libautofs.c /head/lib/libautofs/libautofs.h ============================================================== Author alfred Revision 134964 Date 2004-09-08T20:08:18.000000Z Log: Remove debug output. /head/lib/libautofs/libautofs.c ============================================================== Author alfred Revision 134962 Date 2004-09-08T19:47:29.000000Z Log: Fix a .Fn that should be an .Fa. Clear up the spelling and language when describing how to select/poll for an autofs event. /head/lib/libautofs/libautofs.3 ============================================================== Author alfred Revision 134940 Date 2004-09-08T08:44:14.000000Z Log: sync with private code: fix a 5.x'ism that 4.x needs protection from. make this code compile standalone. /head/share/examples/autofs/driver/autodriver.c /head/sbin/mount_autofs/mount_autofs.c /head/sys/modules/autofs/Makefile /head/lib/libautofs/libautofs.3 /head/lib/libautofs/libautofs.c /head/sbin/mount_autofs/mount_autofs.8 /head/share/examples/autofs/driver/Makefile /head/lib/libautofs/Makefile /head/sbin/mount_autofs/Makefile /head/share/examples/autofs/driver/autotab /head/lib/libautofs/libautofs.h ============================================================== Author alfred Revision 134827 Date 2004-09-05T22:24:28.000000Z Log: It's too easy to panic the machine when INVARIANTS are turned on and you botch a call to nmount(2). This is because there is an INVARIANTS check that asserts that opt->len must be zero if opt->val is not NULL. The problem is that the code does not actually follow this invariant if there is an error while processing mount options. Fix the code to honor the INVARIANT. Silence on: fs@ /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 134718 Date 2004-09-03T18:56:59.000000Z Log: Update doc dates. Pointed out by: ru /head/usr.bin/truss/truss.1 /head/share/man/man5/procfs.5 ============================================================== Author alfred Revision 134715 Date 2004-09-03T18:01:34.000000Z Log: Normalize the makefile. submitted by: ru /head/lib/libautofs/Makefile ============================================================== Author alfred Revision 134714 Date 2004-09-03T17:52:55.000000Z Log: xref and give a hint as to what procctl can be used for. /head/usr.bin/truss/truss.1 /head/share/man/man5/procfs.5 ============================================================== Author alfred Revision 134713 Date 2004-09-03T17:39:00.000000Z Log: Hook libautofs to the build. /head/lib/Makefile ============================================================== Author alfred Revision 134657 Date 2004-09-02T20:44:56.000000Z Log: Hook autofs to the build. /head/include/Makefile /head/etc/mtree/BSD.include.dist /head/sys/modules/Makefile /head/sys/conf/files /head/lib/libautofs/libautofs.c /head/lib/libautofs/Makefile /head/sys/conf/NOTES /head/sys/conf/options ============================================================== Author alfred Revision 134595 Date 2004-09-01T07:53:04.000000Z Log: Cleanup paths. Submitted by: ru /head/sys/modules/autofs/Makefile ============================================================== Author alfred Revision 134577 Date 2004-08-31T17:16:53.000000Z Log: Wrong makefile in the wrong place. Pointed out by: scottl /head/sys/modules/autofs/Makefile /head/sys/modules/autofs ============================================================== Author alfred Revision 134576 Date 2004-08-31T16:26:01.000000Z Log: Enter the autofs. /head/share/examples/autofs /head/share/examples/autofs/driver/autodriver.c /head/share/man/man5/autofs.5 /head/sbin/mount_autofs/mount_autofs.c /head/lib/libautofs/libautofs.3 /head/lib/libautofs/libautofs.c /head/sbin/mount_autofs/mount_autofs.8 /head/share/examples/autofs/driver/Makefile /head/lib/libautofs/Makefile /head/sbin/mount_autofs/Makefile /head/share/examples/autofs/driver/autotab /head/lib/libautofs/libautofs.h /head/share/examples/autofs/driver /head/lib/libautofs /head/sbin/mount_autofs ============================================================== Author alfred Revision 134277 Date 2004-08-24T21:48:21.000000Z Log: note that it is the caller's responsibility to free any buffer passed to setvbuf(3) and friends. /head/lib/libc/stdio/setbuf.3 ============================================================== Author alfred Revision 134020 Date 2004-08-19T16:34:31.000000Z Log: Reword recent addition about memory moving. Requested by: keramida Bump .Dd Requested by: ru /head/lib/libc/stdlib/malloc.3 ============================================================== Author alfred Revision 133985 Date 2004-08-18T21:13:15.000000Z Log: Clarify that realloc and reallocf may move the memory allocation. /head/lib/libc/stdlib/malloc.3 ============================================================== Author alfred Revision 133817 Date 2004-08-16T07:51:22.000000Z Log: This patch merges the sort fields for both pages, so you can (for example) view io stats while sorting by process size. Also adds voluntary and involuntary context-switch stats to the io page because there was lots of room. Submitted by: Dan Nelson dnelson at allantgroup.com /head/contrib/top/commands.c /head/contrib/top/top.c /head/usr.bin/top/machine.c ============================================================== Author alfred Revision 133349 Date 2004-08-08T23:29:36.000000Z Log: don't seg if the syscall is invalid for i386fbsd. /head/usr.bin/truss/i386-fbsd.c /head/usr.bin/truss/amd64-fbsd32.c /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 133306 Date 2004-08-08T03:21:37.000000Z Log: Bump __FreeBSD_version for vfs_mount signature change. /head/sys/sys/param.h ============================================================== Author alfred Revision 132955 Date 2004-08-01T09:19:41.000000Z Log: Comment some of the 'io' functions. /head/usr.bin/top/machine.c ============================================================== Author alfred Revision 132504 Date 2004-07-21T15:42:02.000000Z Log: unbreak !WITNESS. /head/sys/sys/mbuf.h ============================================================== Author alfred Revision 132489 Date 2004-07-21T07:13:14.000000Z Log: put several of the options for DEBUG_VFS_LOCKS under control of sysctls. /head/sys/kern/vfs_subr.c ============================================================== Author alfred Revision 132488 Date 2004-07-21T07:12:24.000000Z Log: Make sure we don't call mbuf allocation functions with mutexes held. Discussed with: rwatson /head/sys/kern/uipc_mbuf.c /head/sys/kern/uipc_mbuf2.c /head/sys/sys/mbuf.h ============================================================== Author alfred Revision 132320 Date 2004-07-17T23:56:24.000000Z Log: Fix macro so that we don't get missing initializer warnings. /head/sys/sys/mount.h ============================================================== Author alfred Revision 132319 Date 2004-07-17T23:53:37.000000Z Log: Change named parameters from max (which conflicts with a macro in libkern.h) to maxval. /head/sys/sys/resourcevar.h ============================================================== Author alfred Revision 132311 Date 2004-07-17T20:22:24.000000Z Log: s/manditory/mandatory Obtained from: Ceri Davies /head/MAINTAINERS ============================================================== Author alfred Revision 132309 Date 2004-07-17T20:00:45.000000Z Log: Explain that for nfs, rpc.lockd and truss I am just noting that I _can_ and would like to review changes if desired. Maintain my strict lock on libc/rpc. /head/MAINTAINERS ============================================================== Author alfred Revision 132308 Date 2004-07-17T19:48:49.000000Z Log: Support readlink(2) better. Readlink does not nul terminate the result buffer, so we need to format it ourselves. The problem is that the length is stored as the return value from readlink, so we need to pass the return value from our syscall into print_arg. Motivated by: truss garbage on my screen from reading /etc/malloc.conf. /head/usr.bin/truss/sparc64-fbsd.c /head/usr.bin/truss/ia64-fbsd.c /head/usr.bin/truss/syscall.h /head/usr.bin/truss/alpha-fbsd.c /head/usr.bin/truss/i386-fbsd.c /head/usr.bin/truss/i386-linux.c /head/usr.bin/truss/amd64-fbsd.c /head/usr.bin/truss/amd64-fbsd32.c /head/usr.bin/truss/amd64-linux32.c /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 132306 Date 2004-07-17T19:19:36.000000Z Log: When reporting reciept of a signal, print the signal's name. /head/usr.bin/truss/main.c /head/usr.bin/truss/extern.h /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 132272 Date 2004-07-17T00:26:31.000000Z Log: Give the most awesome example of how to parse the output of date back into epoch time. Everytime I'm asked to do this by someone I have to spend about ten minutes recreating the same command line. So record it under examples. /head/bin/date/date.1 ============================================================== Author alfred Revision 132268 Date 2004-07-16T21:47:43.000000Z Log: Request that diffs against nfs, rpc and rpc.lockd are run by me. /head/MAINTAINERS ============================================================== Author alfred Revision 132231 Date 2004-07-16T01:18:13.000000Z Log: Clarify getfsstat(2) usage. The getfsstat(2) function expects a buffer and a count, and returns a count. The confusing part is that the count it takes is a byte count, while the return value is a count of the number of structures it has filled out. Spell this out. /head/lib/libc/sys/getfsstat.2 ============================================================== Author alfred Revision 132197 Date 2004-07-15T08:01:00.000000Z Log: Cleanup shutdown output. /head/sys/kern/vfs_subr.c /head/sys/kern/kern_shutdown.c ============================================================== Author alfred Revision 132177 Date 2004-07-15T04:29:48.000000Z Log: Tidy up system shutdown. /head/sys/kern/vfs_subr.c /head/sys/kern/kern_shutdown.c ============================================================== Author alfred Revision 132174 Date 2004-07-15T03:49:52.000000Z Log: Disable SIGIO for now, leave a comment as to why it's busted and hard to fix. /head/sys/kern/kern_event.c ============================================================== Author alfred Revision 132138 Date 2004-07-14T07:02:03.000000Z Log: Make FIOASYNC, FIOSETOWN and FIOGETOWN work on kqueues. /head/sys/sys/eventvar.h /head/sys/kern/kern_event.c ============================================================== Author alfred Revision 132135 Date 2004-07-14T06:47:32.000000Z Log: do { } while(0) KNOTE macro, whitespace /head/sys/sys/event.h ============================================================== Author alfred Revision 132086 Date 2004-07-13T07:05:38.000000Z Log: Do not call sorecieve() in the context of a socket callback as it causes lock order reversals so->inpcb since we're called with the socket lock held. /head/sys/nfsserver/nfs_srvsock.c ============================================================== Author alfred Revision 132084 Date 2004-07-13T05:42:59.000000Z Log: Turn off SO_REUSEADDR and SO_REUSEPORT, they were causing EADDRINUSE to be returned from the protocol stack. Pointy hat to me for not groking what those options _really_ mean. /head/sys/nfsclient/nfs_socket.c ============================================================== Author alfred Revision 132038 Date 2004-07-12T15:22:44.000000Z Log: document the 'I' and 't' commands in the help screen in top(1). Submitted by: Alex Vasylenko lxv omut.org /head/contrib/top/commands.c ============================================================== Author alfred Revision 132026 Date 2004-07-12T09:06:51.000000Z Log: Document thread parameter passed to VFS_ROOT and vflush. /head/share/man/man9/vflush.9 /head/share/man/man9/VFS_ROOT.9 ============================================================== Author alfred Revision 132025 Date 2004-07-12T08:23:10.000000Z Log: Bump __FreeBSD_version for VFS_ROOT, vflush and kinfo_proc changes. /head/sys/sys/param.h ============================================================== Author alfred Revision 132023 Date 2004-07-12T08:14:09.000000Z Log: Make VFS_ROOT() and vflush() take a thread argument. This is to allow filesystems to decide based on the passed thread which vnode to return. Several filesystems used curthread, they now use the passed thread. /head/sys/ufs/ufs/ufs_extattr.c /head/sys/fs/msdosfs/msdosfs_vfsops.c /head/sys/fs/udf/udf_vfsops.c /head/sys/fs/umapfs/umap_vfsops.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/nfsclient/nfs_vfsops.c /head/sys/coda/coda_vfsops.c /head/sys/kern/vfs_mount.c /head/sys/fs/unionfs/union_vfsops.c /head/sys/nfs4client/nfs4_vfsops.c /head/sys/fs/nullfs/null_vfsops.c /head/sys/fs/pseudofs/pseudofs.c /head/sys/ufs/ffs/ffs_vfsops.c /head/sys/fs/pseudofs/pseudofs.h /head/sys/kern/vfs_export.c /head/sys/fs/cd9660/cd9660_vfsops.c /head/sys/kern/vfs_default.c /head/sys/fs/nwfs/nwfs_vfsops.c /head/sys/fs/portalfs/portal_vfsops.c /head/sys/kern/init_main.c /head/sys/fs/unionfs/union_vnops.c /head/sys/kern/vfs_extattr.c /head/sys/fs/hpfs/hpfs_vfsops.c /head/sys/isofs/cd9660/cd9660_vfsops.c /head/sys/kern/vfs_syscalls.c /head/sys/fs/fdescfs/fdesc.h /head/sys/fs/coda/coda_vfsops.c /head/sys/sys/mount.h /head/sys/kern/vfs_lookup.c /head/sys/gnu/ext2fs/ext2_vfsops.c /head/sys/fs/devfs/devfs_vfsops.c /head/sys/ufs/ufs/ufs_vfsops.c /head/sys/kern/vfs_subr.c /head/sys/fs/ntfs/ntfs_vfsops.c /head/sys/fs/smbfs/smbfs_vfsops.c /head/sys/gnu/fs/ext2fs/ext2_vfsops.c /head/sys/sys/vnode.h ============================================================== Author alfred Revision 132018 Date 2004-07-12T06:22:42.000000Z Log: Use SO_REUSEADDR and SO_REUSEPORT when reconnecting NFS mounts. Tune the timeout from 5 seconds to 12 seconds. Provide a sysctl to show how many reconnects the NFS client has done. Seems to fix IPv6 from: kuriyama /head/sys/nfsclient/nfs_socket.c /head/sys/sys/socketvar.h /head/sys/kern/uipc_socket.c ============================================================== Author alfred Revision 132015 Date 2004-07-12T04:55:07.000000Z Log: Cache a pointer to the old proc (as well as negative cache) to make computing the io statistics over and over not as expensive. This is a bit of a cop out, as I should just allocate a struct with the computed values, but this will do for now. /head/usr.bin/top/machine.c ============================================================== Author alfred Revision 132014 Date 2004-07-12T04:53:33.000000Z Log: Reserve a pointer "ki_udata" in kinfo_proc as a convenience for userland. /head/sys/sys/user.h ============================================================== Author alfred Revision 132007 Date 2004-07-12T04:13:38.000000Z Log: Dump the actual bad values when this assertion is tripped. /head/sys/kern/vfs_subr.c ============================================================== Author alfred Revision 132005 Date 2004-07-12T03:00:50.000000Z Log: Make 'S' in interactive mode toggle display of system processes. /head/contrib/top/commands.c /head/contrib/top/top.c /head/contrib/top/top.X ============================================================== Author alfred Revision 131893 Date 2004-07-10T09:23:53.000000Z Log: Decode the "wence" arg to lseek and linux_lseek. /head/usr.bin/truss/syscall.h /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 131886 Date 2004-07-09T22:33:43.000000Z Log: document vfs_suser. /head/share/man/man9/vfs_suser.9 /head/share/man/man9/Makefile ============================================================== Author alfred Revision 131784 Date 2004-07-08T06:11:36.000000Z Log: fixup sysctl by fsid node /head/sys/kern/vfs_subr.c ============================================================== Author alfred Revision 131780 Date 2004-07-08T05:47:51.000000Z Log: struct mount->mnt_data has been a qaddr_t since '94 (rev 1.1), It should be a void *, fix it. /head/sys/sys/mount.h ============================================================== Author alfred Revision 131773 Date 2004-07-08T00:43:50.000000Z Log: There is no VOP_TRUNCATE anymore. style(9) (parenthesis around return values) the example. /head/share/man/man9/VOP_RDWR.9 ============================================================== Author alfred Revision 131772 Date 2004-07-08T00:38:28.000000Z Log: s/proc/thread /head/share/man/man9/VOP_RENAME.9 /head/share/man/man9/VOP_RDWR.9 ============================================================== Author alfred Revision 131771 Date 2004-07-08T00:36:58.000000Z Log: Update comments in example as well. /head/share/man/man9/VOP_LOOKUP.9 ============================================================== Author alfred Revision 131770 Date 2004-07-08T00:11:43.000000Z Log: Update because struct componentname now has a thread pointer instead of a proc pointer. /head/share/man/man9/VOP_LOOKUP.9 ============================================================== Author alfred Revision 131769 Date 2004-07-08T00:08:18.000000Z Log: Update in the face of NDFREE. Basically the advice on freeing the componentname buffers is no longer correct. Update the example code. /head/share/man/man9/VOP_CREATE.9 ============================================================== Author alfred Revision 131762 Date 2004-07-07T20:47:42.000000Z Log: there's no such define as KERN_NAME_MAX, change to _POSIX_NAME_MAX. /head/lib/libc/sys/pathconf.2 ============================================================== Author alfred Revision 131734 Date 2004-07-07T07:00:02.000000Z Log: style(9) /head/sys/kern/vfs_default.c ============================================================== Author alfred Revision 131733 Date 2004-07-07T06:58:29.000000Z Log: do the vfsstd thing instead of messing up our VFS_SYSCTL macro. /head/sys/kern/vfs_init.c /head/sys/kern/vfs_default.c /head/sys/sys/mount.h ============================================================== Author alfred Revision 131697 Date 2004-07-06T09:40:44.000000Z Log: use vfs_suser() to restrict access to the nfs mount's timeout. /head/sys/nfsclient/nfs_vfsops.c ============================================================== Author alfred Revision 131696 Date 2004-07-06T09:39:32.000000Z Log: Use vfs_suser() where appropriate. /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 131695 Date 2004-07-06T09:37:43.000000Z Log: Introduce vfs_suser(), used to test if a user should have special privs for a mount. /head/sys/sys/mount.h /head/sys/kern/vfs_subr.c ============================================================== Author alfred Revision 131694 Date 2004-07-06T09:23:17.000000Z Log: NFS mobility Phase VI: Export NFS mount state via sysctl. Export timeout via sysctl. /head/sys/nfsclient/nfs_vfsops.c ============================================================== Author alfred Revision 131691 Date 2004-07-06T09:12:03.000000Z Log: NFS mobility PHASE I, II & III (phase VI, and V pending): Rebind the client socket when we experience a timeout. This fixes the case where our IP changes for some reason. Signal a VFS event when NFS transitions from up to down and vice versa. Add a placeholder vfs_sysctl where we will put status reporting shortly. Also: Make down NFS mounts return EIO instead of EINTR when there is a soft timeout or force unmount in progress. /head/sys/nfsclient/nfs.h /head/sys/nfsclient/nfs_vnops.c /head/sys/nfsclient/nfs_socket.c /head/sys/nfsclient/nfsmount.h /head/sys/nfsclient/nfs_bio.c /head/sys/sys/mount.h /head/sys/kern/vfs_subr.c /head/sys/nfsclient/nfs_vfsops.c /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 131593 Date 2004-07-04T20:21:58.000000Z Log: Pass the operation in with the fsidctl. Remove some fsidctls that we will not be using. Correct prototypes for fs sysctls. /head/sys/sys/mount.h /head/sys/kern/vfs_subr.c ============================================================== Author alfred Revision 131562 Date 2004-07-04T10:52:54.000000Z Log: Introduce a new kevent filter. EVFILT_FS that will be used to signal generic filesystem events to userspace. Currently only mount and unmount of filesystems are signalled. Soon to be added, up/down status of NFS. Introduce a sysctl node used to route requests to/from filesystems based on filesystem ids. Introduce a new vfsop, vfs_sysctl(mp, req) that is used as the callback/ entrypoint by the sysctl code to change individual filesystems. /head/sys/sys/event.h /head/sys/sys/mount.h /head/sys/kern/vfs_subr.c /head/sys/kern/kern_event.c /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 131559 Date 2004-07-04T10:19:15.000000Z Log: Revision 1.496 would not boot on my system due to ffs_mount -> bdevvp -> getnewvnode(..., mp = NULL, ...) -> insmntqueue(vp, mp = NULL) -> KASSERT -> panic Make getnewvnode() only call insmntqueue() if the mountpoint parameter is not NULL. /head/sys/kern/vfs_subr.c ============================================================== Author alfred Revision 131439 Date 2004-07-02T07:40:10.000000Z Log: We allocate an array of pointers to the global file table while not holding the filelist_lock. This means the filelist can change size while allocating. Detect this race and retry the allocation. /head/sys/kern/uipc_usrreq.c ============================================================== Author alfred Revision 131412 Date 2004-07-01T15:49:28.000000Z Log: Tell what percentage of the total IO a process is doing. TODO: Show system totals. /head/usr.bin/top/machine.c ============================================================== Author alfred Revision 131402 Date 2004-07-01T09:12:38.000000Z Log: New feature, provide a display that shows the amount of IO processes are doing. Toggle this mode by hitting "m" or passing the command line option "-m io" to top(1). This allows one to identify disk bandwidth hogs much easier. /head/contrib/top/top.c /head/usr.bin/top/machine.c /head/contrib/top/top.X /head/contrib/top/top.h ============================================================== Author alfred Revision 131310 Date 2004-06-30T04:19:23.000000Z Log: style, remove register. /head/usr.bin/top/machine.c ============================================================== Author alfred Revision 127735 Date 2004-04-01T22:59:22.000000Z Log: Revert atkb change so that we can rebreak POLA for the sake of release. Requested by: scottl /stable/4/sys/i386/conf/GENERIC ============================================================== Author alfred Revision 127732 Date 2004-04-01T21:49:17.000000Z Log: MFC: Fix booting with ps2 keyboards. /stable/4/sys/i386/conf/GENERIC ============================================================== Author alfred Revision 127731 Date 2004-04-01T21:48:31.000000Z Log: Fix booting with ps2 keyboards. /head/sys/i386/conf/GENERIC.hints ============================================================== Author alfred Revision 127329 Date 2004-03-23T09:16:18.000000Z Log: decode mprotect args while i'm here. /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 127328 Date 2004-03-23T09:04:06.000000Z Log: decode fcntl and mmap arguments. /head/usr.bin/truss/syscall.h /head/usr.bin/truss/Makefile /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 127323 Date 2004-03-23T00:32:27.000000Z Log: Emit a traceback when witness_trace is set and witness_warn() is called and triggers (typically caused by sleeping with a non-sleepable lock). Reviewed by: jhb /head/sys/kern/subr_witness.c ============================================================== Author alfred Revision 125903 Date 2004-02-17T00:13:59.000000Z Log: The callrpc call to unmonitor hosts was passing the wrong xdr decode/encode functions for the arguments to the statd unmonitor call. Fix it. /head/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 124640 Date 2004-01-17T21:25:05.000000Z Log: Don't panic because of RPC proto mismatches. Whitespace cleanup. Submitted by: Jim Rees /head/sys/rpc/rpcclnt.c ============================================================== Author alfred Revision 124453 Date 2004-01-13T01:04:36.000000Z Log: Prevent a panic when mounting a v2/v3 only server with mount_nfs4. Submitted by: Jim Rees Reported/testing: Florian C. Smeets /head/sys/rpc/rpcclnt.c ============================================================== Author alfred Revision 124323 Date 2004-01-10T02:59:54.000000Z Log: Fix a panic when attempting a v4 op against a v3/v2-only server. It happens because rpcclnt_request is incorrectly returning 0 in the case of an rpc mismatch or auth error. Submitted by: Jim Rees /head/sys/rpc/rpcclnt.c ============================================================== Author alfred Revision 124197 Date 2004-01-06T21:05:13.000000Z Log: Hook mount_nfs4 to the build. Noticed by: rwatson /head/sbin/Makefile ============================================================== Author alfred Revision 123947 Date 2003-12-29T00:40:44.000000Z Log: Explicitly state that mknod(8) can be used to undelete entries under devfs. /head/share/man/man5/devfs.5 ============================================================== Author alfred Revision 123946 Date 2003-12-29T00:37:52.000000Z Log: Document that mknod(8) can be used to undelete entries under devfs. /head/sbin/mknod/mknod.8 ============================================================== Author alfred Revision 123937 Date 2003-12-28T13:32:49.000000Z Log: Use intmax_t to avoid wrap on large images in verbose output. /head/usr.sbin/burncd/burncd.c ============================================================== Author alfred Revision 123876 Date 2003-12-26T18:47:41.000000Z Log: Fix percentages by using long long to hold values for 'space', overflow was breaking a bunch of the stats, specifically the percentage displayed for wired memory. Fix the output for current/peak/max lines, I forgot to output the types. 161/320/51200 (current/peak/max): -to- 639/25696/51200 mbufs in use (current/peak/max): /head/usr.bin/netstat/mbuf.c ============================================================== Author alfred Revision 123854 Date 2003-12-26T05:58:32.000000Z Log: regen (__restrict) /head/sys/sys/sysproto.h ============================================================== Author alfred Revision 123853 Date 2003-12-26T05:58:16.000000Z Log: Put restrict back in, the compilation failure was my fault when I did a bad merge from the PR. Thanks to Bruce Evans for explaining. /head/sys/kern/syscalls.master ============================================================== Author alfred Revision 123852 Date 2003-12-26T05:54:35.000000Z Log: Add __restrict qualifiers to copyinfrom, copyinstrfrom, copystr, copyinstr, copyin and copyout. /head/sys/sys/systm.h /head/sys/kern/kern_subr.c /head/sys/sys/uio.h ============================================================== Author alfred Revision 123818 Date 2003-12-24T19:10:16.000000Z Log: regen (after removal of restrict) /head/sys/sys/sysproto.h ============================================================== Author alfred Revision 123817 Date 2003-12-24T19:09:45.000000Z Log: We're not ready for restrict qualifiers here. /head/sys/kern/syscalls.master ============================================================== Author alfred Revision 123816 Date 2003-12-24T19:00:49.000000Z Log: fix warnings. NULL -> 0 /head/sys/dev/ray/if_ray.c ============================================================== Author alfred Revision 123815 Date 2003-12-24T18:59:20.000000Z Log: NULL -> 0 /head/sys/dev/idt/idt_harp.c /head/sys/dev/idt/idt.c ============================================================== Author alfred Revision 123814 Date 2003-12-24T18:52:41.000000Z Log: Add restrict qualifiers. (docs) PR: 44394 Submitted by: Craig Rodrigues /head/lib/libc/sys/getsockopt.2 /head/lib/libc/sys/getpeername.2 /head/lib/libc/sys/accept.2 /head/lib/libc/sys/recv.2 /head/lib/libc/sys/getsockname.2 ============================================================== Author alfred Revision 123813 Date 2003-12-24T18:52:09.000000Z Log: regen /head/sys/sys/sysproto.h ============================================================== Author alfred Revision 123812 Date 2003-12-24T18:51:01.000000Z Log: NULL -> 0 where appropriate. /head/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c /head/sys/netgraph/atm/sscfu/ng_sscfu.c /head/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c /head/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c /head/sys/netgraph/atm/ng_atm.c ============================================================== Author alfred Revision 123811 Date 2003-12-24T18:47:43.000000Z Log: Add restrict qualifiers. PR: 44394 Submitted by: Craig Rodrigues /head/sys/kern/syscalls.master /head/sys/sys/socket.h /head/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 123810 Date 2003-12-24T18:23:02.000000Z Log: change NULL to 0 to silence warning. /head/sys/dev/hatm/if_hatm_intr.c /head/sys/compat/ndis/kern_ndis.c ============================================================== Author alfred Revision 123767 Date 2003-12-23T14:06:24.000000Z Log: I asked Bosko Milekic for help with 'peak' reporting, and he suggested using the old 'cached' value but reporting it as 'cached'. I've decided to report the 'cached' as 'peak', why? Well because it is the peak, the peak of what is actually allocated. 'cached' doesn't make sense to me as a user. /head/usr.bin/netstat/mbuf.c ============================================================== Author alfred Revision 123766 Date 2003-12-23T13:54:16.000000Z Log: Introduce mp_maxcpus which can be used by libkvm utils to find out how many CPUs the system was compiled for. Export the variable via a sysctl node 'kern.smp.maxcpus' as well. /head/sys/kern/subr_smp.c ============================================================== Author alfred Revision 123764 Date 2003-12-23T13:24:03.000000Z Log: Restore old netstat -m output. A new flag '-c' can be used to ask for the cache stats. /head/usr.bin/netstat/netstat.1 /head/usr.bin/netstat/main.c /head/usr.bin/netstat/netstat.h /head/usr.bin/netstat/mbuf.c ============================================================== Author alfred Revision 123443 Date 2003-12-11T11:30:26.000000Z Log: This patch fixes two little portability (to !GCC compilers) problems: 1. Use C99-style variable argument macros rather than GNU ones. 2. Don't cast id to ident_t. Its type is already ident_t and casting to a union type is a constraint violation. Submitted by: Stefan Farfeleder /head/sys/nfs4client/nfs4_idmap.c ============================================================== Author alfred Revision 123442 Date 2003-12-11T11:28:11.000000Z Log: Significantly reduce the "jitter" that is typical for PS/2 mice when using a KVM. There is no actual solution possible, but this gets us pretty close. Typically when switching back to a FreeBSD box and moving the mouse wild data is produced, because the protocol's validation/checksum system is extremely weak it is impossible to determine that we're out of sync before dropping several bogus packets to user land. The actual solution that appears to offer the best clamping of jitter is to buffer the mouse packets if we've not seen mouse activity for more than .5 seconds. Then waiting to flush that data for 1/20th of a second. If within that 20th of a second we get any packets that do fail the weak test we drop the entire queue and back off accepting data from the mouse for 2 seconds and then repeat the whole deal. You can still get _some_ jitter, notably if you switch to the FreeBSD box, then move the mouse just enough to generate one or two packets. Those packets may be bogus, but may still pass the validity check. One way to finally kill the problem once and for all is to check the initial packets for "wild" values. Typically one sees packets in the +/-60 range during normal operation, however when bogus data is generated it's typically near the outer range of +/-120 or more, those packets would be a good candidate for dropping or clamping. I've been running with this for several weeks now and it has significantly helped me stay sane even with a piece of junk Belkin KVM causing wild jitter each and every time I switch. Lastly I'd like to note that my experience with Windows shows me that somehow the Microsoft PS/2 driver typically avoids this problem, but that may only be possible when running the mouse in a dumb-ed down PS/2 mode that Belkin recommends on their site. /head/sys/dev/atkbdc/psm.c /head/sys/isa/psm.c ============================================================== Author alfred Revision 122953 Date 2003-11-22T02:21:49.000000Z Log: Use function pointers to remove the depenancy cross dependancy on nfs4 and the nfs3 client. Also fix some bugs that happen to be causing crashes in both v3 and v4 introduced by the v4 import. Submitted by: Jim Rees Approved by: re /head/sys/nfsclient/nfs.h /head/sys/nfs4client/nfs4_vfsops.c /head/sys/nfsclient/nfsmount.h /head/sys/nfsclient/nfs_bio.c /head/sys/nfsclient/nfsnode.h /head/sys/nfsclient/nfs_subs.c /head/sys/nfsclient/nfs_vfsops.c ============================================================== Author alfred Revision 122952 Date 2003-11-22T02:18:30.000000Z Log: Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options). Cleanup option parsing for mount_nfs4 program, and remove dead code. Approved by: re /head/sbin/mount_nfs4/mount_nfs4.c /head/sbin/mount_nfs4/mount_nfs4.8 ============================================================== Author alfred Revision 122951 Date 2003-11-22T02:16:53.000000Z Log: Bring in manpage for idmapd and change domain to @FreeBSD.org. Approved by: re /head/sbin/idmapd/idmapd.c /head/sbin/idmapd/idmapd.8 ============================================================== Author alfred Revision 122911 Date 2003-11-20T04:42:50.000000Z Log: Remove unneeded file. (could be repo removed as nothing ever referenced it.) Submitted by: Jim Rees /head/sys/rpc/rpcv2.h ============================================================== Author alfred Revision 122736 Date 2003-11-15T05:03:15.000000Z Log: Move the declaration for "struct nfs4_fctx" out from under #ifdef KERNEL for fstat(1). /head/sys/nfsclient/nfs.h ============================================================== Author alfred Revision 122725 Date 2003-11-15T01:58:47.000000Z Log: Use %zu to printf a size_t instead of an int cast. Requested by: jmallett, wollman /head/sys/rpc/rpcclnt.c ============================================================== Author alfred Revision 122722 Date 2003-11-15T01:25:26.000000Z Log: Fix compliation on sparc64. Change arg from uint32_t to size_t to match prototypes. /head/sys/nfs4client/nfs4_subs.c ============================================================== Author alfred Revision 122721 Date 2003-11-15T01:24:46.000000Z Log: Fix compilation warnings on sparc. Cast sizeof to int for printing with %d. /head/sys/rpc/rpcclnt.c ============================================================== Author alfred Revision 122720 Date 2003-11-15T01:02:00.000000Z Log: nfs4 client module. Not hooked up to the build yet. /head/sys/modules/nfs4client /head/sys/modules/nfs4client/Makefile ============================================================== Author alfred Revision 122719 Date 2003-11-15T00:26:42.000000Z Log: unbreak LINT. /head/sys/nfs4client/nfs4_vfsops.c /head/sys/nfsclient/krpc_subr.c ============================================================== Author alfred Revision 122704 Date 2003-11-14T21:04:33.000000Z Log: University of Michigan's Citi NFSv4 userland client code. Submitted by: Jim Rees /head/sbin/mount_nfs4/Makefile /head/sbin/mount_nfs4/mount_nfs4.c /head/sbin/idmapd/Makefile /head/sbin/mount_nfs4 /head/sbin/idmapd/idmapd.c /head/sbin/idmapd /head/sbin/mount_nfs4/mount_nfs4.8 /head/sbin/idmapd/idmapd.8 ============================================================== Author alfred Revision 122698 Date 2003-11-14T20:54:10.000000Z Log: University of Michigan's Citi NFSv4 kernel client code. Submitted by: Jim Rees /head/sys/nfs4client/nfs4m_subs.h /head/sys/nfsclient/bootp_subr.c /head/sys/nfsclient/nfsmount.h /head/sys/nfsclient/nfs_bio.c /head/sys/nfs/nfsproto.h /head/sys/nfs4client/nfs4_vfs.h /head/sys/nfsclient/nfs_vfsops.c /head/sys/nfsclient/nfs_nfsiod.c /head/sys/nfs4client/nfs4_dev.c /head/sys/nfs4client/nfs4_vn_subs.c /head/sys/nfsclient/nfs_lock.c /head/sys/nfs4client/nfs4_vfsops.c /head/sys/rpc/rpcv2.h /head/sys/nfs4client/nfs4_dev.h /head/sys/nfsclient/nfsnode.h /head/sys/nfs/rpcv2.h /head/sys/nfs4client /head/sys/nfsclient/nfsargs.h /head/sys/nfs4client/nfs4_idmap.c /head/sys/nfsclient/nfs_vnops.c /head/sys/nfs4client/nfs4_idmap.h /head/sys/conf/files /head/sys/nfsclient/nfs_subs.c /head/sys/nfs4client/nfs4_vnops.c /head/sys/nfsclient/nfs_diskless.c /head/sys/nfsclient/krpc_subr.c /head/sys/nfs4client/nfs4_subs.c /head/sys/nfsclient/nfs_node.c /head/sys/nfsclient/nfs.h /head/sys/nfsclient/nfs_socket.c /head/sys/rpc/rpcm_subs.h /head/sys/nfs4client/nfs4.h /head/sys/nfsclient/nfsm_subs.h /head/sys/rpc/rpcclnt.c /head/sys/nfs4client/nfs4_socket.c /head/sys/nfs4client/nfs4_vn.h /head/sys/nfs4client/nfs4_vfs_subs.c /head/sys/rpc/rpcclnt.h ============================================================== Author alfred Revision 122450 Date 2003-11-11T00:32:46.000000Z Log: Stop using shared locks for nfs vop locks. The reason this was done was to avoid a race to the root when an NFS server went down. However a semi-recent change to the way that the kernel's lookup() routine traverses mount points prevents this. Rev 1.39 of vfs_lookup.c changed the ordering of locks such that we aquire a shared lock on the mount point being accessed and then drop the directory vnode lock before requesting the target lock. With that in place we no longer need shared locks for NFS to prevent race to the root lockups. /head/sys/nfsclient/nfs_vnops.c ============================================================== Author alfred Revision 122436 Date 2003-11-10T20:39:44.000000Z Log: Fix a bug where the taskqueue kproc was being parented by init because RFNOWAIT was being passed to kproc_create. The result was that shutdown took quite a bit longer because this errant "child" would not respond to termination signals from init at system shutdown. RFNOWAIT dissassociates itself from the caller by attaching to init as a parent proc. We could have had the taskqueue proc listen for SIGKILL, but being able to SIGKILL a potentially critical system process doesn't seem like a good idea. /head/sys/kern/subr_taskqueue.c ============================================================== Author alfred Revision 121524 Date 2003-10-26T02:38:34.000000Z Log: constify bintime_add, bintime_sub, bintime2timespec, timespec2bintime, bintime2timeval and timeval2bintime. /head/sys/sys/time.h ============================================================== Author alfred Revision 121523 Date 2003-10-26T02:19:00.000000Z Log: constify the second args to timevaladd() and timevalsub(). /head/sys/sys/time.h /head/sys/kern/kern_time.c ============================================================== Author alfred Revision 117102 Date 2003-07-01T09:45:35.000000Z Log: Don't segfault if setproctitle(3) is called with NULL initially. The old buffer was not being initialized and a later str*() op on it would cause a crash if it wasn't initialized by a previous call to setproctitle(3) with an actual string. Noticed by: Ashley Penney /head/lib/libc/gen/setproctitle.c ============================================================== Author alfred Revision 116585 Date 2003-06-19T18:13:07.000000Z Log: Unlock the struct file lock before aquiring Giant, otherwise we can deadlock because of lock order reversals. This was not caught because Witness ignores pool mutexes right now. Diagnosis and help: truckman Noticed by: pho /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 112657 Date 2003-03-26T01:46:11.000000Z Log: req can not be NULL or we'd die. Sponsored by: RED /head/sys/nfsclient/nfs_socket.c ============================================================== Author alfred Revision 112655 Date 2003-03-26T01:44:46.000000Z Log: req can't be NULL or we'd die. Sponsored by: RED /stable/4/sys/nfs/nfs_socket.c ============================================================== Author alfred Revision 112176 Date 2003-03-13T06:29:44.000000Z Log: Make sure we actually have a dev before dereferencing in case someone botches and sends us a NULL pointer. The other code in this file seems to expect it to be able to handle it behaving this way. /head/sys/kern/subr_bus.c ============================================================== Author alfred Revision 111009 Date 2003-02-16T16:12:10.000000Z Log: Fix logic in loop so it actually executes. Pointed out by: fjoe /head/sys/kern/sysv_shm.c ============================================================== Author alfred Revision 110982 Date 2003-02-16T06:08:55.000000Z Log: prevent overflow in shminfo.shmmax /head/sys/kern/sysv_shm.c ============================================================== Author alfred Revision 110908 Date 2003-02-15T06:04:55.000000Z Log: Do not allow kqueues to be passed via unix domain sockets. /head/sys/kern/uipc_usrreq.c /head/sys/kern/vfs_vnops.c /head/sys/sys/file.h /head/sys/kern/sys_socket.c /head/sys/kern/kern_descrip.c /head/sys/kern/sys_pipe.c /head/sys/kern/kern_event.c ============================================================== Author alfred Revision 110906 Date 2003-02-15T05:52:56.000000Z Log: Fix LOR with PROC/filedesc. Introduce fdesc_mtx that will be used as a barrier between free'ing filedesc structures. Basically if you want to access another process's filedesc, you want to hold this mutex over the entire operation. /head/sys/sys/filedesc.h /head/sys/kern/kern_descrip.c /head/sys/kern/kern_exit.c /head/sys/kern/kern_event.c /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 110862 Date 2003-02-14T13:28:44.000000Z Log: KASSERT format string does not need newline termination /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 110861 Date 2003-02-14T13:18:51.000000Z Log: Add kasserts to catch bad API usage. Submitted by: Hiten Pandya /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 110860 Date 2003-02-14T13:10:40.000000Z Log: Fix crash dumps on ata and scsi. To fix scsi, don't wait for ithreads if we're dumping, it makes the debugger sad. To fix ata, use what appears to be a polling method if we're dumping, I stole this from tmm but added code to ensure that this change is only in effect while dumping. Tested by: des /head/sys/kern/kern_intr.c /head/sys/dev/ata/ata-all.c ============================================================== Author alfred Revision 110859 Date 2003-02-14T12:44:48.000000Z Log: style. /head/sys/kern/kern_shutdown.c ============================================================== Author alfred Revision 110858 Date 2003-02-14T12:44:07.000000Z Log: Print a backtrace in case we tsleep from inside of DDB. /head/sys/kern/kern_synch.c ============================================================== Author alfred Revision 110680 Date 2003-02-11T08:19:52.000000Z Log: Fixup printf format. /head/sys/dev/mly/mly.c ============================================================== Author alfred Revision 110677 Date 2003-02-11T07:28:28.000000Z Log: Actually link in the attr_{set,get}stack. /head/lib/libpthread/thread/Makefile.inc /head/lib/libc_r/uthread/Makefile.inc /head/lib/libkse/thread/Makefile.inc ============================================================== Author alfred Revision 110676 Date 2003-02-11T07:20:52.000000Z Log: Don't lock FILEDESC under PROC. The locking here needs to be revisited, but this ought to get rid of the LOR messages that people are complaining about for now. I imagine either I or someone else interested with smp will eventually clear this up. /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 110636 Date 2003-02-10T08:48:04.000000Z Log: Add pthread_attr_getstack() and pthread_attr_setstack(). Submitted by: Craig Rodrigues /head/lib/libkse/thread/thr_attr_setstack.c /head/include/pthread.h /head/lib/libkse/thread/thr_attr_getstack.c /head/lib/libc_r/uthread/uthread_attr_setstack.c /head/lib/libpthread/thread/thr_attr_setstack.c /head/lib/libc_r/uthread/uthread_attr_getstack.c /head/lib/libpthread/thread/thr_attr_getstack.c /head/lib/libc_r/man/pthread_attr.3 /head/share/man/man3/pthread_attr.3 ============================================================== Author alfred Revision 110635 Date 2003-02-10T08:31:28.000000Z Log: Handle %%m properly in syslog format string. Previously it would expand the %m into the errno and then vfprintf would expand the % and the first character of the strerror(3) return causing possible data corruption. /head/lib/libc/gen/syslog.c ============================================================== Author alfred Revision 110235 Date 2003-02-02T13:52:25.000000Z Log: chase more of the MIN/MAX mess. *sigh* /head/sys/dev/syscons/rain/rain_saver.c /head/sys/net/zlib.c ============================================================== Author alfred Revision 110234 Date 2003-02-02T13:30:00.000000Z Log: Catch more uses of MIN(). /head/sys/kern/uipc_usrreq.c /head/sys/ufs/ufs/ufs_extattr.c /head/sys/dev/hifn/hifn7751.c /head/sys/netgraph/ng_device.c /head/sys/i386/isa/tw.c ============================================================== Author alfred Revision 110233 Date 2003-02-02T13:21:05.000000Z Log: remove MIN now that it's a standard kernel define /head/sys/dev/sound/pcm/channel.c /head/sys/dev/sound/pcm/buffer.c ============================================================== Author alfred Revision 110232 Date 2003-02-02T13:17:30.000000Z Log: Consolidate MIN/MAX macros into one place (param.h). Submitted by: Hiten Pandya /head/sys/dev/aha/aha.c /head/sys/dev/sym/sym_hipd.c /head/sys/dev/ahb/ahb.c /head/sys/dev/advansys/adwcam.c /head/sys/ia64/ia64/busdma_machdep.c /head/sys/dev/sound/pci/cs4281.c /head/sys/alpha/alpha/busdma_machdep.c /head/sys/dev/advansys/advlib.c /head/sys/cam/scsi/scsi_cd.c /head/sys/kern/uipc_syscalls.c /head/sys/i386/i386/busdma_machdep.c /head/sys/i386/isa/gsc.c /head/sys/amd64/amd64/busdma_machdep.c /head/sys/netinet6/nd6.c /head/sys/sys/param.h /head/sys/i386/isa/gpib.c /head/sys/net/zlib.c /head/sys/cam/scsi/scsi_targ_bh.c /head/sys/cam/scsi/scsi_pass.c /head/sys/pccard/pccard.c /head/sys/dev/buslogic/bt.c /head/sys/compat/svr4/svr4_stream.c /head/sys/contrib/dev/oltr/if_oltr.c /head/sys/contrib/ipfilter/netinet/ip_proxy.c ============================================================== Author alfred Revision 109906 Date 2003-01-26T23:25:00.000000Z Log: fix warnings /head/sys/kern/sysv_msg.c ============================================================== Author alfred Revision 109896 Date 2003-01-26T20:10:35.000000Z Log: regen /head/sys/sys/sysproto.h ============================================================== Author alfred Revision 109895 Date 2003-01-26T20:09:34.000000Z Log: Add const qualifier to data argument for msgsnd. PR: standards/45274 Submitted by: Craig Rodrigues /head/lib/libc/gen/msgsnd.3 /head/sys/kern/syscalls.master /head/sys/kern/sysv_msg.c /head/sys/sys/msg.h ============================================================== Author alfred Revision 109832 Date 2003-01-25T21:34:07.000000Z Log: regen /head/sys/sys/sysproto.h ============================================================== Author alfred Revision 109831 Date 2003-01-25T21:33:05.000000Z Log: Bring shm functions closer the the opengroup standards. PR: 47469 Submitted by: Craig Rodrigues /head/lib/libc/sys/shmget.2 /head/sys/kern/syscalls.master /head/lib/libc/sys/shmat.2 /head/sys/kern/sysv_shm.c /head/sys/sys/shm.h ============================================================== Author alfred Revision 109830 Date 2003-01-25T21:30:08.000000Z Log: regen. /head/sys/sys/sysproto.h ============================================================== Author alfred Revision 109829 Date 2003-01-25T21:27:37.000000Z Log: Bring semop() closer the the opengroup standards. PR: 47471 Submitted by: Craig Rodrigues /head/lib/libc/sys/semop.2 /head/sys/kern/syscalls.master /head/sys/kern/sysv_sem.c /head/sys/sys/sem.h ============================================================== Author alfred Revision 109630 Date 2003-01-21T11:34:57.000000Z Log: use 'void *' instead of 'caddr_t' for useracc, kernacc, vslock and vsunlock. /head/sys/vm/vm_glue.c /head/share/man/man9/vslock.9 /head/sys/vm/vm_extern.h /head/share/man/man9/kernacc.9 ============================================================== Author alfred Revision 109624 Date 2003-01-21T08:57:35.000000Z Log: Catch up to WAIT/NOWAIT cleanup. /head/share/man/man9/malloc.9 /head/share/man/man9/mbuf.9 ============================================================== Author alfred Revision 109623 Date 2003-01-21T08:56:16.000000Z Log: Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. /head/sys/dev/pci/pci_user.c /head/sys/ufs/ufs/ufs_vnops.c /head/sys/fs/pseudofs/pseudofs_vncache.c /head/sys/i386/linux/linux_sysvec.c /head/sys/kern/kern_malloc.c /head/sys/netipx/ipx_input.c /head/sys/fs/pseudofs/pseudofs.c /head/sys/geom/geom_gpt.c /head/sys/netinet6/udp6_output.c /head/sys/fs/cd9660/cd9660_vfsops.c /head/sys/fs/portalfs/portal_vfsops.c /head/sys/netns/idp_usrreq.c /head/sys/dev/ep/if_ep.c /head/sys/i386/i386/mptable.c /head/sys/i4b/layer1/ihfc/i4b_ihfc_l1if.c /head/sys/nfsclient/nfs_subs.c /head/sys/kern/uipc_mbuf.c /head/sys/netatm/uni/unisig_vc_state.c /head/sys/dev/cnw/if_cnw.c /head/sys/fs/devfs/devfs_vnops.c /head/sys/netgraph/ng_tty.c /head/sys/dev/ubsec/ubsec.c /head/sys/net/bridge.c /head/sys/cam/scsi/scsi_sa.c /head/sys/compat/svr4/svr4_socket.c /head/sys/dev/syscons/scmouse.c /head/sys/dev/isp/isp_pci.c /head/sys/kern/kern_kse.c /head/sys/pci/if_tl.c /head/sys/dev/vr/if_vr.c /head/sys/dev/awi/awi.c /head/sys/kern/vfs_cache.c /head/sys/dev/sbni/if_sbni.c /head/sys/security/mac/mac_pipe.c /head/sys/kern/vfs_bio.c /head/sys/dev/ie/if_ie.c /head/sys/dev/asr/asr.c /head/sys/sparc64/sparc64/iommu.c /head/sys/sys/malloc.h /head/sys/netinet6/mld6.c /head/sys/dev/em/if_em.c /head/sys/netinet/tcp_timewait.c /head/sys/dev/raidframe/rf_freebsdkintf.c /head/sys/netns/ns.c /head/sys/netinet6/ip6_input.c /head/sys/netatm/uni/sscop.c /head/sys/netatm/atm_socket.c /head/sys/pci/if_de.c /head/sys/amd64/amd64/bios.c /head/sys/sparc64/pci/ofw_pci.c /head/sys/dev/fxp/if_fxp.c /head/sys/netinet/ip_divert.c /head/sys/kern/kern_event.c /head/sys/dev/digi/digi.c /head/sys/dev/usb/hid.c /head/sys/netgraph/bluetooth/hci/ng_hci_cmds.c /head/sys/nfsserver/nfs_srvsock.c /head/sys/dev/nge/if_nge.c /head/sys/compat/linux/linux_util.c /head/sys/netgraph/ng_pppoe.c /head/sys/netatm/ipatm/ipatm_vcm.c /head/sys/netgraph/ng_frame_relay.c /head/sys/dev/usb/uvscom.c /head/sys/netinet/ip_encap.c /head/sys/kern/subr_mchain.c /head/sys/netinet/ip_output.c /head/sys/dev/usb/if_aue.c /head/sys/dev/ar/if_ar.c /head/sys/netgraph/ng_gif.c /head/sys/sparc64/pci/psycho.c /head/sys/pci/simos.c /head/sys/geom/geom_aes.c /head/sys/pc98/pc98/syscons.c /head/sys/netncp/ncp_rq.c /head/sys/netipx/ipx_outputfl.c /head/sys/dev/sf/if_sf.c /head/sys/netns/ns_error.c /head/sys/dev/mly/mly.c /head/sys/netatm/port.h /head/sys/net/if_gre.c /head/sys/kern/subr_prf.c /head/sys/kern/kern_environment.c /head/sys/cam/scsi/scsi_low.c /head/sys/kern/subr_disk.c /head/sys/net/if_disc.c /head/sys/gnu/fs/ext2fs/ext2_vfsops.c /head/sys/netns/ns_ip.c /head/sys/i386/i386/mem.c /head/sys/netgraph/ng_gif_demux.c /head/sys/geom/geom_io.c /head/sys/dev/raidframe/rf_shutdown.c /head/sys/dev/lge/if_lge.c /head/sys/dev/amr/amr.c /head/sys/dev/de/if_de.c /head/sys/dev/random/randomdev.c /head/sys/dev/ofw/openfirmio.c /head/sys/opencrypto/cryptodev.c /head/sys/dev/tx/if_tx.c /head/sys/net/route.c /head/sys/netinet6/ipcomp_core.c /head/sys/libkern/iconv_xlat.c /head/sys/i386/isa/if_cx.c /head/sys/netinet/udp_usrreq.c /head/sys/kern/uipc_usrreq.c /head/sys/fs/nwfs/nwfs_vfsops.c /head/sys/dev/cs/if_cs.c /head/sys/kern/subr_blist.c /head/sys/netgraph/ng_eiface.c /head/sys/dev/sound/midi/midi.c /head/sys/kern/tty_pty.c /head/sys/netinet6/in6_pcb.c /head/sys/dev/twe/twe.c /head/sys/nfsclient/krpc_subr.c /head/sys/compat/linux/linux_file.c /head/sys/contrib/dev/fla/fla.c /head/sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c /head/sys/netinet/raw_ip.c /head/sys/fs/msdosfs/msdosfs_vnops.c /head/sys/netns/spp_usrreq.c /head/sys/kern/kern_intr.c /head/sys/kern/vfs_cluster.c /head/sys/netinet6/esp_input.c /head/sys/nfsserver/nfs_serv.c /head/sys/amd64/amd64/mem.c /head/sys/net/bpf_compat.h /head/sys/ia64/ia64/mca.c /head/sys/i4b/layer4/i4b_i4bdrv.c /head/sys/netsmb/smb_dev.c /head/sys/kern/sysv_sem.c /head/sys/fs/nwfs/nwfs_node.c /head/sys/ufs/ffs/ffs_inode.c /head/sys/compat/linux/linux_mib.c /head/sys/dev/ed/if_ed.c /head/sys/dev/sound/pcm/sound.c /head/sys/compat/linux/linux_getcwd.c /head/sys/kern/kern_fork.c /head/sys/amd64/ia32/ia32_misc.c /head/sys/pci/agp_i810.c /head/sys/security/mac/mac_framework.c /head/sys/netsmb/smb_conn.c /head/sys/fs/ntfs/ntfs_subr.c /head/sys/geom/geom_ccd.c /head/sys/dev/isp/isp_sbus.c /head/sys/dev/ccd/ccd.c /head/sys/dev/usb/udbp.c /head/sys/fs/smbfs/smbfs_node.c /head/sys/coda/cnode.h /head/sys/net/if_fddisubr.c /head/sys/dev/sound/pci/ds1.c /head/sys/geom/geom_subr.c /head/sys/ia64/ia32/ia32_misc.c /head/sys/compat/pecoff/imgact_pecoff.c /head/sys/i386/i386/i686_mem.c /head/sys/dev/drm/drm_memory.h /head/sys/i386/isa/pcvt/pcvt_out.c /head/sys/dev/speaker/spkr.c /head/sys/powerpc/aim/nexus.c /head/sys/dev/gx/if_gx.c /head/sys/dev/awi/awi_wep.c /head/sys/nfsserver/nfs_srvsubs.c /head/sys/netinet6/in6_ifattach.c /head/sys/net/bpf.c /head/sys/netinet/in_gif.c /head/sys/compat/svr4/svr4_filio.c /head/sys/dev/null/null.c /head/sys/ia64/ia64/mp_machdep.c /head/sys/i386/isa/ctx.c /head/sys/netsmb/smb_trantcp.c /head/sys/libkern/iconv.c /head/sys/kern/subr_diskslice.c /head/sys/dev/sound/midi/timer.c /head/sys/nfsclient/nfs_vfsops.c /head/sys/fs/coda/cnode.h /head/sys/sparc64/ebus/ebus.c /head/sys/vm/vm_object.c /head/sys/netinet6/esp_core.c /head/sys/netipsec/ipsec_output.c /head/sys/kern/kern_jail.c /head/sys/pci/ncr.c /head/sys/security/mac_lomac/mac_lomac.c /head/sys/kern/vfs_export.c /head/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c /head/sys/dev/pdq/pdq_ifsubr.c /head/sys/netinet6/ah_output.c /head/sys/netgraph/bluetooth/drivers/h4/ng_h4.c /head/sys/netgraph/ng_tee.c /head/sys/netgraph/ng_lmi.c /head/sys/security/mac/mac_net.c /head/sys/dev/md/md.c /head/sys/nfsclient/nfs_socket.c /head/sys/net/raw_cb.c /head/sys/netgraph/ng_socket.c /head/sys/dev/lnc/if_lnc.c /head/sys/netatm/atm_cm.c /head/sys/kern/imgact_aout.c /head/sys/security/mac_biba/mac_biba.c /head/sys/kern/kern_module.c /head/sys/dev/vinum/vinummemory.c /head/sys/netatm/uni/uniarp_cache.c /head/sys/net/if_vlan.c /head/sys/netipx/ipx.c /head/sys/net/if_gif.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/netinet6/icmp6.c /head/sys/dev/streams/streams.c /head/sys/netinet/tcp_output.c /head/sys/net/bsd_comp.c /head/sys/netgraph/ng_pptpgre.c /head/sys/dev/firewire/sbp.c /head/sys/geom/geom_ctl.c /head/sys/dev/sound/midi/sequencer.c /head/sys/netinet6/nd6.c /head/sys/netgraph/ng_rfc1490.c /head/sys/dev/usb/uscanner.c /head/sys/security/mac/mac_vfs.c /head/sys/dev/cm/smc90cx6.c /head/sys/cam/cam_xpt.c /head/sys/powerpc/powerpc/extintr.c /head/sys/net/if_faith.c /head/sys/ufs/ufs/ufs_quota.c /head/sys/dev/usb/if_cue.c /head/sys/kern/kern_resource.c /head/sys/fs/devfs/devfs_devs.c /head/sys/kern/subr_clist.c /head/sys/netinet/tcp_syncache.c /head/sys/dev/usb/if_kue.c /head/sys/pci/if_pcn.c /head/sys/pci/xrpu.c /head/sys/dev/hifn/hifn7751.c /head/sys/nfsserver/nfs_syscalls.c /head/sys/kern/kern_proc.c /head/sys/amd64/amd64/busdma_machdep.c /head/sys/net/ppp_tty.c /head/sys/kern/vfs_subr.c /head/sys/dev/usb/uhci.c /head/sys/netinet6/raw_ip6.c /head/sys/dev/pci/pci.c /head/sys/dev/iicbus/if_ic.c /head/sys/netipx/ipx_usrreq.c /head/sys/security/mac/mac_internal.h /head/sys/netatm/sigpvc/sigpvc_subr.c /head/sys/kern/sysv_msg.c /head/sys/pci/if_xl.c /head/sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h /head/sys/gnu/ext2fs/ext2_lookup.c /head/sys/kern/inflate.c /head/sys/sparc64/sparc64/mem.c /head/sys/netncp/ncp_conn.c /head/sys/netipsec/xform_ipip.c /head/sys/netipsec/ipsec_mbuf.c /head/sys/netatalk/aarp.c /head/sys/netgraph/ng_cisco.c /head/sys/fs/hpfs/hpfs_vnops.c /head/sys/netipx/ipx_ip.c /head/sys/netnatm/natm.c /head/sys/sparc64/sparc64/nexus.c /head/sys/dev/sound/midi/midibuf.c /head/sys/geom/geom_mirror.c /head/sys/kern/kern_mac.c /head/sys/dev/ata/atapi-cam.c /head/sys/dev/ray/if_ray.c /head/sys/i386/i386/vm86.c /head/sys/sparc64/sparc64/counter.c /head/sys/dev/ti/if_ti.c /head/sys/powerpc/powermac/macio.c /head/sys/dev/bge/if_bge.c /head/sys/netatm/atm_if.c /head/sys/netgraph/ng_bridge.c /head/sys/pccard/pccard.c /head/sys/netns/ns_pcb.c /head/sys/geom/geom_slice.c /head/sys/isofs/cd9660/cd9660_vnops.c /head/sys/dev/sound/pcm/buffer.c /head/sys/kern/subr_prof.c /head/sys/kern/kern_prot.c /head/sys/kern/kern_linker.c /head/sys/kern/kern_exec.c /head/sys/sparc64/sparc64/sys_machdep.c /head/sys/fs/msdosfs/msdosfs_vfsops.c /head/sys/gnu/ext2fs/ext2_inode.c /head/sys/i386/ibcs2/ibcs2_misc.c /head/sys/ufs/ffs/ffs_snapshot.c /head/sys/dev/dpt/dpt_scsi.c /head/sys/nfs/nfs_common.c /head/sys/amd64/include/mptable.h /head/sys/netatm/atm_device.c /head/sys/kern/subr_sbuf.c /head/sys/dev/firewire/if_fwe.c /head/sys/netatm/spans/spans_subr.c /head/sys/security/mac_mls/mac_mls.c /head/sys/net/if_iso88025subr.c /head/sys/pci/if_mn.c /head/sys/dev/pdq/pdqvar.h /head/sys/dev/pccard/pccard.c /head/sys/kern/sysv_shm.c /head/sys/alpha/osf1/osf1_misc.c /head/sys/kern/link_elf.c /head/sys/fs/msdosfs/msdosfs_denode.c /head/sys/dev/ex/if_ex.c /head/sys/i386/isa/pcvt/pcvt_sup.c /head/sys/kern/vfs_lookup.c /head/sys/contrib/ipfilter/netinet/ip_fil.c /head/sys/netinet6/scope6.c /head/sys/dev/wl/if_wl.c /head/sys/ufs/ufs/ufs_extattr.c /head/sys/net/if_ieee80211subr.c /head/sys/kern/uipc_sem.c /head/sys/dev/nmdm/nmdm.c /head/sys/alpha/alpha/busdma_machdep.c /head/sys/dev/dc/if_dc.c /head/sys/kern/uipc_accf.c /head/sys/fs/unionfs/union_vfsops.c /head/sys/kern/subr_mbuf.c /head/sys/fs/nullfs/null_vfsops.c /head/sys/netinet/ip_icmp.c /head/sys/geom/geom_disk.c /head/sys/kern/imgact_elf.c /head/sys/netatm/ipatm/ipatm_if.c /head/sys/netgraph/ng_ppp.c /head/sys/netinet/ip_fw2.c /head/sys/dev/puc/puc.c /head/sys/i386/i386/elan-mmcr.c /head/sys/dev/tx/if_txvar.h /head/sys/dev/usb/usb.c /head/sys/powerpc/powerpc/nexus.c /head/sys/pci/if_sf.c /head/sys/dev/drm/drm_drv.h /head/sys/netgraph/bluetooth/hci/ng_hci_evnt.c /head/sys/cam/scsi/scsi_target.c /head/sys/dev/sound/pcm/mixer.c /head/sys/kern/vfs_syscalls.c /head/sys/amd64/amd64/mptable.c /head/sys/dev/ppbus/vpo.c /head/sys/netinet/in.c /head/sys/kern/link_elf_obj.c /head/sys/vm/uma_core.c /head/sys/fs/nullfs/null_subr.c /head/sys/netgraph/bluetooth/hci/ng_hci_misc.c /head/sys/netnatm/natm_pcb.c /head/sys/fs/udf/udf_vnops.c /head/sys/ufs/ufs/ufs_dirhash.c /head/sys/compat/svr4/svr4_misc.c /head/sys/dev/wi/if_wi.c /head/sys/pc98/pc98/scvtbpc98.c /head/sys/contrib/dev/oltr/if_oltr.c /head/sys/netinet/in_pcb.c /head/sys/kern/tty_cons.c /head/sys/netipsec/key.c /head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c /head/sys/net/if_arcsubr.c /head/sys/cam/scsi/scsi_da.c /head/sys/cam/cam_periph.c /head/sys/netgraph/ng_UI.c /head/sys/net/ppp_deflate.c /head/sys/netsmb/smb_smb.c /head/sys/netinet/ip_fw.c /head/sys/gnu/fs/ext2fs/ext2_inode.c /head/sys/net/if_loop.c /head/sys/dev/ciss/ciss.c /head/sys/pci/if_vr.c /head/sys/geom/bde/g_bde.c /head/sys/i386/isa/if_el.c /head/sys/dev/musycc/musycc.c /head/sys/dev/usb/urio.c /head/sys/dev/sound/pcm/ac97.c /head/sys/dev/ppbus/if_plip.c /head/sys/ufs/ffs/ffs_vfsops.c /head/sys/dev/usb/umass.c /head/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c /head/sys/i386/isa/vesa.c /head/sys/netsmb/smb_subr.c /head/sys/dev/ppbus/lpt.c /head/sys/cam/cam_sim.c /head/sys/net/if_tun.c /head/sys/dev/snc/dp83932.c /head/sys/dev/syscons/snake/snake_saver.c /head/sys/fs/ntfs/ntfs_vnops.c /head/sys/net/if_sl.c /head/sys/dev/trm/trm.c /head/sys/netatm/spans/spans_proto.c /head/sys/net/if.c /head/sys/kern/kern_thread.c /head/sys/pci/if_sis.c /head/sys/dev/sn/if_sn.c /head/sys/fs/ntfs/ntfs_vfsops.c /head/sys/netinet/ip_input.c /head/sys/dev/agp/agp_i810.c /head/sys/dev/usb/uhid.c /head/sys/dev/usb/ubsa.c /head/sys/vm/vm_map.c /head/sys/netinet6/ah_input.c /head/sys/fs/hpfs/hpfs_subr.c /head/sys/netsmb/smb_iod.c /head/sys/i386/isa/if_rdp.c /head/sys/kern/tty_subr.c /head/sys/vm/swap_pager.c /head/sys/dev/txp/if_txp.c /head/sys/dev/cardbus/cardbus.c /head/sys/dev/sound/pcm/vchan.c /head/sys/kern/kern_ktrace.c /head/sys/netinet6/in6.c /head/sys/netinet/if_ether.c /head/sys/pci/if_wb.c /head/sys/kern/kern_descrip.c /head/sys/cam/scsi/scsi_cd.c /head/sys/geom/geom_dev.c /head/sys/ufs/ffs/ffs_softdep.c /head/sys/sparc64/sparc64/bus_machdep.c /head/sys/ufs/ffs/ffs_vnops.c /head/sys/i386/i386/sys_machdep.c /head/sys/compat/linux/linux_sysctl.c /head/sys/dev/cardbus/cardbus_cis.c /head/sys/dev/xe/if_xe.c /head/sys/netinet6/ip6_mroute.c /head/sys/netns/ns_input.c /head/sys/netncp/ncp_sock.c /head/sys/dev/sk/if_sk.c /head/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c /head/sys/netinet6/ah_core.c /head/sys/contrib/ipfilter/netinet/fil.c /head/sys/netatm/spans/spans_cls.c /head/sys/i4b/driver/i4b_ipr.c /head/sys/netinet6/ipcomp_output.c /head/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c /head/sys/ia64/ia64/pmap.c /head/sys/security/mac/mac_process.c /head/sys/dev/syscons/schistory.c /head/sys/compat/svr4/svr4_sysvec.c /head/sys/kern/uipc_syscalls.c /head/sys/sys/mbuf.h /head/sys/dev/hme/if_hme.c /head/sys/kern/tty.c /head/sys/net/pfil.c /head/sys/kern/vfs_init.c /head/sys/i386/isa/loran.c /head/sys/nfsclient/nfs_lock.c /head/sys/fs/pseudofs/pseudofs_fileno.c /head/sys/dev/ofw/openfirm.c /head/sys/netatalk/ddp_output.c /head/sys/compat/svr4/svr4_stream.c /head/sys/i386/ibcs2/ibcs2_util.c /head/sys/i386/ibcs2/imgact_coff.c /head/sys/i386/isa/wt.c /head/sys/pc98/cbus/scvtb.c /head/sys/kern/vfs_extattr.c /head/sys/kern/sys_generic.c /head/sys/security/mac/mac_system.c /head/sys/dev/gem/if_gem.c /head/sys/fs/devfs/devfs_rule.c /head/sys/dev/snp/snp.c /head/sys/nfsclient/nfs_node.c /head/sys/dev/syscons/syscons.c /head/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c /head/sys/posix4/posix4.h /head/sys/amd64/amd64/sys_machdep.c /head/sys/gnu/ext2fs/ext2_vfsops.c /head/sys/i386/isa/gpib.c /head/sys/netatm/uni/unisig_msg.c /head/sys/fs/portalfs/portal_vnops.c /head/sys/dev/agp/agp.c /head/sys/netinet6/frag6.c /head/sys/net/if_ppp.c /head/sys/i4b/layer2/i4b_mbuf.c /head/sys/dev/usb/ugen.c /head/sys/i386/include/mptable.h /head/sys/netatalk/at_control.c /head/sys/powerpc/psim/iobus.c /head/sys/dev/en/midway.c /head/sys/netgraph/ng_one2many.c /head/sys/pci/if_ste.c /head/sys/gnu/fs/ext2fs/ext2_lookup.c /head/sys/kern/uipc_socket2.c /head/sys/alpha/osf1/imgact_osf1.c /head/sys/security/mac_bsdextended/mac_bsdextended.c /head/sys/netsmb/smb_crypt.c /head/sys/dev/sound/pcm/fake.c /head/sys/compat/freebsd32/freebsd32_misc.c /head/sys/fs/fifofs/fifo_vnops.c /head/sys/fs/smbfs/smbfs_smb.c /head/sys/vm/device_pager.c /head/sys/nfsclient/nfs_vnops.c /head/sys/netncp/ncp_subr.c /head/sys/netinet/igmp.c /head/sys/fs/hpfs/hpfs_vfsops.c /head/sys/sparc64/sparc64/ofw_bus.c /head/sys/netsmb/smb_rq.c /head/sys/kern/uipc_sockbuf.c /head/sys/compat/linux/linux_ioctl.c /head/sys/fs/unionfs/union_subr.c /head/sys/netatm/uni/uniarp.c /head/sys/amd64/amd64/mp_machdep.c /head/sys/i386/isa/if_le.c /head/sys/fs/devfs/devfs_vfsops.c /head/sys/netinet/tcp_subr.c /head/sys/kern/sys_pipe.c /head/sys/powerpc/powerpc/busdma_machdep.c /head/sys/kern/kern_sysctl.c /head/sys/amd64/amd64/amd64_mem.c /head/sys/netatm/spans/spans_arp.c /head/sys/ia64/ia64/busdma_machdep.c /head/sys/nfsclient/bootp_subr.c /head/sys/netinet6/esp_output.c /head/sys/fs/udf/udf_vfsops.c /head/sys/pci/if_ti.c /head/sys/dev/my/if_my.c /head/sys/pci/if_rl.c /head/sys/netatm/uni/uniip.c /head/sys/net/if_ethersubr.c /head/sys/dev/mpt/mpt_pci.c /head/sys/dev/idt/idt.c /head/sys/netipx/spx_usrreq.c /head/sys/dev/usb/uftdi.c /head/sys/i386/isa/spkr.c /head/sys/sys/socketvar.h /head/sys/net/if_tap.c /head/sys/dev/an/if_an.c /head/sys/net/rtsock.c /head/sys/kern/kern_alq.c /head/sys/netatm/uni/sscf_uni.c /head/sys/dev/usb/uvisor.c /head/sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c /head/sys/dev/syscons/scvtb.c /head/sys/dev/vinum/vinumext.h /head/sys/dev/sound/pci/emu10k1.c /head/sys/netatm/spans/spans_msg.c /head/sys/dev/usb/uplcom.c /head/sys/pci/if_sk.c /head/sys/netkey/keysock.c /head/sys/isofs/cd9660/cd9660_vfsops.c /head/sys/ia64/ia64/sscdisk.c /head/sys/sparc64/sbus/sbus.c /head/sys/netipsec/xform_esp.c /head/sys/kern/kern_lockf.c /head/sys/netinet6/in6_gif.c /head/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c /head/sys/dev/mlx/mlx.c /head/sys/i386/i386/bios.c /head/sys/geom/geom_event.c /head/sys/i386/i386/mp_machdep.c /head/sys/nfsserver/nfs_srvcache.c /head/sys/net/if_spppsubr.c /head/sys/dev/fb/vga.c /head/sys/netinet6/ip6_fw.c /head/sys/netkey/key.c /head/sys/kern/uipc_mbuf2.c /head/sys/netgraph/ng_source.c /head/sys/dev/fb/fb.c /head/sys/net/if_stf.c /head/sys/dev/sr/if_sr.c /head/sys/dev/sound/pcm/sndstat.c /head/sys/fs/umapfs/umap_vfsops.c /head/sys/netinet/ip_mroute.c /head/sys/netinet6/ip6_output.c /head/sys/netatalk/ddp_usrreq.c /head/sys/netatm/uni/unisig_subr.c /head/sys/netgraph/ng_l2tp.c /head/sys/netgraph/ng_vjc.c /head/sys/kern/vfs_mount.c /head/sys/dev/sound/pcm/feeder.c /head/sys/dev/fe/if_fe.c /head/sys/net/if_atmsubr.c /head/sys/dev/lmc/if_lmc.c /head/sys/pci/agp.c /head/sys/fs/cd9660/cd9660_vnops.c /head/sys/netinet6/nd6_nbr.c /head/sys/kern/vfs_aio.c /head/sys/dev/syscons/daemon/daemon_saver.c /head/sys/pc98/pc98/spkr.c /head/sys/netatm/uni/uniarp_vcm.c /head/sys/dev/vx/if_vx.c /head/sys/kern/kern_exit.c /head/sys/net/if_ef.c /head/sys/fs/fdescfs/fdesc_vnops.c /head/sys/fs/umapfs/umap_subr.c /head/sys/kern/uipc_socket.c /head/sys/sys/posix4.h /head/sys/vm/uma.h /head/sys/cam/scsi/scsi_ch.c /head/sys/i386/isa/pcvt/pcvt_kbd.c /head/sys/dev/kbd/kbd.c /head/sys/i386/i386/busdma_machdep.c /head/sys/pci/if_dc.c /head/sys/net/if_vlan_var.h /head/sys/netipsec/keysock.c /head/sys/netatm/uni/unisig_decode.c /head/sys/security/mac/mac_syscalls.c /head/sys/dev/pdq/pdq_freebsd.h /head/sys/kern/kern_subr.c /head/sys/dev/usb/umodem.c /head/sys/netatalk/ddp_pcb.c /head/sys/netinet6/ipsec.c ============================================================== Author alfred Revision 109521 Date 2003-01-19T06:51:10.000000Z Log: useracc() is mpsafe so we only need to hold Giant over the call to nanosleep1() Pointed out by: tjr /head/sys/kern/kern_time.c ============================================================== Author alfred Revision 109493 Date 2003-01-18T19:51:52.000000Z Log: Document lock order reversals possible when calling allocation functions with vnode interlocks held. Emphasize that users need to be careful with malloc flags versus mbuf flags. Remove stale portion in vnode.9 about v_tag. We don't have it anylonger. Submitted by: Hiten Pandya /head/share/man/man9/malloc.9 /head/share/man/man9/vnode.9 ============================================================== Author alfred Revision 109335 Date 2003-01-15T21:50:33.000000Z Log: remove wi_hostap.c from files as it's been removed. /head/sys/conf/files ============================================================== Author alfred Revision 109177 Date 2003-01-13T15:06:05.000000Z Log: style(9) fixes, mostly add parens around return arguments. /head/sys/kern/vfs_aio.c ============================================================== Author alfred Revision 109089 Date 2003-01-11T02:11:35.000000Z Log: MFC: 1.4 Approved by: re /releng/5.0/sys/kern/uipc_sem.c ============================================================== Author alfred Revision 109084 Date 2003-01-10T23:13:16.000000Z Log: make sem_leave return a usable errno instead of -1. make ksem_close return that usable errno instead of -1 (ERESTART). PR: 46957 /head/sys/kern/uipc_sem.c ============================================================== Author alfred Revision 109051 Date 2003-01-10T06:52:19.000000Z Log: spell multiple correctly. /head/lib/libc/stdio/flockfile.3 ============================================================== Author alfred Revision 108927 Date 2003-01-08T06:32:26.000000Z Log: MFC: 1.21 Approved by: re /releng/5.0/sys/posix4/p1003_1b.c ============================================================== Author alfred Revision 108896 Date 2003-01-07T20:10:04.000000Z Log: Use copyout to access user memory. Submittted by: pho MFC After: 2 days /head/sys/kern/p1003_1b.c /head/sys/posix4/p1003_1b.c ============================================================== Author alfred Revision 108708 Date 2003-01-05T11:14:04.000000Z Log: In sodealloc(), if there is an accept filter present on the socket then call do_setopt_accept_filter(so, NULL) which will free the filter instead of duplicating the code in do_setopt_accept_filter(). Pointed out by: Hiten Pandya /head/sys/kern/uipc_socket.c ============================================================== Author alfred Revision 108541 Date 2003-01-02T02:19:10.000000Z Log: Add function linux_msg() for regulating output from the linux emulation code, make the emulator use it. Rename unsupported_msg() to unimplemented_syscall(). Rename some arguments for clarity Fixup grammar. Requested by: bde /head/sys/compat/linux/linux_sysctl.c /head/sys/compat/linux/linux_util.h /head/sys/compat/linux/linux_ioctl.c /head/sys/compat/linux/linux_ipc.c /head/sys/compat/linux/linux_util.c ============================================================== Author alfred Revision 108524 Date 2003-01-01T01:56:19.000000Z Log: When compiling the kernel do not implicitly include filedesc.h from proc.h, this was causing filedesc work to be very painful. In order to make this work split out sigio definitions to thier own header (sigio.h) which is included from proc.h for the time being. /head/sys/kern/subr_acl_posix1e.c /head/sys/sys/filedesc.h /head/sys/ufs/ffs/ffs_alloc.c /head/sys/dev/raidframe/rf_freebsdkintf.c /head/sys/kern/sys_socket.c /head/sys/sys/proc.h /head/sys/netsmb/smb_dev.c /head/sys/kern/vfs_acl.c /head/sys/kern/kern_acl.c /head/sys/sys/sigio.h /head/sys/kern/kern_event.c /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 108523 Date 2003-01-01T01:42:57.000000Z Log: When complaining about obsolete/unimplemented syscalls output the process name to make things more clear for the user. PR: 46661 MFC After: 3 days /head/sys/compat/linux/linux_util.h ============================================================== Author alfred Revision 108522 Date 2003-01-01T01:19:31.000000Z Log: fdcopy() only needs a filedesc pointer. /head/sys/sys/filedesc.h /head/sys/kern/kern_exec.c /head/sys/kern/kern_descrip.c /head/sys/kern/kern_fork.c ============================================================== Author alfred Revision 108521 Date 2003-01-01T01:05:54.000000Z Log: purge 'register'. /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 108520 Date 2003-01-01T01:01:14.000000Z Log: Since fdshare() and fdinit() only operate on filedescs, make them take pointers to filedesc structures instead of threads. This makes it more clear that they do not do any voodoo with the thread/proc or anything other than the filedesc passed in or returned. Remove some XXX KSE's as this resolves the issue. /head/sys/sys/filedesc.h /head/sys/kern/kern_descrip.c /head/sys/kern/kern_fork.c ============================================================== Author alfred Revision 108519 Date 2003-01-01T00:35:46.000000Z Log: fdinit() does not need to lock the filedesc it is creating as no one besideds itself has access until the function returns. /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 108312 Date 2002-12-27T08:43:40.000000Z Log: Silence casting away constness warnings. Make cgetmatch's locals const. Make cdbget take a const string and copy it into a buffer. /head/lib/libc/gen/getcap.c ============================================================== Author alfred Revision 108311 Date 2002-12-27T08:39:42.000000Z Log: Lock filedesc while performing a range check on the file descriptor. Reviewed by: alc /head/sys/kern/vfs_aio.c ============================================================== Author alfred Revision 108086 Date 2002-12-19T09:40:13.000000Z Log: MFC: SCARGS and syscallargs removal. Approved by: re@ (rwatson) /releng/5.0/sys/i386/ibcs2/ibcs2_fcntl.c /releng/5.0/sys/compat/svr4/svr4_resource.c /releng/5.0/sys/i386/ibcs2/ibcs2_ioctl.c /releng/5.0/sys/kern/kern_acct.c /releng/5.0/sys/i386/ibcs2/ibcs2_stat.c /releng/5.0/sys/i386/ibcs2/ibcs2_ipc.c /releng/5.0/sys/compat/svr4/svr4_stream.c /releng/5.0/sys/i386/ibcs2/ibcs2_util.h /releng/5.0/sys/compat/svr4/svr4_filio.c /releng/5.0/sys/kern/kern_exec.c /releng/5.0/sys/kern/kern_linker.c /releng/5.0/sys/kern/kern_module.c /releng/5.0/sys/i386/svr4/svr4_machdep.c /releng/5.0/sys/alpha/osf1/osf1_util.h /releng/5.0/sys/sys/sysent.h /releng/5.0/sys/ia64/ia32/ia32_misc.c /releng/5.0/sys/kern/vfs_syscalls.c /releng/5.0/sys/compat/svr4/svr4_signal.c /releng/5.0/sys/kern/kern_acl.c /releng/5.0/sys/kern/kern_mac.c /releng/5.0/sys/kern/vfs_mount.c /releng/5.0/sys/kern/kern_environment.c /releng/5.0/sys/alpha/osf1/osf1_mount.c /releng/5.0/sys/compat/svr4/svr4_socket.c /releng/5.0/sys/i386/ibcs2/ibcs2_signal.c /releng/5.0/sys/compat/svr4/svr4_misc.c /releng/5.0/sys/kern/kern_jail.c /releng/5.0/sys/ia64/ia32/ia32_util.h /releng/5.0/sys/alpha/osf1/osf1_signal.c /releng/5.0/sys/ia64/ia64/sys_machdep.c /releng/5.0/sys/compat/svr4/svr4_fcntl.c /releng/5.0/sys/i386/ibcs2/ibcs2_xenix.c /releng/5.0/sys/i386/ibcs2/ibcs2_misc.c /releng/5.0/sys/alpha/alpha/sys_machdep.c /releng/5.0/sys/compat/svr4/svr4_ioctl.c /releng/5.0/sys/kern/sys_generic.c /releng/5.0/sys/compat/svr4/svr4_ipc.c /releng/5.0/sys/compat/svr4/svr4_stat.c /releng/5.0/sys/dev/streams/streams.c /releng/5.0/sys/kern/kern_time.c /releng/5.0/sys/alpha/osf1/osf1_misc.c /releng/5.0/sys/i386/ibcs2/ibcs2_sysi86.c ============================================================== Author alfred Revision 107855 Date 2002-12-14T08:18:06.000000Z Log: unwrap lines made short enough by SCARGS removal /head/sys/kern/subr_acl_posix1e.c /head/sys/kern/kern_linker.c /head/sys/kern/kern_acct.c /head/sys/kern/vfs_extattr.c /head/sys/kern/vfs_syscalls.c /head/sys/kern/vfs_acl.c /head/sys/kern/kern_acl.c /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 107850 Date 2002-12-14T02:07:32.000000Z Log: remove syscallarg(). Suggested by: peter /head/sys/kern/kern_environment.c /head/sys/kern/kern_exec.c /head/sys/kern/kern_acct.c /head/sys/kern/vfs_extattr.c /head/sys/kern/vfs_syscalls.c /head/sys/kern/kern_jail.c /head/sys/kern/vfs_mount.c ============================================================== Author alfred Revision 107849 Date 2002-12-14T01:56:26.000000Z Log: SCARGS removal take II. /head/sys/compat/svr4/svr4_filio.c /head/sys/ia64/ia32/ia32_util.h /head/sys/kern/kern_linker.c /head/sys/kern/kern_module.c /head/sys/ia64/ia64/sys_machdep.c /head/sys/security/mac/mac_process.c /head/sys/i386/svr4/svr4_machdep.c /head/sys/alpha/osf1/osf1_util.h /head/sys/i386/ibcs2/ibcs2_misc.c /head/sys/security/mac/mac_internal.h /head/sys/sys/sysent.h /head/sys/alpha/alpha/sys_machdep.c /head/sys/dev/streams/streams.c /head/sys/compat/svr4/svr4_stat.c /head/sys/kern/vfs_acl.c /head/sys/kern/vfs_mount.c /head/sys/compat/ia32/ia32_util.h /head/sys/i386/ibcs2/ibcs2_sysi86.c /head/sys/amd64/ia32/ia32_misc.c /head/sys/security/mac/mac_framework.c /head/sys/security/mac/mac_pipe.c /head/sys/security/mac/mac_vfs.c /head/sys/compat/svr4/svr4_resource.c /head/sys/i386/ibcs2/ibcs2_stat.c /head/sys/compat/svr4/svr4_stream.c /head/sys/compat/freebsd32/freebsd32_misc.c /head/sys/i386/ibcs2/ibcs2_util.h /head/sys/kern/subr_acl_posix1e.c /head/sys/alpha/osf1/osf1_signal.c /head/sys/compat/svr4/svr4_fcntl.c /head/sys/i386/ibcs2/ibcs2_xenix.c /head/sys/kern/vfs_extattr.c /head/sys/amd64/ia32/ia32_util.h /head/sys/compat/svr4/svr4_ioctl.c /head/sys/kern/sys_generic.c /head/sys/ia64/ia32/ia32_misc.c /head/sys/compat/svr4/svr4_ipc.c /head/sys/kern/vfs_syscalls.c /head/sys/security/mac/mac_system.c /head/sys/compat/svr4/svr4_signal.c /head/sys/kern/kern_time.c /head/sys/kern/kern_acl.c /head/sys/security/mac/mac_net.c /head/sys/kern/kern_mac.c /head/sys/alpha/osf1/osf1_misc.c /head/sys/kern/kern_environment.c /head/sys/i386/ibcs2/ibcs2_fcntl.c /head/sys/compat/freebsd32/freebsd32_util.h /head/sys/security/mac/mac_syscalls.c /head/sys/i386/ibcs2/ibcs2_ioctl.c /head/sys/compat/svr4/svr4_socket.c /head/sys/alpha/osf1/osf1_mount.c /head/sys/i386/ibcs2/ibcs2_ipc.c /head/sys/kern/kern_acct.c /head/sys/i386/ibcs2/ibcs2_signal.c /head/sys/compat/svr4/svr4_misc.c ============================================================== Author alfred Revision 107839 Date 2002-12-13T22:41:47.000000Z Log: Backout removal SCARGS, the code freeze is only "selectively" over. /head/sys/compat/svr4/svr4_filio.c /head/sys/ia64/ia32/ia32_util.h /head/sys/kern/kern_linker.c /head/sys/kern/kern_module.c /head/sys/ia64/ia64/sys_machdep.c /head/sys/security/mac/mac_process.c /head/sys/i386/svr4/svr4_machdep.c /head/sys/alpha/osf1/osf1_util.h /head/sys/i386/ibcs2/ibcs2_misc.c /head/sys/security/mac/mac_internal.h /head/sys/sys/sysent.h /head/sys/alpha/alpha/sys_machdep.c /head/sys/dev/streams/streams.c /head/sys/compat/svr4/svr4_stat.c /head/sys/kern/vfs_acl.c /head/sys/kern/vfs_mount.c /head/sys/compat/ia32/ia32_util.h /head/sys/i386/ibcs2/ibcs2_sysi86.c /head/sys/amd64/ia32/ia32_misc.c /head/sys/security/mac/mac_framework.c /head/sys/security/mac/mac_pipe.c /head/sys/security/mac/mac_vfs.c /head/sys/compat/svr4/svr4_resource.c /head/sys/i386/ibcs2/ibcs2_stat.c /head/sys/compat/svr4/svr4_stream.c /head/sys/compat/freebsd32/freebsd32_misc.c /head/sys/i386/ibcs2/ibcs2_util.h /head/sys/kern/subr_acl_posix1e.c /head/sys/alpha/osf1/osf1_signal.c /head/sys/compat/svr4/svr4_fcntl.c /head/sys/i386/ibcs2/ibcs2_xenix.c /head/sys/kern/vfs_extattr.c /head/sys/amd64/ia32/ia32_util.h /head/sys/compat/svr4/svr4_ioctl.c /head/sys/kern/sys_generic.c /head/sys/ia64/ia32/ia32_misc.c /head/sys/compat/svr4/svr4_ipc.c /head/sys/kern/vfs_syscalls.c /head/sys/security/mac/mac_system.c /head/sys/compat/svr4/svr4_signal.c /head/sys/kern/kern_time.c /head/sys/kern/kern_acl.c /head/sys/security/mac/mac_net.c /head/sys/kern/kern_mac.c /head/sys/alpha/osf1/osf1_misc.c /head/sys/kern/kern_environment.c /head/sys/i386/ibcs2/ibcs2_fcntl.c /head/sys/compat/freebsd32/freebsd32_util.h /head/sys/security/mac/mac_syscalls.c /head/sys/i386/ibcs2/ibcs2_ioctl.c /head/sys/compat/svr4/svr4_socket.c /head/sys/alpha/osf1/osf1_mount.c /head/sys/i386/ibcs2/ibcs2_ipc.c /head/sys/kern/kern_acct.c /head/sys/i386/ibcs2/ibcs2_signal.c /head/sys/compat/svr4/svr4_misc.c ============================================================== Author alfred Revision 107838 Date 2002-12-13T22:27:25.000000Z Log: Remove SCARGS. Reviewed by: md5 /head/sys/compat/svr4/svr4_filio.c /head/sys/ia64/ia32/ia32_util.h /head/sys/kern/kern_linker.c /head/sys/kern/kern_module.c /head/sys/ia64/ia64/sys_machdep.c /head/sys/security/mac/mac_process.c /head/sys/i386/svr4/svr4_machdep.c /head/sys/alpha/osf1/osf1_util.h /head/sys/i386/ibcs2/ibcs2_misc.c /head/sys/security/mac/mac_internal.h /head/sys/sys/sysent.h /head/sys/alpha/alpha/sys_machdep.c /head/sys/dev/streams/streams.c /head/sys/compat/svr4/svr4_stat.c /head/sys/kern/vfs_acl.c /head/sys/kern/vfs_mount.c /head/sys/compat/ia32/ia32_util.h /head/sys/i386/ibcs2/ibcs2_sysi86.c /head/sys/amd64/ia32/ia32_misc.c /head/sys/security/mac/mac_framework.c /head/sys/security/mac/mac_pipe.c /head/sys/security/mac/mac_vfs.c /head/sys/compat/svr4/svr4_resource.c /head/sys/i386/ibcs2/ibcs2_stat.c /head/sys/compat/svr4/svr4_stream.c /head/sys/compat/freebsd32/freebsd32_misc.c /head/sys/i386/ibcs2/ibcs2_util.h /head/sys/kern/subr_acl_posix1e.c /head/sys/alpha/osf1/osf1_signal.c /head/sys/compat/svr4/svr4_fcntl.c /head/sys/i386/ibcs2/ibcs2_xenix.c /head/sys/kern/vfs_extattr.c /head/sys/amd64/ia32/ia32_util.h /head/sys/compat/svr4/svr4_ioctl.c /head/sys/kern/sys_generic.c /head/sys/ia64/ia32/ia32_misc.c /head/sys/compat/svr4/svr4_ipc.c /head/sys/kern/vfs_syscalls.c /head/sys/security/mac/mac_system.c /head/sys/compat/svr4/svr4_signal.c /head/sys/kern/kern_time.c /head/sys/kern/kern_acl.c /head/sys/security/mac/mac_net.c /head/sys/kern/kern_mac.c /head/sys/alpha/osf1/osf1_misc.c /head/sys/kern/kern_environment.c /head/sys/i386/ibcs2/ibcs2_fcntl.c /head/sys/compat/freebsd32/freebsd32_util.h /head/sys/security/mac/mac_syscalls.c /head/sys/i386/ibcs2/ibcs2_ioctl.c /head/sys/compat/svr4/svr4_socket.c /head/sys/alpha/osf1/osf1_mount.c /head/sys/i386/ibcs2/ibcs2_ipc.c /head/sys/kern/kern_acct.c /head/sys/i386/ibcs2/ibcs2_signal.c /head/sys/compat/svr4/svr4_misc.c ============================================================== Author alfred Revision 107104 Date 2002-11-20T15:21:06.000000Z Log: reapply 1.26 through 1.28. Approved by: re /head/sys/nfsclient/nfs_lock.c ============================================================== Author alfred Revision 107101 Date 2002-11-20T10:53:06.000000Z Log: forgot about 5.x freeze, backout 1.26 through 1.28 pending re@ appoval. /head/sys/nfsclient/nfs_lock.c ============================================================== Author alfred Revision 107100 Date 2002-11-20T10:13:04.000000Z Log: remove useless casts, unused macros and cleanup a line wrap. /head/sys/nfsclient/nfs_lock.c ============================================================== Author alfred Revision 107099 Date 2002-11-20T10:06:51.000000Z Log: comment and untwist error return logic /head/sys/nfsclient/nfs_lock.c ============================================================== Author alfred Revision 107098 Date 2002-11-20T10:00:04.000000Z Log: Remove an outdated comment complaining about exporting struct ucred to userspace, I fixed it a while ago. /head/sys/nfsclient/nfs_lock.c ============================================================== Author alfred Revision 107036 Date 2002-11-18T02:41:03.000000Z Log: During shutdown explain what the numbers following the 'syncing disks' message mean, specifically, 'buffers remaining...'. /head/sys/kern/kern_shutdown.c ============================================================== Author alfred Revision 107032 Date 2002-11-18T01:11:58.000000Z Log: Flesh out the description of the uma_zcreate callback function arguements a bit. As there may be changes soon we're still a bit vague unfortunatly. /head/share/man/man9/zone.9 ============================================================== Author alfred Revision 106998 Date 2002-11-17T04:15:34.000000Z Log: Rework the sysconf(3) interaction with aio: sysconf.c: Use 'break' rather than 'goto yesno' in sysconf.c so that we report a '0' return value from the kernel sysctl. vfs_aio.c: Make aio reset its configuration parameters to -1 after unloading instead of 0. posix4_mib.c: Initialize the aio configuration parameters to -1 to indicate that it is not loaded. Add a facility (p31b_iscfg()) to determine if a posix4 facility has been initialized to avoid having to re-order the SYSINITs. Use p31b_iscfg() to determine if aio has had a chance to run yet which is likely if it is compiled into the kernel and avoid spamming its values. Introduce a macro P31B_VALID() instead of doing the same comparison over and over. posix4.h: Prototype p31b_iscfg(). /head/sys/posix4/posix4.h /head/sys/posix4/posix4_mib.c /head/sys/kern/vfs_aio.c /head/sys/sys/posix4.h /head/sys/kern/posix4_mib.c /head/lib/libc/gen/sysconf.c ============================================================== Author alfred Revision 106979 Date 2002-11-16T06:38:07.000000Z Log: Export the values for _SC_AIO_MAX and _SC_AIO_PRIO_DELTA_MAX via the p1003b sysctl interface. /head/sys/kern/vfs_aio.c ============================================================== Author alfred Revision 106976 Date 2002-11-16T06:35:20.000000Z Log: Provide more correct default values for sysconf(3) reporting of the AIO subsystems capabilities: _SC_AIO_LISTIO_MAX returns the default of _POSIX_AIO_LISTIO_MAX _SC_AIO_MAX returns the default _POSIX_AIO_MAX _SC_AIO_PRIO_DELTA_MAX returns the default of 0 Without these adjustments the values returned are -1 even when the aio side of the kernel returns '0' for them which is incorrect. Noticed by: Craig Rodrigues /head/lib/libc/gen/sysconf.c ============================================================== Author alfred Revision 106975 Date 2002-11-16T04:22:55.000000Z Log: Call 'p31b_setcfg(CTL_P1003_1B_AIO_LISTIO_MAX, AIO_LISTIO_MAX)' when AIO is initialized so that sysconf() gives correct results. Reported by: Craig Rodrigues /head/sys/kern/vfs_aio.c ============================================================== Author alfred Revision 106969 Date 2002-11-15T22:55:06.000000Z Log: headers should not really include "opt_foo.h" (in this case opt_posix.h). remove it from the header and add it to the files that require it. /head/sys/kern/ksched.c /head/sys/posix4/posix4.h /head/sys/kern/p1003_1b.c /head/sys/posix4/ksched.c /head/sys/sys/posix4.h /head/sys/posix4/p1003_1b.c ============================================================== Author alfred Revision 106705 Date 2002-11-09T20:13:16.000000Z Log: Fix an unparenthasized macro argument. md5s differ but this is likely to order of operations that are actually fixed by the proper parenthasizing. /head/sys/pci/viapm.c ============================================================== Author alfred Revision 106696 Date 2002-11-09T12:55:07.000000Z Log: Fix instances of macros with improperly parenthasized arguments. Verified by: md5 /head/sys/dev/sym/sym_defs.h /head/sys/dev/my/if_my.c /head/sys/dev/gx/if_gxvar.h /head/sys/kern/uipc_socket.c /head/sys/pci/if_tireg.h /head/sys/netinet/tcp_syncache.c /head/sys/cam/scsi/scsi_ses.c /head/sys/dev/ppbus/ppb_msq.h /head/sys/dev/nge/if_nge.c /head/sys/dev/twe/twe_compat.h /head/sys/pci/if_ste.c /head/sys/net/zlib.c /head/sys/i386/isa/gpib.c /head/sys/dev/ti/if_tireg.h /head/sys/fs/msdosfs/denode.h /head/sys/dev/bge/if_bgereg.h /head/sys/net/radix.c /head/sys/libkern/qsort.c ============================================================== Author alfred Revision 106599 Date 2002-11-07T22:47:55.000000Z Log: MFC: 1.29 (fix DBREG_DRX macro) /stable/4/sys/i386/include/reg.h ============================================================== Author alfred Revision 106598 Date 2002-11-07T22:42:31.000000Z Log: Properly parenthesize the DBREG_DRX macro's variables to allow for DBREG_DRX(&dbregs, n) usage. /head/sys/amd64/include/reg.h /head/sys/i386/include/reg.h ============================================================== Author alfred Revision 106396 Date 2002-11-04T03:23:56.000000Z Log: Backout "compatibility hack" for __sF. Requested by: Steve Kargl (submitter) /head/share/man/man5/make.conf.5 /head/lib/libc/stdio/Makefile.inc /head/lib/libc/stdio/findfp.c /head/share/examples/etc/make.conf ============================================================== Author alfred Revision 106352 Date 2002-11-02T19:47:53.000000Z Log: Provide a hook to make __sF visible outside of libc for commercial apps if WANT_COMPAT4_STDIO is defined when compiling libc. Submitted by: Steve Kargl /head/share/man/man5/make.conf.5 /head/lib/libc/stdio/Makefile.inc /head/lib/libc/stdio/findfp.c /head/share/examples/etc/make.conf ============================================================== Author alfred Revision 106230 Date 2002-10-31T01:54:27.000000Z Log: Make __sF static. This can not be allowed to exist in 5.x. /head/lib/libc/stdio/findfp.c ============================================================== Author alfred Revision 105720 Date 2002-10-22T16:12:27.000000Z Log: Explain to users that they may want to kldload aio. Move Xref sections. Submitted by: Craig Rodrigues /head/lib/libc/sys/aio_write.2 /head/lib/libc/sys/aio_read.2 /head/lib/libc/sys/aio_waitcomplete.2 /head/lib/libc/sys/aio_return.2 /head/lib/libc/sys/aio_suspend.2 /head/lib/libc/sys/aio_cancel.2 /head/lib/libc/sys/aio_error.2 ============================================================== Author alfred Revision 105429 Date 2002-10-19T02:07:35.000000Z Log: Don't leak memory in semop(2). (Fix a bug I introduced in rev 1.55.) Detective work by: jake /head/sys/kern/sysv_sem.c ============================================================== Author alfred Revision 105301 Date 2002-10-16T22:27:27.000000Z Log: de-__P(). /head/sys/netinet/ip_gre.h /head/sys/netinet/ip_gre.c ============================================================== Author alfred Revision 105300 Date 2002-10-16T22:26:32.000000Z Log: de-__P() /head/sys/net/if_gre.c ============================================================== Author alfred Revision 105299 Date 2002-10-16T22:18:42.000000Z Log: de-__P() /head/lib/libc/stdlib/getopt_long.c ============================================================== Author alfred Revision 105135 Date 2002-10-14T22:31:52.000000Z Log: Put function return types on a line by themselves. Cleanup my earlier de-__P sweep and remove whitespace between function names and paramters. /head/sys/dev/mii/qsphy.c /head/sys/dev/mii/acphy.c /head/sys/dev/mii/xmphy.c /head/sys/dev/dc/pnphy.c /head/sys/dev/mii/dcphy.c /head/sys/dev/mii/nsgphy.c /head/sys/dev/mii/mii.c /head/sys/dev/mii/amphy.c /head/sys/dev/dc/dcphy.c /head/sys/dev/mii/lxtphy.c /head/sys/dev/mii/mlphy.c /head/sys/dev/mii/brgphy.c /head/sys/dev/mii/exphy.c /head/sys/dev/mii/rlphy.c /head/sys/dev/mii/pnphy.c /head/sys/dev/mii/pnaphy.c /head/sys/dev/mii/tlphy.c /head/sys/dev/mii/ukphy.c /head/sys/dev/mii/nsphy.c /head/sys/dev/mii/tdkphy.c ============================================================== Author alfred Revision 105132 Date 2002-10-14T21:15:04.000000Z Log: Remove a KASSERT I added in 1.73 to catch uninitialized pipes. It must be removed because it is done without the pipe being locked via pipelock() and therefore is vulnerable to races with pipespace() erroneously triggering it by temporarily zero'ing out the structure backing the pipe. It looks as if this assertion is not needed because all manipulation of the data changed by pipespace() _is_ protected by pipelock(). Reported by: kris, mckusick /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 105009 Date 2002-10-12T22:26:41.000000Z Log: whitespace fixes. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 104744 Date 2002-10-10T00:32:55.000000Z Log: de-__P() /head/share/man/man9/domain.9 /head/sbin/atm/atm/atm_show.c /head/usr.sbin/atm/scspd/scsp_cafsm.c /head/share/man/man9/vnode.9 /head/sbin/atm/atm/atm.h /head/usr.sbin/atm/scspd/scsp_hfsm.c /head/usr.sbin/atm/scspd/scsp_var.h /head/release/picobsd/tinyware/passwd/pw_copy.c /head/usr.sbin/atm/scspd/scsp_if.c /head/usr.sbin/atm/scspd/scsp_input.c /head/share/man/man9/kthread.9 /head/release/picobsd/tinyware/view/view.c /head/usr.sbin/atm/scspd/scsp_config.c /head/sbin/atm/ilmid/ilmid.c /head/release/picobsd/tinyware/oinit/oinit.c /head/share/man/man9/accept_filter.9 /head/usr.sbin/atm/scspd/scsp_config_parse.y /head/usr.sbin/atm/atmarpd/atmarp_var.h /head/release/picobsd/tinyware/login/pico-login.c ============================================================== Author alfred Revision 104742 Date 2002-10-09T23:22:11.000000Z Log: de-__P() /head/libexec/bootpd/rtmsg.c /head/libexec/bootpd/hwaddr.c /head/lib/libc/sys/sigaction.2 ============================================================== Author alfred Revision 104596 Date 2002-10-07T04:13:21.000000Z Log: disable debug output by default. /head/sys/kern/uipc_sem.c ============================================================== Author alfred Revision 104595 Date 2002-10-07T04:09:16.000000Z Log: warn about p1003_1b_semaphores /head/sys/conf/NOTES ============================================================== Author alfred Revision 104594 Date 2002-10-07T04:08:07.000000Z Log: Disconnect "sem" module from the build. /head/sys/modules/Makefile ============================================================== Author alfred Revision 104593 Date 2002-10-07T03:56:13.000000Z Log: Add 'break' to empty 'default' 'switch' statements. Requested by: mike /head/usr.sbin/rpcbind/security.c ============================================================== Author alfred Revision 104592 Date 2002-10-07T02:56:59.000000Z Log: WARNS=3 safety (mostly), use __unused for unused params and unsigned where needed to avoid warnings about comparing signed and unsigned values. /head/usr.sbin/rpcbind/util.c /head/usr.sbin/rpcbind/rpcb_svc_com.c /head/usr.sbin/rpcbind/rpcb_stat.c /head/usr.sbin/rpcbind/rpcb_svc.c /head/usr.sbin/rpcbind/rpcbind.c /head/usr.sbin/rpcbind/check_bound.c /head/usr.sbin/rpcbind/rpcb_svc_4.c /head/usr.sbin/rpcbind/rpcbind.h /head/usr.sbin/rpcbind/security.c /head/usr.sbin/rpcbind/pmap_svc.c ============================================================== Author alfred Revision 104590 Date 2002-10-07T01:19:56.000000Z Log: fix line wrap. /head/usr.sbin/rpcbind/rpcbind.c ============================================================== Author alfred Revision 104589 Date 2002-10-07T01:16:00.000000Z Log: cast xdr_rpcblist_ptr to xdrproc_t to silence warnings. /head/usr.sbin/rpcbind/warmstart.c ============================================================== Author alfred Revision 104588 Date 2002-10-07T01:09:40.000000Z Log: Add ';' after 'default:' labels to avoid 'deprecated use of label at end of compound statement' warnings. /head/usr.sbin/rpcbind/security.c ============================================================== Author alfred Revision 104587 Date 2002-10-07T00:58:21.000000Z Log: Don't pass a NULL pointer to syslog(3). Submitted by: kris /head/usr.sbin/rpcbind/rpcbind.c ============================================================== Author alfred Revision 104401 Date 2002-10-03T06:44:01.000000Z Log: Static'ify a variable. Submitted by: Matt Emmerton /head/sys/dev/ti/if_ti.c /head/sys/pci/if_ti.c ============================================================== Author alfred Revision 104322 Date 2002-10-01T22:02:06.000000Z Log: make rstat(3) return an 'enum clnt_stat' rather than an 'int' to match the prototype from rstat.x -> rstat.h. MFC After: 1 day /head/lib/librpcsvc/rstat.c ============================================================== Author alfred Revision 104311 Date 2002-10-01T17:59:53.000000Z Log: Add prototypes for rstat(3) and havedisk(3). Requested by: kris, Emil Mikulic MFC After: 1 day /head/include/rpcsvc/rstat.x ============================================================== Author alfred Revision 103870 Date 2002-09-23T18:54:32.000000Z Log: use __packed. /head/sys/amd64/include/pc/bios.h /head/sys/fs/udf/ecma167-udf.h /head/sys/dev/ata/ata-raid.h /head/sys/netncp/ncp_ncp.h /head/sys/alpha/include/pc/vesa.h /head/sys/netgraph/ng_pppoe.c /head/sys/dev/amr/amrreg.h /head/sys/dev/ciss/cissreg.h /head/sys/pc98/pc98/wst.c /head/sys/netgraph/ng_pppoe.h /head/sys/i386/isa/mca_machdep.c /head/sys/boot/i386/libi386/biospnp.c /head/sys/dev/aac/aacreg.h /head/sys/ia64/include/pc/vesa.h /head/sys/boot/pc98/libpc98/biosmem.c /head/sys/dev/an/if_anreg.h /head/sys/dev/ata/atapi-all.h /head/sys/dev/fb/splash_bmp.c /head/sys/i386/bios/mca_machdep.c /head/sys/boot/i386/libi386/biosmem.c /head/sys/modules/splash/bmp/splash_bmp.c /head/sys/i386/ibcs2/ibcs2_xenix.c /head/sys/dev/ata/atapi-cd.h /head/sys/dev/ida/idareg.h /head/sys/netncp/ncp_file.h /head/sys/netncp/ncp.h /head/sys/boot/i386/libi386/pxe.h /head/sys/i386/i386/bios.c /head/sys/i386/include/pc/bios.h /head/sys/dev/twe/twereg.h /head/sys/i386/include/pc/vesa.h /head/sys/dev/mlx/mlxreg.h /head/sys/amd64/amd64/bios.c /head/sys/dev/mly/mlyreg.h /head/sys/dev/pst/pst-iop.h /head/sys/dev/an/if_aironet_ieee.h /head/sys/cam/scsi/scsi_low.h /head/sys/pc98/pc98/wd_cd.h ============================================================== Author alfred Revision 103844 Date 2002-09-23T06:35:33.000000Z Log: use __packed/__aligned rather than GCC-specific __attribute__. /head/sys/dev/sbni/if_sbni.c /head/sys/net/iso88025.h /head/sys/dev/ciss/cissio.h ============================================================== Author alfred Revision 103842 Date 2002-09-23T06:25:08.000000Z Log: s/__attribute__((__packed__))/__packed/g /head/sys/net/if_spppsubr.c /head/sys/net/if_llc.h /head/sys/dev/usb/usb.h /head/sys/net/if_gre.h /head/sys/netinet/icmp6.h /head/sys/netinet/ip6.h /head/sys/netinet6/in6_cksum.c /head/sys/net/if_arc.h /head/sys/dev/ray/if_raymib.h ============================================================== Author alfred Revision 103718 Date 2002-09-20T21:50:57.000000Z Log: Fix an infinite loop when _fetch_read() can return 0 (if the connection is broken), take this into account and return at this point. /head/lib/libfetch/common.c ============================================================== Author alfred Revision 103578 Date 2002-09-19T01:14:08.000000Z Log: Welcome the sem_ API to libc! /head/lib/libc/sys/Makefile.inc /head/lib/libc/sys/sem.c /head/lib/libc/gen/sem.c ============================================================== Author alfred Revision 103577 Date 2002-09-19T01:13:31.000000Z Log: Install _semaphore.h. /head/include/Makefile ============================================================== Author alfred Revision 103576 Date 2002-09-19T01:09:49.000000Z Log: add a stub for pthread_cond_destroy. /head/lib/libc/gen/_pthread_stubs.c ============================================================== Author alfred Revision 103575 Date 2002-09-19T00:48:57.000000Z Log: Regen for added syscalls. /head/sys/sys/sysproto.h /head/sys/conf/files /head/sys/kern/init_sysent.c /head/sys/conf/NOTES /head/sys/kern/syscalls.c /head/sys/sys/syscall.h /head/sys/sys/syscall.mk /head/sys/conf/options ============================================================== Author alfred Revision 103574 Date 2002-09-19T00:43:32.000000Z Log: Add the rest of the kernel support for the sem_ API in kern/uipc_sem.c. Option 'P1003_1B_SEMAPHORES' to compile them in, or load the "sem" module to activate them. Have kern/makesyscalls.sh emit an include for sys/_semaphore.h into sysproto.h to pull in the typedef for semid_t. Add the syscalls to the syscall table as module stubs. /head/sys/posix4/posix4.h /head/sys/kern/makesyscalls.sh /head/sys/posix4/posix4_mib.c /head/sys/modules/Makefile /head/sys/kern/syscalls.master /head/sys/sys/_semaphore.h /head/sys/modules/sem/Makefile /head/sys/sys/posix4.h /head/sys/modules/sem /head/sys/kern/posix4_mib.c /head/sys/posix4/_semaphore.h ============================================================== Author alfred Revision 103571 Date 2002-09-18T22:47:42.000000Z Log: Bring in my implementation of kernel support for posix realtime semaphores that are shareable between processes. There will be a cleanup shortly along with the necessary changes made to libc, libc_r, libpthread as well as the hooks into sys/conf and sys/modules. /head/sys/kern/uipc_sem.c ============================================================== Author alfred Revision 102945 Date 2002-09-04T23:58:23.000000Z Log: remove #pragma ident /head/include/rpc/auth_kerb.h ============================================================== Author alfred Revision 102538 Date 2002-08-28T20:39:48.000000Z Log: Allow one to grab the definition of struct ucred by defining _WANT_UCRED instead of forcing _KERNEL. Move the include of sys/_label.h in ucred.h under the _KERNEL || _WANT_UCRED case. /head/sys/sys/ucred.h /head/lib/libkvm/kvm_proc.c ============================================================== Author alfred Revision 102336 Date 2002-08-24T00:02:03.000000Z Log: style: put return types on a line by themselves. /head/sys/pci/if_vr.c /head/sys/pci/if_wb.c /head/sys/dev/ti/if_ti.c /head/sys/pci/if_ti.c /head/sys/pci/if_tl.c /head/sys/dev/vr/if_vr.c /head/sys/pci/if_xl.c ============================================================== Author alfred Revision 102335 Date 2002-08-23T23:49:02.000000Z Log: style: put return values on a line by themselves. fix some paste issues where whitespace was used instead of tabs. /head/sys/pci/if_sf.c /head/sys/pci/if_ste.c /head/sys/dev/sk/if_sk.c /head/sys/pci/if_rl.c /head/sys/pci/if_sk.c /head/sys/dev/dc/if_dc.c /head/sys/pci/if_pcn.c /head/sys/dev/sf/if_sf.c /head/sys/pci/if_dc.c ============================================================== Author alfred Revision 102334 Date 2002-08-23T23:19:25.000000Z Log: Put return values from functions on a line by themselves. Ok'd previously by: wpaul /head/sys/pci/if_sis.c ============================================================== Author alfred Revision 102194 Date 2002-08-20T21:42:32.000000Z Log: MFC: 1.10 (fix url) PR: docs/41830 /stable/4/share/dict/README ============================================================== Author alfred Revision 102193 Date 2002-08-20T21:41:14.000000Z Log: Fix url for wordlists. PR: docs/41830 /head/share/dict/README ============================================================== Author alfred Revision 101975 Date 2002-08-16T09:07:59.000000Z Log: make the strings for tcptimers, tanames and prurequests const to silence warnings. /head/sys/sys/protosw.h /head/sys/netinet/tcp_timer.h /head/sys/netinet/tcp_debug.h ============================================================== Author alfred Revision 101974 Date 2002-08-16T09:07:15.000000Z Log: forgot to actually commit the DK/FS TYPES split, do it now. /head/sys/sys/diskpc98.h /head/sys/sys/disklabel.h /head/sys/sys/diskmbr.h ============================================================== Author alfred Revision 101973 Date 2002-08-16T08:19:15.000000Z Log: No need to include sys/time.h, this unbreaks a c89 warning about long long constants as well. /head/sbin/nfsiod/nfsiod.c ============================================================== Author alfred Revision 101971 Date 2002-08-16T07:42:18.000000Z Log: fix comment typo: naem -> name /head/sys/sys/msg.h ============================================================== Author alfred Revision 101970 Date 2002-08-16T07:34:19.000000Z Log: Don't '#define DKTYPENAMES', we don't use the variable it exposes from the header file. /head/sbin/fsck_ffs/setup.c ============================================================== Author alfred Revision 101969 Date 2002-08-16T07:33:14.000000Z Log: add a check for GNUC < 3 to typedef bool because gcc 3 always seems to define it. Suggested by: tjr /head/include/stdbool.h ============================================================== Author alfred Revision 101968 Date 2002-08-16T07:01:43.000000Z Log: Hide 'struct ucred' behind '#ifdef _KERNEL', this should stop userland from attempting to use it for good. There is a catch, kvm_proc.c needs to '#define _KERNEL' to get at the ucred. Requested by: rwatson /head/sys/sys/ucred.h /head/lib/libkvm/kvm_proc.c ============================================================== Author alfred Revision 101947 Date 2002-08-15T21:52:22.000000Z Log: Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred for LOCKD_MSG instead. Requested by: rwatson /head/sys/nfsclient/nfs_lock.c /head/usr.sbin/rpc.lockd/kern.c /head/sys/nfsclient/nfs_lock.h ============================================================== Author alfred Revision 101946 Date 2002-08-15T21:41:59.000000Z Log: Remove cam_extend.c from sources to unbreak modules. Missed by: kern/39809,njl /head/sys/modules/cam/Makefile ============================================================== Author alfred Revision 101902 Date 2002-08-15T06:34:37.000000Z Log: Add regression tests for sysvipc. Submitted by: Hiten Pandya Obtained from: NetBSD /head/tools/regression/sysvmsg/msgtest.c /head/tools/regression/sysvshm/shmtest.c /head/tools/regression/sysvsem/Makefile /head/tools/regression/sysvsem/README /head/tools/regression/sysvmsg/Makefile /head/tools/regression/sysvmsg/README /head/tools/regression/sysvsem /head/tools/regression/sysvshm/Makefile /head/tools/regression/sysvshm/README /head/tools/regression/sysvmsg /head/tools/regression/sysvshm /head/tools/regression/README /head/tools/regression/sysvsem/semtest.c ============================================================== Author alfred Revision 101891 Date 2002-08-15T02:10:12.000000Z Log: return foo -> return (foo) /head/sys/kern/sysv_shm.c ============================================================== Author alfred Revision 101774 Date 2002-08-13T08:47:17.000000Z Log: Make SYSVSEM mpsafe. Each semaphore set gets its own lock, however there is a global lock over the undo structures because of the way they are managed. Switch to using SLIST instead of rolling our own linked list. Fix several races where a permission check was done before a copyin/copyout, if the copy happened to fault it may have been possible to race for access to a semaphore set that one shouldn't have access to. Requested by: rwatson Tested by: NetBSD regression suite. /head/sys/kern/sysv_sem.c ============================================================== Author alfred Revision 101772 Date 2002-08-13T08:00:36.000000Z Log: Make SYSVMSG mpsafe. Right now there is a global lock over the entire subsystem, we could move to per-message queue locks, however the messages themselves seem to come from a global pool and to avoid over-locking this code (locking individual queues, then the global pool) I've opted to just do it this way. Requested by: rwatson Tested by: NetBSD's regression suite. /head/sys/kern/sysv_msg.c ============================================================== Author alfred Revision 101715 Date 2002-08-12T07:20:15.000000Z Log: add opt_mac.h to SRCS to unbreak module build. /head/sys/modules/ibcs2/Makefile ============================================================== Author alfred Revision 101351 Date 2002-08-05T05:18:43.000000Z Log: Add a macro for SLIST traversal 'SLIST_FOREACH_PREVPTR', this macro keeps a pointer to the previous element's next pointer to allow for search and O(1) removal. /head/sys/sys/queue.h ============================================================== Author alfred Revision 101350 Date 2002-08-05T05:16:09.000000Z Log: Cleanup: Fix line wrapping. Remove 'register'. malloc(9) with M_WAITOK can't fail, so remove checks for that. /head/sys/kern/sysv_sem.c ============================================================== Author alfred Revision 100586 Date 2002-07-24T00:29:22.000000Z Log: Attempt to clarify comment in selrecord. /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 100527 Date 2002-07-22T19:05:44.000000Z Log: Remove unneeded caddr_t casts. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 100523 Date 2002-07-22T18:27:54.000000Z Log: Cleanup: Define a debug printf macro rather than wrapping all calls to printf with #ifdefs. /head/sys/kern/sysv_sem.c /head/sys/kern/sysv_msg.c ============================================================== Author alfred Revision 100512 Date 2002-07-22T16:22:27.000000Z Log: Change struct vmspace->vm_shm from void * to struct shmmap_state *, this removes the need for casts in several cases. /head/sys/vm/vm_map.h /head/sys/kern/sysv_shm.c ============================================================== Author alfred Revision 100511 Date 2002-07-22T16:12:55.000000Z Log: Remove caddr_t. /head/sys/vm/vm_map.h /head/sys/kern/sysv_sem.c /head/sys/kern/sysv_msg.c /head/sys/kern/sysv_shm.c ============================================================== Author alfred Revision 100507 Date 2002-07-22T15:46:51.000000Z Log: remove caddr_t from fo_ioctl calls /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 100506 Date 2002-07-22T15:44:27.000000Z Log: remove caddr_t /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 100134 Date 2002-07-15T19:40:23.000000Z Log: Add IPv6 support. Submitted by: Jean-Luc Richier /head/sys/nfsserver/nfs_syscalls.c /head/sys/modules/nfsserver/Makefile /head/sys/nfsserver/nfs_srvcache.c /head/sys/nfsclient/nfs_lock.c /head/sys/nfsclient/nfs_socket.c /head/usr.sbin/rpc.lockd/kern.c /head/sys/nfsclient/nfs_lock.h /head/sys/nfsserver/nfs.h /head/sys/modules/nfsclient/Makefile /head/sys/nfsserver/nfs_srvsubs.c /head/sys/nfsserver/nfs_srvsock.c ============================================================== Author alfred Revision 100127 Date 2002-07-15T19:09:33.000000Z Log: add support for rpc IPv6 (rpc/udp/46 ...) Submitted by: Jean-Luc Richier /head/usr.sbin/inetd/inetd.8 /head/usr.sbin/inetd/inetd.c ============================================================== Author alfred Revision 100126 Date 2002-07-15T19:02:45.000000Z Log: use getaddrinfo() instead of gethostbyname(). Submitted by: Jean-Luc Richier /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 100125 Date 2002-07-15T19:00:34.000000Z Log: Nuke unused variable. /head/usr.sbin/rpc.statd/statd.c ============================================================== Author alfred Revision 100121 Date 2002-07-15T18:53:52.000000Z Log: do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead pass an empty string. Submitted by: Jean-Luc Richier /head/usr.sbin/spray/spray.c ============================================================== Author alfred Revision 100120 Date 2002-07-15T18:51:57.000000Z Log: Port to TI/RPC and/or IPV6. Submitted by: Jean-Luc Richier /head/libexec/rpc.rstatd/rstatd.c /head/libexec/rpc.sprayd/sprayd.c /head/usr.sbin/keyserv/keyserv.c /head/usr.sbin/rpc.statd/statd.c /head/libexec/rpc.rwalld/rwalld.c /head/libexec/rpc.rquotad/rquotad.c /head/libexec/rpc.rusersd/rusersd.c ============================================================== Author alfred Revision 100117 Date 2002-07-15T18:34:27.000000Z Log: If an RPC fails, try a shorter reply in case the fault lies with the size of the response. PR: misc/26320 MFC After: 2 weeks /head/usr.sbin/mountd/mountd.c ============================================================== Author alfred Revision 100114 Date 2002-07-15T17:44:34.000000Z Log: de-__P(). WARNS=4 cleanup: include headers needed. don't initialize char * with const char *. fix main() declaration. fix shadowed variable. properly cast tcpcb members for printf(3) output. remove 'register'. remove unused arg. Reviewed by: tmm, bde /head/usr.sbin/trpt/trpt.c /head/usr.sbin/trpt/Makefile ============================================================== Author alfred Revision 100063 Date 2002-07-15T09:53:34.000000Z Log: revert WARNS=4, it makes the alpha compile sad. /head/usr.bin/tail/Makefile ============================================================== Author alfred Revision 100002 Date 2002-07-14T23:38:37.000000Z Log: Fix "rpcinfo -m" when talking to other implementations of rpcbind. Submitted by: mbr (NetBSD PR#15802) /head/lib/libc/rpc/rpcb_st_xdr.c ============================================================== Author alfred Revision 100001 Date 2002-07-14T23:35:04.000000Z Log: clnt_vc_create() has const scalar arguments that wind up being modified, fix it (make them non-const) and update the associated documentation. Submitted by: mbr /head/lib/libc/rpc/rpc_clnt_create.3 /head/lib/libc/rpc/clnt_vc.c /head/include/rpc/clnt.h ============================================================== Author alfred Revision 99998 Date 2002-07-14T23:20:08.000000Z Log: Cast function args to silence warning. Submitted by: mbr /head/lib/libc/rpc/key_call.c ============================================================== Author alfred Revision 99997 Date 2002-07-14T23:14:08.000000Z Log: Add a prototype for __rpcb_findaddr_timed to silence a warning. /head/lib/libc/rpc/rpc_com.h ============================================================== Author alfred Revision 99996 Date 2002-07-14T23:14:02.000000Z Log: Silence several warnings due to functions that needed to take a void * having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(), clnt_vc_control(). /head/lib/libc/rpc/clnt_vc.c /head/lib/libc/rpc/clnt_raw.c /head/lib/libc/rpc/clnt_dg.c ============================================================== Author alfred Revision 99984 Date 2002-07-14T18:23:22.000000Z Log: WARNS=4 /head/usr.bin/ar/Makefile /head/usr.bin/apply/Makefile /head/usr.bin/nohup/nohup.c /head/usr.bin/mklocale/Makefile /head/usr.bin/ar/ar.c /head/usr.bin/nohup/Makefile /head/usr.bin/apply/apply.c /head/usr.bin/mklocale/yacc.y ============================================================== Author alfred Revision 99983 Date 2002-07-14T18:21:07.000000Z Log: WARNS=4, add /head/usr.bin/tail/tail.c /head/usr.bin/tail/Makefile ============================================================== Author alfred Revision 99982 Date 2002-07-14T18:16:06.000000Z Log: WARNS=2, de-__P() /head/usr.bin/mklocale/Makefile /head/usr.bin/mklocale/yacc.y ============================================================== Author alfred Revision 99980 Date 2002-07-14T17:55:35.000000Z Log: WARNS=2 /head/usr.bin/rpcgen/rpc_hout.c /head/usr.bin/rpcgen/Makefile ============================================================== Author alfred Revision 99979 Date 2002-07-14T17:54:00.000000Z Log: - TI-RPC is now the default again for code generation. - As before, inetd support support is turned of per default. Code for inetd can be made with -I. - Support for ``transport monitors'' and the NLSPROVIDER env variable is still there , even if their use is not clear in non TLI stream based systems like Free-/NetBSD. It can be activated with -P. - There are a few corrections in rpcgen.1 and usage function to conform to the code. Added and documented -P - I removed the #ifdefs checks for Free-/NetBSD since we are the only ones who use this code. MaxOS X may have the same limitations as we have, so this code will correctly build for them. - Generate correct cflags. Submitted by: mbr, Jean-Luc Richier PR: bin/29175, misc/27816 /head/usr.bin/rpcgen/rpc_hout.c /head/usr.bin/rpcgen/rpc_parse.h /head/usr.bin/rpcgen/rpc_sample.c /head/usr.bin/rpcgen/rpc_util.h /head/usr.bin/rpcgen/rpc_svcout.c /head/usr.bin/rpcgen/rpc_main.c /head/usr.bin/rpcgen/rpc_scan.c /head/usr.bin/rpcgen/rpc_clntout.c /head/usr.bin/rpcgen/rpcgen.1 /head/usr.bin/rpcgen/rpc_scan.h /head/usr.bin/rpcgen/rpc_cout.c /head/usr.bin/rpcgen/rpc_parse.c ============================================================== Author alfred Revision 99916 Date 2002-07-13T17:11:17.000000Z Log: Remove incorrect comment about now corrected manpage. /head/sys/kern/syscalls.master ============================================================== Author alfred Revision 99915 Date 2002-07-13T16:43:53.000000Z Log: Move COMPAT_FREEBSD4 to arch-neutral sys/conf/NOTES. Add COMPAT_FREEBSD4 to GENERIC for arches that existed in FreeBSD 4's time, not just i386. (alpha and pc98) Requested by: bde /head/sys/alpha/conf/NOTES /head/sys/pc98/conf/GENERIC /head/sys/alpha/conf/GENERIC /head/sys/i386/conf/NOTES /head/sys/conf/NOTES ============================================================== Author alfred Revision 99866 Date 2002-07-12T08:23:08.000000Z Log: regen for osendfile. /stable/4/sys/sys/syscall-hide.h /stable/4/sys/sys/sysproto.h /stable/4/sys/kern/init_sysent.c /stable/4/sys/kern/syscalls.c /stable/4/sys/sys/syscall.h /stable/4/sys/sys/syscall.mk ============================================================== Author alfred Revision 99865 Date 2002-07-12T08:22:46.000000Z Log: MFC: compat syscall for broken sendfile. /stable/4/sys/kern/syscalls.master /stable/4/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 99856 Date 2002-07-12T06:52:44.000000Z Log: regen for freebsd4_sendfile(2) compat. /head/sys/sys/sysproto.h /head/sys/kern/init_sysent.c /head/sys/kern/syscalls.c /head/sys/sys/syscall.h /head/sys/sys/syscall.mk ============================================================== Author alfred Revision 99855 Date 2002-07-12T06:51:57.000000Z Log: Create a bug-for-bug FreeBSD4 compatible version of sendfile and move the fixed sendfile over. This is needed to preserve binary compatibility from 4.x to 5.x. /head/sys/kern/syscalls.master /head/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 99854 Date 2002-07-12T06:38:34.000000Z Log: Introduce syscall.master option 'COMPAT4' which allows one to wrap syscalls for FreeBSD 4 compatibility. Add kernel option COMPAT_FREEBSD4 to enable these syscalls. /head/sys/kern/makesyscalls.sh /head/sys/i386/conf/NOTES /head/sys/i386/conf/GENERIC /head/sys/amd64/conf/GENERIC /head/sys/conf/options ============================================================== Author alfred Revision 99835 Date 2002-07-11T22:50:36.000000Z Log: WARNS=2, de-__P() /head/usr.sbin/slstat/slstat.c /head/usr.sbin/slstat/Makefile ============================================================== Author alfred Revision 99833 Date 2002-07-11T22:29:11.000000Z Log: WARNS=4, de-__P() /head/usr.sbin/accton/accton.c /head/usr.sbin/accton/Makefile ============================================================== Author alfred Revision 99832 Date 2002-07-11T22:25:16.000000Z Log: Update manpages to reference 'timed' rpc functions /head/lib/libc/rpc/rpc.3 ============================================================== Author alfred Revision 99831 Date 2002-07-11T22:18:26.000000Z Log: Fix indentation broken in previous __P removal. Grumbled about by: bde /head/usr.sbin/ac/Makefile /head/usr.sbin/ac/ac.c ============================================================== Author alfred Revision 99829 Date 2002-07-11T22:11:20.000000Z Log: WARNS=4, de-__P() /head/usr.sbin/sa/extern.h /head/usr.sbin/sa/Makefile /head/usr.sbin/sa/main.c /head/usr.sbin/sa/pdb.c ============================================================== Author alfred Revision 99825 Date 2002-07-11T21:40:15.000000Z Log: WARNS=4, de-__P() /head/usr.sbin/rwhod/Makefile /head/usr.sbin/rwhod/rwhod.c ============================================================== Author alfred Revision 99824 Date 2002-07-11T21:28:16.000000Z Log: de-__P() /head/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h ============================================================== Author alfred Revision 99822 Date 2002-07-11T21:26:41.000000Z Log: WARNS=4, de-__P() /head/usr.sbin/quotaon/quotaon.c /head/usr.sbin/repquota/Makefile /head/usr.sbin/rmt/Makefile /head/usr.sbin/repquota/repquota.c /head/usr.sbin/quotaon/Makefile /head/usr.sbin/rmt/rmt.c ============================================================== Author alfred Revision 99820 Date 2002-07-11T21:18:55.000000Z Log: WARNS=4 /head/usr.sbin/edquota/Makefile /head/usr.sbin/edquota/edquota.c ============================================================== Author alfred Revision 99819 Date 2002-07-11T21:16:52.000000Z Log: WARNS=4 cleanup, de-__P() /head/usr.sbin/pwd_mkdb/pwd_mkdb.c /head/usr.sbin/pwd_mkdb/Makefile ============================================================== Author alfred Revision 99818 Date 2002-07-11T21:13:37.000000Z Log: de-__P() /head/usr.sbin/kbdcontrol/lex.h ============================================================== Author alfred Revision 99816 Date 2002-07-11T21:12:18.000000Z Log: WARNS?=4 cleanup. /head/usr.sbin/kbdcontrol/Makefile /head/usr.sbin/kbdcontrol/kbdcontrol.c /head/usr.sbin/kbdcontrol/lex.l ============================================================== Author alfred Revision 99814 Date 2002-07-11T20:53:56.000000Z Log: de-__P() /head/usr.sbin/kbdcontrol/kbdcontrol.c ============================================================== Author alfred Revision 99806 Date 2002-07-11T19:07:35.000000Z Log: de-__P() /head/usr.sbin/pw/psdate.h /head/usr.sbin/pw/bitmap.h /head/usr.sbin/pw/pwupd.h ============================================================== Author alfred Revision 99804 Date 2002-07-11T18:45:59.000000Z Log: mark unused variable. /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99803 Date 2002-07-11T18:45:14.000000Z Log: conditionally set WARNS via ?=. /head/usr.sbin/rpc.statd/Makefile ============================================================== Author alfred Revision 99802 Date 2002-07-11T18:42:53.000000Z Log: fixup for WARNS=4. /head/usr.sbin/mtree/create.c /head/usr.sbin/mtree/verify.c /head/usr.sbin/mtree/compare.c /head/usr.sbin/mtree/extern.h /head/usr.sbin/mtree/misc.c /head/usr.sbin/mtree/Makefile /head/usr.sbin/mtree/excludes.c /head/usr.sbin/mtree/mtree.c ============================================================== Author alfred Revision 99800 Date 2002-07-11T18:31:16.000000Z Log: de-__P() /head/usr.sbin/cdcontrol/cdcontrol.c /head/usr.sbin/mtree/create.c /head/usr.sbin/mtree/verify.c /head/usr.sbin/mtree/extern.h /head/usr.sbin/kgmon/kgmon.c /head/usr.sbin/mtree/mtree.c /head/usr.sbin/lastlogin/lastlogin.c /head/usr.sbin/chroot/chroot.c /head/usr.sbin/ancontrol/ancontrol.c /head/usr.sbin/mtree/compare.c /head/usr.sbin/edquota/edquota.c /head/usr.sbin/mtree/spec.c /head/usr.sbin/mailwrapper/mailwrapper.c /head/usr.sbin/ac/ac.c /head/usr.sbin/mtree/misc.c /head/usr.sbin/apmd/apmd.h ============================================================== Author alfred Revision 99798 Date 2002-07-11T17:55:14.000000Z Log: make mostly WARNS=4 clean. constify, mark unsued args, fixup prototypes. /head/usr.sbin/rpc.statd/Makefile /head/usr.sbin/rpc.statd/file.c /head/usr.sbin/rpc.statd/statd.c /head/usr.sbin/rpc.statd/statd.h /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99795 Date 2002-07-11T17:44:59.000000Z Log: Log the IP of the machine if an invalid host is passed over the wire. PR: bin/29406 /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99792 Date 2002-07-11T17:41:28.000000Z Log: MFC: 1.9 (fix return values for monitor service) /stable/4/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99791 Date 2002-07-11T17:39:50.000000Z Log: Fix return values in the sm_notify_1 service routine to return an answer most of the time (unless fork fails). This should fix the problem where FreeBSD won't respond to a remote host and therefor the remote hosts tries indefinitely to contact the FreeBSD hosts thereby irritating the system administrator. PR: misc/27810 /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99790 Date 2002-07-11T17:36:09.000000Z Log: Fix syslog format errors introduced in 1.6. /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99789 Date 2002-07-11T17:33:47.000000Z Log: add includes for inet_ntoa prototype. /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99787 Date 2002-07-11T17:32:16.000000Z Log: include string.h for strcmp(3) prototype. /head/usr.sbin/rpc.statd/statd.c ============================================================== Author alfred Revision 99786 Date 2002-07-11T17:31:15.000000Z Log: include stdlib.h for exit(3) prototype. /head/usr.sbin/rpc.statd/file.c ============================================================== Author alfred Revision 99784 Date 2002-07-11T17:17:56.000000Z Log: MFC: bin/16726 (don't leak kvm filedescriptor) /stable/4/libexec/rpc.rstatd/rstat_proc.c ============================================================== Author alfred Revision 99783 Date 2002-07-11T17:11:42.000000Z Log: Do not allow unsafe characters in monitored hostnames. This is modified version of the fix posted in the PR, I've taken Wollman's advice and used strvis(3) to properly show invalid hostnames. PR: bin/39815 /head/usr.sbin/rpc.statd/statd.h /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 99775 Date 2002-07-11T16:23:04.000000Z Log: Add functions allowing for the user to specify a timeout for rpc functions. Update copyrights to reflect where this code was lifted from. (tirpc '99) Submitted by: mbr /head/lib/libc/rpc/clnt_generic.c /head/lib/libc/rpc/LICENSE /head/lib/libc/rpc/Makefile.inc /head/lib/libc/rpc/rpcb_clnt.c /head/lib/libc/rpc/rpc_clnt_create.3 /head/include/rpc/clnt.h ============================================================== Author alfred Revision 99774 Date 2002-07-11T16:19:43.000000Z Log: Add -h option to rpcbind, used to specify what address to bind to for UDP requests. Submitted by: mbr /head/usr.sbin/rpcbind/rpcbind.c /head/usr.sbin/rpcbind/rpcbind.8 ============================================================== Author alfred Revision 99498 Date 2002-07-06T16:34:32.000000Z Log: Cleanup after my de-__P (remove leading whitespace before prototype args). Add newlines after function return types in function declarations. Approved by: wpaul (a long time ago) /head/sys/dev/lge/if_lge.c ============================================================== Author alfred Revision 99497 Date 2002-07-06T15:59:57.000000Z Log: Cleanup after my de-__P (remove leading whitespace before prototype args). Add newlines after function return types in function declarations. Approved by: wpaul (a long time ago) /head/sys/dev/nge/if_nge.c ============================================================== Author alfred Revision 99111 Date 2002-06-30T05:23:58.000000Z Log: Partial backout of 1.318, remove error handling added because it may be incorrect. Requested by: bde /head/sys/kern/vfs_export.c ============================================================== Author alfred Revision 99076 Date 2002-06-29T17:58:44.000000Z Log: Fix several style bugs: close up the continued line after removing the cast made the line. space before parentheses in indirect function call. Add an addtional error handler case for the results of callback. Submitted by: bde /head/sys/kern/vfs_export.c ============================================================== Author alfred Revision 99075 Date 2002-06-29T17:56:34.000000Z Log: Unbreak computation of 'smask' that I broke when removing caddr_t. Submitted by: bde /head/sys/kern/vfs_export.c ============================================================== Author alfred Revision 99058 Date 2002-06-29T11:26:05.000000Z Log: catch up with mextfree callback change when TI_PRIVATE_JUMBOS is defined. Pointed out by: kdm /head/sys/dev/ti/if_ti.c /head/sys/pci/if_ti.c ============================================================== Author alfred Revision 99012 Date 2002-06-29T02:00:02.000000Z Log: more caddr_t removal. /head/sys/kern/kern_sig.c /head/sys/kern/subr_prof.c /head/sys/kern/kern_synch.c /head/sys/kern/subr_disklabel.c /head/sys/kern/kern_resource.c /head/sys/kern/kern_xxx.c /head/sys/kern/subr_log.c /head/sys/kern/kern_time.c /head/sys/kern/kern_sysctl.c ============================================================== Author alfred Revision 99009 Date 2002-06-29T01:50:25.000000Z Log: More caddr_t removal, make fo_ioctl take a void * instead of a caddr_t. /head/sys/kern/kern_exec.c /head/sys/kern/kern_prot.c /head/sys/kern/vfs_vnops.c /head/sys/sys/file.h /head/sys/sys/socketvar.h /head/sys/kern/sys_socket.c /head/sys/kern/kern_descrip.c /head/sys/kern/kern_exit.c /head/sys/kern/kern_ktrace.c /head/sys/kern/kern_physio.c /head/sys/kern/sys_pipe.c /head/sys/kern/kern_event.c ============================================================== Author alfred Revision 99008 Date 2002-06-29T01:49:22.000000Z Log: catch up with mextadd callback taking a void argument instead of a caddr_t. /head/sys/dev/sk/if_sk.c /head/sys/pci/if_sk.c /head/sys/kern/uipc_cow.c /head/sys/kern/uipc_jumbo.c /head/sys/sys/jumbo.h ============================================================== Author alfred Revision 99004 Date 2002-06-29T01:36:59.000000Z Log: catch up with ext_free prototype change. /head/sys/dev/bge/if_bge.c /head/sys/dev/lge/if_lge.c /head/sys/dev/nge/if_nge.c ============================================================== Author alfred Revision 98998 Date 2002-06-29T00:29:12.000000Z Log: More caddr_t removal. Change struct knote's kn_hook from caddr_t to void *. /head/sys/kern/subr_prf.c /head/sys/sys/event.h /head/sys/kern/uipc_socket.c /head/sys/kern/kern_subr.c /head/sys/kern/uipc_socket2.c /head/sys/kern/uipc_sockbuf.c /head/sys/kern/kern_lockf.c /head/sys/kern/kern_event.c ============================================================== Author alfred Revision 98997 Date 2002-06-29T00:02:01.000000Z Log: nuke more instances of caddr_t /head/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 98996 Date 2002-06-29T00:01:46.000000Z Log: m_extadd takes a void (*freef)(void *, void *) now, not a void (*freef)(caddr_t, void *). /head/sys/kern/subr_mbuf.c ============================================================== Author alfred Revision 98995 Date 2002-06-28T23:48:23.000000Z Log: remove or replace caddr_t with void. make the mbuf external free function take a void * rather than caddr_t. /head/sys/pci/if_wb.c /head/sys/kern/uipc_syscalls.c /head/sys/sys/mbuf.h ============================================================== Author alfred Revision 98994 Date 2002-06-28T23:17:36.000000Z Log: nuke caddr_t. /head/sys/kern/uipc_usrreq.c /head/sys/kern/vfs_cache.c /head/sys/kern/vfs_subr.c /head/sys/kern/vfs_export.c ============================================================== Author alfred Revision 98993 Date 2002-06-28T23:17:08.000000Z Log: change struct socket -> so_pcb from caddr_t to void *. /head/sys/sys/socketvar.h ============================================================== Author alfred Revision 98992 Date 2002-06-28T23:02:38.000000Z Log: Remove unneeded casts to caddr_t. /head/sys/kern/vfs_extattr.c /head/sys/kern/vfs_syscalls.c ============================================================== Author alfred Revision 98991 Date 2002-06-28T23:00:32.000000Z Log: change f_data field in struct file from caddr_t to void *. /head/sys/sys/file.h ============================================================== Author alfred Revision 98989 Date 2002-06-28T22:35:12.000000Z Log: document that the pipe fo_stat routine doesn't need locks because it's a read operation. Requested by: rwatson /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 98826 Date 2002-06-25T22:55:53.000000Z Log: Remove old pre-TIRPC code for getting transport handles. The code that follows spams over the contents of them making the removed code useless. /head/usr.sbin/mountd/mountd.c /head/sbin/mountd/mountd.c ============================================================== Author alfred Revision 98733 Date 2002-06-24T07:02:43.000000Z Log: MFC: 1.7 (Undo sendfile(2) workaround now that the kernel is fixed.) /stable/4/lib/libc_r/uthread/uthread_sendfile.c ============================================================== Author alfred Revision 98732 Date 2002-06-24T07:01:53.000000Z Log: Don't leave files locked if we have a short write to a non-blocking socket. MFC: 1.9 /stable/4/lib/libc_r/uthread/uthread_sendfile.c ============================================================== Author alfred Revision 98731 Date 2002-06-24T07:00:13.000000Z Log: Diff reduction against current. /stable/4/lib/libc_r/uthread/uthread_sendfile.c ============================================================== Author alfred Revision 98730 Date 2002-06-24T06:43:34.000000Z Log: Bump FreeBSD_version for sendfile fix. /stable/4/sys/sys/param.h ============================================================== Author alfred Revision 98729 Date 2002-06-24T06:42:22.000000Z Log: Fix sendfile bug where headers counted against amount of file to be sent. MFC: 1.103 /stable/4/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 98499 Date 2002-06-20T18:52:54.000000Z Log: Implement SO_NOSIGPIPE option for sockets. This allows one to request that an EPIPE error return not generate SIGPIPE on sockets. Submitted by: lioux Inspired by: Darwin /head/sys/kern/uipc_socket.c /head/sys/kern/sys_generic.c /head/sys/sys/socket.h /head/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 98497 Date 2002-06-20T17:27:28.000000Z Log: Don't leak resources if fdcheckstd() fails during exec. Submitted by: Mike Makonnen /head/sys/kern/kern_exec.c ============================================================== Author alfred Revision 98417 Date 2002-06-19T06:39:25.000000Z Log: Squish the "could sleep with process lock" messages caused by calling uifind() with a proc lock held. change_ruid() and change_euid() have been modified to take a uidinfo structure which will be pre-allocated by callers, they will then call uihold() on the uidinfo structure so that the caller's logic is simplified. This allows one to call uifind() before locking the proc struct and thereby avoid a potential blocking allocation with the proc lock held. This may need revisiting, perhaps keeping a spare uidinfo allocated per process to handle this situation or re-examining if the proc lock needs to be held over the entire operation of changing real or effective user id. Submitted by: Don Lewis /head/sys/alpha/osf1/osf1_misc.c /head/sys/kern/kern_exec.c /head/sys/kern/kern_prot.c /head/sys/sys/ucred.h ============================================================== Author alfred Revision 98403 Date 2002-06-18T22:41:35.000000Z Log: setsugid() touches p->p_flag so assert that the proc is locked. /head/sys/kern/kern_prot.c ============================================================== Author alfred Revision 98353 Date 2002-06-17T19:23:41.000000Z Log: Prevent DoS: Do not allow one to trace an ancestor when one is being traced. PR: kern/29741 MFC: 1.90 /stable/4/sys/kern/sys_process.c ============================================================== Author alfred Revision 98352 Date 2002-06-17T19:16:52.000000Z Log: Unbreak modules build by removing duplicate function 'send_sessionid()'. /stable/4/sys/netgraph/ng_pppoe.c ============================================================== Author alfred Revision 98335 Date 2002-06-17T09:39:30.000000Z Log: remove bogus comment, select/poll do NOT need to fhold as they hold the filedesc lock. style(9) fixes, add blank line at start of functions with no local variables. /head/sys/sys/file.h ============================================================== Author alfred Revision 98128 Date 2002-06-11T21:22:32.000000Z Log: This actually compiles under lint now, by effectively #if 0'ing it when compiling LINT, linking LINT was broke, so unbreak by removing the preprocessor directives. /head/sys/dev/hea/eni.c ============================================================== Author alfred Revision 98124 Date 2002-06-11T21:14:02.000000Z Log: catch up with ktrace changes, KTRPOINT takes a 'struct thread' not 'struct proc' now. /head/sys/compat/svr4/svr4_stream.c ============================================================== Author alfred Revision 97947 Date 2002-06-06T18:51:14.000000Z Log: fix typo in _SYS_SYSPROTO_H_ case: s/mlockall_args/munlockall_args Submitted by: Mark Santcroos /head/sys/vm/vm_mmap.c ============================================================== Author alfred Revision 97918 Date 2002-06-06T06:02:17.000000Z Log: Make sc_saver_keyb_only (sceen saver interrupted by keyboard input only) the default. /head/sys/dev/syscons/syscons.c ============================================================== Author alfred Revision 97728 Date 2002-06-02T04:32:52.000000Z Log: bde noticed that SOMAXCONN breaks pretty badly as an option for LINT. so back it out. /head/sys/sys/socket.h /head/sys/conf/options ============================================================== Author alfred Revision 97724 Date 2002-06-01T20:54:21.000000Z Log: Backout/modify previous revision: "empty default cases shouldn't be removed, they should have a break; statement added to them." Requested by: billf /head/sys/ufs/ufs/ufs_acl.c ============================================================== Author alfred Revision 97723 Date 2002-06-01T20:40:42.000000Z Log: Silence warnings, remove some empty 'default' switch cases. /head/sys/ufs/ufs/ufs_acl.c ============================================================== Author alfred Revision 97722 Date 2002-06-01T20:40:05.000000Z Log: Declare a variable sized array within a structure using [] rather than [0] to silence warnings. /head/sys/netgraph/ng_bpf.h ============================================================== Author alfred Revision 97721 Date 2002-06-01T20:22:33.000000Z Log: Silence preprocessor warning, No need to use CONCAT with "," and "word". /head/sys/i386/include/asmacros.h /head/sys/amd64/include/asmacros.h ============================================================== Author alfred Revision 97720 Date 2002-06-01T19:54:21.000000Z Log: Unbreak LINT by compensating for the ng_parse_struct_info -> ng_parse_struct_field change. /head/sys/i4b/driver/i4b_ing.c ============================================================== Author alfred Revision 97717 Date 2002-06-01T18:50:35.000000Z Log: Fix warnings. There's no need to use concatination when you have 'something.macro_arg'. Comment out comment following #endif. /head/sys/dev/ray/if_ray.c ============================================================== Author alfred Revision 97716 Date 2002-06-01T18:45:33.000000Z Log: Get rid of warnings, there's no need to do preprocessor concatination of things with commas and equal signs. /head/sys/security/lomac/kernel_log.c ============================================================== Author alfred Revision 97708 Date 2002-06-01T16:21:26.000000Z Log: Fix a couple of places where preprocessor concatination was misused and something wound up grafted to a comma. /head/sys/dev/exca/exca.c ============================================================== Author alfred Revision 97707 Date 2002-06-01T16:20:27.000000Z Log: Silence warning. When casting a "const void *" to a "struct foo **" you want to actually cast it to "struct foo * const *" not simply "const struct foo **". /head/sys/dev/cardbus/cardbus_cis.c ============================================================== Author alfred Revision 97699 Date 2002-06-01T07:18:32.000000Z Log: Should have been part of recent commit: Fix GCC warnings caused by initializing a zero length array. In the process, simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. But now I'm unbreaking compilation by adjusting these files to the recent netgraph change. /head/sys/dev/usb/udbp.c /head/sys/dev/usb/udbp.h ============================================================== Author alfred Revision 97698 Date 2002-06-01T06:23:47.000000Z Log: Call destroy_dev in detach routine to cleanup properly otherwise we panic because of a repeat make_dev if/when the device is reattached to the system. Remove an "#if __FreeBSD__" in code that's nested under a "#if __NetBSD__" (*sigh*) Reported by: Seth Hettich Tested by: Seth Hettich /head/sys/dev/usb/urio.c ============================================================== Author alfred Revision 97556 Date 2002-05-30T07:32:58.000000Z Log: Check for defined(__i386__) instead of just defined(i386) since the compiler will be updated to only define(__i386__) for ANSI cleanliness. /head/sys/dev/ct/ct_machdep.h /head/sys/dev/ncv/ncr53c500var.h /head/sys/dev/stg/tmc18c30var.h /head/sys/security/lomac/kernel_mmap.c /head/sys/vm/vm_mmap.c ============================================================== Author alfred Revision 97555 Date 2002-05-30T07:28:43.000000Z Log: correct commented out preprocessor test for i386 to __i386__ /head/sys/compat/svr4/svr4_exec.h ============================================================== Author alfred Revision 97554 Date 2002-05-30T07:13:40.000000Z Log: Check for defined(__i386__) instead of just defined(i386) since the compiler will be updated to only define(__i386__) for ANSI cleanliness. /head/sys/dev/joy/joy.c /head/sys/dev/nsp/nspvar.h ============================================================== Author alfred Revision 97553 Date 2002-05-30T07:12:12.000000Z Log: correct comment (replace i386 with __i386__) /head/sbin/disklabel/disklabel.c /head/sbin/bsdlabel/bsdlabel.c ============================================================== Author alfred Revision 97551 Date 2002-05-30T07:00:42.000000Z Log: Check for defined(__i386__) instead of just defined(i386) since the compiler will be updated to only define(__i386__) for ANSI cleanliness. /head/gnu/usr.bin/gzip/match.S /head/lib/libc/gmon/gmon.c /head/usr.bin/gprof/gprof.h ============================================================== Author alfred Revision 97430 Date 2002-05-28T21:52:10.000000Z Log: Comment out comments trailing #endif directives /head/usr.sbin/pcvt/fontedit/fontedit.c ============================================================== Author alfred Revision 97429 Date 2002-05-28T21:41:02.000000Z Log: Make almost WARNS=5 compliant: ANSI'fy function declarations. Constify some globals and function paramters. Remove unsused arguments. Fix (rename) shadowed variables. /head/games/mille/mille.c /head/games/mille/init.c /head/games/mille/types.c /head/games/mille/extern.c /head/games/mille/end.c /head/games/mille/move.c /head/games/mille/mille.h /head/games/mille/roll.c /head/games/mille/varpush.c /head/games/mille/misc.c /head/games/mille/print.c /head/games/mille/comp.c /head/games/mille/save.c ============================================================== Author alfred Revision 97427 Date 2002-05-28T21:06:03.000000Z Log: Comment out comments after #endif directives /head/games/mille/mille.c /head/games/mille/move.c /head/games/mille/mille.h /head/games/mille/misc.c /head/games/mille/save.c ============================================================== Author alfred Revision 97423 Date 2002-05-28T20:12:42.000000Z Log: Remove use of __P() (actually P()) from code now that it's no longer available. /head/lib/libc/stdtime/localtime.c /head/lib/libc/stdtime/strftime.c ============================================================== Author alfred Revision 97421 Date 2002-05-28T19:23:47.000000Z Log: Assume __STDC__, remove non-__STDC__ code. /head/usr.sbin/lpr/common_source/common.c /head/usr.bin/ee/ee.c /head/usr.sbin/mtree/create.c /head/usr.bin/ee/new_curse.c /head/usr.sbin/lpr/lpd/printjob.c /head/usr.sbin/lpr/lpd/recvjob.c ============================================================== Author alfred Revision 97420 Date 2002-05-28T18:57:20.000000Z Log: Assume __STDC__, remove non-__STDC__ code. /head/libexec/ftpd/ftpd.c /head/libexec/rtld-aout/rtld.c ============================================================== Author alfred Revision 97419 Date 2002-05-28T18:39:53.000000Z Log: Assume __STDC__, remove non-__STDC__ code. Remove private __P. /head/libexec/bootpd/tools/bootpef/bootpef.c /head/libexec/bootpd/tools/bootptest/bootptest.h ============================================================== Author alfred Revision 97418 Date 2002-05-28T18:37:43.000000Z Log: Assume __STDC__, remove non-__STDC__ code. Remove private __P. /head/libexec/bootpd/bootpgw/bootpgw.c ============================================================== Author alfred Revision 97417 Date 2002-05-28T18:36:43.000000Z Log: This code defined a private __P, nuke it. /head/libexec/bootpd/dumptab.c /head/libexec/bootpd/hwaddr.h /head/libexec/bootpd/dovend.c /head/libexec/bootpd/report.h /head/libexec/bootpd/hash.c /head/libexec/bootpd/bootpd.c /head/libexec/bootpd/hash.h /head/libexec/bootpd/readfile.c ============================================================== Author alfred Revision 97416 Date 2002-05-28T18:31:41.000000Z Log: Assume __STDC__, remove non-__STDC__ code. Reviewed by: md5 /head/libexec/bootpd/dumptab.c /head/libexec/bootpd/getether.h /head/libexec/bootpd/hwaddr.h /head/libexec/bootpd/lookup.h /head/libexec/bootpd/dovend.c /head/libexec/bootpd/readfile.h /head/libexec/bootpd/report.h /head/libexec/bootpd/getif.h /head/libexec/bootpd/hash.c /head/libexec/bootpd/dovend.h /head/libexec/bootpd/bootpd.c /head/libexec/bootpd/hash.h /head/libexec/bootpd/readfile.c /head/libexec/bootpd/report.c ============================================================== Author alfred Revision 97413 Date 2002-05-28T18:15:04.000000Z Log: Fix formatting, this is hard to explain, so I'll show one example. - float ynf(int n, float x) /* wrapper ynf */ +float +ynf(int n, float x) /* wrapper ynf */ This is because the __STDC__ stuff was indented. Reviewed by: md5 /head/lib/msun/src/w_j1.c /head/lib/msun/src/w_powf.c /head/lib/msun/src/e_lgamma.c /head/lib/msun/src/w_jnf.c /head/lib/msun/src/s_fabsf.c /head/lib/msun/src/s_floor.c /head/lib/msun/src/s_ldexpf.c /head/lib/msun/src/s_tanh.c /head/lib/msun/src/s_expm1.c /head/lib/msun/src/w_log10f.c /head/lib/msun/src/w_scalbf.c /head/lib/msun/src/w_acosf.c /head/lib/msun/src/s_nextafter.c /head/lib/msun/src/w_y0f.c /head/lib/msun/src/e_log.c /head/lib/msun/src/e_log10.c /head/lib/msun/src/e_lgammaf_r.c /head/lib/msun/src/s_asinhf.c /head/lib/msun/src/k_tan.c /head/lib/msun/src/k_cos.c /head/lib/msun/src/w_gammaf_r.c /head/lib/msun/src/s_tan.c /head/lib/msun/src/s_ceilf.c /head/lib/msun/src/e_sinh.c /head/lib/msun/src/s_cos.c /head/lib/msun/src/w_log10.c /head/lib/msun/src/e_lgammaf.c /head/lib/msun/src/e_pow.c /head/lib/msun/src/w_lgammaf_r.c /head/lib/msun/src/w_fmod.c /head/lib/msun/src/e_jn.c /head/lib/msun/src/w_yn.c /head/lib/msun/src/s_modff.c /head/lib/msun/src/e_powf.c /head/lib/msun/src/s_copysignf.c /head/lib/msun/src/w_asinf.c /head/lib/msun/src/s_nextafterf.c /head/lib/msun/src/e_sqrtf.c /head/lib/msun/src/w_lgamma_r.c /head/lib/msun/src/s_atan.c /head/lib/msun/src/s_floorf.c /head/lib/msun/src/e_remainder.c /head/lib/msun/src/s_frexpf.c /head/lib/msun/src/e_gammaf_r.c /head/lib/msun/src/w_asin.c /head/lib/msun/src/w_atanh.c /head/lib/msun/src/w_lgamma.c /head/lib/msun/src/e_j1f.c /head/lib/msun/src/w_sqrtf.c /head/lib/msun/src/w_atanhf.c /head/lib/msun/src/w_remainder.c /head/lib/msun/src/s_ldexp.c /head/lib/msun/src/s_log1p.c /head/lib/msun/src/s_significandf.c /head/lib/msun/src/s_modf.c /head/lib/msun/src/k_standard.c /head/lib/msun/src/s_logbf.c /head/lib/msun/src/s_cbrt.c /head/lib/msun/src/w_logf.c /head/lib/msun/src/e_hypotf.c /head/lib/msun/src/e_j0.c /head/lib/msun/src/w_y0.c /head/lib/msun/src/e_remainderf.c /head/lib/msun/src/w_fmodf.c /head/lib/msun/src/e_jnf.c /head/lib/msun/src/s_tanhf.c /head/lib/msun/src/s_expm1f.c /head/lib/msun/src/e_lgamma_r.c /head/lib/msun/src/w_y1f.c /head/lib/msun/src/w_jn.c /head/lib/msun/src/s_fabs.c /head/lib/msun/src/s_ceil.c /head/lib/msun/src/s_significand.c /head/lib/msun/src/k_tanf.c /head/lib/msun/src/s_rintf.c /head/lib/msun/src/w_j0f.c /head/lib/msun/src/s_tanf.c /head/lib/msun/src/w_sqrt.c /head/lib/msun/src/w_ynf.c /head/lib/msun/src/w_acosh.c /head/lib/msun/src/s_scalbn.c /head/lib/msun/src/w_atan2.c /head/lib/msun/src/e_logf.c /head/lib/msun/src/k_sin.c /head/lib/msun/src/s_erff.c /head/lib/msun/src/s_frexp.c /head/lib/msun/src/w_log.c /head/lib/msun/src/e_hypot.c /head/lib/msun/src/s_sin.c /head/lib/msun/src/e_sinhf.c /head/lib/msun/src/s_copysign.c /head/lib/msun/src/w_gammaf.c /head/lib/msun/src/e_j1.c /head/lib/msun/src/w_y1.c /head/lib/msun/src/s_asinh.c /head/lib/msun/src/w_hypot.c /head/lib/msun/src/w_gamma_r.c /head/lib/msun/src/w_lgammaf.c /head/lib/msun/src/e_log10f.c /head/lib/msun/src/w_sinhf.c /head/lib/msun/src/e_sqrt.c /head/lib/msun/src/e_scalbf.c /head/lib/msun/src/w_j0.c /head/lib/msun/src/w_hypotf.c /head/lib/msun/src/w_remainderf.c /head/lib/msun/src/k_cosf.c /head/lib/msun/src/w_gamma.c /head/lib/msun/src/s_log1pf.c /head/lib/msun/src/w_acos.c /head/lib/msun/src/s_atanf.c /head/lib/msun/src/s_cosf.c /head/lib/msun/src/w_exp.c /head/lib/msun/src/w_cosh.c /head/lib/msun/src/s_cbrtf.c /head/lib/msun/src/e_scalb.c /head/lib/msun/src/w_acoshf.c /head/lib/msun/src/s_rint.c /head/lib/msun/src/w_atan2f.c /head/lib/msun/src/s_logb.c /head/lib/msun/src/w_j1f.c /head/lib/msun/src/k_sinf.c /head/lib/msun/src/w_scalb.c /head/lib/msun/src/s_sinf.c /head/lib/msun/src/e_j0f.c /head/lib/msun/src/w_sinh.c /head/lib/msun/src/w_expf.c /head/lib/msun/src/w_coshf.c /head/lib/msun/src/s_scalbnf.c /head/lib/msun/src/s_erf.c ============================================================== Author alfred Revision 97409 Date 2002-05-28T17:51:46.000000Z Log: Assume __STDC__, remove non-__STDC__ code. Reviewed by: md5 /head/lib/msun/src/w_j1.c /head/lib/msun/src/s_isnanf.c /head/lib/msun/src/w_powf.c /head/lib/msun/src/e_lgamma.c /head/lib/msun/src/w_jnf.c /head/lib/msun/src/s_fabsf.c /head/lib/msun/src/s_floor.c /head/lib/msun/src/s_ldexpf.c /head/lib/msun/src/s_tanh.c /head/lib/msun/src/s_expm1.c /head/lib/msun/src/w_log10f.c /head/lib/msun/src/w_scalbf.c /head/lib/msun/src/w_acosf.c /head/lib/msun/src/s_nextafter.c /head/lib/msun/src/s_matherr.c /head/lib/msun/src/w_y0f.c /head/lib/msun/src/e_log.c /head/lib/msun/src/e_log10.c /head/lib/msun/src/e_lgammaf_r.c /head/lib/msun/src/s_asinhf.c /head/lib/msun/src/k_tan.c /head/lib/msun/src/k_cos.c /head/lib/msun/src/w_gammaf_r.c /head/lib/msun/src/s_tan.c /head/lib/msun/src/s_ceilf.c /head/lib/msun/src/e_sinh.c /head/lib/msun/src/s_cos.c /head/lib/msun/src/w_log10.c /head/lib/msun/src/e_lgammaf.c /head/lib/msun/src/e_pow.c /head/lib/msun/src/w_lgammaf_r.c /head/lib/msun/src/w_fmod.c /head/lib/msun/src/e_jn.c /head/lib/msun/src/w_yn.c /head/lib/msun/src/s_modff.c /head/lib/msun/src/s_ilogb.c /head/lib/msun/src/e_powf.c /head/lib/msun/src/s_copysignf.c /head/lib/msun/src/w_asinf.c /head/lib/msun/src/k_rem_pio2.c /head/lib/msun/src/s_nextafterf.c /head/lib/msun/src/e_sqrtf.c /head/lib/msun/src/w_lgamma_r.c /head/lib/msun/src/s_atan.c /head/lib/msun/src/s_floorf.c /head/lib/msun/src/e_remainder.c /head/lib/msun/src/s_frexpf.c /head/lib/msun/src/e_gammaf_r.c /head/lib/msun/src/w_asin.c /head/lib/msun/src/w_atanh.c /head/lib/msun/src/w_lgamma.c /head/lib/msun/src/e_j1f.c /head/lib/msun/src/w_sqrtf.c /head/lib/msun/src/w_atanhf.c /head/lib/msun/src/w_remainder.c /head/lib/msun/src/s_ldexp.c /head/lib/msun/src/s_log1p.c /head/lib/msun/src/s_significandf.c /head/lib/msun/src/s_modf.c /head/lib/msun/src/k_standard.c /head/lib/msun/src/s_logbf.c /head/lib/msun/src/s_cbrt.c /head/lib/msun/src/e_hypotf.c /head/lib/msun/src/e_j0.c /head/lib/msun/src/w_logf.c /head/lib/msun/src/w_y0.c /head/lib/msun/src/e_remainderf.c /head/lib/msun/src/w_fmodf.c /head/lib/msun/src/e_jnf.c /head/lib/msun/src/s_tanhf.c /head/lib/msun/src/s_expm1f.c /head/lib/msun/src/e_lgamma_r.c /head/lib/msun/src/w_y1f.c /head/lib/msun/src/w_jn.c /head/lib/msun/src/s_fabs.c /head/lib/msun/src/s_ceil.c /head/lib/msun/src/s_significand.c /head/lib/msun/src/k_tanf.c /head/lib/msun/src/s_rintf.c /head/lib/msun/src/w_j0f.c /head/lib/msun/src/s_tanf.c /head/lib/msun/src/w_sqrt.c /head/lib/msun/src/w_ynf.c /head/lib/msun/src/w_acosh.c /head/lib/msun/src/s_scalbn.c /head/lib/msun/src/w_atan2.c /head/lib/msun/src/e_logf.c /head/lib/msun/src/k_sin.c /head/lib/msun/src/s_erff.c /head/lib/msun/src/s_frexp.c /head/lib/msun/src/w_log.c /head/lib/msun/src/e_hypot.c /head/lib/msun/src/s_sin.c /head/lib/msun/src/e_sinhf.c /head/lib/msun/src/s_copysign.c /head/lib/msun/src/w_gammaf.c /head/lib/msun/src/e_j1.c /head/lib/msun/src/w_y1.c /head/lib/msun/src/s_asinh.c /head/lib/msun/src/w_hypot.c /head/lib/msun/src/w_gamma_r.c /head/lib/msun/src/w_lgammaf.c /head/lib/msun/src/w_pow.c /head/lib/msun/src/e_log10f.c /head/lib/msun/src/e_sqrt.c /head/lib/msun/src/w_sinhf.c /head/lib/msun/src/e_scalbf.c /head/lib/msun/src/w_j0.c /head/lib/msun/src/w_hypotf.c /head/lib/msun/src/w_remainderf.c /head/lib/msun/src/k_cosf.c /head/lib/msun/src/s_finitef.c /head/lib/msun/src/w_gamma.c /head/lib/msun/src/s_log1pf.c /head/lib/msun/src/w_acos.c /head/lib/msun/src/s_atanf.c /head/lib/msun/src/s_cosf.c /head/lib/msun/src/w_exp.c /head/lib/msun/src/w_cosh.c /head/lib/msun/src/s_cbrtf.c /head/lib/msun/src/s_ilogbf.c /head/lib/msun/src/e_rem_pio2f.c /head/lib/msun/src/e_scalb.c /head/lib/msun/src/w_acoshf.c /head/lib/msun/src/s_isnan.c /head/lib/msun/src/k_rem_pio2f.c /head/lib/msun/src/s_rint.c /head/lib/msun/src/s_finite.c /head/lib/msun/src/w_atan2f.c /head/lib/msun/src/s_logb.c /head/lib/msun/src/w_j1f.c /head/lib/msun/src/k_sinf.c /head/lib/msun/src/w_scalb.c /head/lib/msun/src/e_rem_pio2.c /head/lib/msun/src/s_sinf.c /head/lib/msun/src/e_j0f.c /head/lib/msun/src/w_sinh.c /head/lib/msun/src/w_expf.c /head/lib/msun/src/w_coshf.c /head/lib/msun/src/s_scalbnf.c /head/lib/msun/src/s_erf.c ============================================================== Author alfred Revision 97407 Date 2002-05-28T17:03:12.000000Z Log: Assume __STDC__, remove non-__STDC__ code. Submitted by: keramida /head/lib/libc/stdio/sscanf.c /head/lib/msun/src/e_acosf.c /head/lib/msun/src/e_atanh.c /head/lib/libc/gen/semctl.c /head/lib/msun/src/e_cosh.c /head/lib/msun/src/e_exp.c /head/lib/libc/compat-43/gethostid.c /head/lib/msun/src/e_acosh.c /head/lib/libc/gen/sethostname.c /head/lib/msun/src/e_atanhf.c /head/lib/libc/stdio/sprintf.c /head/lib/msun/src/e_acoshf.c /head/lib/libc/compat-43/setrgid.c /head/lib/libkvm/kvm.c /head/lib/msun/src/e_atan2.c /head/lib/libcompat/4.1/cftime.c /head/lib/libc/stdio/scanf.c /head/lib/libc/compat-43/sethostid.c /head/lib/msun/src/e_atan2f.c /head/lib/libc/stdio/vfprintf.c /head/lib/libc/stdio/fscanf.c /head/games/snake/snake/snake.h /head/lib/libc/compat-43/setruid.c /head/lib/libcompat/4.1/getpw.c /head/lib/msun/src/e_fmod.c /head/lib/libc/gen/getosreldate.c /head/lib/libc/gen/termios.c /head/lib/msun/src/e_gammaf.c /head/lib/libc/gen/exec.c /head/lib/msun/src/e_fmodf.c /head/lib/libc/stdlib/strtod.c /head/lib/msun/src/e_asinf.c /head/lib/msun/src/e_coshf.c /head/lib/msun/src/e_expf.c /head/lib/msun/src/e_gamma_r.c /head/lib/libc/stdio/vfscanf.c /head/lib/libc/stdio/asprintf.c /head/lib/libc/stdlib/strfmon.c /head/lib/msun/bsdsrc/mathimpl.h /head/lib/libc/gen/vis.c /head/lib/libc/stdio/fvwrite.h /head/lib/libc/stdio/printf.c /head/lib/libc/stdio/snprintf.c /head/games/snake/snake/move.c /head/lib/libc/net/nsdispatch.c /head/lib/msun/src/e_gamma.c /head/lib/libc/stdtime/private.h /head/lib/libc/compat-43/killpg.c /head/lib/libc/db/test/dbtest.c /head/lib/libc/gen/syslog.c /head/lib/msun/src/e_acos.c /head/lib/libc/stdio/fprintf.c /head/lib/libc/compat-43/setpgrp.c /head/lib/libc/stdio/funopen.c /head/lib/libcompat/4.1/ascftime.c /head/lib/msun/src/e_asin.c ============================================================== Author alfred Revision 97406 Date 2002-05-28T16:56:14.000000Z Log: Assume __STDC__, remove non-__STDC__ code. Add $FreeBSD$. Submitted by: keramida /head/include/rpcsvc/pmap_prot.x ============================================================== Author alfred Revision 97258 Date 2002-05-24T19:16:08.000000Z Log: Backout 1.54 (restore definition for printf0 to actually do something). /head/sys/sys/cdefs.h ============================================================== Author alfred Revision 97232 Date 2002-05-24T08:34:18.000000Z Log: Don't err(3) (and exit prematurely) when a sysctl's object size has changed, instead just warn(3) /head/sbin/sysctl/sysctl.c ============================================================== Author alfred Revision 96636 Date 2002-05-15T05:37:48.000000Z Log: Undo namespace pollution by prefixing the globals pthread_guard_default and pthread_page_size. Fix a bunch line wrapping. Pointed out by: deischen /head/lib/libc_r/uthread/pthread_private.h /head/lib/libkse/thread/thr_private.h /head/lib/libkse/thread/thr_attr_setguardsize.c /head/lib/libkse/thread/thr_init.c /head/lib/libpthread/thread/thr_private.h /head/lib/libkse/thread/thr_stack.c /head/lib/libc_r/uthread/uthread_attr_setguardsize.c /head/lib/libc_r/uthread/uthread_init.c /head/lib/libpthread/thread/thr_attr_setguardsize.c /head/lib/libpthread/thread/thr_init.c /head/lib/libc_r/uthread/uthread_stack.c /head/lib/libpthread/thread/thr_stack.c ============================================================== Author alfred Revision 96501 Date 2002-05-13T07:58:15.000000Z Log: Don't use PAGE_SIZE in userland, instead use getpagesize(), this is to allow running on other arches when the instructions are supported but the page size granularity is not. Glanced at by: peter /head/lib/libc_r/uthread/pthread_private.h /head/lib/libkse/thread/thr_private.h /head/lib/libkse/thread/thr_attr_setguardsize.c /head/lib/libkse/thread/thr_init.c /head/lib/libpthread/thread/thr_private.h /head/lib/libkse/thread/thr_stack.c /head/lib/libc_r/uthread/uthread_attr_setguardsize.c /head/lib/libc_r/uthread/uthread_init.c /head/lib/libpthread/thread/thr_attr_setguardsize.c /head/lib/libpthread/thread/thr_init.c /head/lib/libc_r/uthread/uthread_stack.c /head/lib/libpthread/thread/thr_stack.c ============================================================== Author alfred Revision 96401 Date 2002-05-11T08:13:42.000000Z Log: Use GCC's __attribute__ ((constructor)) mechanism to invoke the pthread startup code rather than a static C++ object since c++ seems to be broken. This doesn't seem to work for staticically linked program just yet, I'll give that some more work when I get a chance. /head/lib/libkse/thread/thr_autoinit.c /head/lib/libpthread/thread/Makefile.inc /head/lib/libc_r/uthread/Makefile.inc /head/lib/libc_r/uthread/uthread_autoinit.c /head/lib/libpthread/thread/thr_autoinit.c /head/lib/libc_r/uthread/uthread_autoinit.cc /head/lib/libkse/thread/Makefile.inc ============================================================== Author alfred Revision 96394 Date 2002-05-11T04:40:13.000000Z Log: Fix warnings by commenting out text after #else/#endif. /head/games/robots/move_robs.c /head/games/robots/play_level.c /head/games/robots/flush_in.c ============================================================== Author alfred Revision 96392 Date 2002-05-11T04:17:55.000000Z Log: replace __FUNCTION__ with standardized __func__. Requested by: jhb /head/usr.sbin/pkg_install/lib/file.c /head/usr.sbin/pkg_install/sign/pgp_sign.c /head/usr.sbin/pkg_install/lib/pen.c /head/usr.sbin/pkg_install/info/show.c /head/usr.sbin/pkg_install/delete/perform.c /head/usr.sbin/pkg_install/create/perform.c /head/usr.sbin/pkg_install/create/pl.c /head/usr.sbin/pkg_install/lib/deps.c /head/usr.sbin/pkg_install/lib/plist.c /head/usr.sbin/pkg_install/add/extract.c /head/usr.sbin/pkg_install/lib/match.c ============================================================== Author alfred Revision 96391 Date 2002-05-11T04:10:49.000000Z Log: unbreak build: fix multi-line string literal /head/usr.sbin/rpc.yppasswdd/yppasswdd_main.c ============================================================== Author alfred Revision 96390 Date 2002-05-11T03:58:24.000000Z Log: As a temporary bandaid disable '__printf0like' unconditionally, it doesn't seem to work under gcc 3.1 yet. We are now 'WERROR' safe again. /head/sys/sys/cdefs.h ============================================================== Author alfred Revision 96389 Date 2002-05-11T03:54:21.000000Z Log: unbreak build: ditch multi-line string literals /head/usr.sbin/rpc.yppasswdd/yppasswdd_server.c ============================================================== Author alfred Revision 96388 Date 2002-05-11T03:48:49.000000Z Log: fix build: you may not use string concatination with __FUNCTION__, replace all occurances of: __FUNCTION__ ": error string" with: "%s: error string" /head/usr.sbin/pkg_install/lib/file.c /head/usr.sbin/pkg_install/lib/pen.c /head/usr.sbin/pkg_install/info/show.c /head/usr.sbin/pkg_install/delete/perform.c /head/usr.sbin/pkg_install/create/perform.c /head/usr.sbin/pkg_install/create/pl.c /head/usr.sbin/pkg_install/lib/plist.c /head/usr.sbin/pkg_install/add/extract.c ============================================================== Author alfred Revision 96386 Date 2002-05-11T03:29:04.000000Z Log: unbreak build: K&R style main() makes gcc emit a warning about missing prototypes so switch to ANSI. /head/usr.bin/uuencode/uuencode.c /head/usr.bin/uudecode/uudecode.c ============================================================== Author alfred Revision 96385 Date 2002-05-11T03:19:44.000000Z Log: unbreak build: commands.c, sys_bsd.c: comment out/remove junk after #endif/#else network.c, terminal.c, utlities.c: include stdlib.h for exit(3) /head/contrib/telnet/telnet/network.c /head/crypto/telnet/telnet/network.c /head/contrib/telnet/telnet/terminal.c /head/contrib/telnet/telnet/utilities.c /head/crypto/telnet/telnet/terminal.c /head/crypto/telnet/telnet/utilities.c /head/contrib/telnet/telnet/commands.c /head/crypto/telnet/telnet/commands.c /head/contrib/telnet/telnet/sys_bsd.c /head/crypto/telnet/telnet/sys_bsd.c ============================================================== Author alfred Revision 96381 Date 2002-05-11T03:07:38.000000Z Log: unbreak build: include string.h for strcmp prototype. /head/sbin/dumpon/dumpon.c ============================================================== Author alfred Revision 96376 Date 2002-05-11T01:25:54.000000Z Log: while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__. /head/bin/test/test.c ============================================================== Author alfred Revision 96375 Date 2002-05-11T01:24:39.000000Z Log: backout additional include of cdefs.h, it's not helping any. /head/bin/test/test.c ============================================================== Author alfred Revision 96374 Date 2002-05-11T00:54:33.000000Z Log: include cdefs.h for __printf0like to silence warning. /head/bin/test/test.c ============================================================== Author alfred Revision 96371 Date 2002-05-11T00:21:00.000000Z Log: Add semicolon to empty default case to silence warning. /head/bin/cp/cp.c ============================================================== Author alfred Revision 96215 Date 2002-05-08T09:06:47.000000Z Log: expand_name fixes: .) don't use MAXPATHLEN + 1, fix logic to compensate. .) style(9) function parameters. .) fix line wrapping. .) remove duplicated error and string handling code. .) don't NUL terminate already NUL terminated string. .) all string length variables changed from int to size_t. .) constify variables. .) catch when corename would be truncated. .) cast pid_t and uid_t args for format string. .) add parens around return arguments. Help and suggestions from: bde /head/sys/kern/kern_sig.c ============================================================== Author alfred Revision 96190 Date 2002-05-07T23:37:07.000000Z Log: M_ZERO the temp buffer in expand_name() otherwise if an error occurs while logging we may pass a non NUL terminated string to log(9) for a %s format arg. /head/sys/kern/kern_sig.c ============================================================== Author alfred Revision 96122 Date 2002-05-06T19:31:28.000000Z Log: Make funsetown() take a 'struct sigio **' so that the locking can be done internally. Ensure that no one can fsetown() to a dying process/pgrp. We need to check the process for P_WEXIT to see if it's exiting. Process groups are already safe because there is no such thing as a pgrp zombie, therefore the proctree lock completely protects the pgrp from having sigio structures associated with it after it runs funsetownlst. Add sigio lock to witness list under proctree and allproc, but over proc and pgrp. Seigo Tanimura helped with this. /head/sys/kern/kern_proc.c /head/sys/sys/filedesc.h /head/sys/dev/drm/drm_drv.h /head/sys/kern/subr_witness.c /head/sys/kern/kern_descrip.c /head/sys/kern/kern_exit.c /head/sys/kern/uipc_socket.c /head/sys/net/if_tap.c /head/sys/kern/sys_pipe.c /head/sys/net/if_tun.c /head/sys/kern/subr_log.c /head/sys/net/bpf.c /head/sys/kern/tty.c ============================================================== Author alfred Revision 96017 Date 2002-05-04T07:40:49.000000Z Log: style(9): 'if' and 'while' need a space after them. /head/sys/kern/kern_exit.c ============================================================== Author alfred Revision 95959 Date 2002-05-02T22:03:19.000000Z Log: Cleanup, quote: This leaves some vestiges of the old locking, including style bugs in it. I've only noticed anachronisms in socketvar.h so far (I've merged net* but not kern or all of sys). The patch also has old fixes for style bugs in accf stuff and namespace pollution in uma... The largest style bugs are line continued backslashes in column 80 and (these are fixed), and starting the do-while code for the new macros in column 40, which is quite unlike the usual indentation (see sys/queue.h) and not even like the indentation for the old macros (column 32) (this is not fixed). Submitted by: bde /head/sys/sys/socketvar.h ============================================================== Author alfred Revision 95883 Date 2002-05-01T20:44:46.000000Z Log: Redo the sigio locking. Turn the sigio sx into a mutex. Sigio lock is really only needed to protect interrupts from dereferencing the sigio pointer in an object when the sigio itself is being destroyed. In order to do this in the most unintrusive manner change pgsigio's sigio * argument into a **, that way we can lock internally to the function. /head/sys/kern/kern_sig.c /head/sys/netinet/accf_http.c /head/sys/kern/uipc_socket.c /head/sys/kern/kern_descrip.c /head/sys/netkey/keysock.c /head/sys/sys/signalvar.h /head/sys/net/if_tun.c /head/sys/netinet/tcp_input.c /head/sys/kern/uipc_sockbuf.c /head/sys/kern/subr_log.c /head/sys/kern/tty.c /head/sys/sys/socketvar.h /head/sys/net/if_tap.c /head/sys/netinet/tcp_reass.c /head/sys/kern/uipc_socket2.c /head/sys/kern/sys_pipe.c /head/sys/netinet/accf_data.c /head/sys/net/rtsock.c /head/sys/net/bpf.c ============================================================== Author alfred Revision 95869 Date 2002-05-01T08:34:37.000000Z Log: MFC: 1.9 (fix bad string handling) /stable/4/sys/netinet/accf_http.c ============================================================== Author alfred Revision 95867 Date 2002-05-01T08:29:41.000000Z Log: Fix some edge cases where bad string handling could occur. Submitted by: ps /head/sys/netinet/accf_http.c ============================================================== Author alfred Revision 95865 Date 2002-05-01T08:08:24.000000Z Log: cleanup: fix line wraps, add some comments, fix macro definitions, fix for(;;) loops. /head/sys/netinet/accf_http.c ============================================================== Author alfred Revision 95277 Date 2002-04-22T20:09:11.000000Z Log: Don't FILEDESC_LOCK around calls to falloc(). /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 95076 Date 2002-04-19T22:58:09.000000Z Log: Clean up: Comment run_filter() to explain what it does. Remove chatty comments. void busdma_swi() { } -> void busdma_swi(void) { } /head/sys/amd64/amd64/busdma_machdep.c /head/sys/i386/i386/busdma_machdep.c ============================================================== Author alfred Revision 94997 Date 2002-04-18T14:54:26.000000Z Log: Cleanup comments. Remove all current poll(2) extensions except POLLINIGNEOF as they are now unused. Submitted by: bde /head/sys/sys/poll.h ============================================================== Author alfred Revision 94996 Date 2002-04-18T14:52:28.000000Z Log: Remove support for using soon to be retired "special" poll(2) ops. Replace with kevent(2) ops. This is untested, but the code would rot even further if this wasn't applied. I've chosen to apply this to prompt some cleanup. Submitted by: bde /head/sys/ufs/ifs/ifs_vnops.c ============================================================== Author alfred Revision 94995 Date 2002-04-18T14:47:34.000000Z Log: Cleanup of logic, flow and comments. Submitted by: bde /head/sys/fs/fifofs/fifo_vnops.c ============================================================== Author alfred Revision 94960 Date 2002-04-17T18:09:27.000000Z Log: De-K&R dkcksum() to fix some issues with c++. Submitted by: Miguel Mendez /head/sys/sys/diskpc98.h /head/sys/sys/disklabel.h /head/sys/sys/diskmbr.h ============================================================== Author alfred Revision 94665 Date 2002-04-14T17:12:55.000000Z Log: Don't allow one to trace an ancestor when already traced. PR: kern/29741 Submitted by: Dave Zarzycki Fix from: Tim J. Robbins MFC After: 2 weeks /head/sys/kern/sys_process.c ============================================================== Author alfred Revision 94484 Date 2002-04-12T05:46:36.000000Z Log: ifdef WI_HOSTAP some stuff that seems like it needs to be ifdef'd. /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 94441 Date 2002-04-11T17:08:36.000000Z Log: MFC: SM_NOTIFY to make NFS happy. Submitted by: Dan Nelson PR: misc/26373 /stable/4/include/rpcsvc/sm_inter.x /stable/4/usr.sbin/rpc.statd/statd.h /stable/4/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 94404 Date 2002-04-11T07:19:30.000000Z Log: When binding to transports if getnetconfigent() fails then actually print out the correct transport it failed on rather than always spitting out 'udp', also call nc_sperror() to give a more verbose error message detailing the problem. /head/usr.sbin/rpc.lockd/lockd.c ============================================================== Author alfred Revision 93902 Date 2002-04-05T18:17:49.000000Z Log: remove blanktime sysctl, this can't be done as easily as it looks. Requested by: jhb /head/sys/dev/syscons/syscons.c ============================================================== Author alfred Revision 93897 Date 2002-04-05T17:53:25.000000Z Log: Add some functionality via sysctl to syscons. hw.syscons.saver.keybonly: used to specify that only input is to interrupt the screensaver. This allows one to run a chatty console app but still have the screen blank out until a key is pressed. There should probably also be an ioctl for this, we'll do that later. hw.syscons.saver.blanktime: exports the screensaver timeout via sysctl. Submitted by: Olivier Houchard /head/sys/dev/syscons/syscons.c ============================================================== Author alfred Revision 93743 Date 2002-04-04T00:52:03.000000Z Log: Avoid a lock order reversal by dropping the eventhandler_mutex earlier. We get enough protection from the lock on the individual lists that we aquire later. Noticed/Tested by: Steven G. Kargl Submitted by: Jonathan Mini /head/sys/kern/subr_eventhandler.c ============================================================== Author alfred Revision 93697 Date 2002-04-02T21:25:12.000000Z Log: fix comment typo, s/neccisary/necessary/g /head/sys/vm/uma_core.c ============================================================== Author alfred Revision 93616 Date 2002-04-02T04:20:38.000000Z Log: Use sx locks instead of flags+tsleep locks. Submitted by: Jonathan Mini /head/sys/kern/kern_sysctl.c ============================================================== Author alfred Revision 93615 Date 2002-04-02T04:18:54.000000Z Log: Use sx locks rather than lockmgr locks for eventhandlers. Submitted by: Jonathan Mini /head/sys/sys/eventhandler.h /head/sys/kern/subr_eventhandler.c ============================================================== Author alfred Revision 93506 Date 2002-04-01T06:09:17.000000Z Log: Remove erronious destroy_dev. Not sure what the author's intent was here but this makes the driver not panic my -current box. Approved by: scottl /head/sys/dev/asr/asr.c ============================================================== Author alfred Revision 93471 Date 2002-03-31T10:33:12.000000Z Log: Close some holes with p->p_args by NULL'ing out the p->p_args pointer while holding the proc lock, and by holding the pargs structure when accessing it from outside of the owner. Submitted by: Jonathan Mini /head/sys/kern/kern_proc.c /head/sys/kern/kern_exit.c ============================================================== Author alfred Revision 93393 Date 2002-03-29T19:12:40.000000Z Log: Protect proc struct (p_args and p_comm) when doing procfs IO that pulls data from it. Submitted by: Jonathan Mini /head/sys/compat/linprocfs/linprocfs.c /head/sys/fs/procfs/procfs_status.c ============================================================== Author alfred Revision 93348 Date 2002-03-28T18:12:27.000000Z Log: To remove nested include of sys/lock.h and sys/mutex.h from sys/proc.h make the pargs_* functions into non-inlines in kern/kern_proc.c. Requested by: bde /head/sys/kern/kern_proc.c /head/sys/sys/proc.h ============================================================== Author alfred Revision 93295 Date 2002-03-27T21:36:18.000000Z Log: Make the reference counting of 'struct pargs' SMP safe. There is still some locations where the PROC lock should be held in order to prevent inconsistent views from outside (like the proc->p_fd fix for kern/vfs_syscalls.c:checkdirs()) that can be fixed later. Submitted by: Jonathan Mini /head/sys/kern/kern_proc.c /head/sys/kern/kern_exec.c /head/sys/sys/proc.h /head/sys/kern/kern_exit.c /head/sys/compat/svr4/svr4_misc.c /head/sys/kern/kern_fork.c ============================================================== Author alfred Revision 92978 Date 2002-03-22T20:02:54.000000Z Log: Use char foo[] = "BAR" to avoid direct assignment of const char * into char *. rpcgen can't really make those fields const because the remote side might want to munge them, so we need to pass non-const in. Hackish, but should work. /head/usr.sbin/rpc.lockd/lockd.c ============================================================== Author alfred Revision 92977 Date 2002-03-22T20:00:10.000000Z Log: Const fix. /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 92975 Date 2002-03-22T19:57:09.000000Z Log: Remove cast that's not needed. /head/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 92972 Date 2002-03-22T19:50:58.000000Z Log: WARNS from 3 to 4. still some warnings about assigning const char * to char *, but we'll fix those later. /head/usr.sbin/rpc.lockd/Makefile ============================================================== Author alfred Revision 92970 Date 2002-03-22T19:43:21.000000Z Log: rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status' to avoid -Wshadow warnings in consumers of its generated header files. /head/include/rpcsvc/sm_inter.x /head/usr.sbin/rpc.statd/procs.c ============================================================== Author alfred Revision 92969 Date 2002-03-22T19:20:35.000000Z Log: constify log_from_addr() parameter. /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 92968 Date 2002-03-22T19:19:32.000000Z Log: Constify the first arg to callrpc(3). /head/include/rpc/rpc.h /head/lib/libc/rpc/rpc_soc.c ============================================================== Author alfred Revision 92959 Date 2002-03-22T16:09:22.000000Z Log: When "cloning" a pipe's buffer bcopy the data after dropping the pipe's lock as the data may be paged out and cause a fault. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 92911 Date 2002-03-21T23:05:13.000000Z Log: Bring code to WARNS=3 level. Mostly fix unused variables. /head/usr.sbin/rpc.lockd/Makefile /head/usr.sbin/rpc.lockd/lockd_lock.c /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 92910 Date 2002-03-21T22:53:49.000000Z Log: Remove main() prototype. /head/usr.sbin/rpc.lockd/lockd.c ============================================================== Author alfred Revision 92909 Date 2002-03-21T22:52:45.000000Z Log: Remove __P. /head/usr.sbin/rpc.lockd/lockd.c /head/usr.sbin/rpc.lockd/lockd_lock.h /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 92844 Date 2002-03-21T00:06:55.000000Z Log: Remove __P. profile.h and bus.h were excluded because there is currently WIP. Reviewed by: tmm /head/sys/sparc64/include/reg.h /head/sys/sparc64/include/iommuvar.h /head/sys/sparc64/include/cache.h /head/sys/sparc64/sparc64/db_hwwatch.c /head/sys/sparc64/include/float.h ============================================================== Author alfred Revision 92843 Date 2002-03-20T23:30:31.000000Z Log: Remove __P. Reviewd by: peter /head/sys/ia64/include/cpu.h /head/sys/ia64/ia64/pmap.c /head/sys/ia64/include/md_var.h /head/sys/ia64/ia64/autoconf.c /head/sys/ia64/include/clock.h /head/sys/ia64/ia64/machdep.c /head/sys/ia64/include/pmap.h /head/sys/ia64/include/reg.h /head/sys/ia64/ia64/db_trace.c /head/sys/ia64/ia64/vm_machdep.c /head/sys/ia64/ia64/db_interface.c /head/sys/ia64/include/profile.h ============================================================== Author alfred Revision 92842 Date 2002-03-20T23:17:50.000000Z Log: Remove __P. Reveiwed by: benno /head/sys/powerpc/include/bus.h /head/sys/powerpc/powerpc/vm_machdep.c /head/sys/powerpc/include/clock.h /head/sys/powerpc/powerpc/trap.c /head/sys/powerpc/powerpc/syncicache.c /head/sys/powerpc/powerpc/autoconf.c /head/sys/powerpc/include/db_machdep.h /head/sys/powerpc/include/md_var.h /head/sys/powerpc/aim/clock.c /head/sys/powerpc/include/intr.h /head/sys/powerpc/include/reg.h /head/sys/powerpc/include/powerpc.h /head/sys/powerpc/include/bootinfo.h /head/sys/powerpc/aim/vm_machdep.c /head/sys/powerpc/powerpc/clock.c /head/sys/powerpc/powerpc/extintr.c /head/sys/powerpc/aim/trap.c /head/sys/powerpc/include/cpu.h /head/sys/powerpc/include/pte.h ============================================================== Author alfred Revision 92812 Date 2002-03-20T18:22:19.000000Z Log: Remove __P. /head/sys/arm/include/types.h ============================================================== Author alfred Revision 92770 Date 2002-03-20T08:56:31.000000Z Log: Remove __P. /head/sys/i386/i386/autoconf.c /head/sys/cam/scsi/scsi_low_pisa.h /head/sys/amd64/amd64/autoconf.c /head/sys/i386/include/mptable.h /head/sys/i386/i386/mptable.c /head/sys/i386/i386/db_disasm.c /head/sys/amd64/amd64/mptable.c /head/sys/amd64/amd64/db_disasm.c /head/sys/i386/i386/mp_machdep.c /head/sys/i386/i386/pmap.c /head/sys/i386/i386/sys_machdep.c /head/sys/cam/scsi/scsi_low.c /head/sys/amd64/amd64/pmap.c /head/sys/amd64/amd64/mp_machdep.c /head/sys/i386/i386/machdep.c /head/sys/amd64/amd64/sys_machdep.c /head/sys/i386/i386/db_trace.c /head/sys/i386/i386/vm_machdep.c /head/sys/amd64/include/mptable.h /head/sys/amd64/amd64/machdep.c /head/sys/i386/i386/db_interface.c /head/sys/cam/scsi/scsi_low.h /head/sys/i386/i386/perfmon.c /head/sys/i386/i386/trap.c /head/sys/amd64/amd64/vm_machdep.c /head/sys/amd64/amd64/db_trace.c /head/sys/amd64/amd64/db_interface.c /head/sys/i386/i386/mpapic.c /head/sys/amd64/amd64/trap.c /head/sys/dev/aic7xxx/aicasm/aicasm_symbol.h ============================================================== Author alfred Revision 92766 Date 2002-03-20T08:00:54.000000Z Log: Remove __P. /head/sys/netatm/uni/uniarp_input.c /head/sys/netatm/spans/spans_cls.c /head/sys/netatm/spans/spans_arp.c /head/sys/netatm/uni/sscop_subr.c /head/sys/netatm/uni/uniip.c /head/sys/netatm/uni/sscf_uni_var.h /head/sys/netatm/uni/sscop_timer.c /head/sys/netatm/uni/uni_load.c /head/sys/netatm/ipatm/ipatm_serv.h /head/sys/netatm/uni/uniarp_timer.c /head/sys/netatm/uni/sscop_lower.c /head/sys/netatm/uni/sscop_var.h /head/sys/netatm/spans/spans_kxdr.c /head/sys/netatm/ipatm/ipatm_var.h /head/sys/netatm/ipatm/ipatm_if.c /head/sys/netatm/sigpvc/sigpvc_var.h /head/sys/netatm/uni/q2110_sigaa.c /head/sys/netatm/uni/sscf_uni.c /head/sys/netatm/sigpvc/sigpvc_if.c /head/sys/netatm/uni/unisig_encode.c /head/sys/netatm/uni/unisig_if.c /head/sys/netatm/uni/q2110_sigcpcs.c /head/sys/netatm/spans/spans_msg.c /head/sys/netatm/uni/qsaal1_sigaa.c /head/sys/netatm/uni/unisig_vc_state.c /head/sys/netatm/uni/sscop.c /head/sys/netatm/ipatm/ipatm_load.c /head/sys/netatm/spans/spans_print.c /head/sys/netatm/spans/spans_var.h /head/sys/netatm/spans/spans_if.c /head/sys/netatm/uni/qsaal1_sigcpcs.c /head/sys/netatm/uni/uniarp.c /head/sys/netatm/uni/sscop_pdu.c /head/sys/netatm/spans/spans_proto.c /head/sys/netatm/uni/uniip_var.h /head/sys/netatm/uni/unisig_decode.c /head/sys/netatm/uni/sscop_upper.c /head/sys/netatm/uni/unisig_msg.c /head/sys/netatm/uni/unisig_decode.h /head/sys/netatm/uni/unisig_sigmgr_state.c /head/sys/boot/common/isapnp.h /head/sys/netatm/uni/unisig_print.c /head/sys/netatm/uni/unisig_var.h ============================================================== Author alfred Revision 92765 Date 2002-03-20T07:51:46.000000Z Log: Remove __P. /head/sys/dev/cy/cy_isa.c /head/sys/i386/linux/imgact_linux.c /head/sys/i386/i386/tsc.c /head/sys/i386/isa/elink.h /head/sys/i386/isa/bs/bshw.c /head/sys/isofs/cd9660/cd9660_node.c /head/sys/fs/cd9660/iso_rrip.h /head/sys/i386/isa/bs/bshw.h /head/sys/fs/cd9660/iso.h /head/sys/isofs/cd9660/cd9660_node.h /head/sys/i386/linux/linux_sysvec.c /head/sys/i386/isa/spkr.c /head/sys/isa/atrtc.c /head/sys/i386/isa/mse.c /head/sys/i386/isa/icu.h /head/sys/i386/isa/bs/bsvar.h /head/sys/amd64/isa/npx.c /head/sys/i386/isa/bs/bsif.c /head/sys/i4b/layer2/i4b_l2fsm.c /head/sys/i386/isa/bs/bshw_dma.c /head/sys/fs/cd9660/cd9660_vfsops.c /head/sys/i386/isa/bs/bsif.h /head/sys/i386/isa/isa_dma.c /head/sys/dev/cy/cy.c /head/sys/i386/isa/isa_dma.h /head/sys/isofs/cd9660/cd9660_vfsops.c /head/sys/i386/linux/linux_proto.h /head/sys/amd64/amd64/fpu.c /head/sys/amd64/isa/clock.c /head/sys/i386/linux/linux_syscall.h /head/sys/dev/rc/rc.c /head/sys/dev/speaker/spkr.c /head/sys/isofs/cd9660/iso_rrip.h /head/sys/i386/linux/linux_sysent.c /head/sys/i386/isa/ctx.c /head/sys/fs/cd9660/cd9660_node.c /head/sys/isofs/cd9660/cd9660_rrip.c /head/sys/i386/svr4/svr4_machdep.c /head/sys/i386/isa/intr_machdep.h /head/sys/i386/isa/if_rdp.c /head/sys/fs/cd9660/cd9660_node.h /head/sys/i386/isa/npx.c /head/sys/i386/svr4/svr4_machdep.h /head/sys/i386/isa/ccbque.h /head/sys/i386/isa/bs/bshw_pdma.c /head/sys/amd64/amd64/tsc.c /head/sys/i386/isa/cy.c /head/sys/fs/cd9660/cd9660_vnops.c /head/sys/dev/mse/mse.c /head/sys/amd64/isa/intr_machdep.h /head/sys/i386/isa/bs/bsfunc.c /head/sys/isofs/cd9660/iso.h /head/sys/i386/isa/if_cx.c /head/sys/i386/isa/bs/bsfunc.h /head/sys/i386/isa/clock.c /head/sys/i386/isa/rc.c /head/sys/amd64/isa/icu.h /head/sys/i386/isa/bs/bs.c /head/sys/i386/isa/if_le.c /head/sys/amd64/isa/isa_dma.c /head/sys/i386/isa/pcaudio.c /head/sys/amd64/isa/isa_dma.h /head/sys/fs/cd9660/cd9660_rrip.c /head/sys/isofs/cd9660/cd9660_vnops.c ============================================================== Author alfred Revision 92762 Date 2002-03-20T06:48:11.000000Z Log: Remove __P. /head/sys/dev/syscons/apm/apm_saver.c ============================================================== Author alfred Revision 92761 Date 2002-03-20T05:48:58.000000Z Log: Remove __P. /head/sys/i386/bios/apm.c /head/sys/amd64/include/smp.h /head/sys/i386/include/cpu.h /head/sys/compat/linux/linux_mib.h /head/sys/compat/linux/linux_getcwd.c /head/sys/i386/include/physio_proc.h /head/sys/compat/svr4/svr4_util.h /head/sys/compat/svr4/svr4_termios.c /head/sys/compat/linux/linux_util.h /head/sys/compat/svr4/svr4_ttold.c /head/sys/i386/include/in_cksum.h /head/sys/compat/svr4/svr4_stream.c /head/sys/i386/ibcs2/imgact_coff.c /head/sys/i386/ibcs2/ibcs2_util.h /head/sys/compat/netbsd/physio_proc.h /head/sys/amd64/include/pcb.h /head/sys/compat/svr4/svr4_proto.h /head/sys/amd64/include/npx.h /head/sys/compat/svr4/svr4_ioctl.c /head/sys/compat/svr4/svr4_ipc.c /head/sys/i386/include/clock.h /head/sys/compat/svr4/svr4_signal.c /head/sys/i386/include/bus_pc98.h /head/sys/compat/svr4/svr4_ioctl.h /head/sys/amd64/include/sysarch.h /head/sys/amd64/include/reg.h /head/sys/i386/include/smp.h /head/sys/compat/svr4/svr4_signal.h /head/sys/i386/ibcs2/ibcs2_fcntl.c /head/sys/compat/linux/linux_signal.h /head/sys/amd64/include/pcb_ext.h /head/sys/i386/include/perfmon.h /head/sys/compat/svr4/svr4_exec.h /head/sys/i386/ibcs2/ibcs2_signal.c /head/sys/compat/svr4/svr4_socket.h /head/sys/amd64/include/frame.h /head/sys/i386/ibcs2/ibcs2_signal.h /head/sys/amd64/include/profile.h /head/sys/amd64/include/cpufunc.h /head/sys/i386/include/segments.h /head/sys/i386/include/dvcfg.h /head/sys/compat/svr4/svr4_stat.c /head/sys/i386/include/pmap.h /head/sys/i386/include/vm86.h /head/sys/i386/apm/apm.c /head/sys/i386/include/proc.h /head/sys/i386/include/pcb.h /head/sys/compat/svr4/svr4_resource.c /head/sys/i386/include/npx.h /head/sys/i386/ibcs2/ibcs2_stat.c /head/sys/amd64/include/segments.h /head/sys/i386/include/md_var.h /head/sys/amd64/include/cpu.h /head/sys/amd64/include/fpu.h /head/sys/i386/include/sysarch.h /head/sys/i386/include/reg.h /head/sys/amd64/include/pmap.h /head/sys/compat/netbsd/dvcfg.h /head/sys/compat/svr4/imgact_svr4.c /head/sys/compat/svr4/svr4_fcntl.c /head/sys/i386/include/pcb_ext.h /head/sys/amd64/include/proc.h /head/sys/i386/include/apm_bios.h /head/sys/i386/include/frame.h /head/sys/i386/ibcs2/ibcs2_socksys.c /head/sys/amd64/include/md_var.h /head/sys/i386/ibcs2/ibcs2_xenix.h /head/sys/i386/ibcs2/ibcs2_socksys.h /head/sys/compat/linux/linux_ipc.h /head/sys/i386/include/profile.h /head/sys/compat/svr4/svr4_stropts.h /head/sys/i386/include/cpufunc.h /head/sys/i386/ibcs2/ibcs2_proto.h /head/sys/i386/include/types.h /head/sys/compat/svr4/svr4_sockio.c /head/sys/i386/ibcs2/ibcs2_ioctl.c /head/sys/i386/ibcs2/ibcs2_ipc.c /head/sys/compat/svr4/svr4_misc.c /head/sys/amd64/include/clock.h ============================================================== Author alfred Revision 92756 Date 2002-03-20T05:14:42.000000Z Log: Remove __P. /head/sys/ddb/db_run.c /head/sys/ddb/db_output.h /head/sys/ddb/db_access.h /head/sys/ddb/db_watch.c /head/sys/crypto/md5.c /head/sys/dev/atkbdc/psm.c /head/sys/ddb/db_sym.c /head/sys/ddb/db_variables.c /head/sys/isa/isavar.h /head/sys/crypto/md5.h /head/sys/crypto/des/des.h /head/sys/ddb/db_sym.h /head/sys/ddb/db_variables.h /head/sys/isa/psm.c /head/sys/ddb/db_expr.c /head/sys/ddb/db_command.c /head/sys/crypto/sha1.c /head/sys/crypto/sha2/sha2.h /head/sys/crypto/blowfish/blowfish.h /head/sys/ddb/db_command.h /head/sys/crypto/sha1.h /head/sys/ddb/db_break.c /head/sys/ddb/db_examine.c /head/sys/ddb/db_lex.c /head/sys/ddb/db_break.h /head/sys/ddb/ddb.h /head/sys/ddb/db_lex.h /head/sys/ddb/db_input.c /head/sys/ddb/db_output.c /head/sys/crypto/cast128/cast128.h ============================================================== Author alfred Revision 92755 Date 2002-03-20T05:00:21.000000Z Log: Remove __P. /head/sys/fs/coda/coda_fbsd.c /head/sys/fs/coda/coda_vfsops.c /head/sys/coda/coda_vnops.h /head/sys/coda/coda_fbsd.c /head/sys/coda/coda_vfsops.c /head/sys/fs/coda/coda_vnops.h ============================================================== Author alfred Revision 92745 Date 2002-03-20T02:39:27.000000Z Log: Remove __P. /head/sys/netkey/keydb.h /head/sys/netkey/key_debug.h /head/sys/netatm/atm_aal5.c /head/sys/netipx/ipx.h /head/sys/netipx/spx.h /head/sys/netatm/atm_var.h /head/sys/netnatm/natm_proto.c /head/sys/netipx/ipx_if.h /head/sys/netipx/spx_debug.h /head/sys/netipx/ipx_pcb.h /head/sys/netatalk/at_extern.h /head/sys/netatm/atm_stack.h /head/sys/netatm/atm_subr.c /head/sys/netipx/ipx_ip.h /head/sys/netnatm/natm.c /head/sys/netatm/atm_signal.c /head/sys/netkey/keysock.c /head/sys/netnatm/natm.h /head/sys/netatm/atm_usrreq.c /head/sys/netkey/keysock.h /head/sys/netatm/atm_sys.h /head/sys/netns/ns.h /head/sys/netipx/ipx_var.h /head/sys/netatm/atm_sigmgr.h /head/sys/netkey/key.c /head/sys/netatm/atm_if.c /head/sys/netatm/atm_cm.c /head/sys/netnatm/natm_pcb.c /head/sys/netns/ns_if.h /head/sys/netkey/key.h /head/sys/netatm/atm_if.h /head/sys/netkey/keydb.c /head/sys/netkey/key_debug.c /head/sys/netatm/atm_cm.h ============================================================== Author alfred Revision 92741 Date 2002-03-20T02:15:46.000000Z Log: Remove __P. /head/sys/libkern/quad.h /head/sys/nfs/nfsnode.h /head/sys/libkern/mcount.c /head/sys/libkern/bsearch.c /head/sys/libkern/qsort.c ============================================================== Author alfred Revision 92739 Date 2002-03-20T02:08:01.000000Z Log: Remove __P. /head/sys/dev/mii/qsphy.c /head/sys/dev/ex/if_ex_pccard.c /head/sys/dev/aic/aic_isa.c /head/sys/dev/ncv/ncr53c500var.h /head/sys/dev/gem/if_gem_pci.c /head/sys/dev/ct/bshw_machdep.c /head/sys/dev/stg/tmc18c30_isa.c /head/sys/dev/snc/dp83932subr.c /head/sys/dev/sio/sio_puc.c /head/sys/dev/ed/if_ed.c /head/sys/dev/snc/if_snc_cbus.c /head/sys/dev/snc/dp83932subr.h /head/sys/dev/mii/lxtphy.c /head/sys/dev/hea/eni.c /head/sys/dev/mii/exphy.c /head/sys/dev/mii/pnphy.c /head/sys/dev/mii/pnaphy.c /head/sys/dev/an/if_anreg.h /head/sys/dev/mii/dcphy.c /head/sys/dev/ep/if_ep.c /head/sys/dev/mii/amphy.c /head/sys/dev/cnw/if_cnw.c /head/sys/dev/gem/if_gem.c /head/sys/dev/stg/tmc18c30.c /head/sys/dev/snp/snp.c /head/sys/dev/snc/if_sncvar.h /head/sys/dev/hea/eni_intr.c /head/sys/dev/usb/usb_ethersubr.c /head/sys/dev/ex/if_ex.c /head/sys/dev/vx/if_vx_eisa.c /head/sys/dev/usb/usb_ethersubr.h /head/sys/dev/awi/awi_wep.c /head/sys/dev/ct/ct.c /head/sys/dev/eisa/eisaconf.h /head/sys/dev/sio/sio_isa.c /head/sys/dev/dc/pnphy.c /head/sys/dev/isp/isp_freebsd.h /head/sys/dev/ep/if_ep_eisa.c /head/sys/dev/hfa/fore_load.c /head/sys/dev/dc/if_dc.c /head/sys/pci/if_tl.c /head/sys/dev/en/midway.c /head/sys/dev/vr/if_vr.c /head/sys/dev/pdq/if_fea.c /head/sys/dev/dc/dcphy.c /head/sys/dev/awi/awi.c /head/sys/dev/hfa/fore_include.h /head/sys/dev/ct/ct_machdep.h /head/sys/pci/if_ste.c /head/sys/pci/if_tx.c /head/sys/dev/mii/miivar.h /head/sys/dev/asr/asr.c /head/sys/dev/mii/rlphy.c /head/sys/dev/ed/if_edvar.h /head/sys/dev/snc/dp83932var.h /head/sys/dev/usb/usbdivar.h /head/sys/dev/puc/puc.c /head/sys/dev/awi/awivar.h /head/sys/dev/em/if_em.c /head/sys/dev/mii/tdkphy.c /head/sys/pci/if_sf.c /head/sys/dev/ct/bshwvar.h /head/sys/dev/ed/if_ed_isa.c /head/sys/dev/sio/siovar.h /head/sys/pci/cy_pci.c /head/sys/dev/an/if_an_pci.c /head/sys/dev/lnc/if_lnc.c /head/sys/dev/mii/mii_physubr.c /head/sys/pci/if_en_pci.c /head/sys/dev/hfa/fore_output.c /head/sys/dev/awi/am79c930var.h /head/sys/dev/nsp/nsp_pccard.c /head/sys/dev/gem/if_gemvar.h /head/sys/dev/en/if_en_pci.c /head/sys/dev/cy/cy_pci.c /head/sys/dev/mii/xmphy.c /head/sys/dev/ncv/ncr53c500_pccard.c /head/sys/dev/hea/eni_var.h /head/sys/dev/hea/eni_if.c /head/sys/pci/if_ti.c /head/sys/pci/if_rl.c /head/sys/dev/streams/streams.c /head/sys/dev/nge/if_nge.c /head/sys/dev/ex/if_ex_isa.c /head/sys/pci/if_vr.c /head/sys/dev/aic/aic_cbus.c /head/sys/dev/mii/mlphy.c /head/sys/dev/ct/ct_isa.c /head/sys/dev/mii/brgphy.c /head/sys/dev/an/if_an.c /head/sys/dev/cm/smc90cx6.c /head/sys/dev/vx/if_vxreg.h /head/sys/dev/ispfw/ispfw.c /head/sys/dev/usb/umass.c /head/sys/dev/usb/if_aue.c /head/sys/dev/hfa/fore_buffer.c /head/sys/dev/usb/if_cue.c /head/sys/pci/intpm.c /head/sys/pci/simos.c /head/sys/dev/aic/aic.c /head/sys/dev/dgb/dgb.c /head/sys/pci/if_sk.c /head/sys/pci/meteor.c /head/sys/dev/usb/if_kue.c /head/sys/pci/if_pcn.c /head/sys/dev/sf/if_sf.c /head/sys/dev/snc/dp83932.c /head/sys/dev/iir/iir_pci.c /head/sys/dev/rp/rp.c /head/sys/dev/bktr/bktr_os.c /head/sys/dev/aic/aicvar.h /head/sys/dev/cm/if_cm_isa.c /head/sys/pci/if_sis.c /head/sys/dev/ed/if_ed_cbus.c /head/sys/dev/sio/sio_pci.c /head/sys/dev/mii/nsphy.c /head/sys/dev/lnc/if_lncvar.h /head/sys/dev/cm/smc90cx6var.h /head/sys/dev/ct/ctvar.h /head/sys/dev/hfa/fore_receive.c /head/sys/dev/mii/mii.c /head/sys/dev/lge/if_lge.c /head/sys/pci/if_xl.c /head/sys/dev/txp/if_txp.c /head/sys/dev/tx/if_tx.c /head/sys/dev/vx/if_vx.c /head/sys/dev/en/midwayvar.h /head/sys/dev/stg/tmc18c30_pccard.c /head/sys/dev/iir/iir.h /head/sys/dev/stg/tmc18c30var.h /head/sys/dev/mii/tlphy.c /head/sys/dev/mii/acphy.c /head/sys/pci/if_wb.c /head/sys/dev/sio/sio.c /head/sys/dev/mii/nsgphy.c /head/sys/dev/ed/if_ed_pci.c /head/sys/dev/awi/am79c930.c /head/sys/dev/sio/sio_pccard.c /head/sys/dev/nsp/nsp.c /head/sys/dev/hea/eni_buffer.c /head/sys/pci/if_dc.c /head/sys/dev/ti/if_ti.c /head/sys/dev/an/if_an_isa.c /head/sys/dev/sk/if_sk.c /head/sys/dev/ncv/ncr53c500.c /head/sys/dev/bge/if_bge.c /head/sys/dev/acpica/acpivar.h /head/sys/dev/hea/eni_receive.c /head/sys/dev/hfa/fore_init.c /head/sys/dev/nsp/nspvar.h /head/sys/dev/mii/ukphy.c /head/sys/dev/awi/awi_wicfg.c ============================================================== Author alfred Revision 92729 Date 2002-03-19T22:51:53.000000Z Log: Hopefully fix make world. Submitted by: Steve Kargl /head/sbin/ipfstat/Makefile ============================================================== Author alfred Revision 92728 Date 2002-03-19T22:40:48.000000Z Log: Remove __P. /head/sys/gnu/ext2fs/ext2_alloc.c /head/sys/ufs/ufs/ufs_quota.c /head/sys/ufs/ffs/ffs_alloc.c /head/sys/gnu/ext2fs/ext2_inode.c /head/sys/ufs/ffs/ffs_inode.c /head/sys/gnu/fs/ext2fs/ext2_alloc.c /head/sys/ufs/ffs/ffs_snapshot.c /head/sys/gnu/ext2fs/ext2_vnops.c /head/sys/gnu/fs/ext2fs/ext2_inode.c /head/sys/ufs/ufs/ufs_vnops.c /head/sys/gnu/ext2fs/ext2_mount.h /head/sys/ufs/ffs/ffs_softdep.c /head/sys/ufs/ffs/ffs_vnops.c /head/sys/gnu/ext2fs/ext2_lookup.c /head/sys/ufs/ufs/ufsmount.h /head/sys/gnu/ext2fs/ext2_extern.h /head/sys/gnu/ext2fs/ext2_subr.c /head/sys/ufs/ufs/ufs_extern.h /head/sys/gnu/fs/ext2fs/ext2_vnops.c /head/sys/ufs/ffs/ffs_extern.h /head/sys/ufs/ffs/ffs_subr.c /head/sys/gnu/fs/ext2fs/ext2_mount.h /head/sys/gnu/ext2fs/ext2_vfsops.c /head/sys/gnu/fs/ext2fs/ext2_lookup.c /head/sys/gnu/fs/ext2fs/ext2_extern.h /head/sys/ufs/ufs/quota.h /head/sys/gnu/fs/ext2fs/ext2_subr.c /head/sys/ufs/ffs/ffs_vfsops.c /head/sys/gnu/fs/ext2fs/ext2_vfsops.c /head/sys/ufs/ufs/acl.h ============================================================== Author alfred Revision 92727 Date 2002-03-19T22:20:14.000000Z Log: Remove __P. /head/sys/posix4/aio.h /head/sys/fs/msdosfs/msdosfs_vfsops.c /head/sys/fs/umapfs/umap_vfsops.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/fs/specfs/spec_vnops.c /head/sys/vm/swap_pager.c /head/sys/vm/vm_mmap.c /head/sys/vm/swap_pager.h /head/sys/vm/vm_glue.c /head/sys/fs/unionfs/union_vfsops.c /head/sys/vm/pmap.h /head/sys/fs/ntfs/ntfs_subr.c /head/sys/vm/vm_init.c /head/sys/fs/msdosfs/msdosfs_conv.c /head/sys/fs/umapfs/umap_vnops.c /head/sys/fs/ntfs/ntfs_subr.h /head/sys/fs/fifofs/fifo_vnops.c /head/sys/posix4/mqueue.h /head/sys/fs/hpfs/hpfs_vnops.c /head/sys/fs/msdosfs/msdosfs_fat.c /head/sys/fs/fdescfs/fdesc_vnops.c /head/sys/vm/vm_extern.h /head/sys/vm/vm_swap.c /head/sys/vm/device_pager.c /head/sys/vm/vm_fault.c /head/sys/fs/umapfs/umap_subr.c /head/sys/fs/procfs/procfs_ctl.c /head/sys/fs/portalfs/portal_vfsops.c /head/sys/fs/msdosfs/fat.h /head/sys/fs/unionfs/union_vnops.c /head/sys/sys/semaphore.h /head/sys/fs/hpfs/hpfs_vfsops.c /head/sys/sys/posix4.h /head/sys/fs/umapfs/umap.h /head/sys/fs/devfs/devfs_vnops.c /head/sys/vm/vnode_pager.c /head/sys/fs/fifofs/fifo.h /head/sys/fs/unionfs/union_subr.c /head/sys/fs/ntfs/ntfs_ihash.h /head/sys/fs/hpfs/hpfs.h /head/sys/fs/fdescfs/fdesc.h /head/sys/posix4/semaphore.h /head/sys/fs/deadfs/dead_vnops.c /head/sys/vm/vnode_pager.h /head/sys/fs/ntfs/ntfs_vnops.c /head/sys/posix4/posix4.h /head/sys/posix4/sched.h /head/sys/fs/msdosfs/msdosfs_denode.c /head/sys/vm/vm_pager.c /head/sys/vm/default_pager.c /head/sys/fs/devfs/devfs_vfsops.c /head/sys/fs/unionfs/union.h /head/sys/vm/vm_pager.h /head/sys/fs/portalfs/portal_vnops.c /head/sys/vm/vm_pageout.c /head/sys/fs/msdosfs/msdosfs_vnops.c /head/sys/fs/msdosfs/denode.h /head/sys/fs/msdosfs/direntry.h /head/sys/fs/ntfs/ntfs_vfsops.c /head/sys/fs/msdosfs/msdosfsmount.h /head/sys/vm/vm_pageout.h ============================================================== Author alfred Revision 92725 Date 2002-03-19T21:54:18.000000Z Log: Remove __P. /head/sys/net/if_stf.c /head/sys/net/bpf.h /head/sys/net/bpf_filter.c /head/sys/net/if_ppp.c /head/sys/net/if_stf.h /head/sys/net/if_arcsubr.c /head/sys/net/if_ethersubr.c /head/sys/net/if_dl.h /head/sys/net/if_gif.c /head/sys/net/ppp_deflate.c /head/sys/net/net_osdep.h /head/sys/net/bsd_comp.c /head/sys/net/if_gif.h /head/sys/net/pfil.c /head/sys/net/route.c /head/sys/net/pfil.h /head/sys/net/slcompress.h /head/sys/net/if_tap.c /head/sys/net/route.h /head/sys/net/rtsock.c /head/sys/net/radix.c /head/sys/net/if_faith.c /head/sys/net/if_var.h /head/sys/net/fddi.h /head/sys/net/radix.h /head/sys/net/if_fddisubr.c /head/sys/net/ppp_comp.h /head/sys/net/ethernet.h /head/sys/net/if_arc.h /head/sys/net/if_pppvar.h /head/sys/net/if_sl.c /head/sys/net/if_media.c /head/sys/net/if.c /head/sys/net/ppp_tty.c /head/sys/net/intrq.h /head/sys/net/if_media.h /head/sys/net/raw_cb.h /head/sys/net/if.h /head/sys/net/if_atm.h /head/sys/net/bpf.c /head/sys/net/netisr.h ============================================================== Author alfred Revision 92724 Date 2002-03-19T21:44:49.000000Z Log: add missing semicolon. /head/sys/dev/usb/uhci.c ============================================================== Author alfred Revision 92723 Date 2002-03-19T21:25:46.000000Z Log: Remove __P. /head/sys/netinet/in_pcb.c /head/sys/kern/kern_sig.c /head/sys/kern/subr_prof.c /head/sys/netinet/tcp_timer.h /head/sys/kern/kern_exec.c /head/sys/netinet/in_pcb.h /head/sys/kern/sysv_sem.c /head/sys/kern/subr_autoconf.c /head/sys/netinet/ip_ecn.h /head/sys/netinet/tcp_var.h /head/sys/kern/uipc_syscalls.c /head/sys/kern/tty.c /head/sys/netinet/ip_fw.h /head/sys/kern/kern_mutex.c /head/sys/netinet/in_systm.h /head/sys/kern/tty_compat.c /head/sys/netinet/ip_encap.c /head/sys/kern/kern_malloc.c /head/sys/netinet/ip_encap.h /head/sys/netinet/ip_output.c /head/sys/kern/kern_resource.c /head/sys/kern/vfs_extattr.c /head/sys/kern/subr_clist.c /head/sys/kern/sys_generic.c /head/sys/netinet/if_atm.h /head/sys/kern/sysv_shm.c /head/sys/kern/kern_lockf.c /head/sys/kern/kern_proc.c /head/sys/kern/subr_prf.c /head/sys/kern/kern_tc.c /head/sys/kern/vfs_subr.c /head/sys/netinet/icmp6.h /head/sys/kern/uipc_mbuf2.c /head/sys/kern/imgact_gzip.c /head/sys/netinet/ip_input.c /head/sys/netinet/tcp_usrreq.c /head/sys/kern/kern_synch.c /head/sys/kern/kern_timeout.c /head/sys/kern/subr_diskslice.c /head/sys/netinet/in_gif.h /head/sys/kern/kern_clock.c /head/sys/kern/sysv_msg.c /head/sys/netinet/ip_mroute.c /head/sys/kern/tty_subr.c /head/sys/netinet/icmp_var.h /head/sys/netinet/ip_mroute.h /head/sys/netinet/igmp_var.h /head/sys/kern/vfs_cache.c /head/sys/kern/inflate.c /head/sys/kern/subr_diskmbr.c /head/sys/kern/vfs_bio.c /head/sys/netinet/ip_icmp.c /head/sys/kern/kern_ktrace.c /head/sys/kern/kern_exit.c /head/sys/kern/imgact_elf.c /head/sys/kern/subr_smp.c /head/sys/netinet/in_var.h /head/sys/netinet/ip_id.c /head/sys/netinet/if_ether.c /head/sys/netinet/ip_icmp.h /head/sys/netinet/ip_var.h /head/sys/kern/vfs_export.c /head/sys/netinet/in_proto.c /head/sys/netinet/tcp_timewait.c /head/sys/netinet/udp_usrreq.c /head/sys/netinet/if_ether.h /head/sys/kern/uipc_usrreq.c /head/sys/kern/vfs_default.c /head/sys/netinet/igmp.c /head/sys/netinet/in_rmx.c /head/sys/kern/kern_descrip.c /head/sys/kern/vfs_syscalls.c /head/sys/kern/tty_pty.c /head/sys/netinet/tcp_input.c /head/sys/netinet/udp_var.h /head/sys/netinet/in.c /head/sys/kern/kern_time.c /head/sys/kern/tty_tty.c /head/sys/netinet/in.h /head/sys/kern/vfs_vnops.c /head/sys/kern/subr_turnstile.c /head/sys/kern/uipc_domain.c /head/sys/netinet/tcp_subr.c /head/sys/kern/kern_acct.c /head/sys/netinet/tcp_reass.c /head/sys/kern/kern_intr.c /head/sys/kern/imgact_aout.c /head/sys/kern/vfs_cluster.c /head/sys/netinet/if_fddi.h ============================================================== Author alfred Revision 92721 Date 2002-03-19T20:48:32.000000Z Log: don't generate files with __P. /head/sys/kern/makesyscalls.sh ============================================================== Author alfred Revision 92720 Date 2002-03-19T20:46:30.000000Z Log: fix blockno printf formatting warnings. /head/sys/contrib/dev/fla/fla.c ============================================================== Author alfred Revision 92719 Date 2002-03-19T20:18:42.000000Z Log: Remove __P /head/sys/sys/signal.h /head/sys/sys/filedesc.h /head/sys/sys/file.h /head/sys/sys/tty.h /head/sys/sys/queue.h /head/sys/sys/sysent.h /head/sys/sys/errno.h /head/sys/sys/timetc.h /head/sys/sys/msg.h /head/sys/sys/timex.h /head/sys/sys/socket.h /head/sys/sys/mman.h /head/sys/sys/linedisc.h /head/sys/sys/diskmbr.h /head/sys/sys/diskpc98.h /head/sys/sys/resourcevar.h /head/sys/sys/socketvar.h /head/sys/sys/callout.h /head/sys/sys/poll.h /head/sys/sys/domain.h /head/sys/sys/ktrace.h /head/sys/sys/user.h /head/sys/sys/eventhandler.h /head/sys/sys/jail.h /head/sys/sys/syslog.h /head/sys/sys/regression.h /head/sys/sys/soundcard.h /head/sys/sys/un.h /head/sys/sys/md5.h /head/sys/sys/conf.h /head/sys/sys/namei.h /head/sys/sys/lockmgr.h /head/sys/sys/time.h /head/sys/sys/acl.h /head/sys/sys/param.h /head/sys/sys/bio.h /head/sys/sys/ioccom.h /head/sys/sys/acct.h /head/sys/sys/systm.h /head/sys/sys/sysctl.h /head/sys/sys/event.h /head/sys/sys/times.h /head/sys/sys/inflate.h /head/sys/sys/termios.h /head/sys/sys/msgbuf.h /head/sys/sys/sem.h /head/sys/sys/exec.h /head/sys/sys/libkern.h /head/sys/sys/disklabel.h /head/sys/sys/uio.h /head/sys/sys/selinfo.h /head/sys/sys/types.h /head/sys/sys/wait.h /head/sys/sys/fcntl.h /head/sys/sys/malloc.h /head/sys/sys/stat.h /head/sys/sys/ipc.h /head/sys/sys/protosw.h /head/sys/sys/rtprio.h /head/sys/sys/kernel.h /head/sys/sys/timepps.h /head/sys/sys/kthread.h /head/sys/sys/signalvar.h /head/sys/sys/shm.h /head/sys/sys/resource.h /head/sys/sys/disk.h /head/sys/sys/imgact_elf.h /head/sys/sys/imgact_aout.h /head/sys/sys/interrupt.h /head/sys/sys/_sigset.h /head/sys/sys/lockf.h /head/sys/sys/timeb.h /head/sys/sys/mount.h /head/sys/sys/cons.h /head/sys/sys/sysproto.h /head/sys/sys/proc.h /head/sys/sys/imgact.h /head/sys/sys/diskslice.h /head/sys/sys/vnode.h /head/sys/sys/buf.h ============================================================== Author alfred Revision 92718 Date 2002-03-19T20:12:08.000000Z Log: Fix bio->bio_blkno format warning. /head/sys/dev/ccd/ccd.c /head/sys/geom/geom_ccd.c ============================================================== Author alfred Revision 92716 Date 2002-03-19T19:45:41.000000Z Log: Remove duplicate extern declarations to silence warnings. /head/sys/netinet6/ip6_input.c /head/sys/netinet6/icmp6.c /head/sys/netinet6/ip6_output.c /head/sys/netinet6/ip6_forward.c ============================================================== Author alfred Revision 92649 Date 2002-03-19T06:14:34.000000Z Log: fix perfmon for DEVFS. PR: kern/36008 /head/sys/i386/i386/perfmon.c ============================================================== Author alfred Revision 92641 Date 2002-03-19T04:30:04.000000Z Log: Close a race when vfs_syscalls.c:checkdirs() runs. To do this protect the filedesc pointer in the proc with PROC_LOCK in both checkdirs() and kern_descrip.c:fdfree(). /head/sys/kern/kern_descrip.c /head/sys/kern/vfs_extattr.c /head/sys/kern/vfs_syscalls.c ============================================================== Author alfred Revision 92604 Date 2002-03-18T18:53:18.000000Z Log: have the SYSCALL_MODULES macro provide an initializer for the 'old_sysent' to avoid pedandic warnings. /head/sys/sys/sysent.h ============================================================== Author alfred Revision 92493 Date 2002-03-17T11:08:38.000000Z Log: fill out structures in their entirety in module helper macros to avoid warnings. /stable/4/sys/sys/sysctl.h /stable/4/sys/sys/sysent.h ============================================================== Author alfred Revision 92492 Date 2002-03-17T11:07:45.000000Z Log: constify the 'name' field of 'struct moduledata' to avoid warnings when using WARNS=2. /stable/4/sys/sys/module.h ============================================================== Author alfred Revision 92310 Date 2002-03-15T08:03:46.000000Z Log: Giant pushdown for read/write/pread/pwrite syscalls. kern/kern_descrip.c: Aquire Giant in fdrop_locked when file refcount hits zero, this removes the requirement for the caller to own Giant for the most part. kern/kern_ktrace.c: Aquire Giant in ktrgenio, simplifies locking in upper read/write syscalls. kern/vfs_bio.c: Aquire Giant in bwillwrite if needed. kern/sys_generic.c Giant pushdown, remove Giant for: read, pread, write and pwrite. readv and writev aren't done yet because of the possible malloc calls for iov to uio processing. kern/sys_socket.c Grab giant in the socket fo_read/write functions. kern/vfs_vnops.c Grab giant in the vnode fo_read/write functions. /head/sys/kern/vfs_vnops.c /head/sys/kern/sys_socket.c /head/sys/kern/vfs_bio.c /head/sys/kern/kern_descrip.c /head/sys/kern/kern_ktrace.c /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 92305 Date 2002-03-15T07:18:09.000000Z Log: Bug fixes: Missed a place where the pipe sleep lock was needed in order to safely grab Giant, fix it and add an assertion to make sure this doesn't happen again. Fix typos in the PIPE_GET_GIANT/PIPE_DROP_GIANT that could cause the wrong mutex to get passed to PIPE_LOCK/PIPE_UNLOCK. Fix a location where the wrong pipe was being passed to PIPE_GET_GIANT/PIPE_DROP_GIANT. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 92261 Date 2002-03-14T05:16:18.000000Z Log: Missed this file for select SMP fixes associated with rev 1.93 of kern/sys_generic.c /head/sys/netsmb/smb_trantcp.c ============================================================== Author alfred Revision 92260 Date 2002-03-14T04:47:08.000000Z Log: Missed this file for select SMP fixes associated with rev 1.93 of kern/sys_generic.c /head/sys/net/bpf.c ============================================================== Author alfred Revision 92252 Date 2002-03-14T01:32:30.000000Z Log: Fixes to make select/poll mpsafe. Problem: selwakeup required calling pfind which would cause lock order reversals with the allproc_lock and the per-process filedesc lock. Solution: Instead of recording the pid of the select()'ing process into the selinfo structure, actually record a pointer to the thread. To avoid dereferencing a bad address all the selinfo structures that are in use by a thread are kept in a list hung off the thread (protected by sellock). When a selwakeup occurs the selinfo is removed from that threads list, it is also removed on the way out of select or poll where the thread will traverse its list removing all the selinfos from its own list. Problem: Previously the PROC_LOCK was used to provide the mutual exclusion needed to ensure proper locking, this couldn't work because there was a single condvar used for select and poll and condvars can only be used with a single mutex. Solution: Introduce a global mutex 'sellock' which is used to provide mutual exclusion when recording events to wait on as well as performing notification when an event occurs. Interesting note: schedlock is required to manipulate the per-thread TDF_SELECT flag, however if given its own field it would not need schedlock, also because TDF_SELECT is only manipulated under sellock one doesn't actually use schedlock for syncronization, only to protect against corruption. Proc locks are no longer used in select/poll. Portions contributed by: davidc /head/sys/sys/selinfo.h /head/sys/sys/systm.h /head/sys/dev/atkbdc/psm.c /head/sys/sys/proc.h /head/sys/dev/sound/midi/midibuf.c /head/sys/i386/isa/pcaudio.c /head/sys/kern/sys_generic.c /head/sys/dev/bktr/bktr_core.c /head/sys/dev/usb/ums.c /head/sys/i386/isa/asc.c /head/sys/isa/psm.c /head/sys/dev/sound/pcm/channel.c /head/sys/dev/kbd/kbd.c /head/sys/dev/snp/snp.c /head/sys/kern/tty.c ============================================================== Author alfred Revision 91972 Date 2002-03-09T22:44:37.000000Z Log: Remove __P /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 91968 Date 2002-03-09T22:06:31.000000Z Log: Don't deref NULL mutex pointer when pipeclose()'ing a pipe that is not fully instaniated. Revert the logic in pipeclose so that we don't have the entire function pretty much under a single if() statement, instead invert the test and just return if it fails. Submitted (in different form) by: bde Don't use pool mutexes for pipes. We can not use pool mutexes because we will need to grab the select lock while holding a pipe lock which is not allowed because you may not aquire additional mutexes when holding a pool mutex. Instead malloc(9) space for the mutex that is shared between the pipes. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 91832 Date 2002-03-07T20:18:03.000000Z Log: Add ufm to unbreak LINT /stable/4/sys/conf/files ============================================================== Author alfred Revision 91614 Date 2002-03-04T05:30:04.000000Z Log: clarify code: add comments. don't get the length of each arg passed, only the last one. check against == or != NULL rather than using a pointer value as truth test. /head/bin/echo/echo.c ============================================================== Author alfred Revision 91611 Date 2002-03-04T04:01:36.000000Z Log: MFC: USB FM Radio Support Submitted by: David Yeske /stable/4/sys/modules/Makefile /stable/4/sys/dev/usb/FILES /stable/4/sys/modules/ufm/Makefile /stable/4/sys/boot/forth/loader.conf /stable/4/sys/dev/usb/ufm.c /stable/4/sys/conf/majors /stable/4/sys/dev/usb/dsbr100io.h /stable/4/sys/i386/conf/LINT ============================================================== Author alfred Revision 91609 Date 2002-03-04T03:51:21.000000Z Log: Support for USB fm radio. Submitted by: David Yeske /head/sys/modules/Makefile /head/sys/i386/conf/NOTES /head/sys/dev/usb/FILES /head/sys/modules/ufm/Makefile /head/sys/conf/NOTES /head/sys/boot/forth/loader.conf /head/sys/dev/usb/ufm.c /head/sys/modules/ufm /head/sys/conf/majors /head/sys/dev/usb/dsbr100io.h ============================================================== Author alfred Revision 91562 Date 2002-03-02T10:36:37.000000Z Log: properly handle zero length first string when doing -c PR: 34663 MFC After: 3 days /head/usr.bin/tr/tr.c ============================================================== Author alfred Revision 91552 Date 2002-03-02T01:33:48.000000Z Log: Rev 1.19.2.4 forgot to include sys/fcntl.h, we need it, so add it. Submitted by: Brian J. Peterson /stable/4/sys/alpha/alpha/mem.c ============================================================== Author alfred Revision 91423 Date 2002-02-27T20:28:08.000000Z Log: MFC: SYSCALL_MODULE_HELPER /stable/4/sys/sys/sysent.h ============================================================== Author alfred Revision 91413 Date 2002-02-27T18:51:53.000000Z Log: kill __P. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 91412 Date 2002-02-27T18:49:58.000000Z Log: add assertions in the places where giant is required to catch when the pipe is locked and shouldn't be. initialize pipe->pipe_mtxp to NULL when creating pipes in order not to trip the above assertions. swap pipe lock with giant around calls to pipe_destroy_write_buffer() pipe_destroy_write_buffer issue noticed by: jhb /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 91395 Date 2002-02-27T17:23:16.000000Z Log: Fix a NULL deref panic in pipe_write, we can't blindly lock pipe->pipe_peer->pipe_mtxp because it may be NULL, so lock the passed in pipe's mutex instead. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 91372 Date 2002-02-27T11:27:48.000000Z Log: MPsafe fixes: use SYSINIT to initialize pipe_zone. use PIPE_LOCK to protect kevent ops. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 91369 Date 2002-02-27T10:07:15.000000Z Log: Don't hardcode /sys when making tags, instead use ${.CURDIR}/.. this fixes a problem where one tries to make tags when the source isn't in /sys. Submitted by: Jihui Yang /head/sys/kern/Make.tags.inc ============================================================== Author alfred Revision 91362 Date 2002-02-27T07:35:59.000000Z Log: First rev at making pipe(2) pipe's MPsafe. Both ends of the pipe share a pool_mutex, this makes allocation and deadlock avoidance easy. Remove some un-needed FILE_LOCK ops while I'm here. There are some issues wrt to select and the f{s,g}etown code that we'll have to deal with, I think we may also need to move the calls to vfs_timestamp outside of the sections covered by PIPE_LOCK. /head/sys/sys/pipe.h /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 91357 Date 2002-02-27T05:11:50.000000Z Log: More IPV6 const fixes. /head/sys/netinet/tcp_subr.c /head/sys/netinet/tcp_timewait.c ============================================================== Author alfred Revision 91353 Date 2002-02-27T04:27:36.000000Z Log: clarify panic message /head/sys/amd64/amd64/pmap.c /head/sys/i386/i386/pmap.c ============================================================== Author alfred Revision 91346 Date 2002-02-27T02:44:45.000000Z Log: Fix warnings caused by discarding const. Hairy Eyeball At: peter /head/sys/netinet6/in6_pcb.h /head/sys/netinet6/raw_ip6.c /head/sys/netinet6/in6_prefix.c /head/sys/netinet6/in6.c /head/sys/netinet6/udp6_usrreq.c /head/sys/netinet6/in6_pcb.c ============================================================== Author alfred Revision 91342 Date 2002-02-27T02:02:13.000000Z Log: remove trailing semi-colons from macro definitions. /head/sys/sys/resourcevar.h ============================================================== Author alfred Revision 91340 Date 2002-02-27T01:04:56.000000Z Log: allow reads of /dev/mem when securelevel is raised. Noticed by: Brian J. Peterson /stable/4/sys/alpha/alpha/mem.c ============================================================== Author alfred Revision 91333 Date 2002-02-26T22:53:57.000000Z Log: MFC: 1.11 (use _GENERIC_DIRSIZ instead of sizeof) /stable/4/lib/libc/gen/readdir.c ============================================================== Author alfred Revision 91330 Date 2002-02-26T21:39:32.000000Z Log: use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent over the user supplied buffer. this can be a problem when the user doesn't supply a full dirent and we corrupt their memory. /head/lib/libc/gen/readdir.c ============================================================== Author alfred Revision 91268 Date 2002-02-26T01:19:56.000000Z Log: in ulpt_reset() req.bmRequestType was unitialized, fix it. /head/sys/dev/usb/ulpt.c ============================================================== Author alfred Revision 91236 Date 2002-02-25T09:41:43.000000Z Log: Document what inpcb->inp_vflag is for. Submitted by: Marco Molteni /head/sys/netinet/in_pcb.h ============================================================== Author alfred Revision 91206 Date 2002-02-24T23:24:01.000000Z Log: Fix style bugs: Missing `const' qualifier. Initialization in declaration. Submitted by: mike /head/sys/isa/isa_common.c ============================================================== Author alfred Revision 91203 Date 2002-02-24T22:45:33.000000Z Log: bump __FreeBSD_version for usb structure rename. /head/sys/sys/param.h /stable/4/sys/sys/param.h ============================================================== Author alfred Revision 91202 Date 2002-02-24T22:27:54.000000Z Log: Give a little more information as to why pnp configuration of a device may have failed. Submitted by: Terry Lambert /head/sys/isa/isa_common.c ============================================================== Author alfred Revision 91197 Date 2002-02-24T14:23:15.000000Z Log: MFC: USB structure rename. /stable/4/sys/dev/usb/ugen.c /stable/4/sys/dev/usb/usb.h /stable/4/lib/libusb/descr.c /stable/4/sys/dev/usb/usb_subr.c /stable/4/usr.sbin/usbdevs/usbdevs.c /stable/4/sys/dev/usb/usbdi.c /stable/4/usr.sbin/usbd/usbd.c /stable/4/sys/dev/usb/uhid.c /stable/4/sys/dev/usb/usb.c ============================================================== Author alfred Revision 90996 Date 2002-02-20T20:47:21.000000Z Log: Prefix structure members to protect them against clashes with eg. c++ keywords. This keeps us in sync with NetBSD because they actually committed my delta first. Ok'd by: lennard /head/sys/dev/usb/uhid.c /head/sys/dev/usb/usb.c /head/sys/dev/usb/ugen.c /head/sys/dev/usb/usb.h /head/lib/libusb/descr.c /head/sys/dev/usb/usb_subr.c /head/usr.sbin/usbdevs/usbdevs.c /head/lib/libusbhid/descr.c /head/sys/dev/usb/usbdi.c /head/usr.sbin/usbd/usbd.c ============================================================== Author alfred Revision 90984 Date 2002-02-20T17:06:37.000000Z Log: fix file descriptor leak. Submitted by: Mark Santcroos /head/sys/compat/linux/linux_ioctl.c ============================================================== Author alfred Revision 90881 Date 2002-02-19T01:04:20.000000Z Log: MFC: Sis 7012 support. This also carries some baggage from -current apparently the ability to record using other versions of this chipset. It works pretty well for me. Submitted by: Mike Meyer PR: kern/35012 /stable/4/sys/dev/sound/pci/ich.c ============================================================== Author alfred Revision 90880 Date 2002-02-19T00:59:23.000000Z Log: Add play (but not record) support for the Sis 7012. Submitted by: Mike Meyer /head/sys/dev/sound/pci/ich.c ============================================================== Author alfred Revision 90721 Date 2002-02-16T09:23:37.000000Z Log: MFC: 1.124 (remove bogus panic for thread race condition.) /stable/4/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 90629 Date 2002-02-13T18:47:50.000000Z Log: Re-enable WITNESS for GENERIC. Since the 5.x branch is mostly about SMP we'd like as much feedback as possible from users about possible locking problems as early as possible. To negate most of the performance impact I've also enabled WITNESS_SKIPSPIN. I've done this as we've been running WITNESS over the spinlock code for a while without incident and it goes a long way to making the performance problems of WITNESS much more bearable. Users who should be running current should know about turning WITNESS off for performance reasons. That said and done, WITNESS could/should be made into a tuneable, but we'll leave that as an excersize to those that want to disable it without a kernel recompile. /head/sys/i386/conf/GENERIC /head/sys/amd64/conf/GENERIC ============================================================== Author alfred Revision 90317 Date 2002-02-06T19:15:34.000000Z Log: Readded the svc_create() and the registering of the local transport, now it is fixed. This should get us a working keyserv again, since it depends on local transport for key exchange. Since we do not have any KEYFILE name hardcoded anymore, set the umask that way that the keyserver socket can be created with with the appropriate permissions. Re-add the accidently removed signal(SIGPIPE, SIG_IGN); to the code which makes sense to avoid SIGPIPE when a disconnect on rpc socket occurs. Submitted by: mbr /head/usr.sbin/keyserv/keyserv.c ============================================================== Author alfred Revision 90316 Date 2002-02-06T19:14:02.000000Z Log: Move the AF_LOCAL check to the AF_INET check since portmap protocol v. 2 only needs this. That also makes it shorter and simpler. Submitted by: mbr /head/lib/libc/rpc/svc_vc.c ============================================================== Author alfred Revision 90299 Date 2002-02-06T16:13:04.000000Z Log: remove -M from RPCCOM, it slipped in with the tirpc upgrade. Submitted by: mbr /head/lib/librpcsvc/Makefile ============================================================== Author alfred Revision 90273 Date 2002-02-05T23:56:29.000000Z Log: balance parens. Submitted by: mbr /head/lib/libc/net/getaddrinfo.c ============================================================== Author alfred Revision 90272 Date 2002-02-05T23:46:37.000000Z Log: For RPC v2 we need to fill in ret->xp_raddr too. INET_6 is not supported in portmap, so we don't have to care about it. Submitted by: mbr /head/lib/libc/rpc/svc_vc.c ============================================================== Author alfred Revision 90271 Date 2002-02-05T23:43:43.000000Z Log: Fix cc -Wall, fix rcsid warnings, add missing prototypes, change prototypes to be the same as in the original sun tirpc code. Remove ()P macro in a file where the mayority had ()P already removed. Add them if the mayority use ()P macros. Submitted by: mbr Requested by: bde /head/lib/libc/rpc/clnt_bcast.c /head/lib/libc/rpc/auth_time.c /head/lib/libc/rpc/rpc_generic.c /head/lib/libc/rpc/key_call.c /head/lib/libc/rpc/svc_vc.c /head/lib/libc/yp/yplib.c /head/lib/libc/rpc/netname.c /head/lib/libc/rpc/getpublickey.c /head/lib/libc/rpc/rpc_soc.c /head/lib/libc/net/getaddrinfo.c /head/lib/libc/rpc/rpcdname.c /head/lib/libc/rpc/rpcb_prot.c /head/include/rpc/rpc_com.h /head/lib/libc/rpc/des_crypt.c /head/lib/libc/rpc/svc_simple.c /head/lib/libc/rpc/svc_auth_des.c /head/lib/libc/rpc/netnamer.c /head/lib/libc/rpc/key_prot_xdr.c /head/lib/libc/rpc/clnt_dg.c /head/include/rpc/auth.h /head/lib/libc/yp/xdryp.c ============================================================== Author alfred Revision 90269 Date 2002-02-05T23:12:51.000000Z Log: Do not call addrinfo on local transport adresses, if returning a server handle (for reuse or whatever). We just return now a handle connected to the local rpcbind. Do not try to call checkcache, if host = NULL; Submitted by: mbr /head/lib/libc/rpc/rpcb_clnt.c ============================================================== Author alfred Revision 90263 Date 2002-02-05T21:23:05.000000Z Log: Fix a race with free'ing vmspaces at process exit when vmspaces are shared. Also introduce vm_endcopy instead of using pointer tricks when initializing new vmspaces. The race occured because of how the reference was utilized: test vmspace reference, possibly block, decrement reference When sharing a vmspace between multiple processes it was possible for two processes exiting at the same time to test the reference count, possibly block and neither one free because they wouldn't see the other's update. Submitted by: green /head/sys/vm/vm_glue.c /head/sys/vm/vm_map.c /head/sys/vm/vm_map.h /head/sys/kern/kern_exit.c /head/sys/vm/vm_extern.h ============================================================== Author alfred Revision 90258 Date 2002-02-05T19:31:16.000000Z Log: style: return(x) -> return (x) Submitted by: mbr /head/lib/libc/rpc/svc_vc.c ============================================================== Author alfred Revision 90257 Date 2002-02-05T19:30:30.000000Z Log: Fix the credential handling code. In NetBSD, Solaris, xprt->xp_p2 pointed directly to the credentials, in FreeBSD xprt->xp_verf.oa_base was a pointer to a struct cmessage, which is defined as follow: struct cmessage { struct cmsghdr cmsg; struct cmsgcred cmcred; }; The credentials were submitted the right way and xprt->xp_p2 pointed to them. But cb_verf.oa_flavor was still empty. There was an assignment missing in svc_recv() in svc_vc.c: msg->rm_call.cb_verf.oa_flavor = AUTH_UNIX; Also + if (addr.ss_family == AF_LOCAL) { + xprt->xp_raddr = *(struct sockaddr_in *)xprt->xp_rtaddr.buf; + xprt->xp_addrlen = sizeof (struct sockaddr_in); + } was missing. But the first seems not to be needed: I guess in rpc.yppasswdd there was a typo: - transp>xp_verf.oa_flavor != AUTH_UNIX) { + rqstp->rq_cred.oa_flavor != AUTH_UNIX) { This little fix does fix the breakage in rpc.yppasswdd :-) + if (msg.msg_controllen == 0 || + (msg.msg_flags & MSG_CTRUNC) != 0) + return (-1); We cannot set the cb_verf.oa_length in svc_recv() of svc_vc.c, the credentials get overwritten then, and that's bad. Submitted by: mbr /head/lib/libc/rpc/svc_vc.c ============================================================== Author alfred Revision 90256 Date 2002-02-05T19:26:04.000000Z Log: The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks were removed and replaced them with clnt_tp_create, now the af_local support is fixed. I also removed the hack how rpcinfo contacted rpcbind, now we can relay on clnt_tp_create create the client-handle for us. Only rpcbind itself needs a hardcoded socket-path. Submitted by: mbr Also add $FreeBSD /head/usr.bin/chpass/pw_yp.c /head/usr.bin/rpcinfo/rpcinfo.c /head/lib/libc/rpc/crypt_client.c /head/usr.bin/passwd/yp_passwd.c ============================================================== Author alfred Revision 90253 Date 2002-02-05T18:51:13.000000Z Log: Fix the breakage in rpc.yppasswd. Readded the svc_create() and the registering of the "unix" transport, now it is fixed. Everywhere, rq_cred is taken to look what authentification we have. We can not be sure that transp>xp_verf.oa_flavor is also filled in. This seems to be the same for all sun source. they take the flavor of rq_cred, instead of transp. Submitted by: mbr /head/usr.sbin/rpc.yppasswdd/yppasswdd_main.c /head/usr.sbin/rpc.yppasswdd/yppasswdd_server.c ============================================================== Author alfred Revision 90247 Date 2002-02-05T18:27:06.000000Z Log: tab in pw_mkdb's arg for style. /head/usr.sbin/rpc.yppasswdd/pw_util.c ============================================================== Author alfred Revision 90246 Date 2002-02-05T18:25:59.000000Z Log: Constify things to unbreak world. Submitted by: David Wolfskill /head/usr.sbin/rpc.yppasswdd/pw_util.c /head/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h ============================================================== Author alfred Revision 90089 Date 2002-02-01T19:25:36.000000Z Log: Remove bogus assertion in dup2 that can lead to panics when kernel threads race for a file slot. dup2(2) incorrectly assumes that if it needs to grow the ofiles array that it will get what it wants. This assertion was valid before we allowed shared filedescriptor tables but is now incorrect. The assertion can trigger superfolous panics if the thread doing a dup2 looses a race with another thread while possibly blocked in the MALLOC call in fdalloc. Another thread may grab the slot we are requesting which makes fdalloc return something other than what we asked for, this will triggering the bogus assertion. MFC after: 2 weeks Reviewed by: phk /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 90088 Date 2002-02-01T19:19:54.000000Z Log: Avoid lock order reversal filedesc/Giant when calling FREE() in fdalloc by unlocking the filedesc before calling FREE(). Submitted by: bde /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 90080 Date 2002-02-01T18:46:58.000000Z Log: If the dhcpd server doesn't provide a domain name or dns servers then don't clobber /etc/resolv.conf Add $FreeBSD. Submitted by: an j. peterson" Verified fix in: dhcp-3.0.1rc6 PR: misc/34455 /head/sbin/dhclient/dhclient-script.sh ============================================================== Author alfred Revision 90079 Date 2002-02-01T18:27:16.000000Z Log: Don't recurse on filedesc lock in chroot_refuse_vdir_fds(). Noticed by: Michael Nottebrock /head/sys/kern/vfs_extattr.c /head/sys/kern/vfs_syscalls.c ============================================================== Author alfred Revision 90028 Date 2002-01-31T16:56:59.000000Z Log: MFC: 1.72 (GLPRISM2 PCI indentification) /stable/4/sys/i386/isa/if_wi.c ============================================================== Author alfred Revision 90027 Date 2002-01-31T16:55:13.000000Z Log: identify GLPRISM2 PCI WaveLAN/IEEE 802.11 Submitted by: Toni Andjelkovic /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 90002 Date 2002-01-30T23:28:25.000000Z Log: include sys/lock.h and sys/mutex.h to make compile. Noticed by: Vincent Poy /head/sys/compat/svr4/svr4_filio.c ============================================================== Author alfred Revision 89998 Date 2002-01-30T20:21:18.000000Z Log: Backport sed -E support (extended regex support). Submitted by: Dan Nelson /stable/3/usr.bin/sed/compile.c /stable/3/usr.bin/sed/sed.1 /stable/3/usr.bin/sed/extern.h /stable/3/usr.bin/sed/main.c ============================================================== Author alfred Revision 89997 Date 2002-01-30T19:53:57.000000Z Log: fget_locked fixes. sort declaration. give paramters names. remove bogus check for negative fd (u_int) cast does this for us. Pointed out by: bde /head/sys/sys/filedesc.h ============================================================== Author alfred Revision 89996 Date 2002-01-30T19:48:25.000000Z Log: Remove unused variables in select(2) from previous delta. Pointed out by: bde /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 89969 Date 2002-01-29T22:54:19.000000Z Log: Attempt to fixup select(2) and poll(2), this should fix some races with other threads as well as speed up the interfaces. To fix the race and accomplish the speedup, remove selholddrop and pollholddrop. The entire concept is somewhat bogus because holding the individual struct file pointers offers us no guarantees that another thread context won't close it on us thereby removing our access to our own reference. Selholddrop and pollholddrop also would do multiple locks and unlocks of mutexes _per-file_ in the fd arrays to be scanned, this needed to be sped up. Instead of using selholddrop and pollholddrop, simply hold the filedesc lock over the selscan and pollscan functions. This should protect us against close(2)'s on the files as reduce the multiple lock/unlock pairs per fd into a single lock over the filedesc. /head/sys/sys/filedesc.h /head/sys/kern/kern_descrip.c /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 89961 Date 2002-01-29T17:12:10.000000Z Log: Backout 1.120, EINVAL isn't a proper error return when the passed fd is negative, the 'pointer' referred to by the manpage is actually the struct file's f_offset field. Pointed out by: bde /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 89938 Date 2002-01-29T01:52:30.000000Z Log: Bump __FreeBSD_version for sendfile fix to properly send 'nbytes' of file when headers are supplied (version 1.104 of src/sys/kern/uipc_syscalls.c) /head/sys/sys/param.h ============================================================== Author alfred Revision 89698 Date 2002-01-23T08:40:35.000000Z Log: in fget() return EINVAL when the descriptor requested is negative. /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 89697 Date 2002-01-23T08:28:55.000000Z Log: Remove holdfp() prototype now that the function no longer exists /head/sys/sys/filedesc.h ============================================================== Author alfred Revision 89696 Date 2002-01-23T08:28:15.000000Z Log: forced commit, Previous revision also removed the holdfp() function from the kernel. /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 89695 Date 2002-01-23T08:22:59.000000Z Log: make pread use fget_read instead of holdfp. /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 89595 Date 2002-01-20T22:58:08.000000Z Log: use mutex pools for "struct file" locking. fix indentation of FILE_LOCK/UNLOCK macros while I'm here. /head/sys/sys/file.h /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 89594 Date 2002-01-20T22:48:49.000000Z Log: use mutex pool mutexes for uidinfo locking. replace mutex_lock calls on uidinfo with macro calls: mtx_lock(&uidp->ui_mtx) -> UIDINFO_LOCK(uidp) Terry Lambert helped with this. /head/sys/sys/resourcevar.h /head/sys/kern/kern_resource.c ============================================================== Author alfred Revision 89536 Date 2002-01-19T03:52:17.000000Z Log: Make compile, remove extra fdrop() calls. Change name of function to what it's supposed to be (s/sys/do) /head/sys/compat/svr4/svr4_stream.c ============================================================== Author alfred Revision 89535 Date 2002-01-19T03:48:38.000000Z Log: make compile, add missing { and variable declaration. /head/sys/compat/svr4/svr4_misc.c ============================================================== Author alfred Revision 89534 Date 2002-01-19T03:45:14.000000Z Log: Semi-backout previous fgetvp change, we need the struct file pointer to perform relative offset calculations, so use fget instead. /head/sys/compat/svr4/svr4_fcntl.c ============================================================== Author alfred Revision 89523 Date 2002-01-19T01:03:54.000000Z Log: undo a bit of the Giant pushdown. fdrop isn't SMP safe as it may call into the file's close routine which definetly is not SMP safe right now, so we hold Giant over calls to fdrop now. /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 89440 Date 2002-01-17T00:12:56.000000Z Log: forced commit for previous revision: PR: bin/33897 /head/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 89439 Date 2002-01-17T00:12:05.000000Z Log: Fix boundry condition in lock management: Alfred, I took a look at retry_blockingfilelocklist() and the solution seemed simple enough. Please correct me if I am wrong. It seems said routine doesn't take into account boundary conditions when putting back file_lock entries into the blocked lock-list. Specifically, it fails when the file_lock being put back is the last element in the list, and when it is the only element in the list. I've included a patch below. Basically, it introduces another variable: pfl, which keeps track of the list item before ifl. That way if nfl is NULL, ifl gets inserted after pfl. If pfl is also NULL, then it gets inserted at the head of the list (since it was the only element in the list). Submitted by: Mike Makonnen Tested by: Thomas Quinot /head/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 89435 Date 2002-01-16T21:33:41.000000Z Log: Fix giant handling in pwrite(2), I forgot to release it when finishing the syscall. /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 89411 Date 2002-01-16T01:31:19.000000Z Log: fix typo, there's uap, just fd /head/sys/compat/svr4/svr4_fcntl.c ============================================================== Author alfred Revision 89377 Date 2002-01-15T00:58:40.000000Z Log: Push down Giant in dup(2) and dup2(2), Giant is only needed when calling closef() in the case of dup2(2) duping over a descriptor and when fdalloc must grow or free a filedesc. /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 89376 Date 2002-01-14T22:03:48.000000Z Log: Fix select on fifos. Backout revision 1.56 and 1.57 of fifo_vnops.c. Introduce a new poll op "POLLINIGNEOF" that can be used to ignore EOF on a fifo, POLLIN/POLLRDNORM is converted to POLLINIGNEOF within the FIFO implementation to effect the correct behavior. This should allow one to view a fifo pretty much as a data source rather than worry about connections coming and going. Reviewed by: bde /head/sys/kern/uipc_socket.c /head/sys/sys/poll.h /head/sys/fs/fifofs/fifo_vnops.c ============================================================== Author alfred Revision 89371 Date 2002-01-14T19:45:03.000000Z Log: Remove a bogus FILEDESC_UNLOCK. Submitted by: tanimura /head/sys/kern/uipc_usrreq.c ============================================================== Author alfred Revision 89338 Date 2002-01-14T09:19:18.000000Z Log: Backout inclusion of sys/queue.h /head/contrib/ipfilter/ipsend/sock.c /head/contrib/ipfilter/ipsend/iptests.c ============================================================== Author alfred Revision 89336 Date 2002-01-14T09:07:15.000000Z Log: Backout inclusion of queue.h since rev 1.38 sys/file.h now has it included in the right order. /head/sys/contrib/ipfilter/netinet/ip_fil.c /head/sys/contrib/ipfilter/netinet/ip_frag.c /head/sys/contrib/ipfilter/netinet/ip_state.c /head/sys/contrib/ipfilter/netinet/ip_auth.c /head/sys/contrib/ipfilter/netinet/ip_log.c /head/sys/contrib/ipfilter/netinet/ip_proxy.c /head/sys/contrib/ipfilter/netinet/fil.c /head/sys/contrib/ipfilter/netinet/ip_nat.c ============================================================== Author alfred Revision 89335 Date 2002-01-14T09:02:33.000000Z Log: Remove requirement for queue.h by consumers by moving its inclusion before other headers that require it. Pointed out by: ru, bde /head/sys/sys/file.h ============================================================== Author alfred Revision 89331 Date 2002-01-14T04:12:54.000000Z Log: add queue.h, now needed for file.h /head/contrib/ipfilter/ipsend/sock.c /head/contrib/ipfilter/ipsend/iptests.c ============================================================== Author alfred Revision 89325 Date 2002-01-14T02:18:59.000000Z Log: don't initialize the mutex in the temporary struct file, the soo_* functions just grab f_data and don't muck with anything else so this should be ok. this fixes a panic with invariants where it thinks we've doubly initialized the filetmp mutex even though all we've done is neglect to bzero it. /head/sys/fs/fifofs/fifo_vnops.c ============================================================== Author alfred Revision 89319 Date 2002-01-14T00:13:45.000000Z Log: Replace ffind_* with fget calls. Make fget MPsafe. Make fgetvp and fgetsock use the fget subsystem to reduce code bloat. Push giant down in fpathconf(). /head/sys/compat/svr4/svr4_filio.c /head/sys/sys/file.h /head/sys/compat/svr4/svr4_fcntl.c /head/sys/kern/kern_descrip.c /head/sys/kern/vfs_extattr.c /head/sys/compat/svr4/svr4_ioctl.c /head/sys/kern/sys_generic.c /head/sys/kern/vfs_syscalls.c /head/sys/compat/linux/linux_ioctl.c /head/sys/vm/vm_mmap.c /head/sys/compat/linux/linux_file.c /head/sys/alpha/osf1/osf1_misc.c /head/sys/i386/ibcs2/ibcs2_fcntl.c /head/sys/dev/tdfx/tdfx_pci.c /head/sys/netgraph/ng_socket.c /head/sys/dev/aac/aac.c /head/sys/i386/ibcs2/ibcs2_ioctl.c /head/sys/fs/portalfs/portal_vnops.c /head/sys/compat/svr4/svr4_stream.c /head/sys/fs/fdescfs/fdesc_vnops.c /head/sys/kern/kern_event.c /head/sys/compat/linux/linux_stats.c ============================================================== Author alfred Revision 89318 Date 2002-01-13T23:51:47.000000Z Log: Add parens around macro args. Forgotten by: dillon /head/sys/sys/socketvar.h ============================================================== Author alfred Revision 89317 Date 2002-01-13T22:15:18.000000Z Log: remove unused socket pointer /head/sys/fs/portalfs/portal_vfsops.c ============================================================== Author alfred Revision 89316 Date 2002-01-13T21:37:49.000000Z Log: Include sys/_lock.h and sys/_mutex.h to reduce namespace pollution. Requested by: jhb /head/sys/sys/filedesc.h /head/sys/sys/file.h /head/sys/fs/portalfs/portal_vfsops.c /head/sys/kern/init_main.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/contrib/ipfilter/netinet/ip_auth.c /head/sys/kern/vfs_cache.c /head/sys/kern/vfs_lookup.c /head/sys/dev/aac/aac.c /head/sys/contrib/ipfilter/netinet/ip_fil.c /head/sys/contrib/ipfilter/netinet/ip_frag.c /head/sys/fs/fifofs/fifo_vnops.c /head/sys/contrib/ipfilter/netinet/ip_state.c /head/sys/contrib/ipfilter/netinet/ip_proxy.c /head/sys/contrib/ipfilter/netinet/ip_log.c /head/sys/fs/fdescfs/fdesc_vnops.c /head/sys/contrib/ipfilter/netinet/ip_nat.c /head/sys/contrib/ipfilter/netinet/fil.c ============================================================== Author alfred Revision 89311 Date 2002-01-13T14:12:16.000000Z Log: Remove unused variable. /head/sys/compat/linux/linux_file.c ============================================================== Author alfred Revision 89310 Date 2002-01-13T12:58:14.000000Z Log: Comment fdrop and fdrop_locked functions. /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 89309 Date 2002-01-13T12:57:02.000000Z Log: Implement ffind_hold using ffind_lock. Recommended by: jhb /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 89308 Date 2002-01-13T12:07:15.000000Z Log: Some of the KSE stuff was accidentally reverted by file locking, fix it. Pointed out by: jhb /head/sys/compat/svr4/svr4_stream.c ============================================================== Author alfred Revision 89307 Date 2002-01-13T12:01:29.000000Z Log: Remove file locking debug cruft. /head/sys/sys/filedesc.h /head/sys/sys/file.h ============================================================== Author alfred Revision 89306 Date 2002-01-13T11:58:06.000000Z Log: SMP Lock struct file, filedesc and the global file list. Seigo Tanimura (tanimura) posted the initial delta. I've polished it quite a bit reducing the need for locking and adapting it for KSE. Locks: 1 mutex in each filedesc protects all the fields. protects "struct file" initialization, while a struct file is being changed from &badfileops -> &pipeops or something the filedesc should be locked. 1 mutex in each struct file protects the refcount fields. doesn't protect anything else. the flags used for garbage collection have been moved to f_gcflag which was the FILLER short, this doesn't need locking because the garbage collection is a single threaded container. could likely be made to use a pool mutex. 1 sx lock for the global filelist. struct file * fhold(struct file *fp); /* increments reference count on a file */ struct file * fhold_locked(struct file *fp); /* like fhold but expects file to locked */ struct file * ffind_hold(struct thread *, int fd); /* finds the struct file in thread, adds one reference and returns it unlocked */ struct file * ffind_lock(struct thread *, int fd); /* ffind_hold, but returns file locked */ I still have to smp-safe the fget cruft, I'll get to that asap. /head/sys/compat/svr4/svr4_filio.c /head/sys/sys/filedesc.h /head/sys/kern/kern_exec.c /head/sys/sys/file.h /head/sys/netsmb/smb_dev.c /head/sys/i386/ibcs2/ibcs2_misc.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/dev/streams/streams.c /head/sys/kern/uipc_syscalls.c /head/sys/kern/vfs_acl.c /head/sys/vm/vm_mmap.c /head/sys/kern/kern_fork.c /head/sys/kern/vfs_cache.c /head/sys/fs/unionfs/union_vfsops.c /head/sys/dev/aac/aac.c /head/sys/i386/ibcs2/ibcs2_stat.c /head/sys/sys/fcntl.h /head/sys/compat/svr4/svr4_stream.c /head/sys/fs/fifofs/fifo_vnops.c /head/sys/fs/fdescfs/fdesc_vnops.c /head/sys/compat/linux/linux_stats.c /head/sys/kern/uipc_usrreq.c /head/sys/kern/subr_acl_posix1e.c /head/sys/fs/portalfs/portal_vfsops.c /head/sys/ufs/ffs/ffs_alloc.c /head/sys/compat/svr4/svr4_fcntl.c /head/sys/kern/init_main.c /head/sys/kern/kern_descrip.c /head/sys/kern/vfs_extattr.c /head/sys/kern/sys_generic.c /head/sys/compat/svr4/svr4_ioctl.c /head/sys/kern/vfs_syscalls.c /head/sys/compat/linux/linux_ioctl.c /head/sys/fs/unionfs/union_subr.c /head/sys/kern/kern_acl.c /head/sys/alpha/osf1/osf1_misc.c /head/sys/compat/linux/linux_file.c /head/sys/kern/vfs_vnops.c /head/sys/i386/ibcs2/ibcs2_fcntl.c /head/sys/dev/tdfx/tdfx_pci.c /head/sys/netgraph/ng_socket.c /head/sys/kern/sys_socket.c /head/sys/kern/vfs_lookup.c /head/sys/i386/ibcs2/ibcs2_ioctl.c /head/sys/alpha/osf1/osf1_mount.c /head/sys/fs/portalfs/portal_vnops.c /head/sys/compat/svr4/svr4_misc.c /head/sys/kern/sys_pipe.c /head/sys/kern/kern_event.c ============================================================== Author alfred Revision 89111 Date 2002-01-09T03:08:47.000000Z Log: holdsock is gone, remove the prototype /head/sys/sys/socketvar.h ============================================================== Author alfred Revision 89110 Date 2002-01-09T02:47:00.000000Z Log: Sockets are called 'so' not 'sp'. /head/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 88726 Date 2001-12-30T23:11:52.000000Z Log: Print open(2) flags in hex instread of decimal for clarity. /head/usr.bin/truss/syscalls.c ============================================================== Author alfred Revision 88633 Date 2001-12-29T07:13:47.000000Z Log: Make AIO a loadable module. Remove the explicit call to aio_proc_rundown() from exit1(), instead AIO will use at_exit(9). Add functions at_exec(9), rm_at_exec(9) which function nearly the same as at_exec(9) and rm_at_exec(9), these functions are called on behalf of modules at the time of execve(2) after the image activator has run. Use a modified version of tegge's suggestion via at_exec(9) to close an exploitable race in AIO. Fix SYSCALL_MODULE_HELPER such that it's archetecuterally neutral, the problem was that one had to pass it a paramater indicating the number of arguments which were actually the number of "int". Fix it by using an inline version of the AS macro against the syscall arguments. (AS should be available globally but we'll get to that later.) Add a primative system for dynamically adding kqueue ops, it's really not as sophisticated as it should be, but I'll discuss with jlemon when he's around. /head/sys/kern/kern_exec.c /head/sys/sys/systm.h /head/sys/modules/Makefile /head/sys/sys/event.h /head/sys/kern/syscalls.master /head/sys/conf/files /head/sys/kern/sysv_sem.c /head/sys/kern/init_sysent.c /head/sys/sys/sysent.h /head/sys/kern/sysv_msg.c /head/sys/kern/sysv_shm.c /head/sys/kern/uipc_sockbuf.c /head/sys/modules/aio/Makefile /head/sys/sys/syscall.mk /head/sys/kern/vfs_aio.c /head/sys/sys/sysproto.h /head/sys/kern/kern_exit.c /head/sys/kern/uipc_socket2.c /head/sys/sys/aio.h /head/sys/kern/syscalls.c /head/sys/sys/syscall.h /head/sys/modules/aio /head/sys/kern/kern_event.c ============================================================== Author alfred Revision 88547 Date 2001-12-27T20:16:21.000000Z Log: brace by itself after function declaration. Mandated by: style(9) Pointed out by: rwatson /head/sys/kern/genassym.sh ============================================================== Author alfred Revision 88546 Date 2001-12-27T20:12:03.000000Z Log: put function return types on a line by themselves as per style(9) /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 88545 Date 2001-12-27T20:05:47.000000Z Log: Make it explicit that the opening brace of a function body be on a line by itself. /head/share/man/man9/style.9 ============================================================== Author alfred Revision 88463 Date 2001-12-24T22:27:04.000000Z Log: backout rev 1.14, it's breaking things. /head/bin/sh/redir.c ============================================================== Author alfred Revision 88413 Date 2001-12-22T12:35:03.000000Z Log: declare locally used globals as static. /head/sbin/fsck_ffs/inode.c ============================================================== Author alfred Revision 87995 Date 2001-12-15T20:03:52.000000Z Log: MFC: 1.6 sendfile wrap fix. /stable/4/lib/libc_r/uthread/uthread_sendfile.c ============================================================== Author alfred Revision 87781 Date 2001-12-13T04:21:18.000000Z Log: rpc.lockd needs rpc.statd to be running for it to start up properly. so swap the order. Also allow rpc.lockd and rpc.statd to be turned on if nfsclient is enabled. They are needed to provide client side locking support. PR: conf/27811 /head/etc/rc.d/netoptions /head/etc/rc.network /head/etc/rc.d/routing /head/etc/rc.d/network1 /head/etc/rc.d/network2 /head/etc/rc.d/network3 /head/etc/network.subr ============================================================== Author alfred Revision 87725 Date 2001-12-12T09:35:33.000000Z Log: Fix select on named pipes without a reader. PR: kern/19871 MFC after: 1 month /head/sys/fs/fifofs/fifo_vnops.c ============================================================== Author alfred Revision 87720 Date 2001-12-12T08:02:24.000000Z Log: Fix a number of subtle and evil bugs in the libc_r wrapping of sendfile(2). o) Since we unwrap the sendfile syscall, check the return value of writev(2) to see if it didn't complete all the data. Previously if only a partial writev() succeeded, it would proceed to sendfile(2) even though the headers weren't completely sent. o) Properly adjust the "bytes to send" to take into account sendfile(2)'s behaviour of counting the headers against the bytes to be transfered from the file. o) Correct the problem where EAGAIN was being returned from _sys_sendfile(2) however the wrapper didn't update the 'sent bytes' parameter to take into account for it. This is because sendfile can return EAGAIN even though it has actually transfered data. Special thanks to Justin Erenkrantz for bringing this to my attention and giving an excellent way to reproduce the problem. PR: kern/32684 MFC After: 1 week /head/lib/libc_r/uthread/uthread_sendfile.c ============================================================== Author alfred Revision 87539 Date 2001-12-08T23:46:38.000000Z Log: Replace %i formatting characters with %d since printf(9) doesn't support %i. Someone forgot the long flamefest I lost to add %i to kernel printf. /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 87252 Date 2001-12-03T00:25:04.000000Z Log: More kernel vfs docco. Xref vfs_mount(9) from vfs_mount(9) Submitted by: Chad David PR: docs/32431 /head/share/man/man9/VFS_SET.9 /head/share/man/man9/vfs_getvfs.9 /head/share/man/man9/vfs_getnewfsid.9 /head/share/man/man9/vfs_rootmountalloc.9 /head/share/man/man9/vfs_mount.9 /head/share/man/man9/vfsconf.9 /head/share/man/man9/Makefile /head/share/man/man9/vfs_mountedon.9 ============================================================== Author alfred Revision 87211 Date 2001-12-02T12:47:25.000000Z Log: make LOCKF_DEBUG kernel option work (sorta) Submitted by: Maxim Konovalov PR: kern/32267 /head/sys/kern/kern_lockf.c ============================================================== Author alfred Revision 87199 Date 2001-12-02T11:10:46.000000Z Log: prototype functions and fix some line wrapping /head/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 87182 Date 2001-12-02T02:13:35.000000Z Log: Add manpages describing various vfs and vm APIs. Submitted by: Chad David /head/share/man/man9/vflush.9 /head/share/man/man9/vm_page_grab.9 /head/share/man/man9/vm_page_unmanage.9 /head/share/man/man9/vhold.9 /head/share/man/man9/vgone.9 /head/share/man/man9/vm_page_dontneed.9 /head/share/man/man9/vm_page_bits.9 /head/share/man/man9/vfs_timestamp.9 /head/share/man/man9/getnewvnode.9 /head/share/man/man9/Makefile ============================================================== Author alfred Revision 87137 Date 2001-11-30T19:54:05.000000Z Log: MFC: 1.64 (larger default tcp send/recieve buffers) /stable/4/sys/netinet/tcp_usrreq.c ============================================================== Author alfred Revision 87114 Date 2001-11-30T06:24:34.000000Z Log: Back out my 'fix', resid is different for strategy than for write /head/lib/libstand/write.c ============================================================== Author alfred Revision 87112 Date 2001-11-30T05:59:47.000000Z Log: Make the same fix for writes to RAW objects. /head/lib/libstand/write.c ============================================================== Author alfred Revision 87111 Date 2001-11-30T05:54:30.000000Z Log: write should return the number of bytes written, not 0 on success. Submitted by: Jonathan Mini PR: kern/32350 /head/lib/libstand/write.c ============================================================== Author alfred Revision 87096 Date 2001-11-29T17:36:45.000000Z Log: Fold ANDREW_LOCKD into -current. /head/usr.sbin/rpc.lockd/lockd.c /head/usr.sbin/rpc.lockd/lockd.h /head/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 86641 Date 2001-11-20T06:13:53.000000Z Log: This completes the all partial file locking under NFS. The underlying file is still completely covered by a flock(2) style lock, but we'll tackle that at a later date. Submitted by: "Andrew P. Lentvorski" /cvs2svn/branches/ANDREW_LOCKD/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 86537 Date 2001-11-18T05:08:19.000000Z Log: Cleanup. use LIST_FOREACH, add prototypes (functions should be made static probably), change DEBUG=1 to LOCKD_DEBUG, K&R function instantiation for functions with long args lists, Move comments about functions from within to above the function, Simplified some if/else logic and reduced nested blocks. parens around 'return' argument (return FOO -> return (FOO)) /cvs2svn/branches/ANDREW_LOCKD/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 86529 Date 2001-11-18T03:50:38.000000Z Log: Re-enable statd code. Submitted by: "Andrew P. Lentvorski" /cvs2svn/branches/ANDREW_LOCKD/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 86517 Date 2001-11-18T00:41:15.000000Z Log: This adds in the full HW locking capability and should now make my rewrite of the rpc.lockd fully compliant with the old file locking semantics. Andrew will dig into the statd code next and then will attack the split locking. This also backs out a lot of the work I've done on making the code more conformant with non-written style rules, but we'll revisit that later. Submitted by: "Andrew P. Lentvorski" /cvs2svn/branches/ANDREW_LOCKD/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 86397 Date 2001-11-15T09:35:51.000000Z Log: Bring in Andrew P. Lentvorski initial work on making lockd work, this should get us closer so cleaner implementation. Submitted by: Andrew P. Lentvorski /cvs2svn/branches/ANDREW_LOCKD/usr.sbin/rpc.lockd/lockd.c /cvs2svn/branches/ANDREW_LOCKD/usr.sbin/rpc.lockd/lockd.h /cvs2svn/branches/ANDREW_LOCKD/usr.sbin/rpc.lockd/lockd_lock.c ============================================================== Author alfred Revision 86319 Date 2001-11-13T11:24:23.000000Z Log: Turn on NO_WERROR and set WARNS to 1. Fix the WARNS 1 warnings except unused variables. Add prototype for log_netobj(). Don't compare signed/unsigned. Cast u_int64_t to 'unsigned long long' and print using %llu. Fix constness of string arrays. Use a cast to avoid an unused parameter in a signal handler. alarm(2) can't fail, so don't check for it. ANSI'ify some functions. /head/usr.sbin/rpc.lockd/Makefile /head/usr.sbin/rpc.lockd/lockd.c /head/usr.sbin/rpc.lockd/lockd_lock.c /head/usr.sbin/rpc.lockd/lockd_lock.h /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 86318 Date 2001-11-13T11:08:29.000000Z Log: Have rpcgen output the prototypes for the dispatch tables /head/usr.bin/rpcgen/rpc_hout.c ============================================================== Author alfred Revision 86317 Date 2001-11-13T09:07:31.000000Z Log: NFS split forgot to prototype nfsclnt() syscall, do it. /head/include/unistd.h ============================================================== Author alfred Revision 86300 Date 2001-11-12T16:34:59.000000Z Log: fix parameters to lock_answer(). Submitted by: Timo Geusch /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 86299 Date 2001-11-12T16:29:45.000000Z Log: Fixup for WARNS. /head/usr.sbin/rpc.lockd/kern.c ============================================================== Author alfred Revision 86285 Date 2001-11-12T02:43:56.000000Z Log: note that 'nolockd' can't be used when updating mount flags /head/sbin/mount_nfs/mount_nfs.8 ============================================================== Author alfred Revision 86284 Date 2001-11-12T02:33:52.000000Z Log: Allow users to use the 'nolockd' or -L options with mount_nfs in order to avoid the need for rpc.lockd to perform client locks. Using this option a user can revert back to using local locks for NFS mounts like we did before we had rpc.lockd. /head/sys/nfsclient/nfs_vnops.c /head/sbin/mount_nfs/mount_nfs.8 /head/sys/nfsclient/nfs_vfsops.c /head/sbin/mount_nfs/mount_nfs.c /head/sys/nfsclient/nfsargs.h ============================================================== Author alfred Revision 86279 Date 2001-11-11T23:40:10.000000Z Log: Drop privs while servicing kernel lock requests. Restore umask used before FIFO creation. If opening the FIFO fails, exit. Properly check the return value of open (use == -1 instead of < 0). /head/usr.sbin/rpc.lockd/kern.c ============================================================== Author alfred Revision 86278 Date 2001-11-11T22:39:07.000000Z Log: turn vn_open() into a wrapper around vn_open_cred() which allows one to perform a vn_open using temporary/other/fake credentials. Modify the nfs client side locking code to use vn_open_cred() passing proc0's ucred instead of the old way which was to temporary raise privs while running vn_open(). This should close the race hopefully. /head/sys/kern/vfs_vnops.c /head/sys/nfsclient/nfs_lock.c /head/sys/sys/vnode.h ============================================================== Author alfred Revision 86188 Date 2001-11-08T10:37:32.000000Z Log: leverage fixed fifo implementation (rev 1.56 of src/sys/fs/fifofs/fifo_vnops.c) to serve locks better, my previous workaround for lack of decent fifo system wasn't cutting it, particularly the kernel would send a message down the fifo and immediately close it, this would lead to delayed unlock requests being seen by the lockd causing all sorts of badness. Basically, don't reopen the fifo, just select(2) on it. /head/usr.sbin/rpc.lockd/kern.c ============================================================== Author alfred Revision 86187 Date 2001-11-08T10:34:21.000000Z Log: use syslog rather than printf so we can see what's going on in debug mode /head/usr.sbin/rpc.lockd/kern.c ============================================================== Author alfred Revision 86186 Date 2001-11-08T10:33:41.000000Z Log: style fixes, fix line wrap and function declaration /head/usr.sbin/rpc.lockd/kern.c ============================================================== Author alfred Revision 86185 Date 2001-11-08T10:28:32.000000Z Log: Switch behavior of fifos to more closely match what goes on in other OSes. Basically FIFOs become a real pain to abuse as a rendevous point without this change because you can't really select(2) on them because they always return ready even though there is no writer (to signal EOF). Obtained from: BSD/os /head/sys/fs/fifofs/fifo_vnops.c ============================================================== Author alfred Revision 85861 Date 2001-11-02T09:27:16.000000Z Log: In order to perform faster when doing "head -n", use a pair of fgetln/fwrite instead of getc/putchar, this seems about five times faster. /head/usr.bin/head/head.c ============================================================== Author alfred Revision 85859 Date 2001-11-02T09:21:11.000000Z Log: change a global into a local, misc style fixes /head/usr.bin/head/head.c ============================================================== Author alfred Revision 85138 Date 2001-10-19T07:52:11.000000Z Log: s/kernal/kernel /head/lib/libc/rpc/svc_raw.c /head/lib/libc/rpc/clnt_raw.c ============================================================== Author alfred Revision 85114 Date 2001-10-18T19:37:57.000000Z Log: Update to note that rpc.statd and rpc.lockd are now needed for client side NFS mounts. Stumbled upon by: rwatson /head/etc/defaults/rc.conf ============================================================== Author alfred Revision 85018 Date 2001-10-16T00:49:19.000000Z Log: Fix reference to aio_read, should be aio_write /head/lib/libc/sys/aio_write.2 ============================================================== Author alfred Revision 84923 Date 2001-10-14T18:36:35.000000Z Log: Implement partial-file NFS lock testing. Submitted by: "Andrew P. Lentvorski" /head/usr.sbin/rpc.lockd/lockd_lock.c /head/usr.sbin/rpc.lockd/lockd_lock.h /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 84761 Date 2001-10-10T12:50:22.000000Z Log: MFC: 1.8 (don't get stuck if a signal interrupts us during wait4) /stable/4/lib/libc/stdlib/system.c ============================================================== Author alfred Revision 84418 Date 2001-10-03T11:03:59.000000Z Log: Forced commit: Previous delta was, Tested by: David Taylor and should be MFC after: 1 week /head/lib/libc/stdlib/system.c ============================================================== Author alfred Revision 84417 Date 2001-10-03T11:01:39.000000Z Log: Avoid getting stuck in system(3) when the internal call to wait4() is interrupted by saving the pid. The old code would assign the return value to pid which would trash it, to fix the problem save a copy of the pid to be used as the paramter to wait4(). Submitted by: Toshihiko ARAI /head/lib/libc/stdlib/system.c ============================================================== Author alfred Revision 84414 Date 2001-10-03T08:27:45.000000Z Log: Add "device urio" (USB mp3 player) to LINT. Pointed out by: Andrew J Caines /stable/4/sys/i386/conf/LINT ============================================================== Author alfred Revision 84240 Date 2001-10-01T03:45:07.000000Z Log: Tell people why they might want to disable ACPI and how to do it. Tell people how to fix the 4.x compatibility issue. /head/UPDATING ============================================================== Author alfred Revision 84036 Date 2001-09-27T17:43:06.000000Z Log: MFC support for the Diamond Rio MP3 player. Hardware provided by: Andrew J Caines /stable/4/sys/dev/usb/urio.c /stable/4/sys/conf/files /stable/4/sys/i386/conf/GENERIC /stable/4/sys/dev/usb/rio500_usb.h ============================================================== Author alfred Revision 84005 Date 2001-09-27T06:01:20.000000Z Log: This driver can talk to the Rio600 as well, make it happen. Hardware (and patience) provided by: Andrew J Caines /head/sys/dev/usb/urio.c ============================================================== Author alfred Revision 82966 Date 2001-09-04T15:25:23.000000Z Log: Fix sysctl comment field, s/the the/then the Pointed out by: ru /head/sys/netinet/if_ether.c ============================================================== Author alfred Revision 82893 Date 2001-09-03T21:53:15.000000Z Log: Allow disabling of "arp moved" messages. Submitted by: Stephen Hurd /head/sys/netinet/if_ether.c ============================================================== Author alfred Revision 82488 Date 2001-08-29T08:46:52.000000Z Log: MFC: "netgrent" functions a home in netdb.h Approved by: jkh /stable/4/include/netdb.h /stable/4/sbin/mountd/mountd.c /stable/4/lib/libc/gen/getnetgrent.3 /stable/4/usr.sbin/amd/include/config.h ============================================================== Author alfred Revision 81029 Date 2001-08-02T07:54:58.000000Z Log: Fixups for the initial allocation by dillon: 1) allocate fewer buckets 2) when failing to allocate swap zone, keep reducing the zone by a third rather than a half in order to reduce the chance of allocating way too little. I also moved around some code for readability. Suggested by: dillon Reviewed by: dillon /head/sys/vm/swap_pager.c ============================================================== Author alfred Revision 80851 Date 2001-08-01T06:39:36.000000Z Log: Fake the NLMv4 protocol. This allows lockd to 'service' nfsv3 clients. Submitted by: Dan Nelson /stable/4/include/rpcsvc/nlm_prot.x /stable/4/usr.sbin/rpc.lockd/procs.c /stable/4/usr.sbin/rpc.lockd/Makefile /stable/4/usr.sbin/rpc.lockd/lockd.c /stable/4/usr.sbin/rpc.lockd/test.c ============================================================== Author alfred Revision 80679 Date 2001-07-30T22:14:23.000000Z Log: More updates from Chad. Submitted by: Chad David Reviewed by: sheldonh /head/share/man/man9/vm_page_deactivate.9 /head/share/man/man9/vm_page_copy.9 /head/share/man/man9/pbuf.9 /head/share/man/man9/vm_page_free.9 /head/share/man/man9/vm_page_cache.9 /head/share/man/man9/vm_page_insert.9 /head/share/man/man9/vm_page_hold.9 /head/share/man/man9/vm_page_rename.9 /head/share/man/man9/Makefile ============================================================== Author alfred Revision 80136 Date 2001-07-22T10:18:53.000000Z Log: remove -*- nroff -*- thingy /head/share/man/man9/DELAY.9 ============================================================== Author alfred Revision 79846 Date 2001-07-18T06:10:33.000000Z Log: Install and provide MLINKS for: pbuf.9 vm_page_alloc.9 vm_page_copy.9 vm_page_flag.9 vm_page_hold.9 vm_page_insert.9 vm_page_io.9 vm_page_lookup.9 vm_page_protect.9 vm_page_sleep_busy.9 vm_page_wakeup.9 vm_page_wire.9 vm_page_zero_fill.9 vm_set_page_size.9 /head/share/man/man9/Makefile ============================================================== Author alfred Revision 79845 Date 2001-07-18T06:09:13.000000Z Log: Document some of the kernel vm_page API as well as the pbuf API. Submitted by: Chad David /head/share/man/man9/vm_page_flag.9 /head/share/man/man9/vm_page_lookup.9 /head/share/man/man9/vm_page_alloc.9 /head/share/man/man9/vm_page_copy.9 /head/share/man/man9/vm_page_sleep_busy.9 /head/share/man/man9/vm_page_wakeup.9 /head/share/man/man9/pbuf.9 /head/share/man/man9/vm_page_protect.9 /head/share/man/man9/vm_page_insert.9 /head/share/man/man9/vm_page_zero_fill.9 /head/share/man/man9/vm_set_page_size.9 /head/share/man/man9/vm_page_hold.9 /head/share/man/man9/vm_page_wire.9 /head/share/man/man9/vm_page_io.9 ============================================================== Author alfred Revision 79574 Date 2001-07-11T03:51:44.000000Z Log: I have gone through all of the functions and added the correct includes and changed the functions as requested. Submitted by: Chad David /head/share/man/man9/cdevsw_remove.9 /head/share/man/man9/BUF_LOCKINIT.9 /head/share/man/man9/BUF_REFCNT.9 /head/share/man/man9/vfs_mount.9 /head/share/man/man9/BUF_LOCK.9 /head/share/man/man9/lockmgr_printinfo.9 /head/share/man/man9/BUF_LOCKFREE.9 /head/share/man/man9/BUF_UNLOCK.9 /head/share/man/man9/devsw.9 /head/share/man/man9/vn_isdisk.9 /head/share/man/man9/lockstatus.9 /head/share/man/man9/vinvalbuf.9 /head/share/man/man9/lockmgr.9 /head/share/man/man9/vfs_busy.9 /head/share/man/man9/lockcount.9 /head/share/man/man9/lockdestroy.9 /head/share/man/man9/cdevsw_add.9 /head/share/man/man9/BUF_TIMELOCK.9 /head/share/man/man9/vfs_unbusy.9 ============================================================== Author alfred Revision 79515 Date 2001-07-10T07:42:35.000000Z Log: Sort MAN= section. /head/share/man/man9/Makefile ============================================================== Author alfred Revision 79513 Date 2001-07-10T07:28:11.000000Z Log: Install: cdevsw_add.9 cdevsw_remove.9 devsw.9 major.9 minor.9 umajor.9 uminor.9 vn_isdisk.9 /head/share/man/man9/Makefile ============================================================== Author alfred Revision 79512 Date 2001-07-10T07:25:18.000000Z Log: Document some of the dev_t related APIs. Submitted by: Chad David /head/share/man/man9/cdevsw_remove.9 /head/share/man/man9/devsw.9 /head/share/man/man9/major.9 /head/share/man/man9/uminor.9 /head/share/man/man9/vn_isdisk.9 /head/share/man/man9/umajor.9 /head/share/man/man9/cdevsw_add.9 /head/share/man/man9/minor.9 ============================================================== Author alfred Revision 79507 Date 2001-07-10T04:35:22.000000Z Log: Link in new manpages: BUF_LOCK.9 BUF_LOCKFREE.9 BUF_LOCKINIT.9 BUF_REFCNT.9 BUF_TIMELOCK.9 BUF_UNLOCK.9 lockcount.9 lockdestroy.9 lockmgr.9 lockmgr_printinfo.9 lockstatus.9 /head/share/man/man9/Makefile ============================================================== Author alfred Revision 79506 Date 2001-07-10T04:31:33.000000Z Log: Note that this function is for debugging purposes. /head/share/man/man9/lockmgr_printinfo.9 ============================================================== Author alfred Revision 79505 Date 2001-07-10T04:29:24.000000Z Log: Fix explanation of LK_SLEEPFAIL option. Remove extra period from end of sentance. /head/share/man/man9/lockmgr.9 ============================================================== Author alfred Revision 79504 Date 2001-07-10T04:27:03.000000Z Log: fix typos: s/BUF_LOCK/BUF_TIMELOCK, order xrefs. /head/share/man/man9/BUF_TIMELOCK.9 ============================================================== Author alfred Revision 79503 Date 2001-07-10T04:22:14.000000Z Log: Document some of the kernel API dealing with locks used primarily by VFS. Submitted by: Chad David /head/share/man/man9/BUF_UNLOCK.9 /head/share/man/man9/BUF_LOCKINIT.9 /head/share/man/man9/lockstatus.9 /head/share/man/man9/BUF_REFCNT.9 /head/share/man/man9/lockmgr.9 /head/share/man/man9/lockcount.9 /head/share/man/man9/lockdestroy.9 /head/share/man/man9/BUF_TIMELOCK.9 /head/share/man/man9/BUF_LOCK.9 /head/share/man/man9/BUF_LOCKFREE.9 /head/share/man/man9/lockmgr_printinfo.9 ============================================================== Author alfred Revision 79447 Date 2001-07-09T07:15:51.000000Z Log: Link in manpages for vfs_busy, vfs_mount, vfs_unbusy, and vinvalbuf. /head/share/man/man9/Makefile ============================================================== Author alfred Revision 79446 Date 2001-07-09T06:47:10.000000Z Log: Document kernel API for vfs_busy(), vfs_mount(), vfs_unbusy(), and vinvalbuf(). Submitted by: Chad David /head/share/man/man9/vinvalbuf.9 /head/share/man/man9/vfs_busy.9 /head/share/man/man9/vfs_mount.9 /head/share/man/man9/vfs_unbusy.9 ============================================================== Author alfred Revision 77140 Date 2001-05-24T18:06:22.000000Z Log: whitespace/style /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 77082 Date 2001-05-23T22:17:28.000000Z Log: pmap_mapdev needs the vm_mtx, aquire it if not already locked /head/sys/amd64/amd64/pmap.c /head/sys/i386/i386/pmap.c ============================================================== Author alfred Revision 77081 Date 2001-05-23T22:13:58.000000Z Log: lock vm while playing with pmap /head/sys/i386/isa/isa_dma.c /head/sys/amd64/isa/isa_dma.c ============================================================== Author alfred Revision 77037 Date 2001-05-23T10:30:25.000000Z Log: ufs_bmaparray() may block on IO, drop vm mutex and aquire Giant when calling it from the pager routine /head/sys/ufs/ufs/ufs_readwrite.c ============================================================== Author alfred Revision 77036 Date 2001-05-23T10:28:11.000000Z Log: aquire Giant when playing with the buffercache and doing IO. use msleep against the vm mutex while waiting for a page IO to complete. /head/sys/vm/swap_pager.c ============================================================== Author alfred Revision 77035 Date 2001-05-23T10:26:36.000000Z Log: aquire vm_mutex a little bit earlier to protect a pmap call. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 77010 Date 2001-05-22T19:01:26.000000Z Log: aquire vm mutex in swp_pager_async_iodone. Don't call swp_pager_async_iodone with the mutex held. /head/sys/vm/swap_pager.c ============================================================== Author alfred Revision 76950 Date 2001-05-22T00:58:20.000000Z Log: Remove KASSERT test for sleeping on mv_mtx, instead let WITNESS catch it. Requested by: jhb /head/sys/kern/kern_synch.c ============================================================== Author alfred Revision 76908 Date 2001-05-20T20:37:47.000000Z Log: Aquire vm mutex when releasing sysv shm segments. Obtained from: Dima Dorfman /head/sys/kern/sysv_shm.c ============================================================== Author alfred Revision 76830 Date 2001-05-19T01:40:48.000000Z Log: remove my private assertions from tsleep. add one assertion to ensure we don't sleep while holding vm. /head/sys/kern/kern_synch.c ============================================================== Author alfred Revision 76829 Date 2001-05-19T01:37:12.000000Z Log: Regen syscalls that were made mpsafe via vm_mtx obreak, getpagesize, sbrk, sstk, mmap, ovadvise, munmap, mprotect, madvise, mincore, mmap, mlock, munlock, minherit, msync, mlockall, munlockall /head/sys/sys/syscall-hide.h /head/sys/sys/sysproto.h /head/sys/kern/init_sysent.c /head/sys/kern/syscalls.c /head/sys/sys/syscall.h /head/sys/sys/syscall.mk ============================================================== Author alfred Revision 76827 Date 2001-05-19T01:28:09.000000Z Log: Introduce a global lock for the vm subsystem (vm_mtx). vm_mtx does not recurse and is required for most low level vm operations. faults can not be taken without holding Giant. Memory subsystems can now call the base page allocators safely. Almost all atomic ops were removed as they are covered under the vm mutex. Alpha and ia64 now need to catch up to i386's trap handlers. FFS and NFS have been tested, other filesystems will need minor changes (grabbing the vm lock when twiddling page properties). Reviewed (partially) by: jake, jhb /head/sys/coda/coda_namecache.c /head/sys/pci/agp_sis.c /head/sys/vm/vm_meter.c /head/sys/kern/kern_exec.c /head/sys/amd64/amd64/mem.c /head/sys/nfs/nfs_bio.c /head/sys/pci/agp_ali.c /head/sys/nfs/nfs_subs.c /head/sys/fs/specfs/spec_vnops.c /head/sys/dev/agp/agp_amd.c /head/sys/pci/agp_intel.c /head/sys/vm/vm_mmap.c /head/sys/kern/kern_fork.c /head/sys/vm/vm_glue.c /head/sys/i386/linux/linux_sysvec.c /head/sys/pci/agp_i810.c /head/sys/nfs/nfs_common.c /head/sys/vm/vm_init.c /head/sys/amd64/amd64/vm_machdep.c /head/sys/miscfs/union/union_subr.c /head/sys/pci/agp_amd.c /head/sys/kern/kern_resource.c /head/sys/kern/init_main.c /head/sys/nfsclient/nfs_subs.c /head/sys/vm/vm_unix.c /head/sys/kern/vfs_extattr.c /head/sys/fs/coda/coda_namecache.c /head/sys/miscfs/procfs/procfs_mem.c /head/sys/kern/sysv_shm.c /head/sys/compat/pecoff/imgact_pecoff.c /head/sys/vm/vnode_pager.c /head/sys/kern/link_elf.c /head/sys/amd64/amd64/busdma_machdep.c /head/sys/vm/vm_pager.c /head/sys/amd64/amd64/pmap.c /head/sys/i386/i386/machdep.c /head/sys/vm/vm_kern.c /head/sys/vm/default_pager.c /head/sys/miscfs/specfs/spec_vnops.c /head/sys/vm/vm_pager.h /head/sys/kern/vfs_subr.c /head/sys/vm/vm_pageout.c /head/sys/nfsserver/nfs_srvsubs.c /head/sys/dev/agp/agp.c /head/sys/compat/linprocfs/linprocfs_misc.c /head/sys/amd64/amd64/trap.c /head/sys/dev/agp/agp_i810.c /head/sys/fs/procfs/procfs_map.c /head/sys/kern/subr_trap.c /head/sys/i386/i386/mem.c /head/sys/vm/vm_map.c /head/sys/kern/kern_synch.c /head/sys/nfsclient/nfs_bio.c /head/sys/kern/syscalls.master /head/sys/vm/vm_map.h /head/sys/vm/swap_pager.c /head/sys/pci/agp.c /head/sys/i386/i386/vm_machdep.c /head/sys/kern/vfs_bio.c /head/sys/kern/kern_exit.c /head/sys/kern/imgact_elf.c /head/sys/vm/vm_object.c /head/sys/dev/agp/agp_via.c /head/sys/vm/vm_fault.c /head/sys/vm/vm_object.h /head/sys/vm/vm_zone.c /head/sys/vm/vm_page.c /head/sys/kern/vfs_default.c /head/sys/vm/vm_page.h /head/sys/kern/subr_blist.c /head/sys/miscfs/procfs/procfs_map.c /head/sys/vm/vm.h /head/sys/kern/vfs_syscalls.c /head/sys/dev/agp/agp_sis.c /head/sys/kern/link_elf_obj.c /head/sys/fs/unionfs/union_subr.c /head/sys/dev/md/md.c /head/sys/i386/i386/busdma_machdep.c /head/sys/i386/i386/pmap.c /head/sys/dev/agp/agp_ali.c /head/sys/compat/linprocfs/linprocfs.c /head/sys/pci/agp_via.c /head/sys/vm/phys_pager.c /head/sys/dev/agp/agp_intel.c /head/sys/amd64/amd64/machdep.c /head/sys/i386/i386/trap.c /head/sys/kern/sys_pipe.c /head/sys/kern/imgact_aout.c /head/sys/ufs/ufs/ufs_readwrite.c /head/sys/kern/vfs_cluster.c /head/sys/fs/procfs/procfs_mem.c ============================================================== Author alfred Revision 76760 Date 2001-05-17T19:47:09.000000Z Log: Cleanup Remove comment about setting error for reads on EOF, read returns 0 on EOF so the code should be ok. Remove non-effective priority boost, PRIO+1 doesn't do anything (according to McKusick), if a real priority boost is needed it should have been +4. Style fixes: .) return foo -> return (foo) .) FLAG1|FlAG2 -> FLAG1 | FlAG2 .) wrap long lines .) unwrap short lines .) for(i=0;i=foo;i++) -> for (i = 0; i=foo; i++) .) remove braces for some conditionals with a single statement .) fix continuation lines. md5 couldn't verify the binary because some code had to be shuffled around to address the style issues. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 76756 Date 2001-05-17T18:22:58.000000Z Log: initialize pipe pointers /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 76754 Date 2001-05-17T17:59:28.000000Z Log: pipe_create has to zero out the select record earlier to avoid returning a half-initialized pipe and causing pipeclose() to follow a junk pointer. Discovered by: "Nick S" /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 76684 Date 2001-05-16T16:34:50.000000Z Log: MFC: 1.73 (safer bufferspace allocation) /stable/4/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 76666 Date 2001-05-16T02:52:06.000000Z Log: remove include of ipl.h because it no longer exists /head/sys/kern/subr_taskqueue.c ============================================================== Author alfred Revision 76394 Date 2001-05-09T03:40:37.000000Z Log: Fix some of the handling in the pam module, don't unregister things that were never registered. At the same time handle a failure from pam_setcreds with a bit more paranioa than the previous fix. Sync a bit with the "Portable OpenSSH" work to make comparisons a easier. /head/crypto/openssh/auth-pam.c ============================================================== Author alfred Revision 76393 Date 2001-05-09T03:38:02.000000Z Log: Unbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while and Kirk finally has ditched them. While I'm here also ditch FSHLOCK. /head/usr.sbin/pstat/pstat.8 /head/usr.sbin/pstat/pstat.c ============================================================== Author alfred Revision 76364 Date 2001-05-08T09:09:18.000000Z Log: Remove an 'optimization' I hope to never see again. The pipe code could not handle running out of kva, it would panic if that happened. Instead return ENFILE to the application which is an acceptable error return from pipe(2). There was some slightly tricky things that needed to be worked on, namely that the pipe code can 'realloc' the size of the buffer if it detects that the pipe could use a bit more room. However if it failed the reallocation it could not cope and would panic. Fix this by attempting to grow the pipe while holding onto our old resources. If all goes well free the old resources and use the new ones, otherwise continue to use the smaller buffer already allocated. While I'm here add a few blank lines for style(9) and remove 'register'. /head/sys/kern/sys_pipe.c ============================================================== Author alfred Revision 76142 Date 2001-04-30T01:01:52.000000Z Log: When panic()'ing because of recursion on a non-recursive mutex, print out the location it was initially locked. Ok'd by: jake /head/sys/kern/subr_witness.c ============================================================== Author alfred Revision 76118 Date 2001-04-29T03:10:24.000000Z Log: Remove incorrect comment. Submitted by: quinot@inf.enst.fr PR: kern/26893 /head/sys/nfsclient/nfs_vnops.c /head/sys/nfs/nfs_vnops.c ============================================================== Author alfred Revision 76100 Date 2001-04-28T12:11:01.000000Z Log: Instead of asserting that a mutex is not still locked after unlocking it, assert that the mutex is owned and not recursed prior to unlocking it. This should give a clearer diagnostic when a programming error is caught. /head/sys/kern/kern_lock.c ============================================================== Author alfred Revision 76093 Date 2001-04-28T04:26:32.000000Z Log: Distinguish between rpc version numbers in the client cache to avoid replying on the wrong port. /head/usr.sbin/rpc.lockd/lock_proc.c ============================================================== Author alfred Revision 76092 Date 2001-04-28T02:19:15.000000Z Log: handles.c belonged to the old stub lockd, nuke it. /head/usr.sbin/rpc.lockd/handles.c ============================================================== Author alfred Revision 76091 Date 2001-04-28T02:17:33.000000Z Log: procs.c belonged to the old stub lockd, nuke it. /head/usr.sbin/rpc.lockd/procs.c ============================================================== Author alfred Revision 76084 Date 2001-04-27T22:24:45.000000Z Log: Address a number of problems with sysctl_vm_zone(). The zone allocator's locks should be leaflocks, meaning that they should never be held when entering into another subsystem, however the sysctl grabs the zone global mutex and individual zone mutexes while holding the lock it calls SYSCTL_OUT which recurses into the VM subsystem in order to wire user memory to do a safe copy. This can block and cause lock order reversals. To fix this: lock zone global. get a count of the number of zones. unlock global. allocate temporary storage. format and SYSCTL_OUT the banner. lock global. traverse list. make sure we haven't looped more than the initial count taken to avoid overflowing the allocated buffer. lock each nodes. read values and format into buffer. unlock individual node. unlock global. format and SYSCTL_OUT the rest of the data. free storage. return. Other problems included not checking for errors when doing sysctl out of the column header. Fixed. Inconsistant termination of the copied string. Fixed. Objected to by: des (for not using sbuf) Since the output is not variable length and I'm actually over allocating signifigantly and I'd like to get this fixed now, I'll work on the sbuf convertion at a later date. I would not object to someone else taking it upon themselves to convert it to sbuf. I hold no MAINTIANER rights to this code (for now). /head/sys/vm/vm_zone.c ============================================================== Author alfred Revision 76075 Date 2001-04-27T13:42:50.000000Z Log: Actually show the values that tripped the assertion "receive 1" /head/sys/kern/uipc_socket.c ============================================================== Author alfred Revision 76049 Date 2001-04-26T17:59:25.000000Z Log: Don't spam the console about device timeouts. Bill Paul (wpaul) helped me diagnose this, for some reason the HEAD version doesn't have this output so we might as well ditch it in RELENG_4. Requested by: jim /stable/4/sys/i386/isa/if_wi.c ============================================================== Author alfred Revision 75989 Date 2001-04-26T00:14:14.000000Z Log: Sendfile is documented to return 0 on success, however if when a sf_hdtr is used to provide writev(2) style headers/trailers on the sent data the return value is actually either the result of writev(2) from the trailers or headers of no tailers are specified. Fix sendfile to comply with the documentation, by returning 0 on success. Ok'd by: dg /head/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 75979 Date 2001-04-25T18:40:38.000000Z Log: Fix compiling without -O, some dead code was using non-existant functions, make the code not automatically dead but actually use the debug level in order to determine if output is needed. Fix non-existant from_addr() by #define'ing it to inet_ntoa(). Remove hardcoded -g from Makefile. Reported by: "John W. De Boskey" Tested by: "John W. De Boskey" /head/usr.sbin/rpc.lockd/Makefile /head/usr.sbin/rpc.lockd/kern.c ============================================================== Author alfred Revision 75817 Date 2001-04-22T01:50:02.000000Z Log: Update wi module makefile for if_pci.h dependancy. (unbreak it) /stable/4/sys/modules/wi/Makefile ============================================================== Author alfred Revision 75816 Date 2001-04-22T00:50:49.000000Z Log: MFC: prism2 support, pci support, timeout issues and other misc fixes /stable/4/sys/i386/isa/if_wireg.h /stable/4/sys/i386/isa/if_wi.c ============================================================== Author alfred Revision 75740 Date 2001-04-20T22:38:40.000000Z Log: Assert that when using an interlock mutex it is not recursed when lockmgr() is called. Ok'd by: jhb /head/sys/kern/kern_lock.c ============================================================== Author alfred Revision 75739 Date 2001-04-20T22:34:48.000000Z Log: add a comment to note that a process's vmspace may change, but so far only aiod does this and is also marked P_SYSTEM, the locations that reference p->p_vmspace usually do it within the context of the caller, the async access from the vm system is protected by the fact that it will skip over P_SYSTEM processes. Ok'd by: jhb /head/sys/sys/proc.h ============================================================== Author alfred Revision 75699 Date 2001-04-19T12:29:43.000000Z Log: Remove section from bugs that says we don't support client locks. Pointed out by: Martin Blapp /head/usr.sbin/rpc.lockd/rpc.lockd.8 ============================================================== Author alfred Revision 75692 Date 2001-04-19T06:18:23.000000Z Log: vnode_pager_freepage() is really vm_page_free() in disguise, nuke vnode_pager_freepage() and replace all calls to it with vm_page_free() /head/sys/vm/vnode_pager.h /head/sys/nwfs/nwfs_io.c /head/sys/nfsclient/nfs_bio.c /head/sys/nfs/nfs_bio.c /head/sys/fs/nwfs/nwfs_io.c /head/sys/vm/vnode_pager.c ============================================================== Author alfred Revision 75688 Date 2001-04-19T01:38:35.000000Z Log: MFC: do not allow user applications to give aio bogus signals, fix some possible memory leakage of aio structures PR: kern/17152 Approved by: jkh /stable/4/sys/kern/vfs_aio.c /stable/4/sys/sys/signal.h ============================================================== Author alfred Revision 75682 Date 2001-04-18T22:18:39.000000Z Log: Check validity of signal callback requested via aio routines. Also move the insertion of the request to after the request is validated, there's still looks like there may be some problems if an invalid address is passed to the aio routines, basically a possible leak or having a not completely initialized structure on the queue may still be possible. A new sig macro was made _SIG_VALID to check the validity of a signal, it would be advisable to use it from now on (in kern/kern_sig.c) rather than rolling your own. PR: kern/17152 /head/sys/sys/_sigset.h /head/sys/sys/signal.h /head/sys/kern/vfs_aio.c ============================================================== Author alfred Revision 75678 Date 2001-04-18T21:41:27.000000Z Log: remove debug code left in by accident /head/usr.sbin/rpc.lockd/kern.c ============================================================== Author alfred Revision 75675 Date 2001-04-18T20:24:16.000000Z Log: Protect pager object creation with sx locks. Protect pager object list manipulation with a mutex. It doesn't look possible to combine them under a single sx lock because creation may block and we can't have the object list manipulation block on anything other than a mutex because of interrupt requests. /head/sys/vm/phys_pager.c /head/sys/vm/swap_pager.c /head/sys/vm/device_pager.c ============================================================== Author alfred Revision 75651 Date 2001-04-18T08:33:52.000000Z Log: NFS module now requires nfs_lock.c /head/sys/modules/nfsserver/Makefile /head/sys/modules/nfsclient/Makefile /head/sys/modules/nfs/Makefile ============================================================== Author alfred Revision 75644 Date 2001-04-18T05:30:24.000000Z Log: Fix the botched rev 1.59 where I made it such that without INVARIANTS the map is never locked. Submitted by: tegge /head/sys/vm/vm_map.h ============================================================== Author alfred Revision 75632 Date 2001-04-17T20:50:43.000000Z Log: Add a sanity check on ucred refcount. Submitted by: Terry Lambert /head/sys/kern/kern_prot.c ============================================================== Author alfred Revision 75631 Date 2001-04-17T20:45:23.000000Z Log: Implement client side NFS locks. Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org /head/sys/nfsclient/nfs_vnops.c /head/usr.sbin/rpc.lockd/Makefile /head/usr.sbin/rpc.lockd/lockd.c /head/sys/nfs/nfs_vnops.c /head/usr.sbin/rpc.lockd/kern.c /head/usr.sbin/rpc.lockd/lockd.h /head/sys/conf/files /head/sys/nfsserver/nfs.h /head/usr.sbin/rpc.lockd/lockd_lock.c /head/sys/kern/kern_lockf.c /head/sys/nfsclient/nfs_nfsiod.c /head/usr.sbin/rpc.lockd/lock_proc.c /head/sys/nfsclient/nfs.h /head/sys/nfsserver/nfs_syscalls.c /head/sys/nfs/nfs.h /head/sys/sys/lockf.h /head/sys/nfsclient/nfs_lock.c /head/sys/nfs/nfs_lock.c /head/include/rpcsvc/nlm_prot.x /head/sys/sys/proc.h /head/sys/nfsclient/nfs_lock.h /head/sys/nfs/nfs_syscalls.c /head/sys/nfs/nfs_lock.h /head/sys/nfsclient/nlminfo.h /head/sys/nfsclient/nfsargs.h /head/sys/nfs/nlminfo.h /head/sys/nfsclient/nfsstats.h /head/sys/nfsserver/nfsrvstats.h ============================================================== Author alfred Revision 75628 Date 2001-04-17T19:55:44.000000Z Log: The comment for the MSGMNB option is misleading, it's not "max characters per message", rather it's "max characters per message queue" Pointed out by: alex /stable/4/sys/i386/conf/LINT ============================================================== Author alfred Revision 75524 Date 2001-04-15T12:04:05.000000Z Log: note that VOP_STRATEGY may block. Learned from: vm/swap_pager.c comment above swap_pager_putpages() /head/share/man/man9/VOP_STRATEGY.9 ============================================================== Author alfred Revision 75523 Date 2001-04-15T10:22:04.000000Z Log: use TAILQ_FOREACH, fix a comment's location /head/sys/vm/vm_meter.c /head/sys/vm/vm_object.c /head/sys/vm/vm_object.h ============================================================== Author alfred Revision 75497 Date 2001-04-13T23:20:16.000000Z Log: Turn -b (BSD socket compat mode) back on by default, as we don't have TLI/XTI /head/usr.bin/rpcgen/rpc_main.c /head/usr.bin/rpcgen/rpcgen.1 ============================================================== Author alfred Revision 75477 Date 2001-04-13T11:15:40.000000Z Log: if/panic -> KASSERT /head/sys/vm/vm_object.c ============================================================== Author alfred Revision 75474 Date 2001-04-13T10:23:32.000000Z Log: protect pbufs and associated counts with a mutex /head/sys/vm/vm_pager.c /head/sys/vm/vm_pager.h /head/sys/vm/swap_pager.c ============================================================== Author alfred Revision 75473 Date 2001-04-13T10:22:14.000000Z Log: use %p for pointer printf, include sys/systm.h for printf proto /head/sys/vm/vm_map.h ============================================================== Author alfred Revision 75472 Date 2001-04-13T10:15:53.000000Z Log: convert if/panic -> KASSERT, explain what triggered the assertion /head/sys/kern/kern_lock.c ============================================================== Author alfred Revision 75462 Date 2001-04-13T08:07:37.000000Z Log: Use a macro wrapper over printf along with KASSERT to reduce the amount of code here. /head/sys/vm/vm_map.h ============================================================== Author alfred Revision 75458 Date 2001-04-13T03:50:37.000000Z Log: Make SOMAXCONN a kernel option. Submitted by: Terry Lambert /head/sys/sys/socket.h /head/sys/conf/options ============================================================== Author alfred Revision 75452 Date 2001-04-12T21:50:03.000000Z Log: remove truncated part from commment /head/sys/vm/vm_map.c ============================================================== Author alfred Revision 75373 Date 2001-04-10T05:29:26.000000Z Log: Add more diagnostic output for failure. s/1518/ETHER_MAX_LEN Some style changes, add some braces, mostly residual from having a lot of debug hooks added while working on this driver. Bring in a plethora of changes from NetBSD: revision 1.58 date: 2001/03/08 11:07:08; author: ichiro; state: Exp; lines: +17 -1 it wait until busy flag disappears. it was able to prevent some cards with late initializing faling in wi_reset(). revision 1.41 date: 2000/10/13 19:15:08; author: jonathan; state: Exp; lines: +4 -2 Fix wi_intr() to avoid touching card registers during insert/remove events, when sharing an interrupt with other devices: check sc->sc_enabled, and drop the interrupt if its' off. revision 1.30 date: 2000/08/18 04:11:48; author: jhawk; state: Exp; lines: +4 -4 Copy wi_{dst,src}_addr from struct wi_frame into faked-up ether_header instead of addr1 and addr2. THis means that tcpdump -e will show the correct MAC address for communications with access points instead of showing the BSSID. In the future there should be 802.11 support for bpf/libpcap/tcpdump, but that is aways down the road. /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 75276 Date 2001-04-06T22:21:57.000000Z Log: use correct contants (from net/ethernet.h) ETHER_TYPE_LEN instead of sizeof(u_int16_t) when looking at an ethernet header ETHERTYPE_IP instead of 0x800 /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 75275 Date 2001-04-06T21:48:19.000000Z Log: replace hardcoded 1518 with ETHER_MAX_LEN /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 75229 Date 2001-04-05T09:47:07.000000Z Log: test should be for == 0, not < 0 /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 75227 Date 2001-04-05T09:25:37.000000Z Log: WI_TIMEOUT is 65536 65536 * 10msec == 10 minutes 55 seconds == hung machine Instead wait for the busy bits for a max of ~2 seconds (200 * 10msec) /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 75219 Date 2001-04-05T06:56:10.000000Z Log: Don't leak resources: Don't leak iospace when irq allocation fails. (call wi_free()) Call bus_release_resource() with the correct "rid" obtained from bus_alloc_resource() that's saved in the softc instead of a hardcoded 0. /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 75199 Date 2001-04-04T21:56:25.000000Z Log: call a watchdog timeout like it is. /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 75105 Date 2001-04-03T03:15:11.000000Z Log: Use only one mutex for the entire mbuf subsystem. Don't use atomic operations for the stats updating, instead protect the counts with the mbuf mutex. Most twiddling of the stats was done right before or after releasing a mutex. By doing this we reduce the number of locked ops needed as well as allow a sysctl to gain a consitant view of the entire stats structure. In the future... This will allow us to chain common mbuf operations that would normally need to aquire/release 2 or 3 of the locks to build an mbuf with a cluster or external data attached into a single op requiring only one lock. Simplify the per-cpu locks that are planned. There's also some if (1) code that should check if the "how" operation specifies blocking/non-blocking behavior, we _could_ make it so that we hold onto the mutex through calls into kmem_alloc when non-blocking requests are made, but for safety reasons we currently drop and reaquire the mutex around the calls. Also, note that calling kmem_alloc is rare and only happens during a shortage so drop/re-getting the mutex will not be a common occurance. Remove some #define's that seemed to obfuscate the code to me. Remove an extranious comment. Remove an XXX, including mutex.h isn't a crime. Reviewed by: bmilekic /head/sys/kern/uipc_mbuf.c /head/sys/sys/mbuf.h ============================================================== Author alfred Revision 75061 Date 2001-04-01T07:36:28.000000Z Log: make code use strxxx() calls Glanced at by: imp /head/sys/dev/ppbus/ppbconf.c ============================================================== Author alfred Revision 74935 Date 2001-03-28T13:42:42.000000Z Log: Forgot to add pci_if.h to SRCS Pointed out by: phk /head/sys/modules/wi/Makefile ============================================================== Author alfred Revision 74906 Date 2001-03-28T05:05:05.000000Z Log: Add support for the Addtron AWA100 PCI wireless card. The AWA100 is a PCI board with a PLX 9052 chip that's used to talk to the pccard inserted into the board. Remove a redundant $FreeBSD while I'm here. /head/sys/dev/wi/if_wi.c /head/sys/dev/wi/if_wireg.h ============================================================== Author alfred Revision 74844 Date 2001-03-27T09:49:03.000000Z Log: give the "netgrent" functions a home in netdb.h /head/lib/libc/gen/getnetgrent.3 /head/usr.sbin/mountd/mountd.c /head/usr.sbin/amd/include/config.h /head/include/netdb.h /head/sbin/mountd/mountd.c ============================================================== Author alfred Revision 74843 Date 2001-03-27T09:43:09.000000Z Log: const'ify /head/lib/libc/rpc/getnetconfig.c /head/include/netconfig.h ============================================================== Author alfred Revision 74838 Date 2001-03-27T05:03:49.000000Z Log: limit the amount of retries when sending data to prevent lockups. /head/sys/dev/wi/if_wi.c ============================================================== Author alfred Revision 74801 Date 2001-03-26T00:35:23.000000Z Log: fix: text following `#else' violates ANSI standard Pointed out by: ${BDECFLAGS} /head/include/rpc/rpcb_prot.x ============================================================== Author alfred Revision 74800 Date 2001-03-25T23:32:55.000000Z Log: Don't call daemon() and setup our signal handlers until after we check and do the unregister/reregister work. Don't call syslog in the unregister/reregister code as we haven't called openlog() yet. Be a more conservative about accepting errno values from socket(2), only EPROTONOSUPPORT means that the kernel isn't supporting it something like INET6. The other possible errnos would be returned if there was a mistake in the socket(2) call so remove them from the list of "acceptable" return values. /head/sbin/nfsd/nfsd.c /head/usr.sbin/nfsd/nfsd.c ============================================================== Author alfred Revision 74799 Date 2001-03-25T23:28:03.000000Z Log: Disable ipv6 when getnetconfigent("udp6"/"tcp6") fails. Submitted by: Martin Blapp /head/sbin/nfsd/nfsd.c /head/usr.sbin/nfsd/nfsd.c ============================================================== Author alfred Revision 74792 Date 2001-03-25T19:59:07.000000Z Log: Replace pmap_unset() with rpcb_unset() which fixes the unregistering. Submitted by: Martin Blapp /head/usr.sbin/mountd/mountd.c /head/sbin/mountd/mountd.c ============================================================== Author alfred Revision 74791 Date 2001-03-25T19:57:58.000000Z Log: Deal with lack of IPv6 support gracefully. Submitted by: Martin Blapp /head/usr.sbin/mountd/mountd.c /head/sbin/mountd/mountd.c ============================================================== Author alfred Revision 74790 Date 2001-03-25T19:18:43.000000Z Log: fix -o port=xxx /head/sbin/mount_nfs/mount_nfs.c ============================================================== Author alfred Revision 74720 Date 2001-03-24T01:17:51.000000Z Log: revert rev 1.3: restore MAN1 directive to unbreak world /head/usr.sbin/mptable/Makefile ============================================================== Author alfred Revision 74710 Date 2001-03-24T00:07:06.000000Z Log: fix Alpha support /head/lib/libc/rpc/key_call.c ============================================================== Author alfred Revision 74695 Date 2001-03-23T16:14:49.000000Z Log: change callrpc() from taking "char *" args, I'm quite sure they really meant to use "void *". remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h /head/include/rpc/rpc.h /head/libexec/ypxfr/ypxfr_extern.h /head/lib/libc/rpc/rpc_soc.3 /head/lib/libc/rpc/rpc_soc.c ============================================================== Author alfred Revision 74688 Date 2001-03-23T11:48:50.000000Z Log: replace calls to non-existant bail() subroutine with calls to the die() builtin function. /head/sys/kern/vnode_if.pl /head/sys/tools/vnode_if.awk ============================================================== Author alfred Revision 74669 Date 2001-03-22T23:21:49.000000Z Log: devfs convertion used VINUMRMINOR incorrectly (passing args in backwards order) Submitted by: Bernd Walter /head/sys/dev/vinum/vinumconfig.c ============================================================== Author alfred Revision 74660 Date 2001-03-22T20:43:13.000000Z Log: Remove struct cmessage from sys/socket.h and reintroduce the private definitions. Requested by: wollman /head/lib/libc/rpc/svc_vc.c /head/usr.sbin/rpc.yppasswdd/yppasswdd_server.c /head/sys/sys/socket.h /head/lib/libc/rpc/clnt_vc.c ============================================================== Author alfred Revision 74658 Date 2001-03-22T18:44:57.000000Z Log: forgot prototyle for __rpc_get_local_uid() /head/include/rpc/svc.h ============================================================== Author alfred Revision 74627 Date 2001-03-22T04:31:30.000000Z Log: Hopefully fix some of the bugs in passing credentials over UNIX domain sockets. Make struct cmessage visible from socket.h (about 4 places were defining it for themselves which wasn't good) Make __rpc_get_local_uid() useable and give it prototype that's visible. Fix some issues with printing out usernames from rpcbind and keyserv. /head/usr.sbin/keyserv/keyserv.c /head/usr.sbin/rpcbind/rpcb_svc_com.c /head/usr.sbin/keyserv/keyserv_uid.c /head/lib/libc/rpc/svc_vc.c /head/usr.sbin/keyserv/Makefile /head/usr.sbin/keyserv/keyserv.h /head/sys/sys/socket.h /head/lib/libc/rpc/clnt_vc.c /head/usr.sbin/rpcbind/pmap_svc.c ============================================================== Author alfred Revision 74611 Date 2001-03-21T23:53:40.000000Z Log: This adds /etc/netconfig to the list of files that get copied to /stand/etc on the mfsroot, and hence to /etc on the install target disk for use during the install. It also links netconfig and services into /etc on the mfsroot so that they are available to a fixit shell. Submitted by: iedowse /head/release/Makefile ============================================================== Author alfred Revision 74594 Date 2001-03-21T20:30:35.000000Z Log: Include headers to unbreak world. Submitted by: Ollivier Robert /head/sbin/fsdb/fsdbutil.c ============================================================== Author alfred Revision 74537 Date 2001-03-20T21:02:39.000000Z Log: s/portmap/rpcbind Pointed out by: Hajimu UMEMOTO /head/etc/hosts.allow ============================================================== Author alfred Revision 74536 Date 2001-03-20T20:28:09.000000Z Log: whitespace cleanup /head/lib/libc/rpc/svc_vc.c ============================================================== Author alfred Revision 74516 Date 2001-03-20T10:42:49.000000Z Log: Silence some warnings Submitted by: LINT /head/sys/netatm/port.h /head/sys/netatm/spans/spans_kxdr.c ============================================================== Author alfred Revision 74515 Date 2001-03-20T10:27:03.000000Z Log: Unbreak LINT. because rpcb_clnt.h is generated during buildworld and only installed into /usr/include/rpc (and not present in src/include/rpc) we can fix it by simply not including it when _KERNEL is defined. this isn't the most elegant, way and might deserve some revisiting later. Pointed out by: bde /head/include/rpc/rpc.h ============================================================== Author alfred Revision 74510 Date 2001-03-20T08:26:22.000000Z Log: The TI-RPC spammed over a '#ifdef _KERNEL' hack for the xdrproc_t typedef revert the spammage Pointed out by: bde /head/include/rpc/xdr.h ============================================================== Author alfred Revision 74509 Date 2001-03-20T08:20:50.000000Z Log: comment out #pragma directive containing Sun SCM tags /head/include/rpc/clnt_stat.h ============================================================== Author alfred Revision 74499 Date 2001-03-20T01:36:41.000000Z Log: Included in the updated version of tirpc's sm_inter.x Sun added the SM_NOTIFY procedure. Remove our hand-coded one as it was causing world breakage for worlds compiled with NOSHARED=yes because the static linker is a bit less forgiving (or not as broken as) our dynamic linker. Add $FreeBSD$ while I'm here. Pointed out by: bde /head/usr.sbin/rpc.statd/file.c ============================================================== Author alfred Revision 74472 Date 2001-03-19T19:36:11.000000Z Log: Add missing comma when KERBEROS is defined. /head/include/rpc/auth.h ============================================================== Author alfred Revision 74462 Date 2001-03-19T12:50:13.000000Z Log: Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp Manpage review: ru Secure RPC implemented by: wpaul /head/lib/libc/rpc/getrpcent.3 /head/lib/libc/rpc/getnetconfig.c /head/usr.sbin/rpc.yppasswdd/yppasswdd_main.c /head/usr.sbin/yppush/yppush_main.c /head/include/rpcsvc/sm_inter.x /head/lib/libc/rpc/rpc_svc_err.3 /head/lib/libkse/thread/Makefile.inc /head/lib/libc/rpc/get_myaddress.c /head/lib/libc/rpc/mt_misc.c /head/usr.sbin/Makefile /head/lib/libc/rpc/netconfig.5 /head/usr.sbin/rpcbind/util.c /head/lib/libc/xdr/xdr_rec.c /head/lib/librpcsvc/yp_passwd.c /head/lib/libc/rpc/auth_unix.c /head/lib/libc/xdr/xdr_mem.c /head/include/rpc/rpcent.h /head/usr.sbin/rpcbind/rpcb_svc_4.c /head/lib/libc/rpc/svc_auth_des.c /head/lib/libc/rpc/rpc_soc.3 /head/include/pthread_np.h /head/usr.sbin/nfsd/nfsd.8 /head/include/rpc/pmap_prot.h /head/lib/libc/rpc/clnt_bcast.c /head/include/rpc/clnt_soc.h /head/usr.sbin/rpcbind/Makefile /head/lib/libc/rpc/svc_run.c /head/include/rpc/rpcb_clnt.h /head/etc/rc.d/netoptions /head/etc/rc.network /head/lib/libc/xdr/xdr_reference.c /head/include/rpc/svc_auth.h /head/lib/libc/rpc/getrpcport.c /head/lib/libc/rpc/clnt_perror.c /head/etc/network.subr /head/lib/libc/rpc/svc.c /head/lib/libc/rpc/getrpcent.c /head/lib/libc/rpc/auth_des.c /head/lib/libpthread/thread/Makefile.inc /head/lib/libc/rpc/pmap_getport.c /head/lib/libc/rpc/rpc.3 /head/etc/Makefile /head/lib/libc/xdr/xdr_array.c /head/lib/libc/rpc/rpc.5 /head/lib/libc/include/reentrant.h /head/include/rpc/clnt.h /head/lib/libc/rpc/clnt_simple.c /head/usr.sbin/rpc.lockd/Makefile /head/lib/libc/rpc/pmap_getmaps.c /head/include/rpc/auth_kerb.h /head/lib/libc/rpc/auth_none.c /head/lib/libc/rpc/rpc_xdr.3 /head/lib/libc/rpc/pmap_prot2.c /head/usr.sbin/rpc.lockd/lockd_lock.c /head/usr.sbin/nfsd/nfsd.c /head/lib/libc/xdr/xdr.3 /head/lib/libc/rpc/rpc_commondata.c /head/lib/libc/rpc/rpc_callmsg.c /head/usr.sbin/rpcbind/rpcbind.8 /head/lib/libc/rpc/rpc_soc.c /head/usr.sbin/rpc.lockd/lockd_lock.h /head/usr.bin/rup/rup.c /head/lib/libc_r/uthread/Makefile.inc /head/usr.sbin/rpc.lockd/test.c /head/usr.sbin/rpc.umntall/rpc.umntall.c /head/lib/libc/rpc/bindresvport.3 /head/usr.sbin/portmap /head/lib/libc/rpc/rpc_clnt_calls.3 /head/usr.bin/rpcinfo/rpcinfo.8 /head/etc/netconfig /head/include/rpc/svc.h /head/include/rpc/des_crypt.h /head/sys/rpc/types.h /head/include/Makefile /head/usr.sbin/mountd/mountd.c /head/lib/libc/rpc/pmap_clnt.c /head/include/rpc/svc_dg.h /head/lib/libc/rpc/svc_auth_unix.c /head/usr.sbin/rpcbind/rpcb_svc.c /head/lib/libc/xdr/xdr_sizeof.c /head/lib/libc/rpc/svc_generic.c /head/lib/libc/rpc/rpc_prot.c /head/include/rpc/pmap_rmt.h /head/lib/libc/gen/_pthread_stubs.c /head/lib/libc/rpc/DISCLAIMER /head/lib/libc/xdr/xdr_float.c /head/lib/libc/rpc/svc_unix.c /head/usr.sbin/bootparamd/callbootd/callbootd.c /head/include/rpc/Makefile /head/lib/libc/rpc/authdes_prot.c /head/usr.sbin/rpcbind/rpcbind.c /head/lib/libc/rpc/svc_simple.c /head/usr.sbin/rpcbind/warmstart.c /head/lib/libc/xdr/xdr.c /head/usr.sbin/rpcbind/rpcbind.h /head/lib/libc/xdr/xdr_stdio.c /head/sbin/mount_nfs/mount_nfs.c /head/lib/libc/rpc/authunix_prot.c /head/etc/rpc /head/usr.sbin/rpc.ypupdated/ypupdated_extern.h /head/lib/libc/rpc/svc_auth.c /head/usr.bin/rpcinfo/rpcinfo.c /head/usr.sbin/ypserv/yp_dnslookup.c /head/lib/libc/rpc/bindresvport.c /head/lib/libc/rpc/svc_vc.c /head/usr.bin/rpcgen/rpc_main.c /head/usr.bin/rusers/rusers.c /head/include/rpc/pmap_clnt.h /head/lib/libc/rpc/netname.c /head/lib/libc/rpc/getpublickey.c /head/usr.sbin/rpcbind/security.c /head/lib/libc/rpc/rpcb_prot.c /head/usr.sbin/rpc.lockd/lock_proc.c /head/include/rpc/rpc.h /head/lib/libc/rpc/crypt_client.c /head/lib/libc/rpc/rpc_clnt_auth.3 /head/lib/libc/rpc/clnt_udp.c /head/usr.sbin/ypbind/ypbind.c /head/lib/libc/xdr/Makefile.inc /head/lib/libc/rpc/auth_time.c /head/lib/libc/rpc/rpc_generic.c /head/usr.sbin/rpcbind/check_bound.c /head/lib/libc_r/uthread/uthread_main_np.c /head/lib/libpthread/thread/thr_main_np.c /head/lib/librpcsvc/Makefile /head/usr.sbin/rpc.statd/statd.h /head/lib/libc/rpc/rpc_dtablesize.c /head/lib/libc/rpc/rpc_svc_calls.3 /head/include/rpcsvc/nlm_prot.x /head/usr.sbin/rpcbind /head/include/rpc/nettype.h /head/sbin/nfsd/nfsd.8 /head/lib/libc/rpc/rpc_svc_create.3 /head/lib/libc/rpc/svc_udp.c /head/lib/libc/rpc/svc_dg.c /head/lib/libc/rpc/clnt_tcp.c /head/include/rpc/svc_soc.h /head/lib/libc/rpc/clnt_raw.c /head/usr.bin/rpcgen/rpc_parse.c /head/include/rpc/auth.h /head/usr.sbin/rpc.lockd/lockd.c /head/include/rpc/types.h /head/lib/libc/rpc/pmap_rmt.c /head/usr.bin/keylogin/keylogin.c /head/usr.sbin/keyserv/keyserv.c /head/usr.sbin/rpc.lockd/lockd.h /head/usr.sbin/rpcbind/rpcb_svc_com.c /head/lib/libc/rpc/getnetpath.3 /head/include/rpc/rpcb_prot.x /head/usr.sbin/rpc.lockd/rpc.lockd.8 /head/etc/defaults/rc.conf /head/lib/libc/rpc/rpc_com.h /head/lib/libc/rpc/clnt_vc.c /head/lib/libc/rpc/rpcdname.c /head/lib/libc/rpc/getnetconfig.3 /head/lib/libc/rpc/clnt_generic.c /head/lib/libc/include/namespace.h /head/lib/libc/rpc/svc_tcp.c /head/lib/libc/rpc/rpcbind.3 /head/include/netconfig.h /head/include/rpcsvc/key_prot.x /head/usr.sbin/rpcbind/rpcb_stat.c /head/lib/libc/rpc/svc_raw.c /head/include/rpc/clnt_stat.h /head/include/rpc/auth_des.h /head/include/rpc/xdr.h /head/usr.sbin/rpc.ypupdated/ypupdated_server.c /head/lib/libc/rpc/netnamer.c /head/lib/libc/rpc/key_prot_xdr.c /head/lib/libc/rpc/rpc_svc_reg.3 /head/lib/libc/rpc/README /head/sbin/nfsd/nfsd.c /head/lib/libkse/thread/thr_main_np.c /head/usr.bin/rpcgen/rpc_svcout.c /head/lib/libc/rpc/key_call.c /head/etc/rc.d/network1 /head/usr.bin/rpcgen/rpcgen.1 /head/etc/rc.d/network2 /head/etc/rc.d/network3 /head/usr.sbin/rpcbind/pmap_svc.c /head/usr.sbin/ypbind/yp_ping.c /head/include/rpc/rpc_com.h /head/lib/libc/rpc/pmap_prot.c /head/include/rpc/raw.h /head/lib/libc/rpc/clnt_unix.c /head/lib/libc/rpc/getnetpath.c /head/include/rpc/rpc_msg.h /head/etc/rc.d/routing /head/lib/libc/rpc/Makefile.inc /head/sbin/mountd/mountd.c /head/lib/libc/rpc/rpcb_clnt.c /head/sbin/umount/umount.c /head/lib/libc/rpc/rpc_clnt_create.3 /head/lib/libc/rpc/rpcb_st_xdr.c /head/lib/libc/rpc/getrpcport.3 /head/usr.bin/rpcinfo/Makefile /head/lib/libc/rpc/clnt_dg.c ============================================================== Author alfred Revision 74347 Date 2001-03-16T13:10:26.000000Z Log: s/0x7f000001/INADDR_LOOPBACK /head/usr.sbin/ypset/ypset.c ============================================================== Author alfred Revision 74043 Date 2001-03-09T18:40:34.000000Z Log: Don't call malloc with M_WAITOK while holding a mutex. /head/sys/kern/kern_resource.c ============================================================== Author alfred Revision 73552 Date 2001-03-04T22:38:48.000000Z Log: MFC: mark pthread_exit() as a non-returning function /stable/4/include/pthread.h ============================================================== Author alfred Revision 73548 Date 2001-03-04T22:17:52.000000Z Log: mark pthread_exit() as non-returning. Requested by: Farooq Mela /head/include/pthread.h ============================================================== Author alfred Revision 73534 Date 2001-03-04T20:25:23.000000Z Log: Simplify vm_object_deallocate(), by decrementing the refcount first. This allows some of the conditionals to be combined. /head/sys/vm/vm_object.c ============================================================== Author alfred Revision 73085 Date 2001-02-26T09:52:43.000000Z Log: Protect against negative numbers as well /head/sys/net/if_media.c ============================================================== Author alfred Revision 73079 Date 2001-02-26T09:13:42.000000Z Log: fix typo in comment /head/sys/net/if_media.c ============================================================== Author alfred Revision 73078 Date 2001-02-26T09:07:55.000000Z Log: Santize a size variable passed to kernel malloc. Since we know there's always an upper bound we force that bound, otherwise users can cause a panic via malloc getting hit with a odd (huge or negative) amount of memory to allocate. Tested by: kris Pointed out by: Andrey Valyaev /head/sys/net/if_media.c ============================================================== Author alfred Revision 72934 Date 2001-02-23T03:44:10.000000Z Log: MFC: 1.83 /stable/4/sys/isofs/cd9660/cd9660_vfsops.c ============================================================== Author alfred Revision 72933 Date 2001-02-23T03:43:05.000000Z Log: Display the Joliet Extension 'level' in the log message. PR: kern/24998 /head/sys/isofs/cd9660/cd9660_vfsops.c /head/sys/fs/cd9660/cd9660_vfsops.c ============================================================== Author alfred Revision 72887 Date 2001-02-22T13:55:12.000000Z Log: fix usage statement (add missing [-n devs] option) Submitted by: Maxim Konovalov Silence a warning by renaming the 'pgtok' #define to 'vmstat_pgtok' so as not to conflict with the 'pgtok' #define in sys/param.h /head/usr.bin/vmstat/vmstat.c ============================================================== Author alfred Revision 72777 Date 2001-02-20T22:07:36.000000Z Log: Fix vinum for both devfs and non-devfs systems. userland tool: Use the vfs.devfs.generation sysctl to test for devfs presense (thanks phk!) when devfs is active it will not try to create the device nodes in /dev and therefore will not complain about the failure to do so. Revert the change in the #define for VINUM_DIR in the kernel header so that vinum can find its device nodes. Replace perror() with vinum_perror() to print file/line when DEVBUG is defined (not defined by default). kernel: Don't use the #define names for the "superdev" creation since they will be prepended by "/dev/" (based on VINUM_DIR), instead use string constants. Create both debug and non-debug "superdev" nodes in the devfs. Problem noticed and fix tested by: Martin Blapp /head/sbin/vinum/v.c /head/sbin/vinum/list.c /head/sbin/vinum/vext.h /head/sbin/vinum/Makefile /head/sys/dev/vinum/vinumvar.h /head/sys/dev/vinum/vinum.c /head/sbin/vinum/commands.c /head/sbin/vinum/vinum.8 ============================================================== Author alfred Revision 72769 Date 2001-02-20T12:14:01.000000Z Log: forced commit to note that the last delta also reordered some code in remove_sd_entry() to: Simplify (hopefully) it by moving all error returns closer to the beginning of the function. Return an error when "Error removing subdisk %s: not found in plex %s\n" would have been reported, as I doubt that we are "OK" after printing that error message. /head/sys/dev/vinum/vinumconfig.c ============================================================== Author alfred Revision 72766 Date 2001-02-20T11:37:04.000000Z Log: Take a shot at making vinum devfs aware. Adding make_dev() and destroy_dev() calls in (hopefully) the right places. This is done by calling make_dev() in each object constructor and caching the dev_t's returned from make_dev() in each struct 'subdisk'(sd), 'plex' and 'volume' such that the 'object'_free() functioncs can call destroy dev. This change makes a subset of the old /dev/vinum appear under devfs. Enough nodes appear such that I'm able to mount my striped volume. There may be more work needed to get vinum configuration working properly. /head/sys/dev/vinum/vinumconfig.c /head/sys/dev/vinum/vinumvar.h /head/sys/dev/vinum/vinum.c /head/sys/dev/vinum/vinumhdr.h ============================================================== Author alfred Revision 72264 Date 2001-02-09T22:53:18.000000Z Log: MFC: socket.h (1.25), shutdown.2 (1.5) howto arguments for shutdown(2), specified by Posix.1g. add $FreeBSD where needed /stable/2.2/lib/libc/sys/shutdown.2 /stable/2.2/sys/sys/socket.h ============================================================== Author alfred Revision 71029 Date 2001-01-14T12:08:50.000000Z Log: Special case the error reporting when errno is ENOTDIR or ENOENT. This makes "mkdir /nonexistant/foo" complain that /nonexistant doesn't exist rather than /nonexistant/foo which doesn't make much sense. Submitted (in a different form) by: W.H.Scholten /head/bin/mkdir/mkdir.c ============================================================== Author alfred Revision 70792 Date 2001-01-08T07:22:06.000000Z Log: Don't use SCARG. Pointed out by: bde /head/sys/kern/kern_ktrace.c ============================================================== Author alfred Revision 70709 Date 2001-01-06T09:58:24.000000Z Log: MFC: limit utrace /stable/4/sys/kern/kern_ktrace.c /stable/4/sys/sys/ktrace.h ============================================================== Author alfred Revision 70707 Date 2001-01-06T09:34:20.000000Z Log: Limit size of passed in data for utrace function. Requested by: rwatson Obtained from: NetBSD /head/sys/kern/kern_ktrace.c /head/sys/sys/ktrace.h ============================================================== Author alfred Revision 70701 Date 2001-01-06T05:50:06.000000Z Log: MFC: sysctl to quiet arp messages /stable/4/sys/netinet/if_ether.c ============================================================== Author alfred Revision 70699 Date 2001-01-06T00:45:08.000000Z Log: provide a sysctl 'net.link.ether.inet.log_arp_wrong_iface' to allow one to supress logging when ARP replies arrive on the wrong interface: "/kernel: arp: 1.2.3.4 is on dc0 but got reply from 00:00:c5:79:d0:0c on dc1" the default is to log just to give notice about possibly incorrectly configured networks. /head/sys/netinet/if_ether.c ============================================================== Author alfred Revision 70644 Date 2001-01-03T19:52:37.000000Z Log: MFC: fix for disconnected sockets /stable/4/sys/netinet/accf_http.c ============================================================== Author alfred Revision 70643 Date 2001-01-03T19:50:23.000000Z Log: Fix incorrect logic wouldn't disconnect incomming connections that had been disconnected because they were not full. Submitted by: David Filo /head/sys/netinet/accf_http.c ============================================================== Author alfred Revision 70480 Date 2000-12-29T13:49:05.000000Z Log: fix comment which was outdated 3 years ago remove useless assignment purge entire file of 'register' keyword /head/sys/vm/vm_kern.c ============================================================== Author alfred Revision 70478 Date 2000-12-29T13:05:22.000000Z Log: clean up kmem_suballoc(): remove useless assignment remove 'register' variables /head/sys/vm/vm_kern.c ============================================================== Author alfred Revision 70267 Date 2000-12-22T10:25:21.000000Z Log: MFC: unbreak kernel without option INET by making acceptfilter support optional /stable/4/sys/conf/files /stable/4/sys/kern/uipc_socket.c ============================================================== Author alfred Revision 70106 Date 2000-12-17T02:05:41.000000Z Log: MFC: phys_pager fix for multiple segments /stable/4/sys/vm/phys_pager.c ============================================================== Author alfred Revision 70033 Date 2000-12-14T23:35:57.000000Z Log: Adapt to new struct kinfo_proc and unbreak world. Apologies to: darrenr who is maintainer /head/contrib/ipfilter/ipsend/sock.c ============================================================== Author alfred Revision 69687 Date 2000-12-06T21:52:23.000000Z Log: Really fix phys_pager: Backout the previous delta (rev 1.4), it didn't make any difference. If the requested handle is NULL then don't add it to the list of objects, to be found by handle. The problem is that when asking for a NULL handle you are implying you want a new object. Because objects with NULL handles were being added to the list, any further requests for phys backed objects with NULL handles would return a reference to the initial NULL handle object after finding it on the list. Basically one couldn't have more than one phys backed object without a handle in the entire system without this fix. If you did more than one shared memory allocation using the phys pager it would give you your initial allocation again. /head/sys/vm/phys_pager.c ============================================================== Author alfred Revision 69644 Date 2000-12-05T23:05:45.000000Z Log: Add forgotten SYSCALL_MODULE_HELPER() for msgsys() syscall. Discovered by: Valentin Chopov /head/sys/kern/sysv_msg.c ============================================================== Author alfred Revision 69642 Date 2000-12-05T22:23:10.000000Z Log: MFC: 1.4 (handle non PAGE_SIZE requests properly) /stable/4/sys/vm/phys_pager.c ============================================================== Author alfred Revision 69641 Date 2000-12-05T22:22:24.000000Z Log: need to adjust allocation size to properly deal with non PAGE_SIZE allocations, specifically with allocations < PAGE_SIZE when the code doesn't work properly /head/sys/vm/phys_pager.c ============================================================== Author alfred Revision 69615 Date 2000-12-05T09:43:12.000000Z Log: MFC: remove struct mount from userland (except fstat) to prevent namespace pollution. /stable/4/usr.bin/fstat/fstat.c /stable/4/sys/sys/mount.h /stable/4/usr.bin/fstat/cd9660.c ============================================================== Author alfred Revision 69564 Date 2000-12-04T09:21:05.000000Z Log: remove struct mount from useland visibility /head/usr.bin/fstat/fstat.c /head/sys/sys/mount.h ============================================================== Author alfred Revision 69494 Date 2000-12-01T21:13:06.000000Z Log: Revert disconnect of sysvipc now that there's a makefile available /head/sys/modules/Makefile ============================================================== Author alfred Revision 69487 Date 2000-12-01T17:49:16.000000Z Log: Forgotten makefile. /head/sys/modules/sysvipc/Makefile ============================================================== Author alfred Revision 69449 Date 2000-12-01T08:57:47.000000Z Log: sysvipc loadable. new syscall entry lkmressys - "reserved loadable syscall" Make syscall_register allow overwriting of such entries (lkmressys). /head/sys/modules/sysvipc/sysvsem /head/sys/modules/sysvipc/sysvmsg /head/sys/modules/sysvipc/sysvshm /head/sys/modules/Makefile /head/sys/sys/syscall-hide.h /head/sys/kern/syscalls.master /head/sys/kern/sysv_sem.c /head/sys/kern/init_sysent.c /head/sys/sys/sysent.h /head/sys/kern/sysv_msg.c /head/sys/kern/sysv_shm.c /head/sys/kern/kern_syscalls.c /head/sys/modules/sysvipc/sysvsem/Makefile /head/sys/sys/syscall.mk /head/sys/modules/sysvipc/sysvmsg/Makefile /head/sys/modules/sysvipc/sysvshm/Makefile /head/sys/sys/sysproto.h /head/sys/modules/sysvipc /head/sys/kern/syscalls.c /head/sys/sys/syscall.h /head/sys/kern/sysv_ipc.c /head/sys/sys/ipc.h ============================================================== Author alfred Revision 69448 Date 2000-12-01T08:47:54.000000Z Log: Add reserved lkmressys keyword. I swear, this script will die the next time I need to hack on it. /head/sys/kern/makesyscalls.sh ============================================================== Author alfred Revision 69445 Date 2000-12-01T07:40:20.000000Z Log: implement NOSTD syscall type, this creates the syscall args, but sticks a lkmnosys into the sysent table so that SYSCALL_MODULE() works /head/sys/kern/makesyscalls.sh ============================================================== Author alfred Revision 69444 Date 2000-12-01T06:59:18.000000Z Log: Translate alfred to english. Submitted by: bde /head/sys/kern/kern_resource.c ============================================================== Author alfred Revision 69407 Date 2000-11-30T20:23:14.000000Z Log: only call bwillwrite() to stall on IO when dealing with VNODEs otherwise we will stall on non-disk IO for things like fifos and sockets /head/sys/kern/sys_generic.c ============================================================== Author alfred Revision 69405 Date 2000-11-30T20:04:44.000000Z Log: This is a fix for a problem described in PR kern/19572. It was recently discussed at -hackers. The problem is a null-pointer dereference that happens in kern/vfs_lookup.c when accessing ".." with a v_mount entry for the current directory vnode of NULL. This happens when a volume is forcibly unmounted, and the vnode for a working directory in the mounted volume is cleared. PR: 23191 Submitted by: Thomas Moestl /head/sys/kern/vfs_lookup.c ============================================================== Author alfred Revision 69403 Date 2000-11-30T19:15:22.000000Z Log: use a oppurtunistic locking strategy with the uidinfo structures to avoid locking the global hash on each uifree() make struct uidinfo only visible to the kernel make uihold() a function rather than a macro to reduce bloat swap the order of a spl/mutex to maintain consistancy /head/sys/sys/resourcevar.h /head/sys/kern/kern_resource.c ============================================================== Author alfred Revision 69401 Date 2000-11-30T19:09:48.000000Z Log: make crfree into a function rather than a macro to avoid bloat because of the mutex aquire/release reorder struct ucred /head/sys/kern/kern_prot.c /head/sys/sys/ucred.h ============================================================== Author alfred Revision 69399 Date 2000-11-30T18:52:32.000000Z Log: remove unneded sys/ucred.h includes /head/sys/gnu/ext2fs/ext2_subr.c /head/sys/gnu/ext2fs/ext2_balloc.c /head/sys/i386/isa/if_wi.c /head/sys/vm/vm_pager.c /head/sys/dev/an/if_an.c /head/sys/alpha/tlsb/zs_tlsb.c /head/sys/gnu/fs/ext2fs/ext2_subr.c /head/sys/alpha/alpha/promcons.c /head/sys/dev/wi/if_wi.c /head/sys/gnu/fs/ext2fs/ext2_balloc.c /head/sys/ia64/ia64/ssc.c ============================================================== Author alfred Revision 69396 Date 2000-11-30T18:34:08.000000Z Log: remove unneded sys/ucred.h include /head/lib/libkvm/kvm_getswapinfo.c ============================================================== Author alfred Revision 69394 Date 2000-11-30T18:33:02.000000Z Log: remove unneeded sys/ucred.h include /head/include/rpcsvc/bootparam_prot.x ============================================================== Author alfred Revision 69336 Date 2000-11-29T04:08:49.000000Z Log: document O_NOFOLLOW and O_FSYNC flags to open /head/lib/libc/sys/open.2 ============================================================== Author alfred Revision 69239 Date 2000-11-27T00:09:16.000000Z Log: ucred system overhaul: 1) mpsafe (protect the refcount with a mutex). 2) reduce duplicated code by removing the inlined crdup() from crcopy() and make crcopy() call crdup(). 3) use M_ZERO flag when allocating initial structs instead of calling bzero after allocation. 4) expand the size of the refcount from a u_short to an u_int, by using shorts we might have an overflow. Glanced at by: jake /head/sys/kern/kern_prot.c /head/sys/sys/ucred.h ============================================================== Author alfred Revision 69215 Date 2000-11-26T21:14:17.000000Z Log: Move the #define of _KERN_MUTEX_C_ so that it's before any system headers are included. System headers can include sys/mutex.h and then certain macros do not get defined. Reviewed by: jake /head/sys/kern/kern_mutex.c /head/sys/kern/subr_turnstile.c /head/sys/kern/subr_witness.c ============================================================== Author alfred Revision 69206 Date 2000-11-26T12:08:17.000000Z Log: Make uidinfo subsystem mpsafe use a mutex lock when looking up/deleting entries on the hashlist use a mutex lock on each uidinfo when updating fields make uifree() a void function rather than 'int' since no one cares allocate uidinfo structs with the M_ZERO flag and don't explicitly initialize them Assisted by: eivind, jhb, jakeb /head/sys/sys/resourcevar.h /head/sys/kern/kern_resource.c ============================================================== Author alfred Revision 69134 Date 2000-11-25T03:14:31.000000Z Log: add threadsafe version of inet_ntoa (inet_ntoa_r takes a buffer to fill) this is used by some debugging functions /head/sys/libkern/inet_ntoa.c ============================================================== Author alfred Revision 69133 Date 2000-11-25T03:01:05.000000Z Log: These files are mpsafe. /head/sys/i386/include/in_cksum.h /head/sys/i386/i386/in_cksum.c ============================================================== Author alfred Revision 69019 Date 2000-11-22T03:45:44.000000Z Log: MFC: DELAY(9) /stable/4/share/man/man9/DELAY.9 /stable/4/share/man/man9/Makefile ============================================================== Author alfred Revision 69018 Date 2000-11-22T03:44:55.000000Z Log: Install DELAY(9). /head/share/man/man9/Makefile ============================================================== Author alfred Revision 69016 Date 2000-11-22T03:38:32.000000Z Log: Document the DELAY() function. /head/share/man/man9/DELAY.9 ============================================================== Author alfred Revision 68924 Date 2000-11-20T01:35:25.000000Z Log: Accept filters broke kernels compiled without options INET. Make accept filters conditional on INET support to fix. Pointed out by: bde Tested and assisted by: Stephen J. Kiernan /head/sys/conf/files /head/sys/kern/uipc_socket.c ============================================================== Author alfred Revision 68802 Date 2000-11-16T01:02:10.000000Z Log: Add manpages for "httpready" and "dataready" accept filters. MFC: accept filter documentation /stable/4/share/man/man9/accf_http.9 /stable/4/share/man/man9/accept_filter.9 /stable/4/share/man/man9/accf_data.9 /stable/4/share/man/man9/Makefile ============================================================== Author alfred Revision 68800 Date 2000-11-16T00:57:52.000000Z Log: install/build accf_* manpages /head/share/man/man9/Makefile ============================================================== Author alfred Revision 68798 Date 2000-11-15T22:54:06.000000Z Log: Xref accf_http and accf_data /head/share/man/man9/accept_filter.9 ============================================================== Author alfred Revision 68796 Date 2000-11-15T22:53:02.000000Z Log: Document the accf_data accept filter: "dataready" /head/share/man/man9/accf_data.9 ============================================================== Author alfred Revision 68795 Date 2000-11-15T22:46:21.000000Z Log: Document the accf_http accept filter "httpready". /head/share/man/man9/accf_http.9 ============================================================== Author alfred Revision 68580 Date 2000-11-10T20:57:05.000000Z Log: remove outdated bugs, we actually do have aio_cancel support as well as support for the field aio_offset in the aiocb structure. /head/lib/libc/sys/aio_write.2 /head/lib/libc/sys/aio_read.2 ============================================================== Author alfred Revision 68537 Date 2000-11-09T23:34:39.000000Z Log: Manpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg called 'elm'. It doesn't take an arg 'elm', it simply removes the element at the head of the list. /head/share/man/man3/queue.3 ============================================================== Author alfred Revision 68466 Date 2000-11-08T00:30:05.000000Z Log: Document System V IPC tunables. Approved by: jkh /stable/4/sys/i386/conf/LINT ============================================================== Author alfred Revision 68464 Date 2000-11-07T23:40:07.000000Z Log: Make /proc/ appear as a directory rather than a regular file. MFC: 1.85 Approved by: jkh /stable/4/sys/miscfs/procfs/procfs_vnops.c ============================================================== Author alfred Revision 68442 Date 2000-11-07T18:32:15.000000Z Log: Don't get stuck mapping past the end of objects or objects of zero length. MFC: 1.264 /stable/4/sys/i386/i386/pmap.c ============================================================== Author alfred Revision 68441 Date 2000-11-07T18:31:16.000000Z Log: Protect against an infinite loop when prefaulting pages. This can happen when the vm system maps past the end of an object or tries to map a zero length object, the pmap layer misses the fact that offsets wrap into negative numbers and we get stuck. Found by: Joost Pol aka Nohican Submitted by: tegge /head/sys/amd64/amd64/pmap.c /head/sys/i386/i386/pmap.c ============================================================== Author alfred Revision 67520 Date 2000-10-24T19:28:26.000000Z Log: MFC: 1.91 (new kern.openfiles sysctl) /stable/4/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 66798 Date 2000-10-07T23:15:17.000000Z Log: Remove headers not needed. Pointed out by: phk /head/sys/netinet/accf_http.c /head/sys/netinet/accf_data.c ============================================================== Author alfred Revision 66788 Date 2000-10-07T11:20:01.000000Z Log: Bring in my mergemaster mega-patch for better interaction with users, also bring in several fixes that were done to my patch. Version 1.10 was pre-MFC'd. MFC: 1.7 (mega), 1.8 (fix), 1.9 (fix) /stable/4/usr.sbin/mergemaster/mergemaster.sh ============================================================== Author alfred Revision 66770 Date 2000-10-06T22:49:54.000000Z Log: fix arc4random, MFS from 4.x because arc4random has been broken in -current for over 3 months since 25-Jun-00 Special thanks to: markm for the breakage /stable/2.2/sys/libkern/arc4random.c ============================================================== Author alfred Revision 66765 Date 2000-10-06T20:45:14.000000Z Log: MFC: fix for predictable TCP sequence numbers, requires MFC of arc4random. /stable/2.2/sys/i386/conf/files.i386 /stable/2.2/sys/netinet/tcp_subr.c /stable/2.2/sys/netinet/tcp_seq.h /stable/2.2/sys/sys/libkern.h /stable/2.2/sys/libkern/arc4random.c ============================================================== Author alfred Revision 66701 Date 2000-10-05T23:19:51.000000Z Log: return correct type for process directory entries, DT_DIR not DT_REG /head/sys/miscfs/procfs/procfs_vnops.c /head/sys/fs/procfs/procfs_vnops.c ============================================================== Author alfred Revision 66312 Date 2000-09-23T22:48:45.000000Z Log: MFC: 1.32 of res_send.c, don't get stuck in an infinite loop if a signal interrupts the poll operation 1.65 of syslogd.c which begins a clusterf**k of commits that span over versions 1.65, 1.66, 1.69 to provide an option for syslogd not to perform dns lookups. 1.23, 1.24, 1.25 of syslogd.8 document changes to syslogd.c Submitted and tested by: Reinier Bezuidenhout /stable/3/lib/libc/net/res_send.c /stable/3/usr.sbin/syslogd/syslogd.c /stable/3/usr.sbin/syslogd/syslogd.8 ============================================================== Author alfred Revision 66311 Date 2000-09-23T22:39:54.000000Z Log: MFC: forgotten -n to SYNOPSIS /stable/4/usr.sbin/syslogd/syslogd.8 ============================================================== Author alfred Revision 66310 Date 2000-09-23T22:38:56.000000Z Log: Add forgotten -n option to SYNOPSIS section Submitted by: Reinier Bezuidenhout /head/usr.sbin/syslogd/syslogd.8 ============================================================== Author alfred Revision 66168 Date 2000-09-21T15:55:55.000000Z Log: comment vfs_export functions, requested by: eivind /head/sys/kern/vfs_subr.c /head/sys/kern/vfs_export.c ============================================================== Author alfred Revision 65643 Date 2000-09-09T18:47:46.000000Z Log: Forget to include sysctl.h Submitted by: des /head/sys/netinet/accf_data.c ============================================================== Author alfred Revision 65534 Date 2000-09-06T18:49:13.000000Z Log: Accept filter maintainance Update copyrights. Introduce a new sysctl node: net.inet.accf Although acceptfilters need refcounting to be properly (safely) unloaded as a temporary hack allow them to be unloaded if the sysctl net.inet.accf.unloadable is set, this is really for developers who want to work on thier own filters. A near complete re-write of the accf_http filter: 1) Parse check if the request is HTTP/1.0 or HTTP/1.1 if not dump to the application. Because of the performance implications of this there is a sysctl 'net.inet.accf.http.parsehttpversion' that when set to non-zero parses the HTTP version. The default is to parse the version. 2) Check if a socket has filled and dump to the listener 3) optimize the way that mbuf boundries are handled using some voodoo 4) even though you'd expect accept filters to only be used on TCP connections that don't use m_nextpkt I've fixed the accept filter for socket connections that use this. This rewrite of accf_http should allow someone to use them and maintain full HTTP compliance as long as net.inet.accf.http.parsehttpversion is set. /head/sys/netinet/accf_http.c /head/sys/sys/socketvar.h /head/sys/kern/uipc_accf.c ============================================================== Author alfred Revision 65122 Date 2000-08-26T23:49:44.000000Z Log: new sysctl 'kern.openfiles' (exports nfiles to userland) /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 65035 Date 2000-08-23T23:36:32.000000Z Log: the code assumes that getgroups() always returns NGROUPS groups, however that is not true. Instead of looping NGROUPS times, get the return value from getgroups() and loop over the return that many times. Noticed by: David A. Holland /head/usr.sbin/lpr/lpc/lpc.c ============================================================== Author alfred Revision 64723 Date 2000-08-16T19:20:32.000000Z Log: MFC: make getfp non static and make sendfile() use it /stable/4/sys/kern/sys_generic.c /stable/4/sys/kern/uipc_syscalls.c /stable/4/sys/sys/filedesc.h ============================================================== Author alfred Revision 64614 Date 2000-08-13T16:54:58.000000Z Log: MFC: 1.23 fix off-by-one error with recursive mutexes /stable/4/lib/libc_r/uthread/uthread_mutex.c ============================================================== Author alfred Revision 64574 Date 2000-08-13T01:30:36.000000Z Log: Fix an off-by-one error in the recursive mutex handling that made it prematurely release recursive mutexes. Test case provided by: Bradley T. Hughes Reviewed by: deischen /head/lib/libkse/thread/thr_mutex.c /head/lib/libc_r/uthread/uthread_mutex.c /head/lib/libpthread/thread/thr_mutex.c ============================================================== Author alfred Revision 64048 Date 2000-07-31T09:24:32.000000Z Log: mbstat should be a read-only sysctl. Submitted by: Bosko Milekic /head/sys/kern/uipc_mbuf.c ============================================================== Author alfred Revision 63952 Date 2000-07-28T04:03:48.000000Z Log: MFC: accept_filters /stable/4/sys/sys/socketvar.h /stable/4/sys/modules/accf_data/Makefile /stable/4/sys/kern/uipc_socket2.c /stable/4/sys/netinet/accf_data.c /stable/4/share/man/man9/accept_filter.9 /stable/4/sys/modules/accf_http/Makefile /stable/4/sys/conf/options /stable/4/share/man/man9/Makefile /stable/4/sys/netinet/accf_http.c /stable/4/sys/i386/conf/LINT /stable/4/sys/modules/Makefile /stable/4/sys/conf/files /stable/4/sys/kern/uipc_socket.c /stable/4/sys/kern/kern_accf.c /stable/4/sys/sys/socket.h /stable/4/lib/libc/sys/getsockopt.2 ============================================================== Author alfred Revision 63646 Date 2000-07-20T12:17:17.000000Z Log: only allow accept filter modifications on listening sockets Submitted by: ps /head/sys/kern/uipc_socket.c ============================================================== Author alfred Revision 63645 Date 2000-07-20T12:12:41.000000Z Log: disallow unload until we do proper refcounting /head/sys/kern/kern_accf.c /head/sys/kern/uipc_accf.c ============================================================== Author alfred Revision 63639 Date 2000-07-20T11:05:52.000000Z Log: use .Pp instead of faking it with an extra newline Pointed out by: sheldonh /head/lib/libc/sys/getsockopt.2 ============================================================== Author alfred Revision 63635 Date 2000-07-20T10:33:08.000000Z Log: document get/set sockopt usage with accept_filter(9) /head/lib/libc/sys/getsockopt.2 ============================================================== Author alfred Revision 63226 Date 2000-07-15T16:24:21.000000Z Log: Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing a structure member that doesn't exist anymore. Use getsysctlbyname for kern.ipc.mbstat instead of sysctl. Use netstat's method of displaying values from mtnames. Submitted by: Ian Dowse Missed by PR: 19809 /head/usr.bin/systat/mbufs.c ============================================================== Author alfred Revision 63203 Date 2000-07-15T06:02:48.000000Z Log: Make mbstat.m_mtypes seperate and viewable via sysctl, also expand the size from short to ulong Submitted by: Ian Dowse PR: kern/19809 /head/sys/kern/uipc_mbuf.c /head/sys/sys/mbuf.h /head/usr.bin/netstat/mbuf.c ============================================================== Author alfred Revision 63112 Date 2000-07-14T07:55:26.000000Z Log: use _PATH_DEV /head/usr.sbin/lptcontrol/lptcontrol.c ============================================================== Author alfred Revision 62941 Date 2000-07-11T09:41:29.000000Z Log: #elsif -> #elif Noticed by: green /head/sys/vm/vm_page.h ============================================================== Author alfred Revision 62922 Date 2000-07-10T19:20:08.000000Z Log: attrib properly. Pointed out by: asmodai /head/share/man/man9/accept_filter.9 ============================================================== Author alfred Revision 62919 Date 2000-07-10T17:23:53.000000Z Log: Document the kernel interface for accept filters. Thanks to sheldonh for cleaning up the rough initial manpage. /head/share/man/man9/accept_filter.9 ============================================================== Author alfred Revision 62796 Date 2000-07-08T02:10:49.000000Z Log: MFC: don't clash with C++ reserved words ns_parse.c: 1.2 nameser.h: 1.13 /stable/3/include/arpa/nameser.h /stable/3/lib/libc/net/ns_parse.c ============================================================== Author alfred Revision 62780 Date 2000-07-07T16:52:24.000000Z Log: fix spelling errors. Pointed out by: bde /head/include/search.h ============================================================== Author alfred Revision 62684 Date 2000-07-06T20:04:34.000000Z Log: cleanup the tsearch import. remove (comment out) functions defined or depricated elsewhere: bsearch, lfind, lsearch, insque, remque change hcreate to take a size_t rather than uint (essentially the same) since hcreate/hdestroy are now in , remove private search.h in lib/libc/db/hash/ add $FreeBSD tags to hsearch.c /head/lib/libc/db/hash/search.h /head/lib/libc/db/hash/hsearch.c /head/include/search.h ============================================================== Author alfred Revision 62321 Date 2000-07-01T06:55:11.000000Z Log: bring in binary search tree code. Obtained from: NetBSD /head/include/Makefile /head/lib/libc/stdlib/twalk.c /head/lib/libc/stdlib/Makefile.inc /head/lib/libc/stdlib/tfind.c /head/lib/libc/stdlib/tdelete.c /head/lib/libc/stdlib/tsearch.3 /head/lib/libc/stdlib/tsearch.c /head/include/search.h ============================================================== Author alfred Revision 62186 Date 2000-06-27T23:14:07.000000Z Log: MFC: 1.85, don't panic on strange filetypes /stable/4/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 62185 Date 2000-06-27T23:08:36.000000Z Log: don't panic the system when fpathconv is called on an unsupported filetype. /head/sys/kern/kern_descrip.c ============================================================== Author alfred Revision 62184 Date 2000-06-27T22:46:35.000000Z Log: by changing the logic here we can support dynamic additions of new filetypes. Reviewed by: green /head/sys/miscfs/fdesc/fdesc_vnops.c /head/sys/fs/fdescfs/fdesc_vnops.c ============================================================== Author alfred Revision 62183 Date 2000-06-27T22:41:12.000000Z Log: use warnings use strict add 'usage' /head/sys/pci/locate.pl ============================================================== Author alfred Revision 62182 Date 2000-06-27T21:37:17.000000Z Log: if there are leading zeros fail the lookup Pointed out by: Alexander Viro /head/sys/miscfs/fdesc/fdesc_vnops.c /head/sys/fs/fdescfs/fdesc_vnops.c ============================================================== Author alfred Revision 62168 Date 2000-06-27T19:09:55.000000Z Log: remove crufty exec stuff, perl is in the base system make it work with warnings on (there was some harmless use of uninitialized variables) make it work with 'use strict' Approved by: peter /head/sys/kern/vnode_if.pl /head/sys/tools/vnode_if.awk ============================================================== Author alfred Revision 62133 Date 2000-06-26T20:49:22.000000Z Log: MFC: FreeBSD-SA-00:23 /stable/2.2/sys/netinet/ip_icmp.c /stable/2.2/sys/netinet/ip_input.c /stable/2.2/sys/netinet/ip_output.c ============================================================== Author alfred Revision 61976 Date 2000-06-22T22:27:16.000000Z Log: fix races in the uidinfo subsystem, several problems existed: 1) while allocating a uidinfo struct malloc is called with M_WAITOK, it's possible that while asleep another process by the same user could have woken up earlier and inserted an entry into the uid hash table. Having redundant entries causes inconsistancies that we can't handle. fix: do a non-waiting malloc, and if that fails then do a blocking malloc, after waking up check that no one else has inserted an entry for us already. 2) Because many checks for sbsize were done as "test then set" in a non atomic manner it was possible to exceed the limits put up via races. fix: instead of querying the count then setting, we just attempt to set the count and leave it up to the function to return success or failure. 3) The uidinfo code was inlining and repeating, lookups and insertions and deletions needed to be in their own functions for clarity. Reviewed by: green /head/sys/kern/uipc_usrreq.c /head/sys/kern/kern_proc.c /head/sys/kern/kern_prot.c /head/sys/kern/init_main.c /head/sys/sys/proc.h /head/sys/kern/kern_exit.c /head/sys/kern/uipc_socket.c /head/sys/svr4/svr4_misc.c /head/sys/kern/uipc_socket2.c /head/sys/compat/svr4/svr4_misc.c /head/sys/kern/uipc_sockbuf.c /head/sys/kern/kern_fork.c ============================================================== Author alfred Revision 61975 Date 2000-06-22T22:09:31.000000Z Log: fix warning, declare function static. Reviewed by: dfr /head/sys/sys/signalvar.h ============================================================== Author alfred Revision 61837 Date 2000-06-20T01:09:23.000000Z Log: return of the accept filter part II accept filters are now loadable as well as able to be compiled into the kernel. two accept filters are provided, one that returns sockets when data arrives the other when an http request is completed (doesn't work with 0.9 requests) Reviewed by: jmg /head/sys/netinet/accf_http.c /head/sys/modules/Makefile /head/sys/conf/files /head/sys/kern/uipc_socket.c /head/sys/kern/kern_accf.c /head/sys/kern/uipc_sockbuf.c /head/sys/kern/uipc_accf.c /head/sys/sys/socket.h /head/sys/modules/accf_data /head/sys/modules/accf_http /head/sys/sys/socketvar.h /head/sys/i386/conf/NOTES /head/sys/modules/accf_data/Makefile /head/sys/kern/uipc_socket2.c /head/sys/netinet/accf_data.c /head/sys/conf/NOTES /head/sys/modules/accf_http/Makefile /head/sys/conf/options ============================================================== Author alfred Revision 61799 Date 2000-06-18T08:49:13.000000Z Log: backout accept optimizations. Requested by: jmg, dcs, jdp, nate /head/sys/kern/uipc_socket.c /head/sys/kern/uipc_socket2.c /head/sys/kern/uipc_sockbuf.c /head/sys/sys/socket.h ============================================================== Author alfred Revision 61714 Date 2000-06-15T18:18:43.000000Z Log: add socketoptions DELAYACCEPT and HTTPACCEPT which will not allow an accept() until the incoming connection has either data waiting or what looks like a HTTP request header already in the socketbuffer. This ought to reduce the context switch time and overhead for processing requests. The initial idea and code for HTTPACCEPT came from Yahoo engineers and has been cleaned up and a more lightweight DELAYACCEPT for non-http servers has been added Reviewed by: silence on hackers. /head/sys/kern/uipc_socket.c /head/sys/kern/uipc_socket2.c /head/sys/kern/uipc_sockbuf.c /head/sys/sys/socket.h ============================================================== Author alfred Revision 61591 Date 2000-06-12T18:06:12.000000Z Log: unstatic getfp() so that other subsystems can use it. make sendfile() use it. Approved by: dg /head/sys/sys/filedesc.h /head/sys/kern/sys_generic.c /head/sys/kern/uipc_syscalls.c ============================================================== Author alfred Revision 61185 Date 2000-06-02T20:53:55.000000Z Log: MFC: document sbsize. /stable/4/etc/login.conf /stable/4/lib/libutil/login.conf.5 ============================================================== Author alfred Revision 61184 Date 2000-06-02T20:51:05.000000Z Log: document sbsize limit. /head/etc/login.conf /head/lib/libutil/login.conf.5 ============================================================== Author alfred Revision 60918 Date 2000-05-25T08:24:38.000000Z Log: fix stray 'i' from editor. /head/lib/libdisk/create_chunk.c ============================================================== Author alfred Revision 58964 Date 2000-04-03T06:36:57.000000Z Log: regenerate with MPSAFE from syscalls.master /head/sys/kern/init_sysent.c ============================================================== Author alfred Revision 58963 Date 2000-04-03T06:36:14.000000Z Log: Make makesyscalls.sh parse an optional field 'MPSAFE' that specifies that a syscall does not want the BGL to be grabbed automatically. Add the new MPSAFE flag to the syscalls that dillon has determined to be MPSAFE. /head/sys/kern/makesyscalls.sh /head/sys/kern/syscalls.master ============================================================== Author alfred Revision 58910 Date 2000-04-02T02:47:15.000000Z Log: Make mergemaster only take single letters for options as well as loop asking a question again if given an invalid input instead of assuming what the user wants. /etc is not the place to make assumptions when given invalid input. Reformat some of the more convoluted code into seperate functions instead of being inline using tabs instead of space indents. Allow the user to view merged files they created with sdiff. Allow the user to redisplay the diff between the installed file and the new file again. Time wasted waiting for review: 1 month 2 weeks /head/usr.sbin/mergemaster/mergemaster.sh ============================================================== Author alfred Revision 58640 Date 2000-03-26T23:06:12.000000Z Log: repair half-Danish b.b_iocmd damage where writes/reads weren't getting set properly in the struct buf with vinum: Fix locations where B_READ was cleared in the old code but b.b_iocmd wasn't set to BIO_WRITE Fix propogation of b_iocmd Correct comments to reflect reality Don't compare b_flags with BIO_READ, it's in b_iocmd. Submitted by: Bernd Walter /head/sys/dev/vinum/vinumrequest.c /head/sys/dev/vinum/vinuminterrupt.c /head/sys/dev/vinum/vinumrevive.c ============================================================== Author alfred Revision 58590 Date 2000-03-26T09:20:33.000000Z Log: rqe->b.b_flags |= B_READ; became rqe->b.b_iocmd == BIO_READ instead of rqe->b.b_iocmd = BIO_READ; fix it. /head/sys/dev/vinum/vinumraid5.c ============================================================== Author alfred Revision 57544 Date 2000-02-28T00:31:18.000000Z Log: -it do, among other things, clear out any +it does, amongst other things, clear out any The old sentance didn't seem to make sense. /head/sys/netinet/libalias/libalias.3 /head/lib/libalias/libalias.3 ============================================================== Author alfred Revision 57384 Date 2000-02-22T01:40:43.000000Z Log: Don't scare the users. Kirk argees that the comment about corruption caused by switching the flags on an already mounted manpage are bogus, it doesn't happen. Ok by: mckusick /head/sbin/mount/mount.8 /head/sbin/mount_ifs/mount.8 ============================================================== Author alfred Revision 57344 Date 2000-02-19T20:28:45.000000Z Log: detect deleted tty lines in /etc/ttys. /head/sbin/init/init.c ============================================================== Author alfred Revision 57328 Date 2000-02-18T23:47:02.000000Z Log: MFC: 1.8 /stable/2.2/bin/date/vary.c ============================================================== Author alfred Revision 57327 Date 2000-02-18T23:45:04.000000Z Log: MFC: 1.8 (re-add the month may) /stable/3/bin/date/vary.c ============================================================== Author alfred Revision 57326 Date 2000-02-18T23:41:45.000000Z Log: Re-add "May" to the list of dates supported. Approved by: jkh /head/bin/date/vary.c ============================================================== Author alfred Revision 56501 Date 2000-01-24T02:13:21.000000Z Log: Clarify that we don't offer hard realtime. Split timeval options into 3 paragraphs, it's easier on my eyes. /head/lib/libc/sys/select.2 ============================================================== Author alfred Revision 56237 Date 2000-01-18T12:24:44.000000Z Log: unbreak (rv -> r), afaik what Mike intended, boots fine on my machine /head/sys/i386/i386/nexus.c /head/sys/i386/i386/legacy.c /head/sys/amd64/amd64/nexus.c /head/sys/amd64/amd64/legacy.c ============================================================== Author alfred Revision 55993 Date 2000-01-14T20:49:01.000000Z Log: include proc.h to get curproc used in last revision. /stable/3/sys/ufs/ffs/ffs_balloc.c ============================================================== Author alfred Revision 55979 Date 2000-01-14T16:36:54.000000Z Log: MFC 1.25 (fix out of space panic with softdep) Approved by: mckusick /stable/3/sys/ufs/ffs/ffs_balloc.c ============================================================== Author alfred Revision 55749 Date 2000-01-10T10:24:47.000000Z Log: revision 1.40 backed out the removal of PCATCH in a tsleep allowing an infinite loop if a signal is delivered here. remove it again, this still ought to be revisited as the error should probably be returned. /head/sys/dev/vinum/vinumrequest.c ============================================================== Author alfred Revision 54971 Date 1999-12-21T20:21:48.000000Z Log: regenerate after making getfh a standard syscall. /head/sys/kern/init_sysent.c ============================================================== Author alfred Revision 54970 Date 1999-12-21T20:21:12.000000Z Log: make getfh a standard syscall instead of dependant on having NFSSERVER defined, useful for userland fileservers that want to use a filehandle type interface to the filesystem. Submitted by: Assar Westerlund assar@stacken.kth.se PR: kern/15452 /head/sys/nfs/nfs_common.c /head/sys/kern/syscalls.master /head/sys/nfsclient/nfs_subs.c /head/sys/nfs/nfs_subs.c /head/sys/nfsserver/nfs_srvsubs.c ============================================================== Author alfred Revision 54533 Date 1999-12-13T02:28:53.000000Z Log: explain that ioflags can be used to give read-ahead hints to the underlying filesystem. /head/share/man/man9/VOP_RDWR.9 /head/sys/sys/vnode.h ============================================================== Author alfred Revision 53905 Date 1999-11-30T01:17:52.000000Z Log: MFC: LINUX_SNDCTL_DSP_GETODELAY /stable/3/sys/i386/linux/linux.h /stable/3/sys/i386/linux/linux_ioctl.c ============================================================== Author alfred Revision 53904 Date 1999-11-30T01:16:51.000000Z Log: MFC: SNDCTL_DSP_GETODELAY from newpcm Reviewed by: cg /stable/3/sys/i386/isa/snd/sound.c /stable/3/sys/i386/include/soundcard.h ============================================================== Author alfred Revision 53902 Date 1999-11-29T23:03:34.000000Z Log: add linuxulator wrapper for SNDCTL_DSP_GETODELAY /head/sys/i386/linux/linux_ioctl.c /head/sys/alpha/linux/linux.h /head/sys/compat/linux/linux_ioctl.c /head/sys/i386/linux/linux.h ============================================================== Author alfred Revision 53901 Date 1999-11-29T23:01:59.000000Z Log: tanimura implemented SNDCTL_DSP_GETODELAY for pcm. Submitted by: tanimura /head/sys/sys/soundcard.h /head/sys/dev/sound/pcm/dsp.c ============================================================== Author alfred Revision 53892 Date 1999-11-29T19:12:50.000000Z Log: style fixes, remove extra braces. readdir_r is not POSIX according to POSIX_SOURCE, bruce says: > readdir_r() is in the _POSIX_SOURCE section, but is not a POSIX.1-1990 > function. It's POSIX.1-1996 so it should be under a different feature > test which we don't support yet. make sure errno is saved so that its contents are cleared unless necessary. Submitted by: bde /head/lib/libc/gen/readdir.c /head/include/dirent.h ============================================================== Author alfred Revision 53812 Date 1999-11-28T05:38:13.000000Z Log: add pthread_cancel, obtained from OpenBSD. eischen (Daniel Eischen) added wrappers to protect against cancled threads orphaning internal resources. the cancelability code is still a bit fuzzy but works for test programs of my own, OpenBSD's and some examples from ORA's books. add readdir_r to both libc and libc_r add some 'const' attributes to function parameters Reviewed by: eischen, jasone /head/lib/libkse/thread/thr_read.c /head/lib/libc_r/uthread/uthread_sigwait.c /head/lib/libc_r/man/Makefile.inc /head/include/pthread.h /head/lib/libc_r/uthread/uthread_getschedparam.c /head/lib/libpthread/thread/thr_getschedparam.c /head/lib/libpthread/thread/thr_sigwait.c /head/lib/libc_r/uthread/uthread_fchflags.c /head/lib/libkse/thread/thr_setschedparam.c /head/lib/libkse/thread/thr_cond.c /head/lib/libc_r/man/pthread_testcancel.3 /head/lib/libkse/thread/Makefile.inc /head/lib/libc_r/uthread/uthread_setschedparam.c /head/lib/libpthread/thread/thr_setschedparam.c /head/lib/libc_r/Makefile /head/lib/libkse/thread/thr_write.c /head/lib/libc_r/uthread/uthread_cancel.c /head/lib/libpthread/thread/thr_cancel.c /head/lib/libkse/thread/thr_kern.c /head/lib/libkse/thread/thr_join.c /head/lib/libc_r/uthread/uthread_write.c /head/lib/libpthread/thread/thr_write.c /head/lib/libkse/thread/thr_mutex.c /head/lib/libkse/thread/thr_attr_getscope.c /head/lib/libkse/thread/thr_attr_getinheritsched.c /head/lib/libc_r/uthread/uthread_attr_getschedpolicy.c /head/lib/libpthread/thread/thr_attr_getschedpolicy.c /head/lib/libkse/thread/thr_fcntl.c /head/lib/libc_r/uthread/uthread_attr_getschedparam.c /head/lib/libc_r/uthread/uthread_open.c /head/lib/libpthread/thread/thr_attr_getschedparam.c /head/lib/libpthread/thread/thr_open.c /head/lib/libc_r/uthread/uthread_mutex.c /head/lib/libpthread/thread/thr_mutex.c /head/lib/libc_r/uthread/uthread_attr_getscope.c /head/lib/libc_r/uthread/uthread_create.c /head/lib/libpthread/thread/thr_attr_getscope.c /head/lib/libpthread/thread/thr_create.c /head/lib/libc_r/uthread/uthread_fcntl.c /head/lib/libpthread/thread/thr_fcntl.c /head/lib/libc_r/uthread/pthread_private.h /head/lib/libkse/thread/thr_fsync.c /head/lib/libc_r/man/pthread_cancel.3 /head/lib/libpthread/thread/thr_private.h /head/share/man/man3/pthread_testcancel.3 /head/lib/libc_r/uthread/uthread_fsync.c /head/lib/libpthread/thread/thr_fsync.c /head/lib/libpthread/thread/Makefile.inc /head/lib/libc_r/uthread/uthread_fd.c /head/lib/libpthread/man/Makefile.inc /head/lib/libkse/thread/thr_open.c /head/lib/libkse/thread/thr_sigwait.c /head/lib/libpthread/man/pthread_testcancel.3 /head/lib/libpthread/Makefile /head/lib/libkse/thread/thr_nanosleep.c /head/lib/libc_r/uthread/uthread_file.c /head/share/man/man3/pthread_cancel.3 /head/lib/libc_r/uthread/uthread_nanosleep.c /head/lib/libpthread/thread/thr_nanosleep.c /head/lib/libc_r/uthread/Makefile.inc /head/lib/libc/gen/readdir.c /head/lib/libkse/thread/thr_attr_getschedpolicy.c /head/lib/libkse/thread/thr_close.c /head/lib/libc_r/uthread/uthread_init.c /head/lib/libpthread/man/pthread_cancel.3 /head/lib/libpthread/thread/thr_init.c /head/lib/libc_r/uthread/uthread_close.c /head/include/dirent.h /head/lib/libpthread/thread/thr_close.c /head/lib/libc_r/uthread/uthread_exit.c /head/lib/libpthread/thread/thr_exit.c /head/lib/libkse/thread/thr_private.h /head/lib/libc_r/uthread/uthread_read.c /head/lib/libpthread/thread/thr_read.c /head/lib/libkse/thread/thr_cancel.c /head/lib/libkse/thread/thr_wait4.c /head/lib/libc_r/uthread/uthread_cond.c /head/lib/libpthread/thread/thr_cond.c /head/lib/libkse/thread/thr_msync.c /head/lib/libc_r/uthread/uthread_wait4.c /head/lib/libpthread/thread/thr_wait4.c /head/lib/libc_r/uthread/uthread_msync.c /head/lib/libpthread/thread/thr_msync.c /head/lib/libkse/thread/thr_attr_getschedparam.c /head/lib/libkse/thread/thr_init.c /head/lib/libkse/thread/thr_create.c /head/lib/libc_r/uthread/uthread_join.c /head/lib/libc_r/uthread/uthread_kern.c /head/lib/libpthread/thread/thr_join.c /head/lib/libpthread/thread/thr_kern.c /head/lib/libkse/thread/thr_getschedparam.c /head/lib/libkse/Makefile /head/lib/libc_r/uthread/uthread_attr_getinheritsched.c /head/lib/libpthread/thread/thr_attr_getinheritsched.c /head/lib/libkse/thread/thr_exit.c ============================================================== Author alfred Revision 53665 Date 1999-11-24T10:44:47.000000Z Log: we all like to 'Use' ppp, but this should be 'User' Pointed out by: dcs /head/etc/defaults/rc.conf ============================================================== Author alfred Revision 53362 Date 1999-11-18T08:57:03.000000Z Log: remove PCATCH from a tsleep that isn't checked for (avoid infinite loop). this needs to be revisited. /head/sys/dev/vinum/vinumrequest.c ============================================================== Author alfred Revision 52201 Date 1999-10-13T09:55:42.000000Z Log: change identical and "programming error" panic("mcopy*")'s into more verbose messages using KASSERT. Reviewed by: eivind, des /head/sys/kern/uipc_mbuf.c ============================================================== Author alfred Revision 51979 Date 1999-10-07T08:41:55.000000Z Log: sync with netbsd PR 8534, fix undefined C code. Pointed out by: David A. Holland /head/libexec/ftpd/ftpcmd.y ============================================================== Author alfred Revision 51968 Date 1999-10-06T18:20:44.000000Z Log: Put the umount request through the same translation as the mount request. Fix some uninitialized warnings and a style bug while we are here. Problem still exists where a failed umount can be misreported as success. Submitted by: Martin Blapp /head/usr.sbin/mountd/mountd.c /head/sbin/mountd/mountd.c ============================================================== Author alfred Revision 51323 Date 1999-09-16T02:02:16.000000Z Log: Limit aliases to a vnode in the namecache to a sysctl tunable 'vfs.cache.maxaliases' This protects against a DoS via thousands of hardlinks to a file wiring down all kernel memory. Approved by: jkh /stable/3/sys/kern/vfs_subr.c /stable/3/sys/sys/vnode.h /stable/3/sys/kern/vfs_cache.c ============================================================== Author alfred Revision 51322 Date 1999-09-16T01:50:29.000000Z Log: Do not prematurely panic. Approved by: jkh /stable/3/sys/kern/vfs_bio.c ============================================================== Author alfred Revision 51185 Date 1999-09-11T21:07:14.000000Z Log: Add FreeBSD history in 'HISTORY' Pointed out by: obrien /head/lib/libc/sys/fhopen.2 ============================================================== Author alfred Revision 51184 Date 1999-09-11T21:00:03.000000Z Log: vnode -> mountpoint reference vfs_check_export change license to my own, (ok'd by dfr) and remove advert clause. remove extra Id tags and emacs cruft, this should be a fresh file. /head/share/man/man9/VFS_CHECKEXP.9 ============================================================== Author alfred Revision 51141 Date 1999-09-11T01:06:03.000000Z Log: regenerate to include proper "gererated from" taglines. /head/sys/sys/syscall-hide.h /head/sys/sys/sysproto.h /head/sys/kern/init_sysent.c /head/sys/kern/syscalls.c /head/sys/sys/syscall.h /head/sys/sys/syscall.mk ============================================================== Author alfred Revision 51140 Date 1999-09-11T00:57:20.000000Z Log: Document VFS changes: VFS_CHECKEXP.9, now used to check export credentials VFS_FHTOVP.9, only used for filehandle to vnode, no access checks are done. VFS.9, inform people of the vfs_std* functions available to avoid ugly casts to eopnotsup and making of dummy functions to return 0. /head/share/man/man9/VFS_CHECKEXP.9 /head/share/man/man9/VFS.9 /head/share/man/man9/VFS_FHTOVP.9 /head/share/man/man9/Makefile ============================================================== Author alfred Revision 51139 Date 1999-09-11T00:49:10.000000Z Log: Document fhopen, fhstat, and fhstatfs syscalls. Obtained from: NetBSD /head/lib/libc/sys/Makefile.inc /head/lib/libc/sys/fhopen.2 ============================================================== Author alfred Revision 51138 Date 1999-09-11T00:46:08.000000Z Log: Seperate the export check in VFS_FHTOVP, exports are now checked via VFS_CHECKEXP. Add fh(open|stat|stafs) syscalls to allow userland to query filesystems based on (network) filehandle. Obtained from: NetBSD /head/sys/miscfs/nullfs/null_vfsops.c /head/sys/miscfs/union/union_vfsops.c /head/sys/miscfs/kernfs/kernfs_vfsops.c /head/sys/fs/msdosfs/msdosfs_vfsops.c /head/sys/sys/syscall-hide.h /head/sys/kern/syscalls.master /head/sys/fs/umapfs/umap_vfsops.c /head/sys/nfs/nfs_subs.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/nfsclient/nfs_vfsops.c /head/sys/miscfs/procfs/procfs_vfsops.c /head/sys/coda/coda_vfsops.c /head/sys/nfsclient/nfs_nfsiod.c /head/sys/sys/syscall.mk /head/sys/fs/unionfs/union_vfsops.c /head/sys/ufs/ffs/ffs_extern.h /head/sys/nfs/nfs_common.c /head/sys/ntfs/ntfs_vfsops.c /head/sys/fs/nullfs/null_vfsops.c /head/sys/ufs/ffs/ffs_vfsops.c /head/sys/msdosfs/msdosfs_vfsops.c /head/sys/kern/syscalls.c /head/sys/sys/syscall.h /head/sys/fs/cd9660/cd9660_vfsops.c /head/sys/fs/procfs/procfs_vfsops.c /head/sys/kern/vfs_default.c /head/sys/miscfs/devfs/devfs_vfsops.c /head/sys/fs/portalfs/portal_vfsops.c /head/sys/kern/init_sysent.c /head/sys/nfsclient/nfs_subs.c /head/sys/ufs/mfs/mfs_vfsops.c /head/sys/kern/vfs_extattr.c /head/sys/isofs/cd9660/cd9660_vfsops.c /head/sys/kern/vfs_syscalls.c /head/sys/nfs/nfs_vfsops.c /head/sys/nfsserver/nfs_syscalls.c /head/sys/miscfs/umapfs/umap_vfsops.c /head/sys/ufs/ufs/ufs_extern.h /head/sys/fs/coda/coda_vfsops.c /head/sys/sys/mount.h /head/sys/sys/sysproto.h /head/sys/miscfs/portal/portal_vfsops.c /head/sys/gnu/ext2fs/ext2_vfsops.c /head/sys/ufs/ufs/ufs_vfsops.c /head/sys/nfs/nfs_syscalls.c /head/sys/nfsserver/nfs_srvsubs.c /head/sys/miscfs/fdesc/fdesc_vfsops.c /head/sys/fs/ntfs/ntfs_vfsops.c /head/sys/gnu/fs/ext2fs/ext2_vfsops.c ============================================================== Author alfred Revision 51122 Date 1999-09-10T09:12:24.000000Z Log: sync with src/sys/sys/mount.h /head/lib/libc/sys/statfs.2 ============================================================== Author alfred Revision 51068 Date 1999-09-07T22:42:38.000000Z Log: All unimplemented VFS ops now have entries in kern/vfs_default.c that return reasonable defaults. This avoids confusing and ugly casting to eopnotsupp or making dummy functions. Bogus casting of filesystem sysctls to eopnotsupp() have been removed. This should make *_vfsops.c more readable and reduce bloat. Reviewed by: msmith, eivind Approved by: phk Tested by: Jeroen Ruigrok/Asmodai /head/sys/fs/procfs/procfs_vfsops.c /head/sys/kern/vfs_default.c /head/sys/miscfs/devfs/devfs_vfsops.c /head/sys/fs/portalfs/portal_vfsops.c /head/sys/miscfs/kernfs/kernfs_vfsops.c /head/sys/fs/msdosfs/msdosfs_vfsops.c /head/sys/miscfs/union/union_vfsops.c /head/sys/miscfs/kernfs/kernfs.h /head/sys/isofs/cd9660/cd9660_vfsops.c /head/sys/fs/fdescfs/fdesc_vfsops.c /head/sys/nfsclient/nfs_vfsops.c /head/sys/coda/coda_vfsops.c /head/sys/miscfs/procfs/procfs_vfsops.c /head/sys/nfs/nfs_vfsops.c /head/sys/fs/unionfs/union_vfsops.c /head/sys/fs/coda/coda_vfsops.c /head/sys/ntfs/ntfs_vfsops.c /head/sys/sys/mount.h /head/sys/miscfs/portal/portal_vfsops.c /head/sys/miscfs/fdesc/fdesc_vfsops.c /head/sys/fs/ntfs/ntfs_vfsops.c /head/sys/msdosfs/msdosfs_vfsops.c /head/sys/fs/cd9660/cd9660_vfsops.c ============================================================== Author alfred Revision 50095 Date 1999-08-20T21:17:45.000000Z Log: MFC: 1.11 Reviewed by: eivind /stable/3/lib/libc_r/uthread/uthread_select.c ============================================================== Author alfred Revision 50093 Date 1999-08-20T21:06:20.000000Z Log: move sanity check of timeval struct so as not to segfault when passed a null pointer. Pointed out by: Thomas Gellekum Reviewed by: eivind /head/lib/libkse/thread/thr_select.c /head/lib/libc_r/uthread/uthread_select.c /head/lib/libpthread/thread/thr_select.c ============================================================== Author alfred Revision 50067 Date 1999-08-19T23:29:37.000000Z Log: MFC: sanity check time structures passed in uthread_poll.c: 1.2 uthread_nanosleep.c: 1.9 uthread_select.c: 1.10 uthread_cond.c: 1.16 /stable/3/lib/libc_r/uthread/uthread_select.c /stable/3/lib/libc_r/uthread/uthread_cond.c /stable/3/lib/libc_r/uthread/uthread_nanosleep.c /stable/3/lib/libc_r/uthread/uthread_poll.c ============================================================== Author alfred Revision 50066 Date 1999-08-19T23:18:07.000000Z Log: time_to_sleep->tv_nsec > 1000000000 -to- time_to_sleep->tv_nsec >= 1000000000 /head/lib/libkse/thread/thr_nanosleep.c /head/lib/libc_r/uthread/uthread_nanosleep.c /head/lib/libpthread/thread/thr_nanosleep.c ============================================================== Author alfred Revision 50065 Date 1999-08-19T23:06:11.000000Z Log: Sanity check time structures passed in, return EINVAL like the system calls do to avoid corrupting the thread library's concept of wakeup time. PR: kern/12141 Reviewed by: deischen, eivind /head/lib/libc_r/uthread/uthread_poll.c /head/lib/libpthread/thread/thr_poll.c /head/lib/libkse/thread/thr_select.c /head/lib/libkse/thread/thr_cond.c /head/lib/libc_r/uthread/uthread_select.c /head/lib/libkse/thread/thr_nanosleep.c /head/lib/libpthread/thread/thr_select.c /head/lib/libkse/thread/thr_poll.c /head/lib/libc_r/uthread/uthread_cond.c /head/lib/libpthread/thread/thr_cond.c /head/lib/libc_r/uthread/uthread_nanosleep.c /head/lib/libpthread/thread/thr_nanosleep.c ============================================================== Author alfred Revision 50058 Date 1999-08-19T16:54:00.000000Z Log: MFC: 1.20 uthread_kern.c, fix handling of time under/overflow Pointed out by: Fabian Thylmann Reviewed by: eivind, jb /stable/3/lib/libc_r/uthread/uthread_kern.c ============================================================== Author alfred Revision 50057 Date 1999-08-19T16:49:53.000000Z Log: handle under/overflow of time values in a more robust manner, there may be an overflow that need to be adjusted more than once. Pointed out by: Fabian Thylmann Reviewed by: eivind, jb /head/lib/libkse/thread/thr_kern.c /head/lib/libc_r/uthread/uthread_kern.c /head/lib/libpthread/thread/thr_kern.c ============================================================== Author alfred Revision 49791 Date 1999-08-14T19:58:58.000000Z Log: Fix potential overflow, remove unnecessary bzero. Pointed out by: green remove redundant strlen, sprintf returns the length. Reviewed by: peter /head/sys/kern/kern_sig.c ============================================================== Author alfred Revision 49664 Date 1999-08-12T20:38:32.000000Z Log: Replace a redundant vfs_object_create() call (already done in vn_open) with a KASSERT. Reviewed by: Eivind, Alan Cox /head/sys/kern/vfs_extattr.c /head/sys/kern/vfs_syscalls.c ============================================================== Author alfred Revision 49627 Date 1999-08-11T14:02:20.000000Z Log: When doing a dump, if ENODEV is returned explain what happened to the user, "the device doesn't support a dump routine" Only print "dump succeeded" when 0 is returned, instead of when an unexpected error number is returned, print that error number. Reviewed by: Eivind /head/sys/kern/kern_shutdown.c