ƒ°'122612 205 187 176 176 489 188 104 142 121 104 322 224 288 196 408 185 231 140 165 525 137 308 342 228 333 103 385 117 122 169 264 176 123 143 240 503 177 229 385 139 118 594 216 216 209 526 297 335 206 114 116 119 130 115 147 156 117 113 296 188 185 478 225 123 130 165 404 156 418 140 279 162 127 174 220 469 259 153 367 793 318 201 151 218 167 198 211 192 558 253 333 620 404 194 364 749 152 327 330 135 172 259 193 272 177 149 131 283 109 147 171 179 153 214 179 346 187 178 189 137 137 575 532 219 153 182 134 169 152 154 341 139 316 1324 182 287 154 326 728 172 276 311 116 117 134 119 142 335 338 476 166 290 185 193 290 606 164 143 479 475 127 509 582 112 408 153 342 441 170 512 217 200 404 292 198 265 890 374 153 146 175 144 428 102 152 274 170 133 451 313 231 418 168 427 159 454 418 270 367 819 379 171 307 142 420 135 K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-13T11:02:57.000000Z K 7 svn:log V 95 Fix a bug relating to the "files before directories" sort order when comparing two spec files. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-13T12:26:55.000000Z K 7 svn:log V 84 add sysctl MIB net.key.esp_auth which was wrongly dropped during recent KAME merge. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-13T13:00:56.000000Z K 7 svn:log V 82 Make the defines that prevent multiple includes look like the others in netgraph. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-13T16:02:44.000000Z K 7 svn:log V 396 - make command line argument parsing POSIX compliant. comment from deraadt NOTE: -I needs to take an arg (there's no way we can take no arg/an arg with a single option) - sscanf overrun - no variable name on prototype. - u_int32_t may not be u_long. - skipped non-host route when printing neighbor cache entries. - valid and preferred lifetimes are unsigned. - wording. Obtained from: KAME END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-13T16:23:00.000000Z K 7 svn:log V 94 - Add Linksys EG1032 and SMC 9452TX to the list of supported devices. - Sort the device list. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-13T16:41:07.000000Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-13T17:01:08.000000Z K 7 svn:log V 48 Add a few more devices from the hardware notes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-13T17:57:53.000000Z K 7 svn:log V 26 Document CVS_CLIENT_PORT. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-13T18:16:37.000000Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-11-13T19:08:43.000000Z K 7 svn:log V 227 Make this WARNS=2 clean by - #include for _time_to_time32 et al - use (uintmax_t) and %j - remove unused variable 'j' (from PR 39866) PR: 39866 Submitted by: Dan Lukes Tested by: make universe END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-11-13T19:18:43.000000Z K 7 svn:log V 129 Make this WARNS=2 clean by - constifying copyright PR: 39867 Submitted by: Dan Lukes Tested by: make universe END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-13T19:54:37.000000Z K 7 svn:log V 192 It is obivous this started out as a copy of a Bill Paul driver so he has a copyright on this driver as well. Bill uses a 4-clause BSDL, so we need to add a complete copy of Bill's copyright. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-13T20:35:13.000000Z K 7 svn:log V 101 Add cross reference to the em(4) driver, which also supports the NICs supported by the gx(4) driver. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-13T20:55:53.000000Z K 7 svn:log V 312 Try to create some sort of consistency in how the routings to find the multicast hash are written. There are still two distinct algorithms used, and there actually isn't any reason each driver should have its own copy of this function as they could all share one copy of it (if it grew an additional argument). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-13T21:01:58.000000Z K 7 svn:log V 90 Document this driver works for the Billionton 10/100 FastEthernet USBKR2 "thumb" adaptor. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-13T21:13:43.000000Z K 7 svn:log V 138 Warn about partitions that would overlap with the master boot record, and if the user agrees, move them out one track. MFC after: 7 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-13T21:24:09.000000Z K 7 svn:log V 48 honor environment settings of SYSDIR and BINDIR END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-13T21:25:09.000000Z K 7 svn:log V 73 fixup include filenames; this stuff used to be in the kernel source tree END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-13T21:25:12.000000Z K 7 svn:log V 432 If the name of the mouse device starts with "/dev/ums", try to load the ums module, and allow for up to five attempts to open the device, with two-second pauses in between, to allow time for USB controllers and devices to probe and attach. My Gigabyte P4 Titan 848P motherboard has a total of 15 ports on four hubs hanging off four controllers, and needs at least half of that ten-second allowance to get ready. MFC after: 7 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-13T22:39:49.000000Z K 7 svn:log V 43 Trim the dc(4) entries. Reviewed by: bmah END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-13T22:40:05.000000Z K 7 svn:log V 215 Use correct priority parameter value in add_prefix from corresponding enum instead of passing literal 0. This fixes gcc invocations with GCC_EXEC_PREFIX environment set. Submitted By: Geoff Morrison PR: gnu/53476 END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-14T03:21:22.000000Z K 7 svn:log V 248 - Use the magic for ___sigreturn in __sigset. - In __sigreturn call sigprocmask() to restore our signal state rather than returning through sigreturn(). jmp to ___sigreturn to restore our register state following this. Requested by: pete END K 10 svn:author V 4 emax K 8 svn:date V 27 2003-11-14T03:45:29.000000Z K 7 svn:log V 134 Change double include protection style in headers to match the rest of Netgraph code. Reviewed by: imp, ru Approved by: imp (mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-14T03:48:37.000000Z K 7 svn:log V 239 - Revision 1.156 marked ptrace() SMP safe. Unfortunately, alpha implements parts of ptrace using proc_rwmem(). proc_rwmem() requires giant, and giant must be acquired prior to the proc lock, so ptrace must require giant still. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-14T03:49:41.000000Z K 7 svn:log V 10 - regen. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-14T04:04:14.000000Z K 7 svn:log V 291 - Drop the process lock before we call into ptrace_{read|write}_int or any functions that call them. Calling proc_rwmem() with the proc lock held is not safe. Currently, we're protected from any races by Giant. Eventually proc_rwmem() should require the proc lock and not Giant. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2003-11-14T05:13:00.000000Z K 7 svn:log V 22 fix broken _IOR usage END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2003-11-14T05:13:43.000000Z K 7 svn:log V 27 MFC: fix broken _IOR usage END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-14T05:27:41.000000Z K 7 svn:log V 77 Fix a number of style(9) bugs introduced in r1.113 by me. Suggested by: bde END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-14T05:31:50.000000Z K 7 svn:log V 170 Rev 1.61 accidentily added makeoptions NO_MODULES=yes. Funny that I add this to all my kernel configs. Submitted by: Hidetoshi Shimokawa END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-14T05:37:36.000000Z K 7 svn:log V 84 Reconst-poison crc routine that was renamed to mchash. re-remove the _ in u_intXX_t END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-14T05:45:39.000000Z K 7 svn:log V 31 reconst poison re-de u_intXX_t END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-14T06:02:51.000000Z K 7 svn:log V 51 Despam the const poisoning Despam the u_->u change END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-14T06:24:20.000000Z K 7 svn:log V 147 Add required reboot into single-user mode step. # mdoc janitors should make sure I did the markup right Inspired by: recent problems in this area END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-14T06:55:11.000000Z K 7 svn:log V 410 Changes to msync(2) - Return EBUSY if the region was wired by mlock(2) and MS_INVALIDATE is specified to msync(2). This is required by the Open Group Base Specifications Issue 6. - vm_map_sync() doesn't return KERN_FAILURE. Thus, msync(2) can't possibly return EIO. - The second major loop in vm_map_sync() handles sub maps. Thus, failing on sub maps in the first major loop isn't necessary. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-14T07:18:12.000000Z K 7 svn:log V 85 - Add documentation for EBUSY. - Remove EIO. - Add a cross reference to mlock(2). END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-11-14T08:07:13.000000Z K 7 svn:log V 131 Note to update cfsd (ports/security/cfs) after installing the statfs changes. Submitted by: Marco Wertejuk END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-14T08:09:01.000000Z K 7 svn:log V 290 Use the new defines that include the trailing '\0' in the code. Replace occurences of the magic constant 2 with an offsetof macro call that computes the size of the leading members of the sockaddr. Use strlcpy instead of sprintf where appropriate. Document the new changes in the man page. END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2003-11-14T08:21:21.000000Z K 7 svn:log V 42 Fix ${LOCAL_PATCHES} (chdir was ignored). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-14T08:22:38.000000Z K 7 svn:log V 26 - Remove long dead code. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-11-14T08:23:13.000000Z K 7 svn:log V 501 - A sanity check in unionfs verifies that lookups of '.' return the vnode of the parent. However, this check should not be performed if the lookup failed. This change should fix "union_lookup returning . not same as startdir" panics people were seeing. The bug was introduced by an incomplete import of a NetBSD delta in rev 1.38. - Move the aforementioned check out from DIAGNOSTIC. Performance is the least of our unionfs worries. - Minor reorganization. PR: 53004 MFC after: 1 week END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T09:51:47.000000Z K 7 svn:log V 118 Don't check block number overflow for D_MEM. /dev/fwmem needs 48bit offset. This change is needed only for 4-stable. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T09:55:53.000000Z K 7 svn:log V 118 Sync with -current: - Fixes for sbp_targ(4). - Enhance -s option. - 16 byte command support(not enabled for -stable). END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-11-14T11:09:45.000000Z K 7 svn:log V 114 Remove duplicate #include __FBSDID(...); Leave the one matching the other files in this directory. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-14T11:23:25.000000Z K 7 svn:log V 433 Fixed spurious syntax errors for including files that don't begin with a SEMICOLON token (a newline or semicolon, or one of these preceded by a comment and/or whitespace). The input stream was switched too early and the parser was expecting a SEMICOLON in the included file instead of after the filename in the include directive. Submitted by: Stefan Farfeleder Kept alive by: Adam C. Migus END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T11:31:25.000000Z K 7 svn:log V 199 MFC: rev. 1.19 and 1.20 - Detach black hole device on AC_PATH_DEREGISTERED. - Pick up a correct path_id for the bus on AC_PATH_REGISTERED. - Call cam_periph_invalidate() only if the periph is found. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T11:34:29.000000Z K 7 svn:log V 237 Sync with -current: - Major restruction of asynchronous receive API. - Add sbp_targ(4) code. - Add fwphy register definitions. - Enable core dump on sbp-2 device. - Add some tunables/sysctls. - Minor bug fixes and stability improvement. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T11:40:20.000000Z K 7 svn:log V 108 Sync with -current: - Add -p option to dump phy registers. - Add '0x' in front of EUI64 to avoid confusion. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T11:54:49.000000Z K 7 svn:log V 17 Add sbp_targ(4). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T12:06:35.000000Z K 7 svn:log V 19 Build sbp_targ(4). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T12:14:07.000000Z K 7 svn:log V 22 s/Firewire/FireWire/. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T12:16:46.000000Z K 7 svn:log V 33 MFC: dcons(4) and dcons_crom(4). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T12:21:00.000000Z K 7 svn:log V 18 MFC: dconschat(8) END K 10 svn:author V 5 tobez K 8 svn:date V 27 2003-11-14T12:56:56.000000Z K 7 svn:log V 53 Sync comment with code's reality. MFC after: 1 week END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T12:57:35.000000Z K 7 svn:log V 59 Add manpages for dcons(4), dcons_crom(4), and sbp_targ(4). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T12:58:12.000000Z K 7 svn:log V 20 Sync with -current. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-14T12:59:51.000000Z K 7 svn:log V 16 MFC: add dcons. END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-11-14T13:07:38.000000Z K 7 svn:log V 201 Make this WARNS=2 clean by - using (intmax_t) and %j - giving a non-empty format string to msg() Include directly instead of depending on to do it. Tested by: make universe END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-11-14T13:13:23.000000Z K 7 svn:log V 94 Make this WARNS=2 clean by - using (intmax_t) and %j instead of %q Tested by: make universe END K 10 svn:author V 5 tobez K 8 svn:date V 27 2003-11-14T15:27:08.000000Z K 7 svn:log V 91 MFC 1.30: Remove the code for parsing octal modes, since setmode(3) already handles them. END K 10 svn:author V 5 green K 8 svn:date V 27 2003-11-14T16:04:11.000000Z K 7 svn:log V 383 Include opt_global.h in the modules build, when building from a normal kernel build. This makes it possible for me not to get pissed off that random.ko crashes the system trying to rdtsc() when the i386/cpu.h support code decides it's okay to call that op when neither I386_CPU or I486_CPU is defined. I guess it also makes WITNESS/INVARIANTS defines get picked up by the modules. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T16:27:17.000000Z K 7 svn:log V 132 Add a WITNESS_WARN() check to _STOPEVENT() since any _STOPEVENT() can potentially sleep. This should help find some bogus locking. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-14T16:55:00.000000Z K 7 svn:log V 31 Amplify the reboot requirement END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-14T16:57:04.000000Z K 7 svn:log V 38 our netstat is installed in /usr/bin. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-14T17:16:12.000000Z K 7 svn:log V 73 - interface minimum MTU = 1280 in IPv6. - simplify. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-14T17:16:50.000000Z K 7 svn:log V 311 - need_trigger/idx should be u_int, not ssize_t. - realloc pedant. - set sin6_scope_id before sending (link-local/multicast) packets - removed an incorrect comment - don't age non-gateway host routes. - not remove global addresses on loopback interface from routing table by route aging. Obtained from: KAME END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-14T17:16:58.000000Z K 7 svn:log V 61 Remove duplicate FBSDID's, move others to their right place. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-14T17:34:08.000000Z K 7 svn:log V 325 - poll(2) support. - simplify by strdup. - set ai_protocol in hints to TCP. - g/c FAITH_NS (no description, not maintained for years) - warn if connection from IPv4 mapped is reached. - IPV6_V6ONLY if possible. - unifdef -UFAITH4. - drop rsh/rlogin support. - deal with negative return value from wait3. Obtained from: KAME END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-14T17:49:07.000000Z K 7 svn:log V 48 - Remove use of Giant from uma_zone_set_obj(). END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2003-11-14T18:02:25.000000Z K 7 svn:log V 181 - Code cleanup - In the receive routine handle the case where last descriptor could have less than 4 bytes of data. - Handle race between detach/ioctl routine. MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-14T18:07:50.000000Z K 7 svn:log V 70 u_int8_t cannot carry a number greater than 255. Reported by: nectar END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-14T18:17:07.000000Z K 7 svn:log V 35 fix comments. Obtained from: KAME END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T18:20:20.000000Z K 7 svn:log V 80 Fix up the control word 3 bits. jhb discovered how much I screwed this up. :-] END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-11-14T18:48:15.000000Z K 7 svn:log V 127 Add a sysctl MIB, NET_RT_IFMALIST, to retrieve multicast group memberships in a protocol-independent way. Submitted by: harti END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-11-14T18:49:01.000000Z K 7 svn:log V 373 Better fix than my previous commit: in exit1(), make sure the p_klist is empty after sending NOTE_EXIT. The process won't report fork() or execve() and won't be able to handle NOTE_SIGNAL knotes anyway. This fixes some race conditions with do_tdsignal() calling knote() while the process is exiting. Reported by: Stefan Farfeleder MFC after: 1 week END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-11-14T18:53:22.000000Z K 7 svn:log V 166 Add the userland part of the NET_RT_IFMALIST sysctl MIB. A new function, getifmaddrs(), is added to retrieve current multicast group memberships. Reviewed by: harti END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T19:00:02.000000Z K 7 svn:log V 61 Fix a typo. We need opt_acpi.h not opt_apic.h for DEV_ACPI. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-14T19:00:32.000000Z K 7 svn:log V 274 Drop the driver lock around calls to if_input to avoid a LOR when the packets are immediately returned for sending (e.g. when bridging or packet forwarding). There are more efficient ways to do this but for now use the least intrusive approach. Reviewed by: imp, rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T19:10:13.000000Z K 7 svn:log V 700 Shuffle the APIC interrupt vectors around a bit: - Move the IPI and local APIC interrupt vectors up into the 0xf0 - 0xff range. The pmap lazyfix IPI was reordered down next to the TLB shootdowns to avoid conflicting with the spurious interrupt vector. - Move the base of APIC interrupts up 16 so that the first 16 APIC interrupts do not overlap the vectors used by the ATPIC. - Remove bogus interrupt vector reservations for LINT[01]. - Now that 0xc0 - 0xef are available, use them for device interrupts. This increases the number of APIC device interrupts to 191. - Increase the system-wide number of global interrupts to 191 to catch up to more APIC interrupts. Requested by: peter (2) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T19:12:25.000000Z K 7 svn:log V 225 - Bring in constants for 8259A registers from amd64 with some updated comments from NetBSD's dev/ic/i8259A.h. These bits really belong in a file of the same name as well, but this will do for now. - Axe unused HWI_MASK. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T19:13:06.000000Z K 7 svn:log V 108 Replace magic numbers with macros for i8259A register constants. Still need the ICW4 bits for PC98 though. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T20:06:24.000000Z K 7 svn:log V 57 "opt_auto_eoi.h" is not used here anymore. See atpic.c. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-14T20:27:13.000000Z K 7 svn:log V 125 Fixed some style bugs (English errors and poor wording in comments, tab lossage, and missing comment on idempotency #endif). END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-11-14T20:29:12.000000Z K 7 svn:log V 75 Add a manual page for the IDT NICStAR driver, and hook it up to the build. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-14T20:36:12.000000Z K 7 svn:log V 104 Fix more spammage with local changes. Didn't look at the diffs before committing. Pointy hat to: jake END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T20:51:07.000000Z K 7 svn:log V 116 basemem is in K, not bytes. I think I tricked jhb into making the same mistake I did and then committing it to cvs. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-14T20:54:10.000000Z K 7 svn:log V 97 University of Michigan's Citi NFSv4 kernel client code. Submitted by: Jim Rees END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-11-14T20:58:00.000000Z K 7 svn:log V 465 Fix a bug whereby the physical endpoints of a gre(4) tunnel would not be printed, if the module were loaded into a kernel which had INET6 enabled. The gre(4) driver does not use INET6, nor is it specified for IPv6. The tunnel_status() function in ifconfig(8) is somewhat overzealous and assumes that all tunnel interfaces speak KAME ifioctls. This fix follows the path of least resistance, by teaching gre(4) about the two KAME ifioctls concerned. PR: bin/56341 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T21:00:32.000000Z K 7 svn:log V 160 If an interrupt source doesn't have an ithread, treat it as a stray interrupt. This can only happen if an unregistered interrupt source triggers an interrupt. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-14T21:02:10.000000Z K 7 svn:log V 240 Include for the declaration of malloc(), etc. instead of depending on namespace pollution 2 layers deep in . Fixed most nearby include messes (another like this, several the opposite of this, and some formatting). END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-14T21:02:22.000000Z K 7 svn:log V 525 Introduce ip_fastforward and remove ip_flow. Short description of ip_fastforward: o adds full direct process-to-completion IPv4 forwarding code o handles ip fragmentation incl. hw support (ip_flow did not) o sends icmp needfrag to source if DF is set (ip_flow did not) o supports ipfw and ipfilter (ip_flow did not) o supports divert, ipfw fwd and ipfilter nat (ip_flow did not) o returns anything it can't handle back to normal ip_input Enable with sysctl -w net.inet.ip.fastforwarding=1 Reviewed by: sam (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T21:02:49.000000Z K 7 svn:log V 311 Always install IDT entries for ATPIC interrupt sources. The APIC no longer uses these interrupt vectors for its ISA interrupt pins, so these entries will not be overwritten. If we get a spurious interrupt from the ATPIC when using the APIC, it will be treated as a stray interrupt instead of causing a panic. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-14T21:04:33.000000Z K 7 svn:log V 99 University of Michigan's Citi NFSv4 userland client code. Submitted by: Jim Rees END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-14T21:18:04.000000Z K 7 svn:log V 271 Reduced prequisites by only using MALLOC_DECLARE() if it is defined. This fixes a dependency of mac_label.c on namespace pollution in . Similarly for SYSCTL_DECL() although I had no problems with it. This probably makes some includes of bogus. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-14T21:36:09.000000Z K 7 svn:log V 656 Improve support for extended IRQ resources: - For acpi_pci_link_entry_dump(), add a few helper functions to display the trigger mode, polarity, and sharemode of an individual IRQ resource. These functions are then called for both regular and extended IRQ resources. - In acpi_pci_link_set_irq(), use the same type of IRQ resource (regular vs. extended) for the new current resource as the type of the resources from _PRS. - When routing an interrupt don't ignore extended IRQ resources. Also, use the same type of IRQ resource (regular vs. extended) for the new current resource when as the type of the resource from _PRS. Tested by: peter END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-14T21:37:35.000000Z K 7 svn:log V 56 Fix a typo in a comment: sysctl(1) should be sysctl(8). END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-14T21:48:57.000000Z K 7 svn:log V 232 Remove the global one-level rtcache variable and associated complex locking and rework ip_rtaddr() to do its own rtlookup. Adopt all its callers to this and make ip_output() callable with NULL rt pointer. Reviewed by: sam (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-14T22:11:44.000000Z K 7 svn:log V 234 Add the most vital piece of information WRT upgrading past the statfs changes: you must have COMPAT_FREEBSD4 in your kernel config file. Everything else is documented procedure and will not save your ass if you don't have the option. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T22:21:30.000000Z K 7 svn:log V 41 Whitespace nit (sorry, couldn't help it) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T22:23:30.000000Z K 7 svn:log V 78 Convert a couple of pointers to integers for source compatability with amd64. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T22:26:29.000000Z K 7 svn:log V 164 Minor source sync with amd64. For %.*s printf formats, pass in an int rather than a size_t. cast the ioapicaddress variable via uintptr_t before going to void *. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T22:29:21.000000Z K 7 svn:log V 99 Minor source sync with amd64. Use int as the type for the width field of %.*s rather than size_t. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-14T22:34:43.000000Z K 7 svn:log V 177 Preemptively burn a bridges. The isa timer code is likely to be replaced by the HPET timer at some point, so dont even make a release with the aquire/release_timer0 functions. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-14T23:09:38.000000Z K 7 svn:log V 85 Moved $FreeBSD$ to the beginning of the file. Improved wording in a nearby comment. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-14T23:23:58.000000Z K 7 svn:log V 52 MFC: Sync this manual page with the one in -current END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-14T23:58:01.000000Z K 7 svn:log V 39 Fixed some English errors in comments. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-15T00:26:02.000000Z K 7 svn:log V 186 mac_relabel_cred() accepts two cred labels, not a cred label and a vnode label; update assertion. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-15T00:26:42.000000Z K 7 svn:log V 14 unbreak LINT. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-15T01:02:00.000000Z K 7 svn:log V 52 nfs4 client module. Not hooked up to the build yet. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-15T01:24:46.000000Z K 7 svn:log V 76 Fix compilation warnings on sparc. Cast sizeof to int for printing with %d. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-15T01:25:26.000000Z K 7 svn:log V 84 Fix compliation on sparc64. Change arg from uint32_t to size_t to match prototypes. END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-15T01:45:56.000000Z K 7 svn:log V 59 Make ipstealth global as we need it in ip_fastforward too. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-15T01:54:46.000000Z K 7 svn:log V 121 Update the EUC and UTF2 manual pages for their new home in section 5. These have been repo-copied from euc.4 and utf2.4. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-15T01:58:47.000000Z K 7 svn:log V 84 Use %zu to printf a size_t instead of an int cast. Requested by: jmallett, wollman END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-15T02:08:01.000000Z K 7 svn:log V 249 Add "socket" type to the list of default object types, and by default attempt to list Biba, LOMAC, and MLS label information for the socket if they are present. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-15T02:13:09.000000Z K 7 svn:log V 95 Install the section 5 versions of EUC and UTF2 manual pages instead of the section 4 versions. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-15T02:15:25.000000Z K 7 svn:log V 86 Remove section 4 versions of these manual pages, they have been moved into section 5. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-15T02:19:46.000000Z K 7 svn:log V 96 New release notes: statfs(2), KAME updates. Updated release note: DRM kernel modules import. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-15T02:26:04.000000Z K 7 svn:log V 45 Update cross references after utf2/euc move. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-15T02:49:53.000000Z K 7 svn:log V 45 Update cross references after utf2/euc move. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-15T03:34:58.000000Z K 7 svn:log V 478 /etc/mac.conf is implicitly read and parsed when the MAC configuration is accessed for the first time as a result of an application looking up label configuration information. Previously, the check and read were kicked off by mac_prepare_(typename)() functions; since mac_prepare_type() may now be directly employed by a user process, push the check and initialization into that function. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-15T03:47:50.000000Z K 7 svn:log V 439 Fixed some bugs in macros: - missing parenthesization of some macro args - point of do-while(0) hack defeated by putting a semicolon after while(0) Fixed some style bugs in macros: - not splitting the line when the macro value cannot be lined up in much the same macros that didn't parenthesize their args - braces around a 1-line statement - do-while(0) hack not indented in the usual way in the same macros that defeated its point. END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2003-11-15T03:58:12.000000Z K 7 svn:log V 121 Generate minimal /etc/group file for mfsroot tree. This fixes newfs failures at installation. Reviewed by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-15T04:05:49.000000Z K 7 svn:log V 57 Remove debugging printf that crept into the last commit. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-15T05:03:15.000000Z K 7 svn:log V 87 Move the declaration for "struct nfs4_fctx" out from under #ifdef KERNEL for fstat(1). END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-15T05:24:10.000000Z K 7 svn:log V 41 Use idt(4) manpage entity, trim devices. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-15T05:37:13.000000Z K 7 svn:log V 77 fixed a bug comparing sav->key_auth and SADB_AALG_NONE. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-15T05:41:41.000000Z K 7 svn:log V 60 preparation for 64bit sequence number. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-15T06:02:09.000000Z K 7 svn:log V 62 increase AH_MAXSUMSIZE for hmac-sha2-512 Obtained from: KAME END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-15T06:08:57.000000Z K 7 svn:log V 244 Bring in a 90% rewrite of the pcm.4 manual page. This adds tunables, loader options, information on VCHANs, and more. Based on content submitted by: Mathew Kanner && Cameron Grant Update requested by: ru, and I think hmp END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-15T06:16:36.000000Z K 7 svn:log V 47 oops, correct wrong change in previous commit. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-15T06:18:09.000000Z K 7 svn:log V 223 - m_cat() may free the mbuf on 2nd arg, so m_pkthdr manipulation has to happen before the call to m_cat(). - correct signedness mixups. - remove variable that is only assigned too but not referenced. Obtained from: KAME END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-15T07:32:07.000000Z K 7 svn:log V 1229 - Introduce kseq_runq_{add,rem}() which are used to insert and remove kses from the run queues. Also, on SMP, we track the transferable count here. Threads are transferable only as long as they are on the run queue. - Previously, we adjusted our load balancing based on the transferable count minus the number of actual cpus. This was done to account for the threads which were likely to be running. All of this logic is simpler now that transferable accounts for only those threads which can actually be taken. Updated various places in sched_add() and kseq_balance() to account for this. - Rename kseq_{add,rem} to kseq_load_{add,rem} to reflect what they're really doing. The load is accounted for seperately from the runq because the load is accounted for even as the thread is running. - Fix a bug in sched_class() where we weren't properly using the PRI_BASE() version of the kg_pri_class. - Add a large comment that describes the impact of a seemingly simple conditional in sched_add(). - Also in sched_add() check the transferable count and KSE_CAN_MIGRATE() prior to checking kseq_idle. This reduces the frequency of access for kseq_idle which is a shared resource. END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-11-15T08:39:11.000000Z K 7 svn:log V 90 MFC: Add the svn service to /etc/services. PR: conf/54371 Submitted by: Roman Neuhauser END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-15T08:45:36.000000Z K 7 svn:log V 194 - Remove the remaining now unnecessary checks for the buf's b_object being NULL. See revision 1.421 for more detail. - Remove GIANT_REQUIRED from vfs_unbusy_pages(). Discussed with: jeff END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-15T09:28:09.000000Z K 7 svn:log V 62 Send B_PHYS out to pasture, it no longer serves any function. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-15T09:54:11.000000Z K 7 svn:log V 233 In vnode_pager_input_smlfs(), call VOP_STRATEGY instead of VOP_SPECSTRATEGY on non-VCHR vnodes. This fixes a panic when reading data from files on a filesystem with a small (less than a page) block size. PR: 59271 Reviewed by: alc END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-15T10:04:06.000000Z K 7 svn:log V 635 Changed the RB_PAUSE flag from 0x40000 to 0x100000 and marked the old value as reserved for internal use in boot blocks, because RB_PAUSE broke binary compatibility by usurping the RB_DUAL flag. Probably no one except me has boot blocks for which this matters, since most boot blocks based on biosboot including pc98's boot2 can't boot elf kernels, and /boot/loader doesn't properly pass flags set by the previous stage. reboot.h: Also mark the historical RB_PROBEKBD flag (0x80000) as reserved for internal use in boot blocks. boot2.c: Added comments to inhibit usurping of other flags. Approved by: guido, imp MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-15T10:48:59.000000Z K 7 svn:log V 75 MFC: 1.35 Add a describtion for the '-d' flag and fill in a missing comma END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-11-15T11:08:26.000000Z K 7 svn:log V 183 If a file to send in ASCII mode already has CRLF as end-of-line, don't add excessive CR on the wire. PR: bin/59285 Submitted by: Andrey Beresovsky MFC after: 1 week END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-15T11:56:53.000000Z K 7 svn:log V 218 Initialize sequence numbers to 0 in seminit() instead of using whatever garbage happens to be in memory. This did not seem to cause any problems except making semaphore ID's unpredictable (and ugly in ipcs(1) output). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-11-15T12:25:47.000000Z K 7 svn:log V 23 MFi386: revision 1.13. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-11-15T12:31:02.000000Z K 7 svn:log V 24 MFi386: revision 1.201. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-11-15T12:33:39.000000Z K 7 svn:log V 41 MFi386: revisions from 1.1102 to 1.1105. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-11-15T12:37:15.000000Z K 7 svn:log V 26 opt_apic.h is not needed. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-15T14:23:48.000000Z K 7 svn:log V 46 Remove an extra 'for' in the HISTORY section. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-15T15:26:35.000000Z K 7 svn:log V 240 Replace all uses of the old netgraph constants NG_*LEN by the new constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy. END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-15T17:03:37.000000Z K 7 svn:log V 243 Correct a cast to make it compile on 64bit platforms (noticed by tinderbox) and remove two unneccessary variable initializations. Make the introduction comment more clear with regard which parts of the packet are touched. Requested by: luigi END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-15T17:10:56.000000Z K 7 svn:log V 379 Make this WARNS 2 clean, and fix up the manual page: Avoid implicit function calls by adding the proper include files. Use const char copyright. Fix some fprint formatting. In the manual page: Use the .Pa macro for filenames and locations. Kill hard setence breaks. Make use of the .Tn and .Dq macros. Add some to text to the otherwise blank HISTORY section (taken from CVS). END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-15T18:33:54.000000Z K 7 svn:log V 74 Rename the debugging mutex "callout_no_sleep" to "dont_sleep_in_callout". END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-15T18:44:43.000000Z K 7 svn:log V 197 This is a crude bandaid for 5.2 to protect against providers which disappear while being tasted. I can moderately easy trigger this with atapi-cd, but I do not fully understand the circumstances. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-15T18:58:29.000000Z K 7 svn:log V 93 Add the pc_acpi_id PCPU member. The new acpi_cpu driver uses this to dereference the softc. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-15T19:18:29.000000Z K 7 svn:log V 100 Add acpi_bus_alloc_gas() for allocating a memory or IO resource from its Generic Address Structure. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-15T19:20:46.000000Z K 7 svn:log V 197 Add acpi_package.c with routines for validating packages and pulling various data types from them. This is loosely based on the acpi_cmbat macros (by Mike Smith) and will eventually replace them. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-15T19:26:06.000000Z K 7 svn:log V 513 Implement Cx CPU idle states and updated throttling support. * Use the cpu_idle_hook() to do idling for C1-C3. * Use both _CST and the FADT to detect Cx states. * Use both _PTC and P_CNT for controlling throttling. * Add a notify handler to detect changes in _CST and _PSS * Call the _INI function for each processor if present. This will be done by ACPI-CA in the future. * Fix a bug on SMP systems where CPUs will attach multiple times if the bus is rescan. * Document new sysctls for controlling idling. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-15T19:53:22.000000Z K 7 svn:log V 68 Minor word tweaks. Submitted by: Mathew Kanner END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-15T23:54:49.000000Z K 7 svn:log V 50 - Only allow pinning and unpinning of curthread. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-15T23:57:19.000000Z K 7 svn:log V 386 Remove the WITNESS debug code from _STOPEVENT. It has pointed out a problem, but the spamage of consoles is really bad. Until we can get this to be less chatty, disable it so people can boot. The badness of the spamage is worse than the badness that it reports :-(. Once the underlying problems have been fixed, it can be reenabled. Approved by: kken, markm, rwatson, grog, murray END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-16T00:00:06.000000Z K 7 svn:log V 382 Quick hack to make the nfsclient.ko loadable again. This brings in the nfsv4 files. It is intended to be a short-term bridge while alfred deals with the problem in a better way (eg, don't hesitate to back this out when the real fix comes along). I've not heard back from alfred in a few hours and other people are hitting this problem. Approved by: markm, rwatson, grog, murray END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-16T00:55:54.000000Z K 7 svn:log V 35 Localized the cy driver's locking. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2003-11-16T01:11:11.000000Z K 7 svn:log V 411 Use "fip->fi_readers == 0 && fip->fi_writers == 0" as the condition for disposing fifo resources in fifo_cleanup() instead using of "vp->v_usecount == 1". There may be other references to the vnode, for instance by nullfs, at the time fifo_open() or fifo_close() is called, which could cause a resource leak. Don't bother grabbing the vnode interlock in fifo_cleanup() since it no longer accesses v_usecount. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-16T01:41:38.000000Z K 7 svn:log V 489 Fix the building of null module. In the DIAGNOSTICS case, we include opt_ddb.h. These changes expand green's work of including opt_global.h to prefer opt files in the kernel directory. Further refinement might be needed, but I think this is good. Note: While this is a step on the path to moving the meta information about modules into the config files, it doesn't actually do that. It just pulls in the opt files in a way that allows one to build 'generic' modules outside the tree. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T03:17:30.000000Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T03:53:36.000000Z K 7 svn:log V 311 When implementing getsockopt() for SO_LABEL and SO_PEERLABEL, make sure to sooptcopyin() the (struct mac) so that the MAC Framework knows which label types are being requested. This fixes process queries of socket labels. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-16T04:08:16.000000Z K 7 svn:log V 61 Resync. struct statfs and flag definitions with sys/mount.h. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T04:32:46.000000Z K 7 svn:log V 245 Memory allocated by mac_to_text() must be freed using free(3) not mac_free(3), which is used only for variables of type mac_t in the FreeBSD implementation. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-11-16T04:57:28.000000Z K 7 svn:log V 345 Change the default for binaries in /bin and /sbin from statically to dynamically linked. This has been a long time coming with the move of critical libraries from /usr/lib to /lib. If you don't feel comfortable with dynamically linked binaries in your root partition, now is the time to define NO_DYNAMICROOT in your make.conf. Approved by: re END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-11-16T05:13:02.000000Z K 7 svn:log V 75 Bump version to indicate dynamically linked /bin and /sbin is the default. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-16T06:11:26.000000Z K 7 svn:log V 419 - Modify alpha's sf_buf implementation to use the direct virtual-to- physical mapping. - Move the sf_buf API to its own header file; make struct sf_buf's definition machine dependent. In this commit, we remove an unnecessary field from struct sf_buf on the alpha, amd64, and ia64. Ultimately, we may eliminate struct sf_buf on those architecures except as an opaque pointer that references a vm page. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-11-16T06:43:25.000000Z K 7 svn:log V 119 - Provide default values for LABELOFFSET and LABELSECTOR so it compiles on all architectures. Approved by: marcel END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-11-16T06:45:26.000000Z K 7 svn:log V 102 - Add GPT header/table recovery command - Minor related cleanup in add command Approved by: marcel END K 10 svn:author V 3 wes K 8 svn:date V 27 2003-11-16T07:08:27.000000Z K 7 svn:log V 311 Write the UFS2 superblock with a 'BAD' magic number at the beginning of newfs, to signify the newfs operation has not yet completed. Re- write the superblock with the correct magic number once all of the cylinder groups have been created to show the operation has finished. Sponsored by: St. Bernard Software END K 10 svn:author V 3 wes K 8 svn:date V 27 2003-11-16T07:10:55.000000Z K 7 svn:log V 199 Catch and report on filesystems that were interrupted during newfs, sporting the new 'BAD' magic number. Exit with a unique error code (11) so callers who care about this can respond appropriately. END K 10 svn:author V 3 wes K 8 svn:date V 27 2003-11-16T07:17:30.000000Z K 7 svn:log V 105 Add the -E command line option to force error conditions for testing. Sponsord by: St. Bernard Software END K 10 svn:author V 5 green K 8 svn:date V 27 2003-11-16T07:50:14.000000Z K 7 svn:log V 170 It appears opt_global.h may cause opt_ddb.h to be needed. Adding it with the full path on the command line like with -include opt_global.h currently unbreaks tinderbox. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-11-16T08:01:58.000000Z K 7 svn:log V 792 Convert the live dump command (`dump -L') to use mksnap_ffs instead of trying to directly create the snapshot itself. This change allows users logged into the system as operator to run live dumps. Note that dump no longer tries to create the snapshot in the root of the filesystem, but rather in a .snap directory in the root of the filesystem. The reason is that the operator is usually not permitted to write into the root of the filesystem. The newfs command and background fsck have both been modified to create a .snap directory in the root of the filesystem, but if neither of these have been run, then the .snap directory must be created manually by the superuser before a live dump can be run. The .snap directory should be owned by user root and group operator and set to mode 770. END K 10 svn:author V 5 green K 8 svn:date V 27 2003-11-16T08:10:59.000000Z K 7 svn:log V 279 As mentioned by warner, previous revision (opt_ddb.h) was just a fluke -- I'm having bad luck with different parts of the sys tree being checked out at slightly different times. Back it out, noting it doesn't cause harm in any case. Tinderbox also makes these things more fun. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-16T08:41:24.000000Z K 7 svn:log V 61 Remove an annoying printf that somehow leaked into rev 1.21. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-16T09:54:13.000000Z K 7 svn:log V 49 Fix build on alpha. Noticed by: tinderbox & imp END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-11-16T11:52:26.000000Z K 7 svn:log V 79 Add rue(4) into list of miibus-using drivers and reference. MFC after: 1 week END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-11-16T11:58:21.000000Z K 7 svn:log V 48 Add missing ioctl functions. MFC after: 1 week END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-11-16T12:05:11.000000Z K 7 svn:log V 331 Add vendor IDs, and device IDs supported by uplcom(4). - SOURCENEXT Corp. KeikaiDenwa 8 [1] - SOUECENEXT Corp. KeikaiDenwa 8 with charger [2] - HAL Corp. Crossam2+USB [3] Submitted by: [1] Ryo ONODERA [2] Masaki Mizutani [3] FUJISHIMA Satsuki MFC after: 1 week END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-11-16T12:07:01.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-11-16T12:13:39.000000Z K 7 svn:log V 56 Apply some fixups in the driver_t's. MFC after: 1 week END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-11-16T12:26:10.000000Z K 7 svn:log V 177 Make interrupt pipe interval time configurable. - Add kernel options: {UPLCOM,UVSCOM}_INTR_INTERVAL - Add sysctl variables: 'hw.usb.{uplcom,uvscom}.interval' MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-16T12:50:33.000000Z K 7 svn:log V 76 Make two casts correct for all types of 64bit platforms. Explained by: bde END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-11-16T13:13:16.000000Z K 7 svn:log V 37 Fix comment typo. Noticed by: simon END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-16T13:31:45.000000Z K 7 svn:log V 358 Restored the call to schedsofttty() (now spelled swi_sched(...)) again. Its restoration in rev.1.102 was mistranslated to the equivalent of setsofttty() in rev.1.105. This increased overheads by causing a context switch to the SWI handler after almost every interrupt. The increase was approx. 50% on a Celeron 366 (from 23 usec to 34 usec per interrupt). END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-16T14:02:37.000000Z K 7 svn:log V 218 Add the following devices to the list of supported devices, to sync manual page with the source code: - HAL Corporation Crossam2+USB IR commander - RATOC REX-USB60 - SOURCENEXT KeikaiDenwa 8 (with and without charger) END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-11-16T15:01:26.000000Z K 7 svn:log V 133 Back out last change and go back to using KSE locks instead of thread locks until we know why this breaks ia64. Reported by: marcel END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-11-16T15:07:10.000000Z K 7 svn:log V 321 Pull latest changes from OpenBSD: - improve sysinfo(2) syscall; - add dummy fadvise64(2) syscall; - add dummy *xattr(2) family of syscalls; - add protos for the syscalls 222-225, 238-249 and 253-267; - add exit_group(2) syscall, which is currently just wired to exit(2). Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-16T15:16:19.000000Z K 7 svn:log V 74 mdoc(7) janitor: - Use .Aq macro instead of . - Kill EOL whitespace. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-11-16T16:48:18.000000Z K 7 svn:log V 330 If the unmount by file system ID fails, don't warn before retrying a non-fsid unmount if the file system ID is all zeros. This is a temporary workaround for warnings that occur in the vfs.usermount=1 case because non-root users get a zeroed filesystem ID. I have a more complete fix in the works, but I won't get it done for 5.2. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-11-16T17:55:54.000000Z K 7 svn:log V 66 Add the ports/arabic category to the examples. MFC After: 4 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-16T18:24:23.000000Z K 7 svn:log V 361 When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. While we end up the same place, we end up with two different CS register values after the jump and 0xf000 is compatible with the hardware reset value. This makes a difference if the BIOS does a near jump before a far jump. Detective work and patch by: Adrian Steinmann END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T18:25:20.000000Z K 7 svn:log V 321 Reduce gratuitous redundancy and length in function names: mac_setsockopt_label_set() -> mac_setsockopt_label() mac_getsockopt_label_get() -> mac_getsockopt_label() mac_getsockopt_peerlabel_get() -> mac_getsockopt_peerlabel() Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T18:28:58.000000Z K 7 svn:log V 173 Implement mpo_copy_{mbuf,pipe,vnode}_label() entry points for mac_stub and mac_test. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T20:01:50.000000Z K 7 svn:log V 270 Abstract the label checking and setting logic from mac_setsockopt_label() into mac_socket_label_set(); make it non-static so that it can be invoked from kern_mac.c for mac_set_fd(). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T20:18:24.000000Z K 7 svn:log V 722 Implement mac_get_peer(3) using getsockopt() with SOL_SOCKET and SO_PEERLABEL. This provides an interface to query the label of a socket peer without embedding implementation details of mac_t in the application. Previously, sizeof(*mac_t) had to be specified by an application when performing getsockopt(). Document mac_get_peer(3), and expand documentation of the other mac_get(3) functions. Note that it's possible to get EINVAL back from mac_get_fd(3) when pointing it at an inappropriate object. NOTE: mac_get_fd() and mac_set_fd() support for sockets will follow shortly, so the documentation is slightly ahead of the code. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T20:21:21.000000Z K 7 svn:log V 282 Update mac_set.3 to account for new behavior of mac_set_fd() in the context of sockets, and document EINVAL as a possible failure mode based on the object selected, not just the label provided. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-16T20:34:46.000000Z K 7 svn:log V 78 Modified release note: dynamically linked /bin and /sbin is now the default. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-11-16T21:17:43.000000Z K 7 svn:log V 211 Invert the condition that installs the dynamic linker early, since DYNAMICROOT is now the default. Also document -DNO_DYNAMICROOT since that is going to be a documented feature. Submitted by: matusita, rushani END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-11-16T21:42:00.000000Z K 7 svn:log V 45 Remove an argument to printf that is unused. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-11-16T21:51:06.000000Z K 7 svn:log V 322 logerror is used in syslogd to log errors from syslogd itself. It is possible for an error to occur while trying to log an error, and this can result in infinite recursion (or at least until we run out of stack). Rather than this, we ignore requests to log an error while logging an error. PR: 51253 MFC after: 2 weeks END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-11-16T21:53:05.000000Z K 7 svn:log V 42 Fix build on alpha Pointy hat to: alfred END