ƒ°120422 200 974 204 262 254 147 304 298 165 236 115 134 139 140 168 186 191 158 170 261 281 202 139 178 693 140 178 445 161 206 164 1548 128 110 491 413 212 192 127 144 190 173 231 116 242 129 137 397 120 148 379 125 118 121 238 703 228 162 256 139 148 316 489 158 236 199 260 131 213 237 224 339 113 255 118 425 412 549 239 150 151 145 131 616 1081 537 119 138 241 164 144 356 148 774 897 301 205 121 211 154 205 409 339 195 118 165 162 162 150 524 962 174 540 133 257 157 145 216 1281 374 309 224 812 175 148 134 235 252 276 251 677 150 338 120 154 141 243 255 622 148 109 148 114 167 284 184 267 160 226 357 273 146 219 332 226 169 137 150 160 150 125 250 455 234 1710 196 190 189 189 147 106 112 443 125 173 139 203 208 100 194 221 636 163 163 144 125 356 275 521 185 353 168 331 186 208 128 211 701 144 321 309 K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-25T01:10:26.000000Z K 7 svn:log V 879 Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit systems where the data/stack/etc limits are too big for a 32 bit process. Move the 5 or so identical instances of ELF_RTLD_ADDR() into imgact_elf.c. Supply an ia32_fixlimits function. Export the clip/default values to sysctl under the compat.ia32 heirarchy. Have mmap(0, ...) respect the current p->p_limits[RLIMIT_DATA].rlim_max value rather than the sysctl tweakable variable. This allows mmap to place mappings at sensible locations when limits have been reduced. Have the imgact_elf.c ld-elf.so.1 placement algorithm use the same method as mmap(0, ...) now does. Note that we cannot remove all references to the sysctl tweakable maxdsiz etc variables because /etc/login.conf specifies a datasize of 'unlimited'. And that causes exec etc to fail since it can no longer find space to mmap things. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-25T01:11:17.000000Z K 7 svn:log V 109 Re-raise the default datasize and stacksize now that the 32 bit exec support can clip it to sensible values. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-25T02:51:06.000000Z K 7 svn:log V 169 - Eliminate the pte object. - Use kmem_alloc_nofault() rather than kmem_alloc_pageable() to allocate KVA space for the page directory page(s). Submitted by: tegge END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-09-25T04:53:38.000000Z K 7 svn:log V 156 MFC some of the security safety belts from sendmail 8.12.10 for 4.9-RELEASE. A full MFC of 8.12.10 will occur after 4.9-RELEASE. Approved by: re (murray) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-09-25T05:02:19.000000Z K 7 svn:log V 50 Detach black hole device on AC_PATH_DEREGISTERED. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-25T05:38:18.000000Z K 7 svn:log V 211 MFi386 Reimplement pmap_release() such that it uses the page table rather than the pte object to locate the page table directory pages. (Temporarily, retain an assertion on the emptiness of the pte object.) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-09-25T05:43:26.000000Z K 7 svn:log V 200 * scsi_cmds.c - Fill in autosense data. - Add compatibility for RELENG_4. * scsi_target.c - Raw device support - Set correct value in c_descr->offset for CAM_DIR_NONE case. - Support for CTIO abort. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-09-25T06:23:40.000000Z K 7 svn:log V 69 If syscall failed, restore old sigaction and return error to thread. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-09-25T07:56:48.000000Z K 7 svn:log V 138 Add -s option to strip subdirectory from module path. e.g. moudle-path/firewire/firewire.ko -> module-path/firewire.ko Reviewed by: grog END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-09-25T09:27:05.000000Z K 7 svn:log V 18 Phy register map. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-09-25T09:33:16.000000Z K 7 svn:log V 37 Add -p option to dump phy registers. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-09-25T13:35:48.000000Z K 7 svn:log V 44 Bump patch level for updated arplookup fix. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-09-25T13:36:51.000000Z K 7 svn:log V 48 panic() doesn't need `\n'. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-09-25T13:40:06.000000Z K 7 svn:log V 76 add /*CONSTCOND*/ to reduce diffs against latest KAME. Obtained from: KAME END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-09-25T13:53:49.000000Z K 7 svn:log V 90 pthread API should return error code in return value not in errno. Reviewed by: deischen END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-25T16:06:17.000000Z K 7 svn:log V 99 indicate PFIL_HOOKS is now required by IPFILTER; it used to automagically be defined in net/pfil.h END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-25T16:12:12.000000Z K 7 svn:log V 66 note PFIL_HOOKS must be explicitly configured when using IPFILTER END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-25T17:09:34.000000Z K 7 svn:log V 79 Fixed the update target to follow the correct CVS branch. Approved by: nectar END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-09-25T18:55:27.000000Z K 7 svn:log V 166 MFC BUS_DMA_ZERO support for busdma memory allocations, and M_ZERO support for contigmalloc, which is required for BUS_DMA_ZERO support. Approved by: re (scottl) END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-09-25T19:14:40.000000Z K 7 svn:log V 188 Add manual page documentation for the machine-independent PMAP subsystem. Include documentation of alc's new pmap_extract_and_hold() function. Reviewed by: hmp Approved by: jake (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-25T20:49:28.000000Z K 7 svn:log V 109 update to reflect new api Submitted by: Max Laier Obtained from: NetBSD (with changes) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-09-25T21:15:55.000000Z K 7 svn:log V 45 Clarify SRM bootability on Alpha for DAC960. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-09-25T21:18:47.000000Z K 7 svn:log V 84 MFC: Clarify SRM bootability on Alpha for DAC960. Approved by: re (bmah) / blanket END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-25T23:36:41.000000Z K 7 svn:log V 597 aic79xx_pci.c: aic7xxx_pci.c: When performing our register test, be careful to avoid resetting the chip when pausing the controller. The test reads the HCNTRL register and then writes it back with the PAUSE bit explicitly set. If the last write to the controller before our probe is to reset it, the CHIPRST bit will still be set, so we must mask it off before the PAUSE operation. On some chip versions, we cannot access registers for a few 100us after a reset, so this inadvertant reset was causing PCI errors to occur on the read to check for paused status. Submitted by: gibbs END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-09-25T23:44:15.000000Z K 7 svn:log V 48 Fix MLINKS. Noticed by: bde Pointy hat to: bms END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-25T23:56:20.000000Z K 7 svn:log V 86 o add information about the debugging tools o give proper attribution to Atsushi Onoe END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-26T01:49:48.000000Z K 7 svn:log V 350 Fix fabs(). This commit brought to you by the letter 'l'. (fstp stores a mem32 value, fstpl stores a mem64 value) This fixes ghostscript for 'make release' on amd64. Ghostscript for some reason thinks it is a good idea to use -fno-builtin, which means it is vulnerable to bugs in libc that are normally hidden by the builtin gcc functions. Oops. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-26T04:12:41.000000Z K 7 svn:log V 69 MFi386 Allocate the page table directory page as "no object" pages. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-09-26T04:32:40.000000Z K 7 svn:log V 113 Sort debugging levels and update the man page to match reality. Also update man page to reflect iasl(8) import. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-26T04:44:55.000000Z K 7 svn:log V 69 Make the port number available to the sub-device with PUC_IVAR_PORT. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-26T05:14:56.000000Z K 7 svn:log V 1451 Revert the introduction of iobase in struct uart_bas. Both the SAB82532 and the Z8530 drivers used the I/O address as a quick and dirty way to determine which channel they operated on, but formalizing this by introducing iobase is not a solution. How for example would a driver know which channel it controls for a multi-channel UART that only has a single I/O range? Instead, add an explicit field, called chan, to struct uart_bas that holds the channel within a device, or 0 otherwise. The chan field is initialized both by the system device probing (i.e. a system console) or it is passed down to uart_bus_probe() by any of the bus front-ends. As such, it impacts all platforms and bus drivers and makes it a rather large commit. Remove the use of iobase in uart_cpu_eqres() for pc98. It is expected that platforms have the capability to compare tag and handle pairs for equality; as to determine whether two pairs access the same device or not. The use of iobase for pc98 makes it impossible to formalize this and turn it into a real newbus function later. This commit reverts uart_cpu_eqres() for pc98 to an unimplemented function. It has to be reimplemented using only the tag and handle fields in struct uart_bas. Rewrite the SAB82532 and Z8530 drivers to use the chan field in struct uart_bas. Remove the IS_CHANNEL_A and IS_CHANNEL_B macros. We don't need to abstract anything anymore. Discussed with: nyan Tested on: i386, ia64, sparc64 END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-09-26T05:24:55.000000Z K 7 svn:log V 36 Consistently print attach messages. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-26T06:53:54.000000Z K 7 svn:log V 15 s/ia64/alpha/g END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T07:22:37.000000Z K 7 svn:log V 398 Add a cn_unit and cn_name field to the consdev structure. Most of the actual use of the cn_dev field is merely to get the name, and most of the actual initializations are bogusly using makedev() because the probe/attach has not been completed. Instead we will migrate console drivers to fill in the name and if the driver needs it: the unit number, thereby avoiding the bogus calls to makedev(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T07:26:54.000000Z K 7 svn:log V 320 Remove wrongly sized cnd_name field, we now store the name in the consdev structure. If the consdev name is not set and we have a cn_dev, set the name from there. Try to issue a printf about this, even though it may not have a place to go. Modify the sysctl related code to pick up the name from the consdev instead. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T07:29:34.000000Z K 7 svn:log V 119 Adhere to the new console API: Initialize cn_name Use cn_unit for internal housekeeping. Forget about cn_dev. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-26T07:55:18.000000Z K 7 svn:log V 100 MFC: 1.17, 1.18, 1.24, 1.28. Urged by: Sergey Benner Approved by: re (blanket) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T08:51:54.000000Z K 7 svn:log V 35 Initialize cn_name, ignore cn_dev. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-09-26T09:02:24.000000Z K 7 svn:log V 49 DELAY must be a routine, not a macro definition. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T09:05:57.000000Z K 7 svn:log V 98 Eliminate bogus use of makedev(): rather than synthesize the dev_t, use our already cached copy. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T09:07:27.000000Z K 7 svn:log V 81 Update the list of CDROM device names to try for booting with RB_CDROM flag set. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T10:32:21.000000Z K 7 svn:log V 138 As far as we know, there is no reason to not expose /dev/crypto in jails so code in there can take advantage of hardware assisted crypto. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T10:37:16.000000Z K 7 svn:log V 24 Set cn_name, not cn_dev END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T10:41:44.000000Z K 7 svn:log V 149 Change fb_attach() and fb_detach() to take a integer unit number rather than a dev_t. All of the dev_t's passed were bogusly created with makedev() END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T10:53:29.000000Z K 7 svn:log V 37 Initialize cn_name instead of cn_dev END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T10:55:07.000000Z K 7 svn:log V 45 Initialize the cn_name instead of the cn_dev END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-26T11:36:09.000000Z K 7 svn:log V 304 Use the correct speed in the delay for the transmission of a character in the loopback test in the probe. The delay was too short for consoles at speeds lower than about 3200 bps. This shouldn't have caused many problems, since such low speeds are rare and the probe is forced to succeed for consoles. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-09-26T11:59:04.000000Z K 7 svn:log V 24 Add __volatile keyword. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-09-26T12:07:43.000000Z K 7 svn:log V 51 - Updated list of FTP sites. Approved by: murray END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-26T12:11:08.000000Z K 7 svn:log V 286 Allow the [, ], and = characters in non-8.3 filenames since they are allowed by Windows (ref: MS KB article 120138). XXX From my reading of the CIFS specification, it's not clear that clients need to validate filenames at all. PR: 57123 Submitted by: Paul Coucher MFC after: 1 month END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T12:13:35.000000Z K 7 svn:log V 33 Typo in last commit: missing ')' END K 10 svn:author V 3 rse K 8 svn:date V 27 2003-09-26T12:22:28.000000Z K 7 svn:log V 26 fix typo: s/sytem/system/ END K 10 svn:author V 3 rse K 8 svn:date V 27 2003-09-26T12:24:16.000000Z K 7 svn:log V 29 fix typo: s/Instaed/Instead/ END K 10 svn:author V 6 robert K 8 svn:date V 27 2003-09-26T15:09:46.000000Z K 7 svn:log V 142 Move some tracing related code into its own function as it will be needed for system call related ptrace functionality I plan to commit soon. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-26T15:24:14.000000Z K 7 svn:log V 607 MFC: aic79xx_pci.c: aic7xxx_pci.c: When performing our register test, be careful to avoid resetting the chip when pausing the controller. The test reads the HCNTRL register and then writes it back with the PAUSE bit explicitly set. If the last write to the controller before our probe is to reset it, the CHIPRST bit will still be set, so we must mask it off before the PAUSE operation. On some chip versions, we cannot access registers for a few 100us after a reset, so this inadvertant reset was causing PCI errors to occur on the read to check for paused status. Approved by: re (murray) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-26T15:36:47.000000Z K 7 svn:log V 132 Update email addresses, copyrights, and tweak the management interface. Submitted by: "Leubner, Achim" END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T15:56:42.000000Z K 7 svn:log V 70 Remove code previously under #ifdef ASR_VERY_BROKEN Ok'ed by: scottl END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-09-26T16:02:04.000000Z K 7 svn:log V 164 MFC rev 1.55 By not setting No_CRC in the Mode Control Register, we must also reduce the size of the packet by 4 bytes to remove the ethernet crc. Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-26T16:48:39.000000Z K 7 svn:log V 47 correct spelling of IEEE80211_IOC_RTSTHRESHOLD END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-26T16:52:12.000000Z K 7 svn:log V 56 allocate node table entries with a specific malloc type END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-26T16:54:55.000000Z K 7 svn:log V 223 Correct rate set negotiation when operating as a station: if the AP has basic rates that we do not support then ignore them instead of marking the rate set in error. This fixes an 11b station associating with an 11g/b AP. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-26T17:00:44.000000Z K 7 svn:log V 396 Try yet again to deal with timing out nodes. We cannot hold the node lock while sending a management frame as this will potentially result in a LOR with a driver lock. This doesn't happen for the Atheros driver but does for the wi driver. Use a generation number to help process each node once when scanning the node table and drop the node lock if we need to timeout a node and send a frame. END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-09-26T17:03:09.000000Z K 7 svn:log V 66 Add the -xresolve flag to the route(8) man page. Reviewed by: ru END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-09-26T17:49:25.000000Z K 7 svn:log V 141 Separate out userland linting and kernel linting a bit more. This make things a bit easier for folks using lints other than the "base" lint. END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-09-26T18:10:11.000000Z K 7 svn:log V 106 Correct log message. This change documents the -genmask flag in route(8). Reviewed by: ru Valium to: bms END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-26T18:10:30.000000Z K 7 svn:log V 164 Catch up with the console interface change: the use of makedev() has been abandoned in favor of a (device) name-based approach. Submitted by: phk Tested on: alpha END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T18:57:34.000000Z K 7 svn:log V 39 Convert to cn_name rather than cn_dev. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-09-26T19:15:53.000000Z K 7 svn:log V 120 Additional corrections to OpenSSH buffer handling. Obtained from: openssh.org Originally committed to head by: nectar END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-09-26T19:15:53.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r120489, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T19:35:50.000000Z K 7 svn:log V 131 OK, I messed up /dev/console with what I had hoped would be compat code. Convert remaining console drivers and hope for the best. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-09-26T20:26:25.000000Z K 7 svn:log V 245 - Support for multibyte charsets in LIBICONV. - CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options (with corresponding modules). - kiconv(3) for loadable charset conversion tables support. Submitted by: Ryuichiro Imura END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T20:52:46.000000Z K 7 svn:log V 21 Add more KASSERTS(). END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-09-26T21:22:10.000000Z K 7 svn:log V 162 Make debug.acpi.level and debug.acpi.layer sysctls that can be set with the strings found in acpi(4). Also make acpi_ca_version a string so it is more readable. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-26T21:36:01.000000Z K 7 svn:log V 26 Fix compilation on alpha. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-09-26T21:43:25.000000Z K 7 svn:log V 328 Documentation of kernel disk_create() and disk_destroy() APIs. These APIs permit disk device drivers to register and deregister storage devices for use by storage device consumers. No doubt this API will change more as time flies by, but this should be helpful to the creators of new storage device drivers. Reviewed by: phk END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-09-26T22:08:23.000000Z K 7 svn:log V 315 Additional information on the memory properties of struct disk instances: the memory holding a struct disk should be pre-zeroed so as to initialize any storage framework private data in the structures properly. In addition, the memory must be writable so that the private data may be updated. Pointed out by: phk END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-27T01:18:27.000000Z K 7 svn:log V 456 Fixed some style bugs in previous commit. Mainly, forward-declare struct msdosfsmount so that this file has the same prerequisites as it used to. The new prerequistite was a meta-style bug. It required many style bugs (unsorted includes ...) elsewhere. Formatted prototypes in KNF. Resisted urge to sort all the prototypes, to minimise differences with NetBSD. (NetBSD has reformatted the prototypes but has not sorted them and still uses __P(()).) END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-27T05:44:53.000000Z K 7 svn:log V 146 Addendum to the previous revision: If vm_page_alloc() for the page table page fails, perform a VM_WAIT; update some comments in _pmap_allocpte(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-27T08:14:37.000000Z K 7 svn:log V 58 Use the 3-component version of the KERN_PROC_PROC sysctl. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-27T08:22:23.000000Z K 7 svn:log V 59 Document KERN_PROC_PROC, update KERN_PROC_ALL description. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T08:29:58.000000Z K 7 svn:log V 53 Fix dev_t handling to avoid needless makedev() call. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-09-27T09:16:18.000000Z K 7 svn:log V 38 Bump __FreeBSD_version for kiconv(3). END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-27T10:30:03.000000Z K 7 svn:log V 523 Quick fix for bitrot in locking in the SMP case. cd_getreg() and cd_setreg() were still using !(read_eflags() & PSL_I) as the condition for the lock hidden by COM_LOCK() (if any) being held. This worked when spin mutexes and/or critical_enter() used hard interrupt disablement, but it has caused recursion on the non-recursive mutex com_mtx since all relevant interrupt disablement became soft. The recursion is harmless unless there are other bugs, but it breaks an invariant so it is fatal if spinlocks are witnessed. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-27T11:13:59.000000Z K 7 svn:log V 988 Cleaned up and fixed setting of speeds in comparam(): - Removed conversion of a zero input speed to the output speed. This has been done better in ttioctl() since rev.1.108 of kern/tty.c almost 5 years ago. comparam() did the conversion incompletely for the case where the output speed is also zero. It had complications to avoid using zero speeds, but would still have used a zero input speed for setting watermarks if kern/tty.c had passed one. - Never permit the input speed to be different from the output speed. There was no validity check on the input speed for the case of a zero output speed. Then we didn't change the physical speeds, but we used the unvalidated input speed for setting watermarks and didn't return an error, so ttioctl() stored the unvalidated input speed in the tty struct where it could cause problems later. - Removed complications that were to avoid using a divisor of 0. The divisor is now always valid if the speed is accepted. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:01:01.000000Z K 7 svn:log V 444 The present defaults for the open and close for device drivers which provide no methods does not make any sense, and is not used by any driver. It is a pretty hard to come up with even a theoretical concept of a device driver which would always fail open and close with ENODEV. Change the defaults to be nullopen() and nullclose() which simply does nothing. Remove explicit initializations to these from the drivers which already used them. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:05:26.000000Z K 7 svn:log V 27 nopsize is no longer used. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:09:25.000000Z K 7 svn:log V 46 noopen() and noclose() is now no longer used. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:24:42.000000Z K 7 svn:log V 148 fdesc_poll() called seltrue() to do the default thing, this is pointlessly wrong when we have a default in vop_nopoll() which does the right thing. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:27:23.000000Z K 7 svn:log V 72 Return ENOIOCTL for unknown ioctls, don't use noioctl to return ENODEV. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:34:41.000000Z K 7 svn:log V 52 forgot to remove static declaration of fdesc_poll() END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-27T12:40:23.000000Z K 7 svn:log V 263 MFsio (sio.c 1.413: cleaned up and fixed setting of speeds in comparam()). This is just a cleanup here (modulo rev.1.108 of kern/tty.c), since the input speed can be different from to output speed and extra code to handle both speeds naturally handled all cases. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:44:06.000000Z K 7 svn:log V 56 Don't use seltrue when that is not really what we mean. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T12:53:33.000000Z K 7 svn:log V 681 Introduce no_poll() default method for device drivers. Have it do exactly the same as vop_nopoll() for consistency and put a comment in the two pointing at each other. Retire seltrue() in favour of no_poll(). Create private default functions in kern_conf.c instead of public ones. Change default strategy to return the bio with ENODEV instead of doing nothing which would lead the bio stranded. Retire public nullopen() and nullclose() as well as the entire band of public no{read,write,ioctl,mmap,kqfilter,strategy,poll,dump} funtions, they are the default actions now. Move the final two trivial functions from subr_xxx.c to kern_conf.c and retire the now empty subr_xxx.c END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-09-27T13:50:47.000000Z K 7 svn:log V 804 A number of fixes/enhancements for the ipfilter rc script: - Use a more robust check to determine if we need to load ipl.ko. - Don't try to run ipf -E if ipfilter is already enabled. Look at the net.inet.ipf.fr_running sysctl to figure this out. This fixes a warning message about ipfilter being already initialized. - Only one ipf -E command is needed. We don't need an extra one for the -6 case which would only print a warning message about ipfilter being already initialized. - Fix one occurence where we were running /sbin/ipf directly without using the ${ipfilter_program} variable if set. - In ipfilter_stop(), don't try to save the firewall state tables if ipfilter is disabled. Similarly, don't try to disable it if it's already disabled. This fixes some more error messages. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-09-27T13:58:16.000000Z K 7 svn:log V 204 Fix a cut n paste typo I introduced in rev 1.211. PR: 57012 Submitted by: Nobuyuki Koganemaru (original version) Friendly prod provided by: murray MFC: after re approval END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-09-27T14:02:15.000000Z K 7 svn:log V 108 Update an email address overlooked by scottl. Prompted by: scottl's commit message (see rev 1.9 of iir.c). END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-09-27T14:12:39.000000Z K 7 svn:log V 28 Add a note about kiconv(3). END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-09-27T17:27:02.000000Z K 7 svn:log V 116 No need to check for the directory, fols are assumed to have all the correct sources. Only check the crypto macros. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T17:29:03.000000Z K 7 svn:log V 62 Style changes to improve diffability against OpenBSD version. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-09-27T17:33:03.000000Z K 7 svn:log V 110 Don't install etc/printcap in the NO_LPR case; ports like 'cups' make their own etc/printcap if they need it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-09-27T17:44:41.000000Z K 7 svn:log V 312 Disable #define DEBUG in libdisk by default: since libdisk is primarily there to support sysinstall, and enabling DEBUG creates spurious console output that can't be read anyway... This slightly cleans up the visual impression of the system install by not spamming the console during the labeling of the disks. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-09-27T18:03:03.000000Z K 7 svn:log V 244 - Add the Dell PERC 4/Di to the list of supported devices; it has been supported for the last 10 months. [1] - Make the device list compact, since it is getting rather large. Reported by: David Magda [1] MFC after: 2 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T18:58:26.000000Z K 7 svn:log V 102 More style fixes to improve diffability with OpenBSD. Pull 'A' evilness for realloc(3) from OpenBSD. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-27T20:53:01.000000Z K 7 svn:log V 26 Eliminate the pte object. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T21:33:13.000000Z K 7 svn:log V 73 Provide a bit more help with "memory overwritten after free" style bugs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T21:43:16.000000Z K 7 svn:log V 70 Correctly name r_unit member tun_unit. Remove unused tun_wsel member. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T21:49:35.000000Z K 7 svn:log V 70 Add an explanation why MAJOR_AUTO should not be specified explicitly. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-27T21:50:00.000000Z K 7 svn:log V 58 Make life a little bit easier for cloning device drivers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-09-27T22:17:37.000000Z K 7 svn:log V 431 Two minor fixes: o It is the /usr/include files, not the /usr include files. o Document the practice of converting to the c99 standard uintXX_t form from the older, but non-standard, BSD-style u_intXX_t. This has been going on in the tree for a while now, and I've heard other developers also state that this conversion is happening. Note also that this is a slow process and should be treated like whitespace changes. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-27T22:28:14.000000Z K 7 svn:log V 866 Part 2 of implementing rstacks: add the ability to create rstacks and use the ability on ia64 to map the register stack. The orientation of the stack (i.e. its grow direction) is passed to vm_map_stack() in the overloaded cow argument. Since the grow direction is represented by bits, it is possible and allowed to create bi-directional stacks. This is not an advertised feature, more of a side-effect. Fix a bug in vm_map_growstack() that's specific to rstacks and which we could only find by having the ability to create rstacks: when the mapped stack ends at the faulting address, we have not actually mapped the faulting address. we need to include or cover the faulting address. Note that at this time mmap(2) has not been extended to allow the creation of rstacks by processes. If such a need arises, this can be done. Tested on: alpha, i386, ia64, sparc64 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-27T23:07:47.000000Z K 7 svn:log V 79 Remove the regstkpages sysctl variable. We have a growable register stack now. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-27T23:27:19.000000Z K 7 svn:log V 444 Relink libc_r.a, libc_r.so and libc_r_p.so from libthr to libkse. On ia64, where there's no libc_r at all, libkse is now the default thread library by virtue of these links. The reasons for this change are: 1. libkse is slated to become the default thread library anyway, 2. active development and maintenance is only present for libkse, 3. GNOME and KDE, both in the process of being supported on ia64, work better with KSE; even on ia64. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-28T00:11:15.000000Z K 7 svn:log V 41 Add vm object locking to pmap_release(). END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-09-28T03:15:21.000000Z K 7 svn:log V 160 Having had to spend several hours today figuring out just what it is that VOP_GETPAGES() is supposed to do, share the results with everyone who isn't Alan Cox. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-09-28T03:34:49.000000Z K 7 svn:log V 60 - Another update to list of FTP sites Approved by: murray END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-09-28T04:16:16.000000Z K 7 svn:log V 54 Typo when setting wirespeed. || != | Found by: jake END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-28T04:50:48.000000Z K 7 svn:log V 123 In vm_page_remove(), assert that the vm object is locked, unless an Alpha. (The Alpha still requires updates to its pmap.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-09-28T05:21:23.000000Z K 7 svn:log V 1183 Tweak "system security profiles: (1) Don't modify the configuration of the NFS server as a result of selecting a profile. We already explicitly prompt for the NFS server configuration during install, and the user may not get much advance notice that we're turning it off again. Instead, use profiles (for better or for worse) only for security tuning. (2) Don't modify the sendmail setting as part of the security profile: use the default from /etc/defaults/rc.conf rather than explicitly specifying. Note that the default in /etc/defaults/rc.conf is more conservative than the explicit rc.conf entry added by sysinstall during install, as it does not permit SMTP delivery. (3) Update "congratulations on your profile" text to reflect these changes. Note that security profiles now affect only the securelevel and sshd settings. My leaning would be to make sshd an explicit configuration option, move securelevels to the security menu, and drop security profiles entirely. However, that requires more plumbing of sendmail than I'm currently willing to invest. We may want to add a "permit SMTP delivery" question to the install process. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-28T05:34:07.000000Z K 7 svn:log V 278 Drop any and all support for varargs. There's no history to worry about because we're still tier 2 and our current compiler, as well as future compilers will not support varargs. This is mostly a no-op in practice, because should already cause compile failures. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-09-28T05:36:30.000000Z K 7 svn:log V 215 Add a "low" console priority. This specifies that the console device may have limited functionality and should only be used as a last resort, perhaps only to tell the user that they should be using something else. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-09-28T05:38:37.000000Z K 7 svn:log V 130 Make ofw_console a low priority console device, so that uart will be preferred in all cases, even if the "remote" bit is not set. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-28T06:02:33.000000Z K 7 svn:log V 719 Reworked rev.1.14. Use the ELF symbol type again to summarily reject some symbols in X_db_search_symbol(). Reject the same symbols that rev.1.13 did (all except STT_OBJECT and STT_FUNC), except don't reject typeless symbols. This keeps the typeless symbols in non-verbosely written assembler code visible, but makes file symbols invisible. ELF file symbols have type STT_FILE and value 0, so this stops small values and offsets sometimes being displayed in terms of the first file symbol in the kernel (usually device_if.c). I think it rejects some other unwanted symbols (small absolute symbols for things like struct offsets). It may reject some wanted symbols (large absolute symbols for addresses like PTmap). END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-09-28T06:51:47.000000Z K 7 svn:log V 82 Only create the ofwcons device nodes if it has been initialized, not just probed. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-09-28T07:06:34.000000Z K 7 svn:log V 55 Set the baud rate to 1200 if the device is a keyboard. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-28T08:43:41.000000Z K 7 svn:log V 42 Remove remnants of Kerberos -Kkx options. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-28T08:54:56.000000Z K 7 svn:log V 142 Use the POSIX tty interface instead of the old interface. This makes rlogin work properly without COMPAT_43. Obtained from: NetBSD (mycroft) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-28T09:16:09.000000Z K 7 svn:log V 159 Use the new style struct sockaddr instead of osockaddr in system calls so that talkd works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-28T09:21:24.000000Z K 7 svn:log V 183 Don't cast ioctl FIONREAD's argument to struct sgttyb *. This makes no function changes, but removes an unnecessary reference to a deprecated struct. Obtained from: NetBSD (thorpej) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-28T09:45:56.000000Z K 7 svn:log V 158 Use the new style struct sockaddr instead of osockaddr in system calls so that talk works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-09-28T11:08:31.000000Z K 7 svn:log V 580 Save and restore the interrupt mask in fork1() instead of using spl0() and hence assuming that the old interrupt mask was zero. Although fork1() is normally called with a zero mask, one exception to this is when it is called by kthread_create() before configure() has unmasked interrupts for the first time. In that case it can cause interrupt storm hangs during device configuration, because interrupts can be delivered before the corresponding device drivers are ready to receive them. This should fix the boot-time USB hangs that have been reported. Approved by: re (murray) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-09-28T13:05:26.000000Z K 7 svn:log V 53 - Update to list of FTP sites. Approved by: murray END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-28T13:12:26.000000Z K 7 svn:log V 245 Removed some nearly dead code in comparam(). We don't need to recover from fiddling with CS_TTGO since fiddling with CS_TTGO was removed in rev.1.218 of the i386/isa version (which was merged with loss of history in rev.1.223 of this version). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-09-28T13:47:29.000000Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-09-28T16:17:30.000000Z K 7 svn:log V 58 Prefer FreeBSD.org to freebsd.org in mail alias examples. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-28T16:25:35.000000Z K 7 svn:log V 49 Note change to cdevsw open/close default change. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-09-28T17:54:48.000000Z K 7 svn:log V 145 - Clarification to how command line arguments are processed. PR: docs/55613 Submitted by: gshapiro@freebsd.org Approved by: blackend (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-28T18:20:42.000000Z K 7 svn:log V 159 Don't explicitly initialize d_maj in the cdevsw with MAJOR_AUTO, as per the intentions of conf.h, rev 1.176. This change is a no-op as MAJOR_AUTO equals to 0. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-28T20:48:13.000000Z K 7 svn:log V 529 I don't know from where the notion that device driver should or even could call VOP_REVOKE() on vnodes associated with its dev_t's has originated, but it stops right here. If there are things people belive destroy_dev() needs to learn how to do, please tell me about it, preferably with a reproducible test case. Include in bluetooth code rather than rely on to do so. The fact that some of the USB code needs to include still disturbs me greatly, but I do not have time to chase that. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-28T20:50:36.000000Z K 7 svn:log V 56 Retire revoke_and_destroy_dev() with extreme prejudice. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-09-28T22:38:43.000000Z K 7 svn:log V 16 Add Michaelmas. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-09-28T22:55:45.000000Z K 7 svn:log V 53 Welcome to 4.9-RC. RC1 is imminent. Approved by: re END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-09-28T22:56:57.000000Z K 7 svn:log V 19 Update for 4.9-RC. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-09-29T01:09:13.000000Z K 7 svn:log V 74 Add St. Crispin's day. Requested by: Andrew Lankford END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-09-29T02:14:04.000000Z K 7 svn:log V 189 Add a tiny bit more delay in the xl_mii_sync function; this is necessary for proper intialization in certain 905B + old system combinations. Tested by: Jakub Miziolek END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-09-29T03:16:20.000000Z K 7 svn:log V 91 Remove calls to makedev. They were never needed. Requested by: phk Explained by: rwatson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-09-29T06:25:04.000000Z K 7 svn:log V 170 When concurrency level is reduced and a kse is exiting, make sure no other threads are still referencing the kse by migrating them to initial kse. Reviewed by: deischen END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-09-29T06:32:11.000000Z K 7 svn:log V 68 Add -L to the usage message. PR: 57327 Submitted by: Matt Peterson END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-09-29T06:34:47.000000Z K 7 svn:log V 133 Document that the atheros driver supports wicontrol too. Minor word smithing as approrpiate. PR: 57327 Submitted by: Matt Peterson END K 10 svn:author V 5 bland K 8 svn:date V 27 2003-09-29T07:16:21.000000Z K 7 svn:log V 262 According to information from the Ministry of Health, Labour and Welfare, Japanese national holidays have been revised, and Respect-for-the-Aged Day will be on the third Monday of September from 2003 on. PR: 56695 Submitted by: Vitaly Musaev END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-09-29T07:29:26.000000Z K 7 svn:log V 180 If asked to stall for more than 100 us (which is specified as the max in the ACPI standard), call sleep instead since that is probably what the caller meant. Mentioned by: peter END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-29T07:44:23.000000Z K 7 svn:log V 54 Return ENODEV in case the driver has no dump routine. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-09-29T08:19:06.000000Z K 7 svn:log V 125 Revert last commit. It built the kernel module just fine, but broke world in /sbin. Reported by: erwin Pointy hat to: grog END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-09-29T08:50:03.000000Z K 7 svn:log V 238 If we fail to complete configuring a subdisk because of some error, make sure we return any allocated space to the drive. This should get rid of a number of inconsistencies (hopefully all) that have been seen after configuration errors. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-09-29T13:41:26.000000Z K 7 svn:log V 128 If __sys_write() returns 0, allow that to exit the loop in libc_r's wrapped version of write(). Submitted by: dan@langille.org END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-29T14:10:04.000000Z K 7 svn:log V 74 Eliminate the use of a statically assign major number for the aac device. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-29T14:11:23.000000Z K 7 svn:log V 42 aac no longer uses a static major number. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-29T14:14:35.000000Z K 7 svn:log V 55 Use a dynamic major assignment for the raidctl device. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-29T14:15:57.000000Z K 7 svn:log V 65 Remove the static reservations for the raid and raidctl devices. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-09-29T14:23:59.000000Z K 7 svn:log V 55 Forced commit. Mark a function prototype as external. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-09-29T15:53:54.000000Z K 7 svn:log V 29 MFC: Fix a cut n paste typo. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-09-29T18:35:17.000000Z K 7 svn:log V 153 If the struct mac copied into the kernel has a negative length, return EINVAL rather than failing the following malloc due to the value being too large. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-09-29T20:53:19.000000Z K 7 svn:log V 358 Add a new column to the procfs map to hold the name of the mapped file for vnode mappings. Note that this uses vn_fullpath() and may be somewhat unreliable, although not too unreliable for shared libraries. For non-vnode mappings, just print "-" for the field. Obtained from: TrustedBSD Projects Sponsored by: DARPA, AFRL, Network Associates Laboratories END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-29T22:47:45.000000Z K 7 svn:log V 141 os dependency glue file for improving portability Submitted by: Supported by: FreeBSD Foundation Obtained from: NetBSD END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-29T22:57:43.000000Z K 7 svn:log V 1616 MFp4: portability work, general cleanup, locking fixes change 38496 o add ipsec_osdep.h that holds os-specific definitions for portability o s/KASSERT/IPSEC_ASSERT/ for portability o s/SPLASSERT/IPSEC_SPLASSERT/ for portability o remove function names from ASSERT strings since line#+file pinpints the location o use __func__ uniformly to reduce string storage o convert some random #ifdef DIAGNOSTIC code to assertions o remove some debuggging assertions no longer needed change 38498 o replace numerous bogus panic's with equally bogus assertions that at least go away on a production system change 38502 + 38530 o change explicit mtx operations to #defines to simplify future changes to a different lock type change 38531 o hookup ipv4 ctlinput paths to a noop routine; we should be handling path mtu changes at least o correct potential null pointer deref in ipsec4_common_input_cb chnage 38685 o fix locking for bundled SA's and for when key exchange is required change 38770 o eliminate recursion on the SAHTREE lock change 38804 o cleanup some types: long -> time_t o remove refrence to dead #define change 38805 o correct some types: long -> time_t o add scan generation # to secpolicy to deal with locking issues change 38806 o use LIST_FOREACH_SAFE instead of handrolled code o change key_flush_spd to drop the sptree lock before purging an entry to avoid lock recursion and to avoid holding the lock over a long-running operation o misc cleanups of tangled and twisty code There is still much to do here but for now things look to be working again. Supported by: FreeBSD Foundation END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-09-30T00:51:31.000000Z K 7 svn:log V 103 Add manual pages for the vm_map(9) part of the VM. Reviewed by: juli Approved by: jake (mentor) END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-09-30T00:54:06.000000Z K 7 svn:log V 98 Add a (somewhat verbose) manual page for vm_map(9). Reviewed by: juli Approved by: jake (mentor) END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-09-30T00:56:17.000000Z K 7 svn:log V 97 Add manual pages for the vm_map(9) part of the VM. Reviewed by: juli Approved by: jake (mentor) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-30T03:49:09.000000Z K 7 svn:log V 95 Stop this warning: "Makefile", line 35: warning: "grep DDB opt_ddb.h" returned non-zero status END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-30T04:09:21.000000Z K 7 svn:log V 53 Make this build and work on amd64 (sledge at least). END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-30T04:17:45.000000Z K 7 svn:log V 12 Add mptable END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-30T04:19:01.000000Z K 7 svn:log V 18 Add asf for amd64 END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-09-30T04:46:08.000000Z K 7 svn:log V 350 Correct pfil_run_hooks return handling: if the return value is non-zero then the mbuf has been consumed by a hook; otherwise beware of a null mbuf return (gack). In particular the bridge was doing the wrong thing. While in the ipv6 code make it's handling of pfil_run_hooks identical to netbsd. Pointed out by: Pyun YongHyeon END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-09-30T04:51:12.000000Z K 7 svn:log V 32 - Correct a typo in a comment. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-09-30T04:52:24.000000Z K 7 svn:log V 80 - Remove the definition for TD_SWITCHIN as it is not used. Approved by: peter END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-30T06:38:11.000000Z K 7 svn:log V 45 MFi386: BURN_BRIDGES around timer0 functions END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-30T06:42:47.000000Z K 7 svn:log V 108 MFi386: Do not depend on LEAPYEAR() macro boolean values being 0 or 1. MFi386: Add quality field for timer0 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-30T07:05:46.000000Z K 7 svn:log V 115 Cite the published version of "Engineering a Sort Function" instead of an email address. Spell McIlroy correctly. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-30T07:52:15.000000Z K 7 svn:log V 9 GEOMify. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-09-30T07:57:05.000000Z K 7 svn:log V 101 Sync style and comments with latest KAME to reduce diffs. No functional change. Obtained from: KAME END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-09-30T08:03:52.000000Z K 7 svn:log V 123 - Pick up a correct path_id for the bus on AC_PATH_REGISTERED. - Call cam_periph_invalidate() only if the periph is found. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-09-30T08:11:36.000000Z K 7 svn:log V 542 - On my Pentium4-M laptop, invalpg takes ~1100 cycles if the page is found in the TLB and ~1600 if it is not. Therefore, it is more effecient to invalidate the TLB after operations that use CMAP rather than before. - So that the tlb is invalidated prior to switching off of a processor, we must change the switchin functions to switchout functions. - Remove td_switchout from the thread and move it to the x86 pcb. - Move the code that calls switchout into swtch.s. These changes make this optimization truely x86 specific. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-09-30T09:06:58.000000Z K 7 svn:log V 71 Reduce diffs against KAME. No functional change. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-09-30T10:52:49.000000Z K 7 svn:log V 71 Reduce diffs against KAME. No functional change. Obtained from: KAME END K 10 svn:author V 3 des K 8 svn:date V 27 2003-09-30T13:35:19.000000Z K 7 svn:log V 52 Fix a (fortunately harmless) signed / unsigned bug. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-09-30T18:23:22.000000Z K 7 svn:log V 31 MFC rev 1.154 Approved by: re END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-09-30T19:12:37.000000Z K 7 svn:log V 263 Revert 1.24. It causes a hang on shutdown for Marcel. This is due to AcpiEnterSleepState() calling a long AcpiOsStall() with interrupts disabled. This fix will instead be added to ACPI-CA. PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-09-30T20:34:57.000000Z K 7 svn:log V 182 Define a new __GNUC_PREREQ__(maj, min) to test if we have a specific version of GCC or later and use it where appropriate. It makes this file more readable. Obtained from: OpenBSD END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-09-30T20:45:14.000000Z K 7 svn:log V 428 Introduce new __predict_false(exp) and __predict_true(exp) keywords. Their purpose is to give explicit hints to the compiler to judge the likelyhood of a test to succeed or fail. Not all architectures have support for such optimizations, but for those who do, it can give a nice performance improvement in hot loops. Obviously, this should be used very rarely in very specific code. Reviewed by: peter Obtained from: OpenBSD END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-09-30T20:54:12.000000Z K 7 svn:log V 93 Use __predict_false() in the KASSERT() macro. We expect this test to fail most of the time. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-09-30T22:35:27.000000Z K 7 svn:log V 260 Allow the compiler to micro-optimize byte swapping functions by evaluating them at compile time rather than at run time. As for x86 and amd64, this requires GCC and it's enabled only if __OPTIMIZE__ is defined (ie, if at least -O is used). Reviewed by: jake END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-09-30T22:39:22.000000Z K 7 svn:log V 73 fix typos in comments. Submitted by: Vincent Jardin END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-01T00:27:09.000000Z K 7 svn:log V 237 - Correct a problem with the last commit. The CMAP ptes need to be zeroed prior to invalidating the TLB to be certain that the processor doesn't keep a cached copy. Discussed with: pete Paniced: tegge Pointy Hat: The usual spot END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-10-01T00:57:49.000000Z K 7 svn:log V 93 Remove Australian holidays. They're wrong, and more correct ones are in calendar.australia. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-10-01T00:58:35.000000Z K 7 svn:log V 114 Get some holidays more correct. This isn't helped by the lack of firm information from the government web sites. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-10-01T00:59:13.000000Z K 7 svn:log V 35 Remove a poorly chosen line break. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-01T01:08:04.000000Z K 7 svn:log V 116 Use __register_t instead of register_t, otherwise is a prerequisite for on amd64. Oops. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2003-10-01T01:21:37.000000Z K 7 svn:log V 603 Fix a bug which was introduced in version 1.187.2.16 of sys/vm/vm_map.c and affects the unwiring memory: The map entries are processed in a loop, checking to make sure the entry is wired and asserting it has a wired count. However, another loop was inserted more-or-less in the middle of the of the unwiring path. This loop picks up the "entry" loop variable from the first loop without first setting it to start_entry. Naturally, the second loop is never entered and the pages backing the entries are never unwired. This can lead to a leak of wired pages. Reviewed by: alc Approved by: re (murray) END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2003-10-01T04:02:18.000000Z K 7 svn:log V 50 Fix a function prototype error. Approved by: re@ END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-01T05:25:27.000000Z K 7 svn:log V 227 - Add ss2_pagezero() for zeroing pages using the movnti instruction. This instruction is enabled with SSE2 but does not use SSE registers. It is a "non-temporal" move which bypasses the cache and does not dirty lines. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-01T05:42:58.000000Z K 7 svn:log V 215 - Define an inline pagezero() to select the appropriate full-page zeroing function from one of bzero, i686_pagezero, or sse2_pagezero. - Use pagezero() in the three pmap functions that need to zero full pages. END