ƒ¯104449 203 319 169 207 244 537 264 347 825 152 139 118 356 116 135 142 164 146 233 178 117 143 146 241 180 156 254 342 753 236 241 167 140 123 115 123 152 132 286 146 175 152 120 310 140 159 411 153 223 447 114 390 266 968 151 286 234 167 195 361 132 216 183 173 180 297 1121 191 257 305 132 1064 380 376 370 192 208 270 141 391 606 342 307 141 235 411 217 289 185 166 314 301 163 602 225 231 143 121 821 226 375 276 112 167 242 176 373 207 144 179 413 261 160 238 246 248 170 174 142 169 126 146 221 498 788 330 387 162 154 154 183 192 222 294 297 293 159 501 159 155 202 151 110 179 240 167 135 126 128 204 502 726 193 150 676 135 133 350 163 140 180 238 206 255 196 229 202 227 192 203 313 145 200 180 167 453 133 158 170 166 353 343 854 403 235 342 136 330 137 256 285 688 336 537 802 301 399 197 203 224 251 166 210 438 K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T09:58:17.000000Z K 7 svn:log V 226 Add the new function "sbuf_done()" which returns non-zero if the sbuf is finished. This allows sbufs to be used for request/response scenarioes without needing additional communication flags. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T10:06:19.000000Z K 7 svn:log V 77 Properly conditionalize a debugging printf. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T10:15:26.000000Z K 7 svn:log V 114 Implement the "kern.disks" sysctl in GEOM. This makes "mdconfig -l" work again. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T10:38:36.000000Z K 7 svn:log V 151 Properly isolate the locking domains of sysctl from the topology lock for the sysctls which report the configuration. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T11:20:18.000000Z K 7 svn:log V 444 Ok, concensus was to install libexpat under a "private brandname", and after some deliberation the name "libbsdxml" was chosen since it conveys the two most important attributes: "Private to FreeBSD" and "XML". Add a skeleton man-page to give the credit and point for further documentation. (If somebody wants to write a true mdoc manpage for this I am sure both the eXpat people and I will be grateful). (Still not connected to the build) END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-10-04T11:31:00.000000Z K 7 svn:log V 168 Correct the regressive part of my last commit to these files: use the .Fn macro instead of the .Fo ... .Fc combination to format function prototypes. Reminded by: bde END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-04T12:54:36.000000Z K 7 svn:log V 254 Use the -mno-align-long-strings on i386's to debloat the kernel a little. This reduces the size of GENERIC's text space by 73999 bytes (about 2%). The bloat is from approximately 3437 strings longer than 31 characters being padded to a 32-byte boundary. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T13:33:30.000000Z K 7 svn:log V 732 Unhook the SCSI CD driver from the disk "mini-layer" and/or GEOM. SCSI disks are too square pegs for the round holes in both of these. And since atapi-cd has clearly shown that there are better acccess models for CD media than trying to pretend to be a classical disk, we stop the masquerade rather than patch up the costume. But do implement the DIOCGMEDIASIZE and DIOCGSECTORSIZE so it will be possible to manually attach to GEOM, should some the need arise. Ideally, this driver should do media-detection and call make_dev() when a CD is inserted and destroy_dev() when it is removed, this would allow our future devd(8) to automount etc etc but coding that takes SCSI-clue beyond anything I posses. Tested on: sparc64 END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T13:36:12.000000Z K 7 svn:log V 60 Reflect the fact that we install our libexpat as libbsdxml. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T13:40:39.000000Z K 7 svn:log V 47 Connect libbsdxml (nee libexpat) to the build. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-10-04T14:05:00.000000Z K 7 svn:log V 25 Include END K 10 svn:author V 8 deischen K 8 svn:date V 27 2002-10-04T14:50:55.000000Z K 7 svn:log V 258 Add another temporary hack to allow running older i386 binaries. This will be removed when new versions of syscalls sigreturn() and sigaction() are added (mini is working on this but is in the middle of a move). This should fix the problem of cvsupd dying. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-10-04T15:06:44.000000Z K 7 svn:log V 25 Style. Approved by: phk END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-10-04T15:07:39.000000Z K 7 svn:log V 44 Minor tweaks to make this manpage readable. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-10-04T15:56:02.000000Z K 7 svn:log V 45 Fix typo in panic msg. Reviewed by: gallatin END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-10-04T15:58:03.000000Z K 7 svn:log V 67 Add a couple of missing ':' in panic msgs. Suggested by: gallatin END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-10-04T16:25:08.000000Z K 7 svn:log V 55 Sort in ``phone directory'' order (except for LIBC_*). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-04T16:45:25.000000Z K 7 svn:log V 140 Fix off-by-one error processing the line after an empty line when the -a option is not specified. Submitted by: schweikh MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-04T16:53:12.000000Z K 7 svn:log V 85 New release notes: matcd(4) removal, libbsdxml. While here, fix a minor style nit. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-04T16:53:39.000000Z K 7 svn:log V 24 Remove matcd(4) device. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T18:10:39.000000Z K 7 svn:log V 51 White-space change only. Move closer to style(9). END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-04T20:07:58.000000Z K 7 svn:log V 50 Vendor import of the Intel ACPI CA 20021002 drop. END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-04T20:07:58.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r104470, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-10-04T20:07:59.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20021002'. END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-04T20:09:19.000000Z K 7 svn:log V 60 Resolve conflicts arising from the ACPI CA 20021002 import. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-04T20:19:36.000000Z K 7 svn:log V 161 Fix a bogon in previous commit. bcopy() from the malloc'd memory that we already copied into, rather than doing the bcopy() from the userland pointer. "Oops." END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-04T20:30:03.000000Z K 7 svn:log V 249 Give make(1) the ability to use KQUEUE to wait for worker processes instead of polling for them. Unfortunately we cannot enable it yet because it panics the kernel somewhere in kqueue. Submitted by: Stefan Farfeleder END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:31:23.000000Z K 7 svn:log V 660 In-kernel crypto framework derived from openbsd. This facility provides a consistent interface to h/w and s/w crypto algorithms for use by the kernel and (for h/w at least) by user-mode apps. Access for user-level code is through a /dev/crypto device that'll eventually be used by openssl to (potentially) accelerate many applications. Coming soon is an IPsec that makes use of this service to accelerate ESP, AH, and IPCOMP protocols. Included here is the "core" crypto support, /dev/crypto driver, various crypto algorithms that are not already present in the KAME crypto area, and support routines used by crypto device drivers. Obtained from: openbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:32:37.000000Z K 7 svn:log V 143 Crypto device driver for hifn-based cards. Tested with 7951-, and 7811-based cards. Claimed to support many others. Obtained from: openbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:33:20.000000Z K 7 svn:log V 148 Crypto device driver for Broadcom-based cards. Known to work with 582x-based cards. Supposed to work with several others. Obtained from: openbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:34:08.000000Z K 7 svn:log V 75 add RANDOM_PURE for use by crypto drivers that harvest data from h/w RNG's END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:34:30.000000Z K 7 svn:log V 48 add DTYPE_CRYPTO for use by /dev/crypto support END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:35:02.000000Z K 7 svn:log V 31 module for /dev/crypto support END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:35:23.000000Z K 7 svn:log V 23 module for hifn driver END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:35:33.000000Z K 7 svn:log V 31 module for ubsec crypto driver END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:36:13.000000Z K 7 svn:log V 60 major 70 is for /dev/crypto (to be consistent with openbsd) END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:36:39.000000Z K 7 svn:log V 40 add crypto interface to the MFILES list END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:40:39.000000Z K 7 svn:log V 193 New bus_dma interfaces for use by crypto device drivers: o bus_dmamap_load_mbuf o bus_dmamap_load_uio Test on i386. Known to compile on alpha and sparc64, but not tested. Otherwise untried. END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:42:36.000000Z K 7 svn:log V 54 hookup new crypto support to the config/build process END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:43:30.000000Z K 7 svn:log V 83 manual pages for the new kernel crypto support (need work) Obtained from: openbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:44:28.000000Z K 7 svn:log V 60 install sys/opencrypto include files in /usr/include/crypto END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-04T20:44:46.000000Z K 7 svn:log V 28 add support for /dev/crypto END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-04T21:31:33.000000Z K 7 svn:log V 216 o Adjust the SEM_VALUE_MAX macro so that isn't needed. o Remove unneeded includes which only add namespace pollution. o Sort function prototypes. o Add restrict type-qualifier to sem_getvalue(). END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-04T21:32:00.000000Z K 7 svn:log V 47 Add restrict type-qualifier to sem_getvalue(). END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-04T22:10:06.000000Z K 7 svn:log V 66 style(9) headers so they look mostly the same. END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-05T02:01:05.000000Z K 7 svn:log V 314 Add code for ACPI PCI link object manipulation. This allocate the best IRQ to boot-disable devices (have IRQ 0). Allocated IRQ will be used for PCI interrupt routing when ACPI is enabled. Note that verbose messaging enabled for the time being so that people can easily notice the strange behavior if it happened. END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-05T02:06:00.000000Z K 7 svn:log V 57 Oops, forgot to add main file for my previous commit :-) END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-05T02:16:49.000000Z K 7 svn:log V 126 Make sure that ACPI PCI driver probe routine call pci_cfgregopen() before start accessing PCI config space. Reviewed by: jhb END K 10 svn:author V 8 deischen K 8 svn:date V 27 2002-10-05T02:22:26.000000Z K 7 svn:log V 349 Once again, remove the i386-specific hacks to save and restore the FPU state on receiving and returning from a signal. The FPU save and restore macros are no longer needed, but remain defined in case we need to use them again (something else breaks). They'll be removed permanently once new syscalls are added to handle the new i386 ucontext size. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-05T02:56:49.000000Z K 7 svn:log V 17 Define _MACHINE. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T03:07:23.000000Z K 7 svn:log V 293 Remove a panic on vinum module unload: make sure to destroy all mutexes before freeing so that WITNESS doesn't dereference mutex data pointers and page fault. It's now possible to unload vinum.ko with a GENERIC kernel on 5.0-CURRENT without panic. Debugged/fixed with the aid of: jake, grog END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T03:33:38.000000Z K 7 svn:log V 169 Refinement on previous fix for mutex destruction: make sure we don't release the mutex multiple times for multi-plex volumes. Following further consultation with: grog END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T03:44:00.000000Z K 7 svn:log V 871 Get Vinum up and running with GEOM: (1) Use namei() and devfs to discover devices rather than a hard-coded MAKEDEV implementation. Once rootfs is in place, this will allow Vinum to be used for the root file system partition. (2) Pass FREAD to device opens so that GEOM will return sector size rather than an error on attempts to read label data. (3) Avoid clobbering return values from close_drive() and masking this failure, resulting in a later divide by zero due to not having updated the Vinum-cached sector size. (4) Ignore failures from DIOCWLABEL as that appears not to be required in the GEOM environment. We've done testing in simple Vinum environments, but those with more complex environments might want to give this a spin in DP2 and make sure everything is up to speed. Fixes in collaboration with: iedowse Reviewed by: grog END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-05T04:35:59.000000Z K 7 svn:log V 54 Remove bogus duplicate assignment of local variables. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-05T04:49:46.000000Z K 7 svn:log V 188 Put an easy-to-miss assignment into the proper place. It was stray in the middle of a block of code, with no clear assignment. While here, move one nearby assignment out of declaration. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-05T05:40:48.000000Z K 7 svn:log V 140 Change to typedef __sigset_t instead of sigset_t, so that headers that include it can conditionalize sigset_t's visibility. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-05T05:47:56.000000Z K 7 svn:log V 74 Fix namespace issues by using visibility conditionals from . END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-05T05:48:50.000000Z K 7 svn:log V 101 Fix namespace issues by using visibility conditionals from . Sort function prototypes. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-10-05T11:24:21.000000Z K 7 svn:log V 266 If dsgetlabel() returns a label with a size of zero in diskdumpconf(), treat it as an invalid partition. This fixes a bug where ``dumpon '' will configure the dump device at a random offset on the disk if isn't a valid partition. Reviewed by: phk END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T12:00:11.000000Z K 7 svn:log V 40 Plug memoryleaks detected by FlexeLint. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-10-05T12:56:10.000000Z K 7 svn:log V 119 Fix problem introduced in rev.1.406, which can cause already unlocked mutex being unlocked again causing system panic. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T13:11:01.000000Z K 7 svn:log V 91 Pass sbuf to the kernel routines to match new kernel code. Sponsored by: DARPA & NAI Labs END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T13:12:10.000000Z K 7 svn:log V 81 Match the new g_io_deliver() API in the kernel. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T13:16:07.000000Z K 7 svn:log V 88 Use in-tree libbsdxml instead of ports based libexpat. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2002-10-05T14:36:14.000000Z K 7 svn:log V 199 Fix building of minimal kernels without npx by rearranging ifdefs. Also fix some style bugs in surrounding code, and add a comment about FP state restoral that seems questionable. Submitted by: bde END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T15:10:00.000000Z K 7 svn:log V 1023 Begin another merge from the TrustedBSD MAC branch: - Change mpo_init_foo(obj, label) and mpo_destroy_foo(obj, label) policy entry points to mpo_init_foo_label(label) and mpo_destroy_foo_label(label). This will permit the use of the same entry points for holding temporary type-specific label during internalization and externalization, as well as for caching purposes. - Because of this, break out mpo_{init,destroy}_socket() and mpo_{init,destroy}_mount() into seperate entry points for socket main/peer labels and mount main/fs labels. - Since the prototype for label initialization is the same across almost all entry points, implement these entry points using common implementations for Biba, MLS, and Test, reducing the number of almost identical looking functions. This simplifies policy implementation, as well as preparing us for the merge of the new flexible userland API for managing labels on objects. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T15:15:43.000000Z K 7 svn:log V 99 Merge the last couple of my changes to fd.c into the pc98 version. Sponsored by: DARPA & NAI Labs END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T15:49:39.000000Z K 7 svn:log V 164 Don't use dkunit() to find our softc when we can hang it off the dev_t. This removes yet a dependency on the old disklabel stuff. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T16:30:53.000000Z K 7 svn:log V 208 Push the debugging obect label counters into security.mac.debug.counters rather than directly under security.mac.debug. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T16:33:46.000000Z K 7 svn:log V 36 Cosmetic line wrap synchronization. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T16:35:33.000000Z K 7 svn:log V 971 NB: This commit does *NOT* make GEOM the default in FreeBSD NB: But it will enable it in all kernels not having options "NO_GEOM" Put the GEOM related options into the intended order. Add "options NO_GEOM" to all kernel configs apart from NOTES. In some order of controlled fashion, the NO_GEOM options will be removed, architecture by architecture in the coming days. There are currently three known issues which may force people to need the NO_GEOM option: boot0cfg/fdisk: Tries to update the MBR while it is being used to control slices. GEOM does not allow this as a direct operation. SCSI floppy drives: Appearantly the scsi-da driver return "EBUSY" if no media is inserted. This is wrong, it should return ENXIO. PC98: It is unclear if GEOM correctly recognizes all variants of PC98 disklabels. (Help Wanted! I have neither docs nor HW) These issues are all being worked. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T16:46:03.000000Z K 7 svn:log V 283 Synch from TrustedBSD MAC tree: - If a policy isn't registered when a policy module unloads, silently succeed. - Hold the policy list lock across more of the validity tests to avoid races. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T16:54:59.000000Z K 7 svn:log V 279 Move all object label init/destroy routines to the head of the entry points to better match the entry point ordering in mac_policy.h. Big diff, no functional change; merge from the MAC tree. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T16:57:16.000000Z K 7 svn:log V 273 Another big diff, little functional change: move label internalization, externalization, and cred label life cycle events to entirely above devfs and vnode events. Sync from MAC tree. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 5 green K 8 svn:date V 27 2002-10-05T17:10:28.000000Z K 7 svn:log V 98 Don't allow dev_stdclone(9) to accept minors larger than the system is able to handle (0xffffff). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T17:18:43.000000Z K 7 svn:log V 111 Sync to MAC tree: use 'flag' instead of 'how' for mac_init_mbuf(); remove a slightly less than useful comment. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-05T17:22:22.000000Z K 7 svn:log V 176 New release notes: crypto(4) and related info Updated release notes: Update KSE info and add cross-reference to kse(2) manpage. Fix a couple of minor typos while I'm here. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-05T17:23:18.000000Z K 7 svn:log V 48 Add hifn(4) and ubsec(4) devices for i386/pc98. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T17:38:45.000000Z K 7 svn:log V 294 Rearrange object and label init/destroy functions to match the order used in mac_policy.h and elsewhere. Sort order is basically "by operation category", then "alphabetically by object". Sync to MAC tree. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T17:44:49.000000Z K 7 svn:log V 509 While the MAC API has supported the ability to handle M_NOWAIT passed to mbuf label initialization, that functionality was never merged to the main tree. Go ahead and merge that functionality now. Note that this requires policy modules to accept the case where the label element may be destroyed even if init has not succeeded on it (in the event that policy failed the init). This will shortly also apply to sockets. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T18:11:36.000000Z K 7 svn:log V 245 Merge support for mac_check_vnode_link(), a MAC framework/policy entry point that instruments the creation of hard links. Policy implementations to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T18:25:48.000000Z K 7 svn:log V 210 Merge implementation of mpo_check_vnode_link() for various appropriate file-system aware MAC policies. Sync to MAC tree. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-10-05T18:28:48.000000Z K 7 svn:log V 46 Remove matcd from MAKEDEV. X-MFC after: ASAP END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-10-05T18:31:49.000000Z K 7 svn:log V 139 " Help! Help, scottl is trying to *BANG* *BANG* *BANG*" " Hello? Hello? Are you still there?" Approved by: re (rwatson) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T18:40:10.000000Z K 7 svn:log V 314 Integrate a devfs/MAC fix from the MAC tree: avoid a race condition during devfs VOP symlink creation by introducing a new entry point to determine the label of the devfs_dirent prior to allocation of a vnode for the symlink. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T18:52:06.000000Z K 7 svn:log V 124 Fix argument order mistake when decoding disklabels from on-disk format. Detected by: jhay Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T18:56:25.000000Z K 7 svn:log V 192 Implement mac_create_devfs_symlink() for policies that interact with vnode labels. Sync from MAC tree. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 5 orion K 8 svn:date V 27 2002-10-05T19:53:18.000000Z K 7 svn:log V 91 Revert to 1.8.2.10. Suspend with device open caused panic with 1.8.2.11. Approved by: re END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-10-05T19:53:19.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_4_7'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T20:05:23.000000Z K 7 svn:log V 217 Make sure that the accounting credential is saved along with the vp when accounting is suspended--otherwise when accounting is restored, we may incorrectly assume the credential is valid. Panics experienced by: juli END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-05T20:14:49.000000Z K 7 svn:log V 208 Add two extern's for adjkerntz and wall_cmos_clock, all other archs have them there, alghough the variable are declared in subr_clock.c. These should probably be moved into some MI place. Approved by: jake END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-05T20:18:34.000000Z K 7 svn:log V 71 The msdosfs module now builds on sparc64. No idea if it works though. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-05T21:23:47.000000Z K 7 svn:log V 505 Modify label allocation semantics for sockets: pass in soalloc's malloc flags so that we can call malloc with M_NOWAIT if necessary, avoiding potential sleeps while holding mutexes in the TCP syncache code. Similar to the existing support for mbuf label allocation: if we can't allocate all the necessary label store in each policy, we back out the label allocation and fail the socket creation. Sync from MAC tree. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T21:55:31.000000Z K 7 svn:log V 132 This patch got lost in my trees: Pass setattr down to device drivers as well. Detected by: scottl Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-05T21:57:05.000000Z K 7 svn:log V 138 Don't be noisy if DIOCWLABEL fails, it's probably because we're writing the first label to the raw disk. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-10-05T22:07:28.000000Z K 7 svn:log V 48 Make stpcpy() only visiable w/in __BSD_VISIBLE. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-06T00:19:38.000000Z K 7 svn:log V 27 Make this work under GEOM. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-06T02:46:26.000000Z K 7 svn:log V 724 Sync from MAC tree: break out the single mmap entry point into seperate entry points for each occasion: mac_check_vnode_mmap() Check at initial mapping mac_check_vnode_mprotect() Check at mapping protection change mac_check_vnode_mmap_downgrade() Determine if a mapping downgrade should take place following subject relabel. Implement mmap() and mprotect() entry points for labeled vnode policies. These entry points are currently not hooked up to the VM system in the base tree. These changes improve the consistency of the access control interface and offer more flexibility regarding limiting access to vnode mmaping. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-06T03:18:14.000000Z K 7 svn:log V 133 INclude 's prerequisite instead of depending on namespace pollution 2 layers deep in . END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T03:20:27.000000Z K 7 svn:log V 282 Fix format string errors relating mainly to the use of %qu to print off_t's. Instead use %ju and cast the argument. WFORMAT=0 is still required in the Makefile because gcc warns about some strftime() calls (I don't think this behaviour is useful.) Tested on: sparc64, alpha, i386 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T03:50:06.000000Z K 7 svn:log V 183 Use %jd in format string and cast argument to intmax_t instead of using %qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from Makefile. Tested on: alpha, sparc64, i386 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-10-06T05:24:13.000000Z K 7 svn:log V 17 CPU_MAXID should END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-10-06T05:25:10.000000Z K 7 svn:log V 72 It appears CPU_MAXID should be 1 more than the number of CPU_* defines. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T05:58:24.000000Z K 7 svn:log V 149 Remove a completely incorrect statement from the Return Values section. Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T06:03:23.000000Z K 7 svn:log V 84 Remove rants/whines about the rune interface being superior to the ISO C interface. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T06:35:51.000000Z K 7 svn:log V 280 Disallow empty condition parts of "if", "while" and "until" compound commands. Commands like "if then ... fi" and "while do ... done" are no longer accepted. Bodies of compound commands are still allowed to be empty, because even though POSIX does not allow them, most shells do. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-10-06T07:02:30.000000Z K 7 svn:log V 111 Allow -J to simultaneously do non-bzip2 grepping. Don't allow -J and -Z together. Partially submitted by: knu END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T07:56:27.000000Z K 7 svn:log V 52 /dev/sa0 is the default tape device, not /dev/rst0. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-06T08:07:40.000000Z K 7 svn:log V 87 Oops. Actually connect back msdosfs to the build for every platform. Spotted by: bde END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-10-06T08:43:35.000000Z K 7 svn:log V 320 Put giant locks due to make getaddrinfo(), getnameinfo() and getipnodeby*() thread-safe. Our res_*() is not thread-safe. So, we share lock between getaddrinfo() and getipnodeby*(). Still, we cannot use getaddrinfo() and getipnodeby*() in conjunction with other functions which call res_*(). Requested by: many people END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-10-06T09:09:27.000000Z K 7 svn:log V 163 While removing a memory leak, rev 1.32 introduced a free-memory-and-reuse-it-after. Correct both problems and make rcp -r work again under /etc/malloc.conf -> AJ. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T09:23:58.000000Z K 7 svn:log V 68 Ensure all va_starts have a matching va_end. Obtained from: NetBSD END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-10-06T09:56:52.000000Z K 7 svn:log V 143 Be consistent WRT function argument names. Other arguments only have types, so remove these names. This also helps by not polluting namespace. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T10:15:38.000000Z K 7 svn:log V 153 Add a note to the Compatiblity section suggesting that these functions only be used for byte values. Add cross-references to the wide-char counterparts. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-06T11:14:21.000000Z K 7 svn:log V 155 Clean up use of macros: always call va_end after va_start, reset with a call to va_start before each use of the va_list. Obtained from: NetBSD END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-06T11:42:14.000000Z K 7 svn:log V 78 Fix a warning on 64 bits platforms: copystr() takes a size_t *, not an int *. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-06T11:45:22.000000Z K 7 svn:log V 82 Fix a warning on 64 bits platforms: copyinstr() takes a size_t *, not an u_int *. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-06T12:07:58.000000Z K 7 svn:log V 50 Yet another 64 bits warning fix: s/u_int/size_t/. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2002-10-06T12:13:12.000000Z K 7 svn:log V 74 Roll back to previous version, no need for NO_GEOM when GEOM is standard. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-06T12:20:09.000000Z K 7 svn:log V 34 Fix a bunch of s/int */size_t */. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-06T13:11:01.000000Z K 7 svn:log V 50 Trim accidentally introduced trailing whitespace. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-06T14:02:35.000000Z K 7 svn:log V 128 When reusing a pointer as a number, at least cast it to uintptr_t rather than u_int to avoid warnings on 64 bits architectures. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-06T14:39:15.000000Z K 7 svn:log V 401 Integrate mac_check_socket_send() and mac_check_socket_receive() checks from the MAC tree: allow policies to perform access control for the ability of a process to send and receive data via a socket. At some point, we might also pass in additional address information if an explicit address is requested on send. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 thomas K 8 svn:date V 27 2002-10-06T16:24:36.000000Z K 7 svn:log V 692 Set only the RB_POWEROFF flag (not the RB_HALT flag) when '-p' is used on the reboot(8) command line. This is intended for use when you want to attempt a power down action, but you want the system to reboot (not halt) if the power down action fails. This is typically useful when the power-off action performed by the kernel consists in signalling an uninterrupted power supply that it should shut down its inverter if mains power has not returned. The behaviour of shutdown(8) and init(8) is not modified; only the behaviour of invoking 'reboot -p' manually is modified, and then only in the case when a power-down action fails. Sounded reasonable to: phk Approved by: roberto (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2002-10-06T17:43:04.000000Z K 7 svn:log V 237 Avoid referencing a removed (and freed) queue entry. This partially reverts revision 1.101 (which did not introduce the bug but made it harder to fix) PR: misc/40363 Submitted by: David Dunham MFC after: 2 weeks END K 10 svn:author V 5 joerg K 8 svn:date V 27 2002-10-06T18:48:20.000000Z K 7 svn:log V 292 When considering temporary files for deletion, don't examine the mtime and atime only, but also the ctime. Otherwise, files extracted from tar or zip archives will immediately be declared stale since they've got their mtime reset to the original mtime. Reviewed by: brian MFC after: 1 week END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-10-06T19:22:15.000000Z K 7 svn:log V 67 The "update" target should track RELENG_4_7 here. Approved by: re END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-10-06T19:24:53.000000Z K 7 svn:log V 59 Update default .Os value for man pages. Approved by: re END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-10-06T19:27:08.000000Z K 7 svn:log V 59 Track RELENG_4_7 rather than RELENG_4_6. Approved by: re END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-06T20:58:46.000000Z K 7 svn:log V 90 Bump version number (and related) entities for 4.7-RELEASE. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-06T21:00:19.000000Z K 7 svn:log V 99 Use an appropriate directory when updating RELNOTESng snapshot site. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-06T21:37:39.000000Z K 7 svn:log V 128 Remove footer implying that readers (for this RELEASE) need to read stable@. Bump FreeBSD version number for manpage entities. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-06T21:46:04.000000Z K 7 svn:log V 200 Don't depend on to include , instead include directly. This is mostly bogus since CLOCK_REALTIME should be defined in , which these files already include. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-06T21:54:08.000000Z K 7 svn:log V 203 o Use relatively new visibility primitives from . o Add typedef for pid_t. o Add comment about missing restrict type-qualifier. o Remove unneeded includes ( and ). END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-06T22:01:07.000000Z K 7 svn:log V 199 o Add conditionals to allow va_list to be defined in other headers. o Standardize on _MACHINE_STDARG_H_ to allow multiple header includes. o Restrict the definition of va_copy() to C99 environments. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-06T22:02:06.000000Z K 7 svn:log V 66 Add conditionals to allow va_list to be defined in other headers. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-06T22:16:12.000000Z K 7 svn:log V 407 o Move location of the fpos_t typedef to be closer to other typedefs. o Add typedef for va_list. o Add comment about missing restrict type-qualifiers. o Move vscanf(), vsscanf() and vfscanf() to the C99-visible block. o Add note about missing backing function for vfscanf(). o Restrict L_cuserid to only older versions of POSIX, and BSD namespaces. o Conditionalize some BSD-specific foo_unlock() macros. END K 10 svn:author V 4 kris K 8 svn:date V 27 2002-10-06T23:52:06.000000Z K 7 svn:log V 66 Use strlcpy() instead of strcpy() to not overflow static buffers. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T00:58:21.000000Z K 7 svn:log V 60 Don't pass a NULL pointer to syslog(3). Submitted by: kris END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T01:09:40.000000Z K 7 svn:log V 106 Add ';' after 'default:' labels to avoid 'deprecated use of label at end of compound statement' warnings. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T01:16:00.000000Z K 7 svn:log V 56 cast xdr_rpcblist_ptr to xdrproc_t to silence warnings. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T01:19:56.000000Z K 7 svn:log V 15 fix line wrap. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-07T02:50:44.000000Z K 7 svn:log V 86 Fix a spelling error in a comment. Submitted by: Craig Rodrigues END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T02:56:59.000000Z K 7 svn:log V 144 WARNS=3 safety (mostly), use __unused for unused params and unsigned where needed to avoid warnings about comparing signed and unsigned values. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T03:56:13.000000Z K 7 svn:log V 72 Add 'break' to empty 'default' 'switch' statements. Requested by: mike END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T04:08:07.000000Z K 7 svn:log V 40 Disconnect "sem" module from the build. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T04:09:16.000000Z K 7 svn:log V 31 warn about p1003_1b_semaphores END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-07T04:13:21.000000Z K 7 svn:log V 33 disable debug output by default. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T05:06:38.000000Z K 7 svn:log V 111 Add two interfaces to allow for busses to report the pnpinfo for devices as well as their location on the bus. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T05:15:05.000000Z K 7 svn:log V 409 o go ahead and route the interupt, even if it is supposedly unique. there are some strange machines that seem to need this. o delete bogus comment. o don't use the the bios for read/writing config space. They interact badly with SMP and being called from ISR. This brings -current in line with -stable. # make the latter #ifdef on USE_PCI_BIOS_FOR_READ_WRITE in case we # need to go back in a hurry. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T05:26:35.000000Z K 7 svn:log V 633 Dynamically configure the width of the srom. This code comes from OpenBSD who got the code (or the idea) from the NetBSD tlp driver. This gets some cardbus dc cards working (either completely or nearly so). It also appears to get additional pci cards working, without breaking working ones. # Maybe some additional work is needed here. Also, the cardbus attachment # might need to match on the CIS rather than on the vendor/device so we have # a finer level of detail as to what the card is. Technically, the # vendor/device fields are undefined for CardBus (even though most cards are # using common silicon with pci models). END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T05:29:13.000000Z K 7 svn:log V 100 Ooops. Need to free dc_srom on detach to not leak memory. Pointy Hat to: The Mad Redhead of Niwot END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T06:18:50.000000Z K 7 svn:log V 58 Update comments to remind me about power bugs in oldcard. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T06:25:26.000000Z K 7 svn:log V 583 Copyin and copyout are only possible from a process-native thread, and therefore we need a way for ioctl handlers to run in that thread in GEOM. Rather than invent a complicated registration system to recognize which ioctl handler to use for a given ioctl, we still schedule all ioctls down the tree as bio transactions but add a special return code that means "call me directly" and have the geom_dev layer do that. Use this for all ioctls that make it as far as a diskdriver to avoid any backwards compatibility problems. Requested by: scottl Sponsored by: DARPA & NAI Labs END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T06:26:17.000000Z K 7 svn:log V 43 Don't need to NUL terminate after snprintf END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T06:35:04.000000Z K 7 svn:log V 41 Better comment for the product ID thing. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T06:50:35.000000Z K 7 svn:log V 257 Minor string handling cleanup that I've had in my tree for a while: Don't use snprintf where strlcpy() will do the job. Also, a NUL is '\0' not 0 in our style (C doesn't care), so spell it like. Remove useless {} and () in the general area of this change. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T06:57:00.000000Z K 7 svn:log V 71 Put a printf under #ifdef DIAGNOSTIC. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T07:02:48.000000Z K 7 svn:log V 48 MFp4: Comment about not assuming INTA# for 6729 END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T07:08:00.000000Z K 7 svn:log V 88 Add wrappers around the newly created bus_child_pnpinfo_str and bus_child_location_str. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T07:15:37.000000Z K 7 svn:log V 145 Correctly deal with non-DEVBSIZE drives. Allow BIO_DELETE through too. This fixes swap-backed md(4) devices. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T07:18:32.000000Z K 7 svn:log V 113 MFp4: o Return the right string for CIS4_STR o kill obsolete comment about not doing something that we now do. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T07:19:14.000000Z K 7 svn:log V 162 Correctly convert to appropriate blocksize. note to self: Never check block-size sensitive patches on Sun compatible CD drives. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T08:09:20.000000Z K 7 svn:log V 103 Move the definition of UFS1_ONLY into the Makefiles where it belongs. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T08:14:10.000000Z K 7 svn:log V 136 Ups, forgot to tell cvs commit about this file. Move UFS1_ONLY to Makefiles instead of common/ufsread.c Sponsored by: DARPA & NAI Labs END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-10-07T09:08:07.000000Z K 7 svn:log V 110 Added bzip2 variants to the NAME section. Added missing break. Remove the statement that -J requires zlib(3). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-07T09:37:55.000000Z K 7 svn:log V 134 Add the c99(1) utility, which is nothing more than a synonym for cc -std=iso9899:1999 -pedantic, and is required by SUSv3. PR; 36087 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-10-07T10:02:11.000000Z K 7 svn:log V 99 Check the size of the dos_partition structure. Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-10-07T10:04:07.000000Z K 7 svn:log V 109 Don't use DPCYL and DPSECT macros. These are not needed. Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh) END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T12:15:11.000000Z K 7 svn:log V 220 Move MEM_USR a page upwards to make space for larger UFS1 boot2. Load 4 sectors more than we used to. This is harmless overhead for the UFS1_ONLY case, but sufficient for boot2(UFS1+2). Sponsored by: DARPA & NAI Labs END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-10-07T13:05:45.000000Z K 7 svn:log V 52 Merged from sys/isa/fd.c revisions 1.224 and 1.241. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T13:11:28.000000Z K 7 svn:log V 107 Correctly compensate for both offset and unoffset on-disk BSD disklabels. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-10-07T15:26:10.000000Z K 7 svn:log V 87 Added '#include '. Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-07T17:17:28.000000Z K 7 svn:log V 75 MFC 1.17: Make num/start args to i386_set_ldt() unsigned. Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-07T17:20:00.000000Z K 7 svn:log V 360 MFC 1.72-1.74: Fix a bogon the range checking for reading the LDT list and handle some SMP races in i386_set_ldt() by copying in the new LDT entries in one go rather than doing it piecemeal. Approved by: re Tested with: wine running notepad over a windows partition mounted via NFS over UDP over an 802.11(b) connection from my laptop. It was a bit slow. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-07T17:31:02.000000Z K 7 svn:log V 40 Remove unneeded include. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-07T17:36:04.000000Z K 7 svn:log V 66 MFS: Unsigned start/num args for i386_set_ldt(). Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-07T17:37:39.000000Z K 7 svn:log V 78 MFS: Range check fix and handle SMP races in i386_set_ldt(). Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-07T18:37:31.000000Z K 7 svn:log V 74 remove CIOGSSESSION (get software session); it was added only for testing END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-07T18:46:38.000000Z K 7 svn:log V 260 o split crypto_proc into two threads: one for processing requests and one for processing callbacks. This closes race conditions caused by locking too many things with a single mutex. o reclaim crypto requests under certain (impossible) failure conditions END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T19:12:36.000000Z K 7 svn:log V 250 Correctly adjust for moved start address. It seems that the existence of a "depend" target in src/sys/boot is not to be taken as an indication that it actually does what one would expect, at least it clearly threw my testing off. Apologies to: jhb END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-10-07T20:02:34.000000Z K 7 svn:log V 761 Track openbsd changes that don't affect us yet (PK supoprt is currently disabled): o Don't use constants for the output parameter, use the iparam count as a pointer to the first result location. o Fix bits vs bytes counting problems. o Split out the hardware and software normalization versions of modexp. o Enable hardware normalization for chips that support it. o On reset, disable hardware normalization for 582x and make sure the chip is in little endian mode. o Since sw normalization is now the only option, simplify normalization handling. Also fix RNG harvesting: disabling PK support (for the moment) had disabled the MCR2 interrupt; consider both KEY support and RNG support when deciding whether or not to enable it. Obtained from: openbsd END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-10-07T20:49:22.000000Z K 7 svn:log V 306 Add back a fdrop() call at the end of kern_open() that got lost in revision 1.218. This bug caused a "struct file" reference to be leaked if VOP_ADVLOCK(), vn_start_write(), or mac_check_vnode_write() failed during the open operation. PR: kern/43739 Reported by: Arne Woerner END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T20:56:09.000000Z K 7 svn:log V 142 Change the comment character from # to // in boot1.s and run it through CPP so we can conditionalized things. Sponsored by: DARPA & NAI Labs END K 10 svn:author V 6 thomas K 8 svn:date V 27 2002-10-07T21:18:20.000000Z K 7 svn:log V 246 Document behaviour change in reboot(8) introduced in reboot.c rev. 1.17: when using '-p' with reboot, and the power down action failds, reboot the system normally. The behaviour of 'halt -p' and of shutdown(8) is unchanged. Approved by: roberto END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-07T21:18:30.000000Z K 7 svn:log V 43 Remove duplicate uninstalled aio.h header. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-07T21:36:06.000000Z K 7 svn:log V 237 Conditionalize the number of sectors loaded by boot1.s on UFS1/UFS12. Conditionalize the "XX bytes left" checks reference on UFS1/UFS12. Conditionally build the necessary 64bit math for boot2 if UFS12. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 5 green K 8 svn:date V 27 2002-10-07T22:21:16.000000Z K 7 svn:log V 43 Correct a bug in adding 0x700 to a number. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T22:57:07.000000Z K 7 svn:log V 163 Add extra set of parens around the barbit macro to make it clear what we're intending to shift. Spotted by: flexlint by way of phk (should fix about 40 messages) END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T22:58:24.000000Z K 7 svn:log V 192 Don't abuse the fact that -a == ~a + 1. Signed vs unsigned checkers complain when a is a unsigned type. So instead use the latter here and be on our way. Spotted by: flexlint by way of phk END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T23:00:51.000000Z K 7 svn:log V 595 o Add routines to return the location and pnpinfo for this card. Note, we return the PCI pnp info, but in fact that's wrong to do since that data is not defined for CardBus cards. CardBus says that these registers are undefined and one should use the CIS to do device matching. To date, all CardBus cards have had these registered defined, no doubt because they are using common silicon to produce both the PCI cards and the CardBus cards. However, it isn't any worse than the rest of the system, so just note it in passing and move on. o Also sort prototypes while I'm here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T23:03:17.000000Z K 7 svn:log V 243 Merge changes from NetBSD through version 1.17 of this file. These give us slightly better error checking than before and interpret what default bits mean better. See the NetBSD CVS tree for the authors of these changes (revs 1.10 .. 1.17). END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T23:05:33.000000Z K 7 svn:log V 444 o Add a nomatch routine so we whine when we don't know what to attach to the card. o Add comments about how we're doing the CIS activation. o Add location and pnp info functions. o Add better code to hopefully deal with ata cards better (and other drivers that allocate resources that we didn't preallocate from the CIS). OLDCARD used to allow it, but NEWCARD was pickier. I'm not 100% sure this works, but it doesn't break anything. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T23:11:29.000000Z K 7 svn:log V 709 MFp4: o Better resume code. Move the comments around. Force the socket state to be querried. Ack the interrupts properly. o Intercept the interrupt requests and keep a list of interrupts to service ourselves. When the card attaches, set its OK bit. When we get a card status change interrupt for that card, clear the OK bit. Don't call the ISR if the OK bit is cleared. Iwasaki-san and yamamoto-san have both sent me patches that fix the same problem this fixes, but at the pccard level. o Try to get the signalling of the thread to actually die. This might not be 100% right, but it is less wrong than before. o Add a SIC next to a TI type that looks like it could be wrong, but isn't. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T23:15:40.000000Z K 7 svn:log V 208 Two minor bugfixes: o Allow the bus_debug variable to be set via the bus.debug tunable. o Return pnpinfo and location info via the devinfo interface to userland. devinfo(8) needs to be updated to print it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-07T23:17:44.000000Z K 7 svn:log V 306 Introducing /dev/devctl. This device reports events in the configuration device hierarchy. Device arrival, departure and not matched are presently reported. This will be the basis for devd, which I still need to polish a little more before I commit it. If you don't use /dev/devctl, it will be a noop. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-08T00:53:31.000000Z K 7 svn:log V 103 Fix smrsh bypass bug. Obtained from: sendmail.org Approved by: security-officer (jedgar), re (murray) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-08T00:57:20.000000Z K 7 svn:log V 109 MFS: Fix smrsh bypass bug. Obtained from: sendmail.org Approved by: security-officer (jedgar), re (murray) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-08T02:19:54.000000Z K 7 svn:log V 131 Re-add the code which maps POSIX standard library names into the ones FreeBSD uses; f.e. -lpthread -> -pthread, -lxnet -> nothing. END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-10-08T03:00:37.000000Z K 7 svn:log V 158 Add entries for: Belkin F5U103 Belkin F5U120-PC Hub GoHubs GoCOM232 Peracom single port USB-to-serial adapters. Reviewed by: n_hibma Approved by: obrien END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-10-08T03:04:14.000000Z K 7 svn:log V 74 Regen after usbdevs rev. 1.102. Reviewed by: n_hibma Approved by: obrien END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-10-08T03:09:57.000000Z K 7 svn:log V 117 Add device driver for Belkin F5U103 and compatible USB-to-serial adapters. Reviewed by: n_hibma Approved by: obrien END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-08T03:53:52.000000Z K 7 svn:log V 345 Make kldunload cbb work: o Implement the thread killing interlock as described by jhb in arch@ while talking to markm. o Hold Giant around cbb_insert()/cbb_remove(). Deep in the belly of the vm code we panic if we don't hold this when we activate the memory for reading the CIS. o If we had to do the kludge alloc, then do a kludge free. END