ƒ³D145000 187 280 124 144 144 511 205 274 327 296 112 145 123 140 132 398 223 389 118 461 548 371 229 263 166 150 607 115 194 138 181 267 102 182 381 1737 163 143 239 219 289 160 304 314 362 188 209 172 231 207 175 256 161 170 396 286 146 1243 117 434 213 210 226 205 124 156 384 146 283 240 116 117 313 135 412 152 849 944 211 239 328 326 151 164 472 175 387 131 376 492 209 163 230 373 358 271 244 271 201 152 158 263 217 394 131 241 193 100 301 304 148 138 117 146 190 121 324 125 223 184 149 126 116 286 123 294 122 312 637 122 158 152 577 1066 291 124 116 126 621 216 262 366 367 375 159 135 168 114 1062 163 184 2313 384 542 729 136 373 159 305 238 337 627 346 362 180 228 149 208 818 124 291 130 123 222 209 640 212 153 139 428 257 182 118 210 142 178 653 1120 K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-13T07:14:17.000000Z K 7 svn:log V 187 Add a ata_setmode method so we dont panic on setmode. Note that the mode is only set on the device, we (mostly) have no knowledge on how to set mode on the controller if at all possible. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T07:25:45.000000Z K 7 svn:log V 30 Support for the GTCO Digipad. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T08:14:14.000000Z K 7 svn:log V 50 Add #defines for control fields and address bits. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-13T10:02:58.000000Z K 7 svn:log V 52 Add NO_DICT handle. Saves almost 3.5 MB installed. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-13T10:57:13.000000Z K 7 svn:log V 417 - Further simplify lookup; Force all filesystems to relock in the DOTDOT case. There are bugs in some which didn't unlock in the ISDOTDOT case to begin with that need to be addressed seperately. This simplifies things anyway. - Fix relookup() to prevent it from vrele()'ing the dvp while the vp is locked. Catch up to other lookup changes. Sponsored by: Isilon Systems, Inc. Reported by: Peter Wemm END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-13T10:57:53.000000Z K 7 svn:log V 111 - Change vop_lookup_post assertions to reflect recent vfs_lookup changes. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-13T10:59:09.000000Z K 7 svn:log V 180 - Change all filesystems and vfs_cache to relock the dvp once the child is locked in the ISDOTDOT case. Se vfs_lookup.c r1.79 for details. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-13T11:40:44.000000Z K 7 svn:log V 232 Split VarFind() into a series of functions tailored for the different sets of flags originally passed to VarFind(). This eliminates the code by removing a bunch of tests. Patch: 7.173 Submitted by: Max Okumoto END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-13T12:44:43.000000Z K 7 svn:log V 198 MF5: Quote sound device names which contain numbers. Note that this change does not apply to -CURRENT, because config(8) there has been modified not to require the quoting. Approved by: re (hrs) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-13T13:02:58.000000Z K 7 svn:log V 19 Remove ifdef PC98. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-13T13:12:12.000000Z K 7 svn:log V 52 Move pc98 specific parts to the pc98 specific file. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-13T13:18:32.000000Z K 7 svn:log V 30 Remove a meaningless include. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-13T13:26:48.000000Z K 7 svn:log V 47 - Remove ifdef PC98. - Reduce diffs from i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-13T13:42:38.000000Z K 7 svn:log V 39 Merge two slice_type_name() functions. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-04-13T13:56:17.000000Z K 7 svn:log V 302 According to the comment in struct tty, t_modem is optional; hence we should guard against NULL t_modem entry. Otherwise, driver doesn't have t_modem callback implemented(such like sys/dev/usb/ucycom.c) would panic when someone opens the driver's associated tty device. Reviewed by: phk, sam (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-13T14:03:28.000000Z K 7 svn:log V 126 NG_MKRESPONSE() macro includes sizeof struct ng_mesg when doing allocation. PR: kern/79806 Submitted by: Wojciech A. Koszek END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-13T14:49:57.000000Z K 7 svn:log V 296 Never hardcode /sys into these Makefiles. The proper way to spell it is $S. Also, move the -I stuff to the centralized kern.pre.mk. However, it might be better to add these flags to files.conf. This is a short term fix to fix the broken builds on my machine (I don't have a valid /sys link). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-13T16:02:03.000000Z K 7 svn:log V 23 pmap_update() is gone. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-13T16:15:22.000000Z K 7 svn:log V 364 Merge sched_4bsd.4:1.11-1.2 and sched_ule.4:1.1 from RELENG_5 to RELENG_5_4: Add rudimentary man pages for kernel options sched_4bsd and sched_ule, which document some of the sysctls available for configuring 4bsd, some of the bullet features of ule, and that ule is considered experimental still. Fix small spelling error. Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-13T16:30:30.000000Z K 7 svn:log V 455 Default to a interrupt router that returns an invalid interrupt. Otherwise, busses that implement the pcib interface that forget to implement pcib_route_interrupt would return EIO, which the caller interprets as 'use interrupt 6'. This is likely the cause of much of the grief that we had when I enabled power modes for the cardbus bridge, since the card needed to reroute the interrupt to it and it was getting 6 which was d by the pccbb sanity checks. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-13T16:35:15.000000Z K 7 svn:log V 278 Since cbb implements the pcib_ interface, it must also implement the pcib_route_interrupt interface. Since there's only one interrupt pin in the CardBus form factor, everybody gets to share it. Implement cbb_route_interrupt to return the interrupt we have. Suggested by: bms END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-04-13T16:39:22.000000Z K 7 svn:log V 133 The maximum allowable alloc is 16K not (16K-1). This whole section is actually overly restrictive and another patch is in the works. END K 10 svn:author V 3 bms K 8 svn:date V 27 2005-04-13T17:34:38.000000Z K 7 svn:log V 170 Use pci_find_bsf() to retrieve the PCI device associated with a bus/device/function tuple. This change enables pciconf(8) to work with CardBus devices. Reviewed by: imp END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T17:36:18.000000Z K 7 svn:log V 72 Add KASSERT() to warn against NULL deref. Submitted by: sam (Coverity) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T17:39:43.000000Z K 7 svn:log V 56 Test for NULL before use. Submitted by: sam (Coverity) END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-13T18:13:40.000000Z K 7 svn:log V 512 Fix an evil bug that appeared in September 2003. VM86 bios calls use two of the __pcb_spare longs. Except that fields were changed and one of the spare values was used and the __pcb_spare field was reduced from two to one long. Now VM86 bios calls can trash the first 4 bytes of the next page following the kernel stack/pcb. This Is Bad(TM). This bug has been present in 5.2-release and onwards, and is still in RELENG_5. Instead of tempting fate and trying to use "spare" fields, explicitly reserve them. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-13T19:10:27.000000Z K 7 svn:log V 23 Fix compile error :-(. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-13T19:54:03.000000Z K 7 svn:log V 98 Assign 0.0 to the variable passed to getfloating() if the argument is missing. MFC after: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-13T20:08:17.000000Z K 7 svn:log V 42 Add a few regression tests for printf(1). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-13T20:24:43.000000Z K 7 svn:log V 84 MFC: Autogenerate hardware notes for snd_als4000.4, snd_fm801.4 and snd_via8233.4. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-13T21:05:55.000000Z K 7 svn:log V 170 Fix mss byte order, only affects synproxy code path. Submitted by: John L. Scarfone via OpenBSD Reviewed by: mlaier Obtained from: OpenBSD, rev. 1.483 MFC after: 2 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-13T21:19:28.000000Z K 7 svn:log V 10 Use df -i END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-13T21:20:16.000000Z K 7 svn:log V 90 Introduce NANOBSD_PRUNE which can be used to zap out bits we don't want to carry forward. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-13T21:22:20.000000Z K 7 svn:log V 288 sort and expand the prunelist in a more or less generally sensibly order. Put some strategic comments in about how much storage is necessary and a longer explanation on the top. It is now pretty trivial to put nanoBSD on as little as a 64MB CF card. Sponsored by: Soekris Engineering. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-13T22:57:17.000000Z K 7 svn:log V 1641 Change the segment limits to 4GB, we set the user accessible bit on all of the kernel address space already. Intel recommend this anyway, because using a non-4GB limit adds an additional clock cycle to address generation. We were able to install 4GB segments into the LDT, so any limits we imposed on %cs and %ds were academic anyway. More importantly, this allows us to make a page in the kernel readable to user applications, for holding things like the signal trampoline and other fun things. Move the user %cs/%ds segments from the LDT to the GDT. There was no good reason for them to be there anyway. The old LDT entries are still there but we can now relax the restriction that prevented users from emptying the default LDT entries. Putting user and kernel %cs and %ds together allows us to access the fast sysenter/sysexit/syscall/sysret instructions. syscall/sysret in particular require that the user/kernel segments be laid out this way. Reserve a slot specifically for NDIS while here. Create two user controllable slots in the GDT that are context switched with the (kernel) thread. This allows user applications to set two user privilige selectors to arbitary values. Create i386_set_fsbase(void *base) and friends. (get/set, fs/gs). For i386, %gs is used by tls and the thread libraries and this means that user processes no longer have to have the cost of having a custom LDT, and we will no longer to do a ldt switch when activating a kthread/ithread in the usual case any more. In other words, we can now set the base address for %fs and %gs to arbitary addresses without the pain of messing with ldt segments. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-13T23:36:28.000000Z K 7 svn:log V 70 - Remove a debugging printf that slipped in. Spotted by: Peter Wemm END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T00:01:35.000000Z K 7 svn:log V 49 Add stubs for the %fs/%gs base management calls. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T00:02:37.000000Z K 7 svn:log V 144 Attempt i386_set_gsbase() before using the user_ldt code. Unimplemented sysarch() calls return EINVAL, not SIGSYS.. so we can trivially adapt. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T00:04:50.000000Z K 7 svn:log V 124 Attempt to use i386_set_gsbase(), and gracefully fall back to LDT methods if the direct access methods are not implemented. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T00:13:20.000000Z K 7 svn:log V 194 Use the i386_set_gsbase() syscall if it is implemented in the kernel. This is a little hairy here because the allocation and usage of this functionality is split into two places in libpthread. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T00:44:07.000000Z K 7 svn:log V 66 Adapt the libpthread patch for using i386_set_gsbase() to libthr. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T03:16:58.000000Z K 7 svn:log V 209 Allow user processes to completely empty out their LDT, now that user processes run from segment selectors that live in the GDT. Doing this used to be equivalent to committing suicide, but now this is a NOP. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-04-14T03:52:50.000000Z K 7 svn:log V 218 The divide by zero panic must have been due to a bogus period value. I suppose the BT adapter driver should be fixed, but more importantly we should protect against dividing by zero. PR: kern/75603 MFC after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-04-14T03:56:06.000000Z K 7 svn:log V 268 Do not remove logging sockets. This fixes an issue where logging sockets placed into prisons from the host environment get clobbered by the prison's instance of cleanvar. (assuming /etc/rc is run in the prison). Discussed with: pjd, green, cperciva MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-04-14T03:59:48.000000Z K 7 svn:log V 93 Apply quirk suggested by submitter. PR: 75486 Submitted by: no_bs@web.de MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-04-14T04:05:00.000000Z K 7 svn:log V 113 Applied conservative version of suggested quirk. PR: 57468 Submitted by: walter@pelissero.de MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-04-14T04:12:45.000000Z K 7 svn:log V 77 Apply quirk. PR: 57469 Submitted by: walter@pelissero.de MFC after: 1 week END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T04:13:27.000000Z K 7 svn:log V 136 It seems I introduced a new prerequisite for on i386, which is included from . Add a bandaid for userland. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-14T04:31:48.000000Z K 7 svn:log V 114 Quirk for ZICPlay USB MP3 Player. PR: kern/75057 Submitted by: Aurelien Nephtali END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-04-14T04:46:46.000000Z K 7 svn:log V 80 Take constructive advice from njl && reformat previously added quirks slightly. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-04-14T04:51:18.000000Z K 7 svn:log V 160 Make sure we look at the correct sub op codes when deciding whether it's an operation we can perform via the control device. PR: kern/72010 MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-14T04:54:15.000000Z K 7 svn:log V 69 MFC: devclass_get_maxunit() fix and docs, add devclass_get_drivers() END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-14T04:58:40.000000Z K 7 svn:log V 78 MFC 1.39 - 1.43: Optimize mbnambuf and chksum routines, saving 75% wall time. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T05:25:40.000000Z K 7 svn:log V 301 rev 1.54 of i386/include/pcb.h depended on sys/proc.h. The prerequisite was satisified for the rest of the kernel on the i386 build except for these two files. Rather than adding a submarine include to pcb.h, I've added proc.h here. I forgot to include these with the original commit. Sorry folks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T05:55:34.000000Z K 7 svn:log V 193 If an I/O APIC returns 0xffffffff for its version register after we map it, assume it is bogus and return NULL instead of trying to parse it as an APIC. Inspired by: linux bug reports via njl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T05:56:17.000000Z K 7 svn:log V 54 Always use the local APIC timer, even on UP machines. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T06:30:32.000000Z K 7 svn:log V 1149 Close a race between sleepq_broadcast() and sleepq_catch_signals(). Specifically, sleepq_broadcast() uses td_slpq for its private pending queue of threads that it is going to wake up after it takes them off the sleep queue. The problem is that if one of the threads is actually not asleep yet, then we can end up with td_slpq being corrupted and/or the thread being made runnable at the wrong time resulting in the td_sleepqueue == NULL assertion failures occasionally reported under heavy load. The fix is to stop being so fancy and ditch the whole pending queue bit. Instead, sleepq_remove_thread() and sleepq_resume_thread() were merged into one function that requires the caller to hold sched_lock. This fixes several places that unlocked sched_lock only to call a function that then locked sched_lock, so even though sched_lock is now held slightly longer, removing the extra lock acquires (1 pair instead of 3 in some cases) probably makes it an overall win if you don't include the fact that it closes a race. This is definitely a 5.4 candidate. PR: kern/79693 Submitted by: Steven Sears stevenjsears at yahoo dot com MFC after: 4 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T06:33:23.000000Z K 7 svn:log V 25 Bah, add a missing cast. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T06:45:24.000000Z K 7 svn:log V 341 Probe PCI link devices early so that we turn them all off via _DIS before we start turning any of them back on again. This works around a bug in some BIOSen that alias two different link devices for APIC vs ATPIC modes onto the same physical hardware link. Submitted by: njl Tested by: Antoine Brodin antoine dot brodin at laposte dot net END K 10 svn:author V 5 marks K 8 svn:date V 27 2005-04-14T06:50:13.000000Z K 7 svn:log V 118 Use AcpiUtStrupr() instead of strupr() as the latter will disappear in future versions of acpica. MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-14T07:08:34.000000Z K 7 svn:log V 116 - cache_lookup() relocks the parent in the DOTDOT case for us. Spotted by: phk Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-14T08:40:28.000000Z K 7 svn:log V 129 - Move parts of the long main() function into a new function doformat(). - Rewrite the loop in main() to be more understandable. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-14T08:41:34.000000Z K 7 svn:log V 107 MFC: Autogenerate hardware notes for snd_als4000.4, snd_fm801.4 and snd_via8233.4. Approved by: re (hrs) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-14T08:43:36.000000Z K 7 svn:log V 28 Printf(1) is WARNS 6 clean. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-14T08:48:45.000000Z K 7 svn:log V 64 Read back the real taskfile register values when in 48BIT mode. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2005-04-14T11:41:23.000000Z K 7 svn:log V 291 Remove dead code which would never execute. i.e. checking to see if a cluster was every less than 48 bytes, a rather unlikely case. Check return value of m_dup_pkthdr() calls. Found by: Coverity Reviewed by: rwatson (mentor), Keiichi Shima (for Kame) Approved by: rwatson (mentor) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-14T11:44:43.000000Z K 7 svn:log V 54 remove needless res_init() call. Inspired by: NetBSD END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-14T13:29:07.000000Z K 7 svn:log V 190 Merge the following from the English version: 1.30 -> 1.31 install.sgml 1.9 -> 1.10 layout.sgml 1.16 -> 1.17 trouble.sgml Obtained from: The FreeBSD Russian Documentation Project END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-14T14:02:27.000000Z K 7 svn:log V 147 Merge the following from the English version: 1.27.2.2 -> 1.27.2.3 install.sgml 1.9 -> 1.8.2.1 layout.sgml 1.16 -> 1.14.2.1 trouble.sgml END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-14T14:12:54.000000Z K 7 svn:log V 23 MFi386: revision 1.20. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-14T14:19:47.000000Z K 7 svn:log V 24 MFi386: revision 1.612. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-14T14:32:32.000000Z K 7 svn:log V 217 Unbreak the vector_page == 0x00000000 case. Map the vector page L1PT into the kernel domain for each pmap, as we don't update the page table when we're switching to a kernel thread, but we do however update the DACR. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-14T14:40:09.000000Z K 7 svn:log V 38 Correct typo. Obtained from: OpenBSD END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-04-14T15:02:03.000000Z K 7 svn:log V 314 - Add a THR column to the process listing, that shows the number of threads a process has. The THR column is disabled and disappears when 'H' is hit, because then every thread gets its own output line. - Allow sorting processes by "threads". Approved by: davidxu Inspired by: Jiawei Ye END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-14T15:32:21.000000Z K 7 svn:log V 56 No reason to write \a and \v as octal escape sequences. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-14T15:56:10.000000Z K 7 svn:log V 756 In ppsintr, we needed ppsdev to get to the softc and nothing else. Save a memory dereference in the ISR by passing this in directly. Calling pps_capture is MP safe for all other operations on struct pps_state, so there's no need to aquire the lock before we do this, even from a fast ISR. Avoid dereferencing sc->ppbus until after pps_capture is called as well. These actions reduce somewhat the cache effects that cause variance in interrupt times. On an especially slow test machine (300MHz Cyrix GXm), this reduces the interrupt latency about about 10% (from 21us to 19us) and helps a little with the variance (although most of the variance seems to be caused by lots of interrupt masking). This also happens fixes one or two of bde's style issues. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-04-14T16:03:30.000000Z K 7 svn:log V 850 Move MAC check_vnode_mmap entry point out from being exclusive to MAP_SHARED so that the entry point gets executed un-conditionally. This may be useful for security policies which want to perform access control checks around run-time linking. -add the mmap(2) flags argument to the check_vnode_mmap entry point so that we can make access control decisions based on the type of mapped object. -update any dependent API around this parameter addition such as function prototype modifications, entry point parameter additions and the inclusion of sys/mman.h header file. -Change the MLS, BIBA and LOMAC security policies so that subject domination routines are not executed unless the type of mapping is shared. This is done to maintain compatibility between the old vm_mmap_vnode(9) and these policies. Reviewed by: rwatson MFC after: 1 month END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-14T16:57:58.000000Z K 7 svn:log V 116 Implement 32-bit compatable fsbase/gsbase methods so that we can run (newer) unmodified static i386 binaries again. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-14T17:02:34.000000Z K 7 svn:log V 142 Handle null characters in the format string. A \0 in the argument passed to %b still results in trucation but this is be much harder to fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T17:52:55.000000Z K 7 svn:log V 235 Call pci_print_verbose() before pci_add_resources() so that the order of printf's during a verbose boot is more intuitive (the BAR listings and interrupt routing info now comes after the config header dump rather than just before it). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T17:59:58.000000Z K 7 svn:log V 233 Remove support for mixed mode altogether now that we no longer use IRQ 0 when using an APIC. This simplifies the APIC code somewhat and also allows us to be pedantically more compliant with ACPI which mandates no use of mixed mode. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-14T18:11:13.000000Z K 7 svn:log V 59 MFC: prototype for devclass_get_drivers() Pointy hat: njl END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-14T18:20:59.000000Z K 7 svn:log V 72 Hook devclass_get_drivers man page to the build. Reminded by: brueffer END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T18:25:09.000000Z K 7 svn:log V 379 Trust the settings programmed by the BIOS over what the $PIR says. Specifically, if the BIOS has programmed an IRQ for a device that doesn't match the list of valid IRQs for the link, use it anyway as some BIOSes don't correctly list the valid IRQs in the $PIR. Also, allow the user to specify an IRQ that $PIR claims is invalid as an override, but emit a warning in that case. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-14T18:29:59.000000Z K 7 svn:log V 79 Update the bugs section, null characters in the format string are now handled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-14T18:30:10.000000Z K 7 svn:log V 294 Close a race I introduced in the spinlock_* changes. We need to finish disabling interrupts before updating the saved pil in the thread. If we save the value first then it can be clobbered if an interrupt comes in and the interrupt handler tries to acquire a spin lock. Submitted by: marius END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-14T18:33:14.000000Z K 7 svn:log V 35 Also test \0 in the format string. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-14T20:09:52.000000Z K 7 svn:log V 284 Fix for a TCP SACK bug where more than (win/2) bytes could have been in flight in SACK recovery. Found by: Noritoshi Demizu Submitted by: Mohan Srinivasan Noritoshi Demizu Raja Mukerji END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-04-14T20:20:51.000000Z K 7 svn:log V 395 Merge from RELENG_5 revision 1.51.2.3: fix the handling of the UCS_RXSTOP flag so that it always tracks whether or not the receive pipe is stopped. This ensures that we do not attempt to start the same transfer twice, and it allows ucomstop() to skip the restarting of the read pipe if it was not originally running, such as when called indirectly from ucomreadcb(). Approved by: re (kensmith) END K 10 svn:author V 4 rees K 8 svn:date V 27 2005-04-14T20:27:30.000000Z K 7 svn:log V 115 Remove dead code. PR: bin/78125 Submitted by: Gavin Atkinson Approved by: alfred END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-04-14T21:51:33.000000Z K 7 svn:log V 69 MFC bug fix from 1.3 re entropy_save_sz. Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-04-14T21:58:55.000000Z K 7 svn:log V 135 MFC fixes for rc.d/random: /var/db/entropy -> /var/db/entropy-file, and Fix error message when save fails. Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-15T00:21:23.000000Z K 7 svn:log V 277 Initialize curthread before we save the APs MCA state. Saving the MCA state requires a spin lock, which requires a valid curthread. This change allows SMP kernels to boot into multi-user again. While here, update the copyright notice and use __FBSDID for the revision string. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-15T00:47:44.000000Z K 7 svn:log V 262 Centralized finding the protocol header in IP packets in preperation for IPv6 support. The header in IPv6 is more complex then in IPv4 so we want to handle skipping over it in one location. Submitted by: Mariano Tortoriello and Raffaele De Lorenzo (via luigi) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-15T01:52:03.000000Z K 7 svn:log V 173 Zero the ifr.ifr_name buffer in ifconf() in order to avoid accidental disclosure of kernel memory to userland. Security: FreeBSD-SA-05:04.ifconf Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-15T01:52:40.000000Z K 7 svn:log V 146 Zero the ifr.ifr_name buffer in ifconf() in order to avoid accidental disclosure of kernel memory to userland. Security: FreeBSD-SA-05:04.ifconf END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-15T01:53:14.000000Z K 7 svn:log V 173 Zero the ifr.ifr_name buffer in ifconf() in order to avoid accidental disclosure of kernel memory to userland. Security: FreeBSD-SA-05:04.ifconf Approved by: so (cperciva) END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-04-15T04:15:24.000000Z K 7 svn:log V 105 MFC of changes fro NetBSD and Kazuhito HONDA to enable recording and source selection on uaudio devices. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-15T06:13:31.000000Z K 7 svn:log V 60 Oops, remove last mention of mixed mode. Prodded by: marks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-15T06:56:52.000000Z K 7 svn:log V 66 Really remove the last vestiges of mixed mode from all but amd64. END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-15T07:06:26.000000Z K 7 svn:log V 170 Merge the following from the English version: 1.27.2.2 -> 1.27.2.3 install.sgml 1.9 -> 1.8.2.1 layout.sgml 1.16 -> 1.14.2.1 trouble.sgml Approved by: re (hrs) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-15T10:14:00.000000Z K 7 svn:log V 120 - Return error, if there was one. - No need to initialize error here. PR: kern/79884 Submitted by: Wojciech A. Koszek END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-15T10:20:52.000000Z K 7 svn:log V 301 Move the creation of ata_channel child devices to the channel code. This allows to attach to the children (ATA devices) even without a driver being attached. This allows atapi-cam to do its work both with and without the pure ATAPI driver being present. ATA patches by /me ATAPI-cam pathes by Thomas END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-15T10:57:34.000000Z K 7 svn:log V 39 Add missing links. MFC after: 2 weeks END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-15T12:03:46.000000Z K 7 svn:log V 148 Merge the following from the English version: 1.832 -> 1.843 relnotes/common/new.sgml Obtained from: The FreeBSD Russian Documentation Project END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-15T12:49:24.000000Z K 7 svn:log V 100 Merge the following from the English version: 1.761.2.39 -> 1.761.2.41 relnotes/common/new.sgml END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-15T13:13:08.000000Z K 7 svn:log V 9 Typo fix END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-15T13:22:03.000000Z K 7 svn:log V 204 MFC 1.27: Fix mss byte order, only affects synproxy code path. Submitted by: John L. Scarfone via OpenBSD Reviewed by: mlaier Obtained from: OpenBSD, rev. 1.483 Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-15T13:23:12.000000Z K 7 svn:log V 207 MFC 1.27: Fix mss byte order, only affects synproxy code path. Submitted by: John L. Scarfone via OpenBSD Reviewed by: mlaier Obtained from: OpenBSD, rev. 1.483 Approved by: re (kensmith) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-15T14:01:43.000000Z K 7 svn:log V 54 Fix a typo in the comment. Noticed by: Samy Al Bahra END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-15T14:19:41.000000Z K 7 svn:log V 46 Make things compile again with ATA_STATIC_ID. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-15T14:24:49.000000Z K 7 svn:log V 24 MFi386: revision 1.219. END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-04-15T14:27:26.000000Z K 7 svn:log V 52 Document FreeBSD-SA-05:04.ifconf. MFC after: 1 day END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-15T14:42:29.000000Z K 7 svn:log V 98 hostalias() is not thread-safe. So, introduce _res_hostalias() and use it. Obtained from: BIND9 END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-15T14:46:59.000000Z K 7 svn:log V 26 Add a 'SEE ALSO' section. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-04-15T14:53:29.000000Z K 7 svn:log V 226 Various sh(1) enhancements: - Move the description of the ``-c string'' option closer to the option itself. - Add an ENVIRONMENT section (1) - Add more .Xr cross references to the SEE ALSO section. Obtained from: NetBSD (1) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-15T14:59:37.000000Z K 7 svn:log V 28 MFC: rev 1.5 Correct typo. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-15T18:09:39.000000Z K 7 svn:log V 130 - add getserv{byname,byport,ent}_r for internal use within libc. - make getserv{byname,byport,ent} thread-safe. Reviewed by: gnn END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-15T18:15:12.000000Z K 7 svn:log V 92 Now, our getservbyname(3) is thread-safe. So, we don't need to protect it with mutex lock. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-15T18:38:59.000000Z K 7 svn:log V 55 MFi386: track bus.h changes (unsplit bus_${machine}.h) END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-15T18:39:31.000000Z K 7 svn:log V 32 Show that I can actually count. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-15T18:41:32.000000Z K 7 svn:log V 22 MFi386: use c99 types END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-15T18:44:53.000000Z K 7 svn:log V 191 MFi386: use the lapic timer for UP systems that are using the apic so that IRQ0 and mixed mode isn't a problem anymore. This removes mixed mode support because nothing is left that uses it. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-15T18:45:07.000000Z K 7 svn:log V 29 MFi386: remove NO_MIXED_MODE END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-15T18:46:53.000000Z K 7 svn:log V 199 MFi386: sync rtc code - don't setup an interrupt handler for irq0 when the lapic timer is active. Don't enable periodic interrupts unless we are using them. Replace spl protection with a spinlock. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-15T18:48:27.000000Z K 7 svn:log V 28 Remove NO_MIXED_MODE option END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-04-15T21:18:31.000000Z K 7 svn:log V 217 - Add Dell PERC 4ei to the list of supported devices. It's an alias used by Dell sometimes for PERC 4e/Si. [1] - Delete some trailing whitespace. MFC after: 1 day Rapported by: Jon Kuster [1] END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-15T21:45:02.000000Z K 7 svn:log V 544 Add a vm.blacklist tunable which can hold a space or comma seperated list of physical addresses. The pages containing these physical addresses will not be added to the free list and thus will effectively be ignored by the VM system. This is mostly useful for the case when one knows of specific physical addresses that have bit errors (such as from a memtest run) so that one can blacklist the bad pages while waiting for the new sticks of RAM to arrive. The physical addresses of any ignored pages are listed in the message buffer as well. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-15T22:18:55.000000Z K 7 svn:log V 30 MFC: Explicitly linux_base 8. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-15T22:20:20.000000Z K 7 svn:log V 66 MFC: Explicitly install linux_base 8. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-15T23:51:20.000000Z K 7 svn:log V 60 Document 'clear' and 'dump' subcommands. MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-16T01:49:50.000000Z K 7 svn:log V 484 Fix mbnambuf support for multi-byte characters. If a substring is larger than WIN_CHARS bytes, we shift the suffix (previous substrings) upwards by the amount this substring exceeds its WIN_CHARS slot. Profiling shows this change is indistinguishable from the previous code at 95% confidence. This bug would result in attempts to access or create files or directories with multi-byte characters returning an error but no data loss. Reported and tested by: avatar MFC after: 3 days END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-04-16T03:44:47.000000Z K 7 svn:log V 970 Update to DRM CVS as of 2005-04-12, bringing many changes: - Split core DRM routines back into their own module, rather than using the nasty templated system like before. - Development-class R300 support in radeon driver (requires userland pieces, of course). - Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others. - i915 driver files, which just need to get drm_drv.c fixed to allow attachment to the drmsub device. Covers i830 through i915 integrated graphics. - savage driver files, which should require minimal changes to work. Covers the Savage3D, Savage IX/MX, Savage 4, ProSavage. - Support for color and texture tiling and HyperZ features of Radeon. Thanks to: scottl (much p4 handholding) Jung-uk Kim (helpful prodding) PR: [1] kern/76879, [2] kern/72548 Submitted by: [1] Alex, lesha at intercaf dot ru [2] Shaun Jurrens, shaun at shamz dot net END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-04-16T04:47:15.000000Z K 7 svn:log V 196 When setting up the new stack for a function in x86_64_wrap(), make sure to make it 16-byte aligned, in keeping with amd64 calling convention requirements. Submitted by: Mikore Li at sun dot com END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-04-16T05:33:42.000000Z K 7 svn:log V 33 Fix braino in previous revision. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-04-16T05:34:48.000000Z K 7 svn:log V 25 Grr, fix another braino. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-04-16T05:36:09.000000Z K 7 svn:log V 35 MFC: polling(4) support for xl(4). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-16T05:38:59.000000Z K 7 svn:log V 525 Return better "error" values for UWX_BOTTOM and UWX_ABI_FRAME in unw_step(). Both errors denote the end of a stack trace (i.e. no prior frame), but are otherwise not error conditions. Have db_trace() return 0 when the trace ends due to one of these return codes as they are really normal termination conditions. This change especially improves the output of the "show thread" command in DDB when there are threads in fork_trampoline() and previously db_trace() would return an error, causing the show command to emit '***'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-16T10:57:49.000000Z K 7 svn:log V 123 - Plug memory leak. - Fix two style nits. Found by: Coverity Prevent analysis tool Reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T11:32:46.000000Z K 7 svn:log V 165 In practice, you need to include and in order to include , so document that. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T11:58:55.000000Z K 7 svn:log V 269 When parsing the second {uid,gid} in an identity phrase for ugidfw, check the password or group database before attempting to parse as an integer, as is done for the first {uid,gid} in an identity phrase. Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T12:06:40.000000Z K 7 svn:log V 270 Starting point for a regression test for mac_bsdextended(4)/libugidfw(3). Currently only performs basic tests against the library string routines, and queries less important kernel state. Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T12:12:27.000000Z K 7 svn:log V 278 Modify the alq(9) alq_open() API to accept a file creation mode, rather than defaulting the cmode argument to vn_open() to 0. Supply a default argument of ALQ_DEFAULT_CMODE (0600) in current callers. Discussed with/pointed out by: hmp Reveiwed by: jeff, hmp MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T12:14:43.000000Z K 7 svn:log V 63 Add ALQ and KTR_ALQ to NOTES so that they are built into LINT. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-04-16T12:37:16.000000Z K 7 svn:log V 43 Unbreak the build on 64-bit architectures. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-16T12:40:38.000000Z K 7 svn:log V 71 Manual page for the ataraid(4) software RAID driver. Reviewed by: sos END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-16T12:43:17.000000Z K 7 svn:log V 17 Xref ataraid(4). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T13:29:15.000000Z K 7 svn:log V 965 Introduce new MAC Framework and MAC Policy entry points to control the use of system calls to manipulate elements of the process credential, including: setuid() mac_check_proc_setuid() seteuid() mac_check_proc_seteuid() setgid() mac_check_proc_setgid() setegid() mac_check_proc_setegid() setgroups() mac_check_proc_setgroups() setreuid() mac_check_proc_setreuid() setregid() mac_check_proc_setregid() setresuid() mac_check_proc_setresuid() setresgid() mac_check_rpoc_setresgid() MAC checks are performed before other existing security checks; both current credential and intended modifications are passed as arguments to the entry points. The mac_test and mac_stub policies are updated. Submitted by: Samy Al Bahra Obtained from: TrustedBSD Project END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-04-16T14:45:30.000000Z K 7 svn:log V 69 MFC 1.844: Document FreeBSD-SA-05:04.ifconf. Approved by: re (hrs) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-16T14:47:50.000000Z K 7 svn:log V 89 Fix a style(9) bug in the stxa_sync() macro (DO NOT use function calls in initializers). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-16T14:57:38.000000Z K 7 svn:log V 2216 - Add a workaround for a bug in BlackBird CPUs (said to be part of the SpitFire erratum #54) which can cause writes to the TICK_CMPR register to fail. This seems to fix the dying clocks problem reported by jhb@ and kris@. [1] - In tick_start() don't reset the tick counter of the boot processor to zero. It's initially reset in _start() and afterwards but _before_ tick_start() is called on the BSP the APs synchronise with the tick counter of the BSP in mp_startup(). Resetting the tick counter of the BSP in tick_start() probably also was the cause of problems seen when using the CPU tick counter as timecounter on SMP machines. Not resetting the tick counter of the BSP in mp_startup() makes the tick counters and tick interrupts between the BSP and APs be pretty much in sync as it's supposed to be. This also means there's no longer a real reason to have separate tick_start() and tick_start_ap() so merge them and zap tick_start_ap(). This is also a first step in simplifying the interface to the tick counters in preparation to use alternate clock hardware where available. - Switch to the algorithm used on FreeBSD/ia64 for updating the tick interrupt register and which compensates the clock drift caused by varying delays between when the tick interrupts actually trigger and when they are serviced. Not compensating the clock drift mainly hurts interactive performance especially when using WITNESS. [2] For further information about the algorithm also see the commit log of sys/ia64/ia64/interrupt.c rev. 1.38. On sparc64 the sysctls for monitoring the behaviour of the tick interrupts are machdep.tick.adjust_edges, machdep.tick.adjust_excess, machdep.tick.adjust_missed and machdep.tick.adjust_ticks. - In tick_init() just use tick_stop() for stopping the tick interrupts until a proper handler is set up later. This also stops the system tick interrupt on USIII systems earlier. - In tick_start() check for a rough upper limit of HZ. - Some minor changes, e.g. use FBSDID, remove unused headers, etc. Info obtained from: Linux [1] Ok'ed by: marcel [2] Additional testing by: kris (earlier version of the workaround), jhb X-MFC after: 3 days [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-16T15:00:09.000000Z K 7 svn:log V 288 - In sparc64_init() remove the call to tick_stop(). There's no need to call tick_stop() again after tick_init() as tick interrupts already have been disabled as part of tick_init(). - In spinlock_enter() replace the magic value for PIL TICK with the respective macro. - Use FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-16T15:02:16.000000Z K 7 svn:log V 446 Some changes to intr_execute_handlers(): - Fix NULL pointer dereferences caused when an ithread or a handler is NULL which happens when a stray interrupt triggers after the respective device interrupt was torn down. - Remove the critical section around INTR_FAST handlers which actually was a nested critical section. Both tl0_intr() and tl1_intr() already enter a critical section for calling intr_execute_handlers(). MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-16T15:05:56.000000Z K 7 svn:log V 633 - MFi386: sys/i386/i386/intr_machdep.c rev. 1.11 Don't use atomic ops to increment interrupt stats. On sparc64 this reduces delay until tick interrupts are service by 1/10th on average. In turn this reduces the clock drift caused by these delays so there's less drift which has to be compensated in tick_hardclock(). This includes switching from atomically incrementing the global cnt.v_intr to the asm equivalent of PCPU_LAZY_INC(cnt.v_intr) in exception.S - Correct some comments to match the registers actually used. - Correct some format specifiers, interrupt levels passed in are u_int. - Use FBSDID. Ok'ed by: jhb END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-16T15:07:41.000000Z K 7 svn:log V 41 Increase default HZ for sparc64 to 1000. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-04-16T15:43:38.000000Z K 7 svn:log V 275 Reduce the width of the THR column to 4 characters, to avoid wrap-around of lines in SMP machines (which are wider), until we have a better way of handling window sizes & columns in top. Caught by: ache, Andre Guibert de Bruet Point hat: keramida END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-16T16:09:44.000000Z K 7 svn:log V 62 Getting ready for the RC3 builds. Approved by: re (implicit) END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-04-16T16:30:52.000000Z K 7 svn:log V 210 MFC 1.30: - Add Dell PERC 4ei to the list of supported devices. It's an alias used by Dell sometimes for PERC 4e/Si. [1] - Delete some trailing whitespace. Rapported by: Jon Kuster [1] END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-16T17:38:24.000000Z K 7 svn:log V 145 Extend a local buffer to prevent an overflow of the XSDT address. Submitted by: Joerg Sonnenberger Obtained from: DragonflyBSD MFC after: 1 day END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-04-16T18:26:19.000000Z K 7 svn:log V 242 MF5STABLE 1.21.2.5: - Add Dell PERC 4ei to the list of supported devices. It's an alias used by Dell sometimes for PERC 4e/Si. [1] - Delete some trailing whitespace. Rapported by: Jon Kuster [1] Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T18:33:13.000000Z K 7 svn:log V 530 In mac_get_fd(), remove unconditional acquisition of Giant around copying of the socket label to thread-local storage, and replace it with conditional acquisition based on debug.mpsafenet. Acquire the socket lock around the copy operation. In mac_set_fd(), replace the unconditional acquisition of Giant with the conditional acquisition of Giant based on debug.mpsafenet. The socket lock is acquired in mac_socket_label_set() so doesn't have to be acquired here. Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T18:37:40.000000Z K 7 svn:log V 249 Merge ffsinfo.8:1.16 and ffsinfo.c:1.10 from HEAD to RELENG_5: Don't default to '/var/tmp/ffsinfo' for the output of ffsinfo(8), since /var/tmp is a world-writable directory. Reported by: Jon Passki RELENG_5 candidate. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T18:38:16.000000Z K 7 svn:log V 265 Merge Makefile:1.13 from HEAD to RELENG_5: Don't define FS_DEBUG by default, as this causes growfs to write debugging information to /tmp/growfs.debug, which is a world-writable directory. Reported by: Jon Passki RELENG_5_4 candidate. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T18:39:33.000000Z K 7 svn:log V 84 Merge ipx_input.c:1.51 from HEAD to RELENG_5: Compare (mbuf *) with NULL, not 0. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T18:40:23.000000Z K 7 svn:log V 131 Merge README:1.6 from HEAD to RELENG_5: Update copyright: parts of the netipx implementation are covered by a 2005 copyright. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-04-16T18:41:00.000000Z K 7 svn:log V 53 Those who are ungodlike should be returned an error. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T18:41:07.000000Z K 7 svn:log V 111 Merge kern_malloc.c:1.139 from HEAD to RELENG_5: Consistently style function declarations in kern_malloc.c. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-16T18:46:29.000000Z K 7 svn:log V 721 Introduce three additional MAC Framework and MAC Policy entry points to control socket poll() (select()), fstat(), and accept() operations, required for some policies: poll() mac_check_socket_poll() fstat() mac_check_socket_stat() accept() mac_check_socket_accept() Update mac_stub and mac_test policies to be aware of these entry points. While here, add missing entry point implementations for: mac_stub.c stub_check_socket_receive() mac_stub.c stub_check_socket_send() mac_test.c mac_test_check_socket_send() mac_test.c mac_test_check_socket_visible() Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-16T20:03:49.000000Z K 7 svn:log V 32 Spell ATA_NFORCE4_S2 correctly. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-16T20:47:32.000000Z K 7 svn:log V 194 Concatenate the line number rather than the string `__FILE__' in the NET_NEEDS_GIANT macro. Until now this wasn't a problem because no translation unit contains NET_NEEDS_GIANT more than once. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-16T21:12:47.000000Z K 7 svn:log V 38 Implement truncl() based on floorl(). END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-16T21:12:55.000000Z K 7 svn:log V 31 More optimized math functions. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-16T22:36:51.000000Z K 7 svn:log V 129 Be bug-for-bug compatible with the C standard with respect to printf("%#.0o", 0). Cite an amusing passage from a defect report. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-16T23:38:32.000000Z K 7 svn:log V 113 Add a kpte command to DDB. It dumps the PTE of a KVA. This helps to analyze faults and TLB/VHPT inconsistencies. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-16T23:47:19.000000Z K 7 svn:log V 547 Disable negative name caching for msdosfs to work around a bug. Since the name cache is case-sensitive and msdosfs isn't, creating a file 'foo' won't invalidate a negative entry for 'FOO'. There are similar problems related to 8.3 filenames. A better solution is to override VOP_LOOKUP with a method that canonicalizes the name, then calls vfs_cache_lookup(). Unfortunately, it's not quite that simple because vfs_cache_lookup() will call msdosfs_lookup() on a cache miss, and msdosfs_lookup() needs a way to get at the original component name. END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-04-17T00:40:27.000000Z K 7 svn:log V 117 Have the regression test use a path in /tmp for a mount point instead of a directory that only exists on my machine. END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-04-17T00:56:38.000000Z K 7 svn:log V 59 Add another regression test - one we don't pass right now. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-17T01:06:37.000000Z K 7 svn:log V 47 s/int/size_t/ as appropriate. Noticed by: bde END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-17T03:56:07.000000Z K 7 svn:log V 331 Remove a check about whether sa->sa_len is equal to salen from getnameinfo(3). POSIX standard does not require a sa_len field in sockaddr struct, hence such requirement will cause problem for portability. PR: standards/80008 Requested by: Xin Liu Reviewed by: freebsd-standards (das) MFC After: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-17T04:00:55.000000Z K 7 svn:log V 160 Wrong working directory, sorry. The previous patch was what I have seen in NetBSD's tree, and this one is what I have submitted for review. Pointy hat to: me END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-04-17T07:42:28.000000Z K 7 svn:log V 87 On record only devices, don't fail if we don't have a play channel. MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-17T09:44:17.000000Z K 7 svn:log V 25 Remove unneeded include. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-17T10:41:59.000000Z K 7 svn:log V 116 Fix the apm module on pc98. Pointed out by: Kuwamura Shinya MFC after: 1 day END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-17T10:43:43.000000Z K 7 svn:log V 49 MFi386: revision 1.1194 (Update the drm driver). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-17T10:47:58.000000Z K 7 svn:log V 82 Add startup script and default configuration file for bsnmpd. Reviewed by: harti END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-17T11:28:41.000000Z K 7 svn:log V 557 Some clean-up announced in rev. 1.31: - Use auto-generated typedefs for the prototypes of the device interface functions. - Style(9) fixes (mainly don't use function calls in initializers). - Use __func__ instead of hardcoded function names in error messages. - Try to make error messages sound uniform. - Try to keep the code within 80 columns. - Correct some typos. - Correct some function declarations to match their prototypes. - Remove unused headers, macros and variables. - Remove a bzero() superfluous due to allocating with M_ZERO. - Use FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-17T11:32:34.000000Z K 7 svn:log V 1023 - Split the bus probe function into a bus probe and a bus attach function with the attaching of the children done in the bus attach function like it's supposed to be. - In the bus probe nomatch function print the resources of the children like it's done in the other sparc64 specific bus drivers. - For the clock frequency IVAR use the per-child values and fall back to the bus default in case a child doesn't have the respective property instead of always using the bus default so a child driver doesn't need to obtain the per-child value itself (see also the commit message of sys/dev/esp/esp_sbus.c rev. 1.7). - Add support for pass-through allocations. The comment preceding sbus_alloc_resource() wasn't quite correct, we need to support pass- through allocations for the 'espdma' and 'ledma' (pseudo-)busses which hang off of the SBus in Ultra 1 machines. There can also be actual bridges like the SBus-to-PCMCIA bridge on the SBus and the XBox (SBus extension box) probably also involves one. END