ı%132223 197 139 141 138 360 197 181 280 164 364 428 209 532 128 415 134 341 145 176 184 145 129 159 130 585 186 122 223 227 288 686 223 319 297 636 126 330 288 305 156 1759 146 262 108 510 139 160 123 400 117 323 467 617 203 183 145 258 351 402 271 284 160 119 107 243 126 118 148 137 162 261 250 145 318 294 521 129 185 250 176 386 389 208 196 156 596 430 251 155 145 240 338 371 137 396 106 230 183 156 177 180 391 152 495 190 136 419 201 270 230 915 215 141 264 180 130 323 227 215 134 119 263 216 208 255 196 162 273 333 176 240 563 159 112 406 171 294 882 381 304 150 421 1012 273 214 309 132 356 165 171 567 141 344 201 211 188 138 2149 184 264 386 153 187 168 343 113 199 222 160 147 160 191 294 117 260 107 215 131 177 131 130 219 166 549 157 269 426 260 316 153 438 175 798 276 326 459 268 162 K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-15T20:17:31.000000Z K 7 svn:log V 42 MFC: 1.18 Correct a minor syntax mistake. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-15T20:23:18.000000Z K 7 svn:log V 44 MFC: 1.28 , 1.29 Fix various grammar knits. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-15T20:30:02.000000Z K 7 svn:log V 41 MFC: 1.22 Fix some grammar-wording knit. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-15T20:47:41.000000Z K 7 svn:log V 267 Preparation commit for the tty cleanups that will follow in the near future: rename ttyopen() -> tty_open() and ttyclose() -> tty_close(). We need the ttyopen() and ttyclose() for the new generic cdevsw functions for tty devices in order to have consistent naming. END K 10 svn:author V 4 rees K 8 svn:date V 27 2004-07-15T22:21:25.000000Z K 7 svn:log V 103 fix array index out of bounds in rpc->rc_srtt[], rpc->rc_sdrtt[] Noticed by: tedu Approved by: alfred END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-15T23:58:23.000000Z K 7 svn:log V 85 Copy qsort_r(3) from libc to libkern. Reviewed by: phk Approved by: julian (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-16T00:07:44.000000Z K 7 svn:log V 183 Use qsort_r() instead of qsort() when sorting links by latency This helps us to remove a global variable and a mutex protecting it. Reviewed by: rwatson Approved by: julian (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-16T00:37:34.000000Z K 7 svn:log V 68 When entering soclose(), assert that SS_NOFDREF is not already set. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-16T01:18:13.000000Z K 7 svn:log V 268 Clarify getfsstat(2) usage. The getfsstat(2) function expects a buffer and a count, and returns a count. The confusing part is that the count it takes is a byte count, while the return value is a count of the number of structures it has filled out. Spell this out. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-16T02:03:50.000000Z K 7 svn:log V 331 Rename Biba and MLS _single label elements to _effective, which more accurately represents the intention of the 'single' label element in Biba and MLS labels. It also approximates the use of 'effective' in traditional UNIX credentials, and avoids confusion with 'singlelabel' in the context of file systems. Inspired by: trhodes END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-16T02:04:41.000000Z K 7 svn:log V 112 Update Biba and MLS man pages to take into account recent renaming of the 'single' label element to 'effective. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-16T02:51:28.000000Z K 7 svn:log V 436 As per discussions on current@, protect unsuspecting users from trying to upgrade their system with make world instead of following the preferred and suggested sequence of commands. The fact remains that make world does not upgrade the kernel. Allow make world when DESTDIR has been specified, including when DESTDIR specifies the root file system. Otherwise, print a useful warning and fail. Reviewed, tested and scrutinized by: gad@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-16T03:42:45.000000Z K 7 svn:log V 36 Remove unused fields from the pmap. END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2004-07-16T04:00:08.000000Z K 7 svn:log V 317 Rename the sound device drivers: - `sound' The generic sound driver, always required. - `snd_*' Device-dependent drivers, named after the sound module names. Configure accordingly to your hardware. In addition, rename the `snd_pcm' module to `sound' in order to sync with the driver names. Suggested by: cg END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2004-07-16T04:04:29.000000Z K 7 svn:log V 37 Add the change of the sound drivers. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-16T05:03:42.000000Z K 7 svn:log V 245 Update config.h to account for the prgregset_t and psaddr_t types that have been added to . This change has no effect because the source file that would be affected is not compiled on FreeBSD. Hence, this is for completeness only. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-16T05:08:16.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-16T05:10:46.000000Z K 7 svn:log V 84 Avoid passing negative values to functions on machines with signed chars. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-16T05:52:51.000000Z K 7 svn:log V 92 Rename slbexpand() to __slbexpand() and make it available outside of fgetln.c (non-static). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-16T06:06:09.000000Z K 7 svn:log V 53 Add fgetwln(), a wide character version of fgetln(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-16T06:07:12.000000Z K 7 svn:log V 37 Add a cross reference to fgetwln(3). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-16T06:11:48.000000Z K 7 svn:log V 63 ptrace's first parameter is command not pid. pointy hat to me. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-16T06:21:40.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-16T06:21:56.000000Z K 7 svn:log V 492 Tweak the conditions under which certain gcc builtins are used: - Unlike the builtin relational operators, builtin floating-point constants were not available until gcc 3.3, so account for this.[1] - Apparently some versions of the Intel C Compiler fallaciously define __GNUC__ without actually being compatible with the claimed gcc version. Account for this, too.[2] [1] Noticed by: Christian Hiris <4711@chello.at> [2] Submitted by: Alexander Leidinger END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-16T06:55:34.000000Z K 7 svn:log V 94 Update for struct cdevsw and dev_t -> struct cdev * changes, plus one 64-bit portability fix. END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2004-07-16T07:24:20.000000Z K 7 svn:log V 25 Rename snd_pcm as sound. END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2004-07-16T07:58:53.000000Z K 7 svn:log V 125 snd_sbc depends on sbc_pcm. PR: kern/67426 Submitted by: Matthew Emmerton Obtained from: DragonFlyBSD END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2004-07-16T08:12:14.000000Z K 7 svn:log V 129 Sync the example of MODULES_OVERRIDE with the renamed sound drivers. Pointed out by: Christoph Mallon END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-16T08:53:25.000000Z K 7 svn:log V 190 Refer to the sysutils/cdrtools port now that the sysutils/mkisofs port has been merged into the former. PR: docs/69087 Submitted by: Janos Mohacsi MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-16T09:02:47.000000Z K 7 svn:log V 593 Stop pretending we support full-blown HTTP/1.1 because we are not ready to handle all its aspects. Failure to deal with HTTP/1.1, with chunked transfer encoding in particular, led to broken transfers and data corruption. Fall back to using HTTP/1.0, which is safe. A point to note: While the "Host:" header had not been in the original HTTP/1.0 standard, it became a de-facto standard for HTTP/1.0 as well. It is understood by servers in HTTP/1.0 sessions if supported at all. This issue doesn't apply to CURRENT since lukemftp handles HTTP/1.1 correctly. PR: bin/68547 Reviewed by: vs END K 10 svn:author V 5 johan K 8 svn:date V 27 2004-07-16T11:07:07.000000Z K 7 svn:log V 128 Include to get memset and strcmp prototype. Sort includes. This is now WARNS=2 clean, bump WARNS to keep it clean. END K 10 svn:author V 2 mr K 8 svn:date V 27 2004-07-16T12:50:10.000000Z K 7 svn:log V 227 After talking to Colin, apply the patch of bin/61718 (which should include/elimatate kern/61122 also). It seems to fix a few annoying bugs. PR: bin/61718, kern/61122 Submitted by: bg@sics.se ohartman@mail.physik.uni-mainz.de END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-16T15:57:16.000000Z K 7 svn:log V 199 Add a SUSER_RUID flag to suser_cred. This flag indicates that we want to check if the *real* user is the superuser (vs. the normal behaviour, which checks the effective user). Reviewed by: rwatson END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-16T16:59:32.000000Z K 7 svn:log V 543 Fix acpi_video loading. When we started cleaning up the duplicate handles left around after the PCI probe, acpi_video stopped attaching because while it was an acpi child device, it really is a PCI device. Fix this by making it a PCI child. * Remove non-handle ivars accesses since child busses only implement acpi_get_handle(). * Access the acpi softc directly through the devclass instead of through the implied parent. * Clean up a potential panic on unload by freeing the sysctl context before storing NULL in the OID. Found by: marks END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-16T17:15:37.000000Z K 7 svn:log V 32 Document the MSG_DONTWAIT flag. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-16T17:42:48.000000Z K 7 svn:log V 235 According to POSIX sys/socket.h must define CMSG_NXTHDR but most not define NULL. This means we cannot use NULL in the definition of CMSG_NXTHDR. So replace NULL with 0. PR: kern/60309 Submitted by: Jeff King END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-07-16T18:08:13.000000Z K 7 svn:log V 195 when IN6P_AUTOFLOWLABEL is set, the flowlabel is not set on outgoing tcp connections. Reported by: Orla McGann Reviewed by: Orla McGann Obtained from: KAME END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-16T18:37:00.000000Z K 7 svn:log V 212 Fix the alpha (and others) module build by only building fdc_acpi.c on i386 and amd64. The only other ACPI machine (ia64) doesn't support floppy drives. Tested by: make MACHINE={pc98,i386,amd64,alpha,sparc64} END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-16T19:05:40.000000Z K 7 svn:log V 64 Use ACPI_ALL_NOTIFY instead of registering handlers separately. END K 10 svn:author V 2 mr K 8 svn:date V 27 2004-07-16T19:30:59.000000Z K 7 svn:log V 1666 Forced commit to actually list the changes of bin/61718, as requested by sam. The attached patch fixes a number of problems present in rpc.lockd. 1) Nfslocklist_head.lf_first is overwritten because of an off-by-one-bug that happens when clnt_cache_next_to_use is incorrectly incremented. 2) 'struct sockaddr *addr' inside 'struct file_lock' is set to point to the result from svc_getrpccaller(). This value is malloc:ed inside the rpc libraries and is free:ed when clnt_destroy() is called. Fix, maintain a copy of the result. 3) The loop inside retry_blockingfilelocklist() that uses 3 pointers ifl, nfl, and pfl thrashes the list pointed to by blockedlocklist_head.lf_first. Fix, use a simpler loop. The new loop does not preserve list order but the order is immaterial anyways. See also revison 1.6-1.7 and kern/61122. 4) struct file_lock char client_name[SM_MAXSTRLEN]; and struct host char name[SM_MAXSTRLEN]; Be careful to not create open (non 0 terminated) C strings and later passing them to e.g syslog. Fix, make sure that the strings are always terminated with 0. When at it, move the strings to the end of the structs and make them variable length. This saves about 1000 bytes for every malloc:ed struct. 5) The newfl = malloc(sizeof(struct file_lock)) memory was never properly bzero:ed. Minor changes: A) Nlmtonlm4(0) made assumptions about struct layouts. B) Don't close stdout and stderr when debugging (-d option). C) Remove unused pid_t locker and int fd in struct file_lock. D) s/printf/debuglog/ E) Remove redundant sleep(1) and call to debuglog(). Cheers, Bj̦rn END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-07-16T20:53:00.000000Z K 7 svn:log V 51 /usr/libexec/ld-elf.so.1 -> /libexec/ld-elf32.so.1 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-16T21:00:50.000000Z K 7 svn:log V 169 Improve readability a bit by changing some code at the end of a function that did: if (foo) return else blah to just do the simpler if (!foo) blah instead. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-16T21:01:52.000000Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-16T21:04:55.000000Z K 7 svn:log V 417 - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflags since they are only accessed by curthread and thus do not need any locking. - Move pr_addr and pr_ticks out of struct uprof (which is per-process) and directly into struct thread as td_profil_addr and td_profil_ticks as these variables are really per-thread. (They are used to defer an addupc_intr() that was too "hard" until ast()). END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-16T21:38:48.000000Z K 7 svn:log V 47 Remove dead or unused code, such as spl calls. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-16T21:47:43.000000Z K 7 svn:log V 65 Request that diffs against nfs, rpc and rpc.lockd are run by me. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-07-16T21:48:30.000000Z K 7 svn:log V 32 Fix the build. pcm is no more. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-07-16T22:04:29.000000Z K 7 svn:log V 307 Ignore more strange return values of the test_aux_port() function, because some notebooks (apparently Compaq, Toshiba and Acer ones) erroneously return 2 or 3 there. PR: kern/61482, kern/54188 Submitted by: Ulf Lilleengen , Victor Balada Diaz MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-16T23:07:38.000000Z K 7 svn:log V 25 Be consistant with probe END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-17T00:26:31.000000Z K 7 svn:log V 227 Give the most awesome example of how to parse the output of date back into epoch time. Everytime I'm asked to do this by someone I have to spend about ten minutes recreating the same command line. So record it under examples. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-17T01:07:53.000000Z K 7 svn:log V 372 Support a ``set rad_alive N'' command to enable periodic RADIUS accounting information being sent to the RADIUS server. Logging of RADIUS accounting information moves to a ``set log [+-]radius'' level, along with the RADIUS alive info, and the version number is bumped to 3.2 to reflect this. Mostly submitted by: alx@sm.ukrtel.net (back in January) MFC after: 3 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2004-07-17T02:40:13.000000Z K 7 svn:log V 519 Make M_SKIP_FIREWALL a global (and semantic) flag, preventing anything from using M_PROTO6 and possibly shooting someone's foot, as well as allowing the firewall to be used in multiple passes, or with a packet classifier frontend, that may need to explicitly allow a certain packet. Presently this is handled in the ipfw_chk code as before, though I have run with it moved to upper layers, and possibly it should apply to ipfilter and pf as well, though this has not been investigated. Discussed with: luigi, rwatson END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-17T03:37:31.000000Z K 7 svn:log V 110 Document the limitation that multibyte characters cannot be used as delimiters with the 's' and 'y' commands. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-17T04:01:29.000000Z K 7 svn:log V 91 MFamd64 revision 1.478 Simplify pmap_remove_pages(), eliminating unnecessary indirection. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-17T04:04:30.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-17T04:15:27.000000Z K 7 svn:log V 165 Mention in the BUGS section that write and wall bogusly use the sender's LC_CTYPE setting instead of the receiver's when determining which characters are printable. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-17T04:17:50.000000Z K 7 svn:log V 253 Validate -o usage. Strictly speaking, -o only makes sense with -x, of course, but I make an effort to accomodate GNU tar scripts that use -o with -c (with a meaning that totally contradicts SUSv2) by only issuing a benign warning message in that case. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-17T05:10:06.000000Z K 7 svn:log V 306 Define semantic of M_SKIP_FIREWALL more precisely, i.e. also pass associated icmp_error() packets. While here retire PACKET_TAG_PF_GENERATED (which served the same purpose) and use M_SKIP_FIREWALL in pf as well. This should speed up things a bit as we get rid of the tag allocations. Discussed with: juli END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-17T06:03:47.000000Z K 7 svn:log V 173 Make bsdtar the default system tar. This makes /usr/bin/tar a symlink pointing to /usr/bin/bsdtar by default. To make it point to /usr/bin/gtar, you can define WITH_GTAR. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-17T07:26:32.000000Z K 7 svn:log V 188 Resurrect kld support. Support ADDR16_HA/LA relocations, and sync the icache on module load. Requires "-mlongcall" support, in gcc >= 3.3 but needs a bugfix to support gcc arith builtins. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-07-17T09:41:20.000000Z K 7 svn:log V 63 Add some PCI IDs for OHCI chips. Obtained from: DragonFly BSD END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-17T10:05:32.000000Z K 7 svn:log V 26 Remove duplicate include. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-17T10:05:56.000000Z K 7 svn:log V 14 Correct typo. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-17T10:07:19.000000Z K 7 svn:log V 149 Merged from the following changes. - sys/dev/fdc/fdc.c revision 1.281 - sys/dev/fdc/fdcvar.h revision 1.3 - sys/dev/fdc/fdc_isa.c revision 1.7 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-17T10:22:42.000000Z K 7 svn:log V 33 Rename the sound device drivers. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-17T12:27:25.000000Z K 7 svn:log V 26 Fix typo: carat -> caret. END K 10 svn:author V 2 bp K 8 svn:date V 27 2004-07-17T14:38:42.000000Z K 7 svn:log V 57 Use correct location for nsmb.conf file. PR: misc/45273 END K 10 svn:author V 2 bp K 8 svn:date V 27 2004-07-17T14:42:14.000000Z K 7 svn:log V 46 MFC: Use correct location for nsmb.conf file. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-07-17T14:48:46.000000Z K 7 svn:log V 70 Dont set "address setup timing" on newer VIA chips. closes PR: 69180 END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-17T15:03:52.000000Z K 7 svn:log V 164 Fix minor namespace pollution: The prototypes for f{dim,max,min}(), nearbyint(), round() and trunc() shouldn't be visible when compiling with -D_XOPEN_SOURCE=500. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-17T15:14:43.000000Z K 7 svn:log V 152 Add a BUGS entry pointing out that the ASU flag isn't being set. This was disabled by rwatson in revision 1.60 of sys/kern/kern_prot.c in August 2000. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-17T15:21:34.000000Z K 7 svn:log V 48 Document the SUSER_RUID flag. Reminded by: pjd END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-17T16:56:46.000000Z K 7 svn:log V 221 Add simple regression test to detect leakage of file descriptors when accept() returns EAGAIN on a non-blocking listen socket. This is the tool I used to check that such a bug was resolved when merging accept() locking. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-17T17:01:25.000000Z K 7 svn:log V 197 gcc now objects to a default label without any contents. Because I want to have a comment present in the default case, add a 'break' to each default case that previously had no actual statements. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-17T17:05:12.000000Z K 7 svn:log V 425 Re-implement this file, including copyright notice. Keep David Xu as copyright owner. Typical bugs fixed by this are: o various style(9) bugs, o #ifdef'd out code, o lack of comments, o missing const, o introduction of obsolete functions, o missing __BEGIN_DECLS & __END_DECLS, The major flaw in this version, that was also present in the previous version is the lack of man page. Minor flaws undoubtedly still exist. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-17T17:06:41.000000Z K 7 svn:log V 34 Import from OpenBSD stable branch END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-17T17:06:42.000000Z K 7 svn:log V 89 This commit was manufactured by cvs2svn to create tag 'pf-vendor-sys-pf_openbsd_3_5_002'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-17T17:08:13.000000Z K 7 svn:log V 154 o ps_pd{read|write} and ps_pt{read|write} are obsolete interface functions. Only ps_p{read|write} remains. o Remove ps_getpid. We don't need it now. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-17T17:09:12.000000Z K 7 svn:log V 81 Add the const qualifier to the prgregset_t argument for the *setregs* functions. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-17T17:12:15.000000Z K 7 svn:log V 289 Add a simple tool to bind netatalk sockets and perform send operations. This isn't a classic regression test in that it doesn't have a notion of pass fail, it's more of an exercise tool. It attempts to exercise unbound, bound, unconnected, and connected variations on SOCK_DGRAM sockets. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-17T17:15:15.000000Z K 7 svn:log V 293 Merge in a stable fix from OpenBSD: MFC: Fix by dhartmei@ change pf_route() loop detection: introduce a counter (number of times a packet is routed already) in the mbuf tag, allow at most four times. Fixes some legitimate cases broken by the previous change. Reviewed by: dhartmei END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-17T17:16:16.000000Z K 7 svn:log V 111 Explicitly specify ATPROTO_DDP constant rather than '0' when binding a netatalk socket. No functional change. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-17T18:21:00.000000Z K 7 svn:log V 99 Remove unused user_uname variable. Add range-checking to argument of -b. Thanks to: Tim J Robbins END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-17T19:19:36.000000Z K 7 svn:log V 61 When reporting reciept of a signal, print the signal's name. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-07-17T19:44:13.000000Z K 7 svn:log V 498 The tcp syncache code was leaving the IPv6 flowlabel uninitialised for the SYN|ACK packet and then letting in6_pcbconnect set the flowlabel later. Arange for the syncache/syncookie code to set and recall the flow label so that the flowlabel used for the SYN|ACK is consistent. This is done by using some of the cookie (when tcp cookies are enabeled) and by stashing the flowlabel in syncache. Tested and Discovered by: Orla McGann Approved by: ume, silby MFC after: 1 month END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-17T19:48:49.000000Z K 7 svn:log V 334 Support readlink(2) better. Readlink does not nul terminate the result buffer, so we need to format it ourselves. The problem is that the length is stored as the return value from readlink, so we need to pass the return value from our syscall into print_arg. Motivated by: truss garbage on my screen from reading /etc/malloc.conf. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-17T20:00:45.000000Z K 7 svn:log V 155 Explain that for nfs, rpc.lockd and truss I am just noting that I _can_ and would like to review changes if desired. Maintain my strict lock on libc/rpc. END K 10 svn:author V 5 johan K 8 svn:date V 27 2004-07-17T20:10:23.000000Z K 7 svn:log V 61 Revert WARNS bump until I figure out why this does not work. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-17T20:22:24.000000Z K 7 svn:log V 50 s/manditory/mandatory Obtained from: Ceri Davies END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-17T20:57:37.000000Z K 7 svn:log V 144 Properly terminate a quoted string in the previous commit. Oddly enough this only seems to cause problems with -jX so went unnoticed until now. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-07-17T21:06:36.000000Z K 7 svn:log V 240 Add a kern_setsockopt and kern_getsockopt which can read the option values from either user land or from the kernel. Use them for [gs]etsockopt and to clean up some calls to [gs]etsockopt in the Linux emulation code that uses the stackgap. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-07-17T21:39:15.000000Z K 7 svn:log V 276 MFC rev. 1.13 limits.c and rev. 1.25 limits.1: Update the usage string in the limits(1) manpage to include -b for sbsize. Also, correct the format string in getopt(3) usage to reflect that -b takes an argument, and correct another case of RLIMIT_SBSIZE having been forgotten. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-07-17T21:40:14.000000Z K 7 svn:log V 40 Fix the !INET6 build. Reported by: alc END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-17T22:20:53.000000Z K 7 svn:log V 303 - Utilize pmap_pte_quick() rather than pmap_pte() in pmap_remove() and pmap_remove_page(). The reason being that pmap_pte_quick() requires the page queues lock, which is already held, rather than Giant. - Assert that the page queues lock is held in pmap_remove_page() and pmap_remove_pte(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-17T23:15:41.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-17T23:44:59.000000Z K 7 svn:log V 137 Remedy my omission of one change in the prevision revision: pmap_remove() must pin the current thread in order to call pmap_pte_quick(). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-17T23:53:37.000000Z K 7 svn:log V 88 Change named parameters from max (which conflicts with a macro in libkern.h) to maxval. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-17T23:56:24.000000Z K 7 svn:log V 61 Fix macro so that we don't get missing initializer warnings. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-18T00:51:56.000000Z K 7 svn:log V 82 m_tag_copy takes an additional "how" parameter in FreeBSD. Submitted by: rwatson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-18T00:59:57.000000Z K 7 svn:log V 84 This is a forced commit. Clear suspension flag for debugged process when detaching. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-18T01:02:23.000000Z K 7 svn:log V 296 MFC: Fix ``set ifaddr''. The code was actually using an uninitialised variable, but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to ncpaddr_getip4addr() became a no-op leaving the local address as it was (defaulting to whatever my hostname resolves to). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-07-18T01:19:33.000000Z K 7 svn:log V 57 Add an "out" to the now required BS of defining DESTDIR. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-18T01:29:43.000000Z K 7 svn:log V 398 Drop Giant and acquire the UNIX domain socket subsystem lock a bit earlier in unp_connect() so that vp->v_socket can't change between our copying its value to a local variable and later use of that variable. This may have been responsible for a panic during shutdown that I experienced where simultaneous closing of a listen socket by rpcbind and a new connection being made to rpcbind by mountd. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-07-18T01:51:59.000000Z K 7 svn:log V 93 Mention the vfs.usermount sysctl. Obtained from: NetBSD via DragonFly BSD MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-07-18T02:22:47.000000Z K 7 svn:log V 41 Priner control devices are now lpt*.ctl. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-18T02:26:30.000000Z K 7 svn:log V 321 Remove the dependency of the :C/regexp/replacement/ variable modifier from the :S modifier which follows a bit further below. This way the reader can read each of these two descriptions without having to jump back and forth in the manpage. PR: docs/26943 Submitted by: Alex Kapranoff END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-07-18T02:26:54.000000Z K 7 svn:log V 103 MFC: rev. 1.12 Add traditional BSD names to the finger-friendly com[1-4] entries. Approved by: dougb END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-18T02:42:38.000000Z K 7 svn:log V 172 The description of ng_mesg.cmd should call it "cmd" to match the struct definition and netgraph.h. PR: docs/66539 Submitted by: Michel Lavondes END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-18T04:09:40.000000Z K 7 svn:log V 133 Remove 'sg' argument to linux_sendto_hdrincl, which is what I think was intended. This fixes the build, but might require revision. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-18T04:17:15.000000Z K 7 svn:log V 819 Add rudimentary support and stubs for libthr and libc_r on alpha, amd64, i386, ia64 and sparc64. Add stubs for alpha, amd64, ia64 and sparc64 for libpthread. Restructure the source files to avoid unnecessary use of subdirectories that also force us to use non-portable compilation flags to deal with the uncommon compilation requirements (building archive libraries for linkage into a shared library). The libpthread support has been copied from the original local and cleaned-up to make them WARNS=2 clean. that also force us to use non-portable compilation flags to deal with the uncommon compilation requirements (building archive libraries for linkage into a shared library). The libpthread support has been copied from the original local and cleaned-up to make them WARNS=2 clean. Tested on: amd64, i386, ia64 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-18T04:22:01.000000Z K 7 svn:log V 119 Don't include lock.h and pthread_md.h when we're being included by libthread_db. Both headers are included seperately. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-18T04:23:30.000000Z K 7 svn:log V 46 Define _libthr_debug for use by libthread_db. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-18T04:36:22.000000Z K 7 svn:log V 168 Hook libthread_db into the build, except for arm and powerpc. Porting libthread_db to arm and/or powerpc is easy enough, but we don't build gdb on those platforms yet. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-18T04:38:11.000000Z K 7 svn:log V 88 Remove the GIANT_REQUIRED preceding pmap_remove() in vm_pageout_map_deactivate_pages(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-18T04:57:49.000000Z K 7 svn:log V 38 Remove GIANT_REQUIRED from vmapbuf(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-18T05:09:28.000000Z K 7 svn:log V 230 Only extract a physical address from a pte in pmap_extract() if the pte is valid. Implement the protection check required by the pmap_extract_and_hold() specification. (This enables the elimination of Giant from that function.) END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-07-18T05:39:14.000000Z K 7 svn:log V 131 Quirk for SEGRAND NP-900 USB MP3Player PR: kern/64563 Submitted by: Kunitada Kokubun MFC after: 1 week END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-07-18T06:45:38.000000Z K 7 svn:log V 119 Add support System TALKS Inc. SGC-X2UL PR: FreeBSD-users-jp/80137 Submitted by: HORIO Shinsuke END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-07-18T06:50:58.000000Z K 7 svn:log V 39 Add support System TALKS Inc. SGC-X2UL END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-18T06:54:29.000000Z K 7 svn:log V 27 Fix exclusive-bit leakage. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-18T06:56:40.000000Z K 7 svn:log V 170 Remove claim of conformance to IEEE Std. 1003.2. Replace it with a list of features required by the standard that the current implementation does not support. PR: 57911 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-18T08:00:30.000000Z K 7 svn:log V 123 MFp4: Add 'dump' command to gconcat(8), glabel(8) and gstripe(8) which allow to dump metadata from given components. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-07-18T09:03:12.000000Z K 7 svn:log V 113 In -CURRENT pseudo devices are not statically assigned at compile time, remove a stale comment. PR: kern/62285 END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-07-18T09:07:58.000000Z K 7 svn:log V 160 Start the entropy device insecure/unblocked. I'll be handing over responsibility for critical randomness requirements (like sshd) to rc.d/* Requested by: many END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-07-18T09:26:34.000000Z K 7 svn:log V 99 I missed two pieces of the commit to this file. Robert has already added one, this adds the other. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-07-18T09:57:47.000000Z K 7 svn:log V 68 `off' is a keyword, not a parameter name. Obtained from: DragonFly END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-18T10:11:27.000000Z K 7 svn:log V 180 Remove claim of conformance to IEEE Std. 1003.2. Replace it with a list of features required by the standard that the current implementation does not support. PR: 57911 (related) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-18T14:25:48.000000Z K 7 svn:log V 237 Fix a stupid attemp to apply host arithmetics to network byte ordered data. This fixes checksum for some drivers with partial H/W ckcsum offloads. Reported by: Simon 'corecode' Schubert, Devon H. O'Dell, hmp Reviewed by: Pyun YongHyeon END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-18T15:20:03.000000Z K 7 svn:log V 81 Add missing #includes so that this can compile. Obtained from the i386 version. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-18T15:24:37.000000Z K 7 svn:log V 144 Try to fix ia64 and alpha compiles. I don't have either equipment fired up now, but it appears to be the same problem and solution as sparc64. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-18T15:59:03.000000Z K 7 svn:log V 467 Enable ADAPTIVE_MUTEXES by default by changing the sense of the option to NO_ADAPTIVE_MUTEXES. This option has been enabled by default on amd64 for quite some time, and has been extensively tested on i386 and sparc64. It shows measurable performance gains in many circumstances, and few negative effects. It would be nice in t he future if adaptive mutexes actually went to sleep after a certain amount of spinning, but that will require quite a bit more testing. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-18T16:30:31.000000Z K 7 svn:log V 67 Add doxygen doc comments for most of newbus and the BUS interface. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-18T16:51:58.000000Z K 7 svn:log V 20 Fix copy&paste bug. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-07-18T18:01:48.000000Z K 7 svn:log V 311 For the gbde attach script: - Ask the user up to X times (3 by default) for the pass-phrase, if it is incorrect the first time. - Add support for storing the lockfiles in another other directory than /etc. - Document that it is possible to override the location of each single lockfile. Approved by: pjd END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-18T18:21:39.000000Z K 7 svn:log V 79 Unbreak kernel compiles by preserving an old opt_adaptive_mutexes.h file name. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-07-18T18:55:31.000000Z K 7 svn:log V 199 Rename a preposterously long name with one that might look a bit more professional. While here, write a few lines of explanatory text to explain what its for. Discussed with: rwatson With hat: core END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-07-18T19:10:36.000000Z K 7 svn:log V 784 The recent changes to control message passing broke some things that get certain types of control messages (ping6 and rtsol are examples). This gets the new code closer to working: 1) Collect control mbufs for processing in the controlp == NULL case, so that they can be freed by externalize. 2) Loop over the list of control mbufs, as the externalize function may not know how to deal with chains. 3) In the case where there is no externalize function, remember to add the control mbuf to the controlp list so that it will be returned. 4) After adding stuff to the controlp list, walk to the end of the list of stuff that was added, incase we added a chain. This code can be further improved, but this is enough to get most things working again. Reviewed by: rwatson END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-18T19:29:38.000000Z K 7 svn:log V 285 Correct the mess I made by committing from the wrong tree. Most notably, this restores some of the contents in thread_db.h as well as David Xu's copyright notice. This also fixes the includes in the MD libpthread files which Scott tried to provide a quick fix for. Pointy hat: marcel END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-18T19:33:56.000000Z K 7 svn:log V 208 This library is not WARNS=2 clean for -O2 builds, because we include headers from libpthread that are not WARNS=2 clean for -O2 builds. Lower the WARNS level to 1. This is the highest level possible for now. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-18T19:53:35.000000Z K 7 svn:log V 54 Gratuitous whitespace change to un-wrap a short line. END K 10 svn:author V 2 gj K 8 svn:date V 27 2004-07-18T20:13:31.000000Z K 7 svn:log V 329 Fix a possible hang which apparently occurs during a warm boot (cold boot does not display the symptom). Evidently the ifpi2 controller needs to be massaged more than it was. Note that this does not close the PR since it was filed against 4.9. MFC: 5 days PR: kern/68756 Submitted by: Ari Suutari END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-18T20:28:07.000000Z K 7 svn:log V 916 After maintaining previous behaviour in writing out the core notes, it's time now to break with the past: do not write the PID in the first note. Rationale: 1. [impact of the breakage] Process IDs in core files serve no immediate purpose to the debugger itself. They are only useful to relate a core file to a process. This can provide context to the person looking at the core file, provided one keeps track of this. Overall, not having the PID in the core file is only in very rare occasions unfortunate. 2. [reason of the breakage] Having one PRSTATUS note contain the PID, while all others contain the LWPID of the corresponding kernel thread creates an irregularity for the debugger that cannot easily be worked around. This is caused by libthread_db correlating user thread IDs to kernel thread (aka LWP) IDs and thus aware of the actual LWPIDs. Update comments accordingly. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-18T21:19:10.000000Z K 7 svn:log V 180 Utilize pmap_pte_quick() rather than pmap_pte() in pmap_protect(). The reason being that pmap_pte_quick() requires the page queues lock, which is already held, rather than Giant. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-18T21:23:39.000000Z K 7 svn:log V 121 Replace seven nominally MD implementations of frexp() that are broken for subnormals with one implementation that works. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-18T21:39:45.000000Z K 7 svn:log V 214 Clarify boot.8 (i386 version) a bit, so that people know where boot.config needs to reside. Also change /kernel to /boot/loader, as that is the apparent default now. This man page probably requires more updates. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-18T21:50:22.000000Z K 7 svn:log V 36 Comment clarifying debug_mpsafenet. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-07-18T22:57:46.000000Z K 7 svn:log V 260 Reverse a lock/unlock pair that were the wrong way around in some code that is obviously not run a lot. (but is in some test cases). This code is not usually run because it covers a case that doesn't happen a lot (removing a node that has data traversing it). END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-18T23:05:31.000000Z K 7 svn:log V 69 Don't forget the arguments for -M and -N in the DESCRIPTION section. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-18T23:27:14.000000Z K 7 svn:log V 79 Now we have NO_ADAPTIVE_MUTEXES option, so use it here too. Missed by: scottl END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-07-18T23:36:13.000000Z K 7 svn:log V 471 When calling scheduler entrypoints for creating new threads and processes, specify "us" as the thread not the process/ksegrp/kse. You can always find the others from the thread but the converse is not true. Theorotically this would lead to runtime being allocated to the wrong entity in some cases though it is not clear how often this actually happenned. (would only affect threaded processes and would probably be pretty benign, but it WAS a bug..) Reviewed by: peter END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-19T00:20:33.000000Z K 7 svn:log V 46 This file was not used to import gdb. Remove. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-07-19T00:43:34.000000Z K 7 svn:log V 251 MFC r1.70: When checking the result of the test_aux_port() function, ignore two more bogus return values sent by some hardware. PR: kern/61482, kern/54188 Submitted by: Ulf Lilleengen , Victor Balada Diaz END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-19T02:08:22.000000Z K 7 svn:log V 105 Empty GENERIC.hints file needed by make release. Noticed by: Suleiman Souhlal END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-19T02:46:34.000000Z K 7 svn:log V 116 Add a #error requiring KDB if DDB is specified. (This can probably be relocated to a better place, if one exists.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-19T05:24:41.000000Z K 7 svn:log V 91 Fix some misspellings, document the TAPE environment variable and the default tape device. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-19T05:39:49.000000Z K 7 svn:log V 46 Add partial pmap locking. Tested by: marcel@ END K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-19T06:21:27.000000Z K 7 svn:log V 2053 Reimplement contigmalloc(9) with an algorithm which stands a greatly- improved chance of working despite pressure from running programs. Instead of trying to throw a bunch of pages out to swap and hope for the best, only a range that can potentially fulfill contigmalloc(9)'s request will have its contents paged out (potentially, not forcibly) at a time. The new contigmalloc operation still operates in three passes, but it could potentially be tuned to more or less. The first pass only looks at pages in the cache and free pages, so they would be thrown out without having to block. If this is not enough, the subsequent passes page out any unwired memory. To combat memory pressure refragmenting the section of memory being laundered, each page is removed from the systems' free memory queue once it has been freed so that blocking later doesn't cause the memory laundered so far to get reallocated. The page-out operations are now blocking, as it would make little sense to try to push out a page, then get its status immediately afterward to remove it from the available free pages queue, if it's unlikely to have been freed. Another change is that if KVA allocation fails, the allocated memory segment will be freed and not leaked. There is a sysctl/tunable, defaulting to on, which causes the old contigmalloc() algorithm to be used. Nonetheless, I have been using vm.old_contigmalloc=0 for over a month. It is safe to switch at run-time to see the difference it makes. A new interface has been used which does not require mapping the allocated pages into KVA: vm_page.h functions vm_page_alloc_contig() and vm_page_release_contig(). These are what vm.old_contigmalloc=0 uses internally, so the sysctl/tunable does not affect their operation. When using the contigmalloc(9) and contigfree(9) interfaces, memory is now tracked with malloc(9) stats. Several functions have been exported from kern_malloc.c to allow other subsystems to use these statistics, as well. This invalidates the BUGS section of the contigmalloc(9) manpage. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-19T07:21:46.000000Z K 7 svn:log V 89 Use the version field to identify the partial context used by KSE process-scope threads. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-19T07:52:56.000000Z K 7 svn:log V 171 MFp4: Add two options for gnop(8)'s 'create' command: -o offset - specifies where to start on the original provider -s size - specifies size of the transparent provider END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-19T08:16:10.000000Z K 7 svn:log V 293 Fix two bugs in the signbit() macro, which was implemented last year: - It was added to libc instead of libm. Hopefully no programs rely on this mistake. - It didn't work properly on large long doubles because its argument was converted to type double, resulting in undefined behavior. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-19T08:17:25.000000Z K 7 svn:log V 61 Make FLT_ROUNDS correctly reflect the dynamic rounding mode. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-19T08:17:47.000000Z K 7 svn:log V 95 While testing fe[gs]etround(), make sure FLT_ROUNDS reflects the proper rounding mode as well. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-19T08:21:17.000000Z K 7 svn:log V 72 Today is a good day to add myself here :) Approved by: julian (mentor) END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-19T08:24:04.000000Z K 7 svn:log V 250 Forced commit to note that the previous commit message doesn't apply to the ARM port. We set FLT_ROUNDS to -1 (indeterminate), because the rounding mode on ARM is static, i.e. part of the FP instruction format. Or at least that's my understanding. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T08:24:21.000000Z K 7 svn:log V 21 Remove unused files. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T08:28:53.000000Z K 7 svn:log V 106 Update for recent changes to struct re_guts. Disable printing the contents of OANYOF sets for the moment. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T08:41:11.000000Z K 7 svn:log V 129 Update for removal of cclass.h. Trim some useless targets. Invoke mkh with "sh mkh" so it works if the script is not executable. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T08:48:17.000000Z K 7 svn:log V 68 Update paths to reg*.c and regex2.h. Add a target to build regex.h. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T08:53:41.000000Z K 7 svn:log V 55 Oops, test error behaviour of wctrans(), not wctype(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T09:00:26.000000Z K 7 svn:log V 68 Add a skeleton makefile that runs the tests out of libc/regex/grot. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T10:03:38.000000Z K 7 svn:log V 99 Point out in the BUGS section that look expects input files to have been sorted with LC_COLLATE=C. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T11:12:02.000000Z K 7 svn:log V 201 Add support for multibyte characters. While here, fix a longstanding bug in the implementation of the -d option: we were skipping too many characters when a non-alphanumeric character was encountered. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-19T11:17:57.000000Z K 7 svn:log V 24 MFi386: revision 1.596. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T11:18:56.000000Z K 7 svn:log V 167 Move exit status information into a DIAGNOSTICS section. Add an ENVIRONMENT section. Re-add a sentence from the BUGS section that went missing in the previous commit. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T11:21:34.000000Z K 7 svn:log V 15 Sort sections. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-19T12:05:07.000000Z K 7 svn:log V 119 The new program counter should go into the trapframe's srr0 and not the link register, which was lucky enough to work. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-19T12:08:03.000000Z K 7 svn:log V 36 Add signalcontext, required by KSE. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-19T12:19:04.000000Z K 7 svn:log V 82 PPC MD bits for KSE. Runs test cases OK. Crippled to 1:1 mode for the time being. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-19T12:20:10.000000Z K 7 svn:log V 36 Enable libpthread build for powerpc END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-19T12:26:44.000000Z K 7 svn:log V 35 Make kdb_backtrace() sort of work. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-19T12:54:00.000000Z K 7 svn:log V 124 Fix a typo that could provoke a panic or access to random memory. PR: kern/67012 Submitted by: Zhenmin END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-19T12:57:24.000000Z K 7 svn:log V 74 Avoid passing negative values to tolower() on machines with signed chars. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-19T14:42:57.000000Z K 7 svn:log V 454 Make it clearer what means 'won't work' for .if string == ${VAR}. Replace the use of '=' in conditionals in the examples by the more correct '=='. Clarify the example explaining that .for expansion takes place before .if handling by showing the correct code instead of saying 'the other way around'. Change a variable name there so the example is more parseable to the human reader. PR: docs/65400 Submitted by: Roman Neuhauser END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-19T14:54:38.000000Z K 7 svn:log V 60 Guard against argv[0] being NULL. Thanks to: Tim J Robbins END K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-19T15:05:24.000000Z K 7 svn:log V 174 Since breakage of malloc(9)/uma_zalloc(9) is totally non-optional in GENERIC/for WITNESS users, make sure the sysctl to disable the behavior is read-only and always enabled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-19T16:37:47.000000Z K 7 svn:log V 333 As a temporary hack, turn off deferred preemptions that are the result of a fast interrupt handler doing an swi_sched(). This fixed the lockups I saw on my laptop when using xmms in KDE and on rwatson's MySQL benchmarks on SMP. This will eventually be removed and/or modified when I figure out what the root cause is and fix that. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-19T16:54:52.000000Z K 7 svn:log V 164 prgregset_t changed type from being a typedef of struct reg to an array of one element of type struct reg. Change the argument to libc_r_md_getgregs() accordingly. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-19T17:15:51.000000Z K 7 svn:log V 219 Re-style at_control.c to bring it closer to style(9), primarily with regard to function prototypes and indentation. The lack of indentation in if clauses and case statements made this code extremely difficult to read. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-19T17:18:58.000000Z K 7 svn:log V 57 Further function forward declaration white space tweaks. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-07-19T18:03:02.000000Z K 7 svn:log V 342 Allow the user who calls doadump() from the kernel debugger to not get a page fault if he has not defined a dump device. Panic can often not do a dump as it can hang forever in some cases. The original PR was for amd64 only. This is a generalised version of that change. PR: amd64/67712 Submitted by: wjw@withagen.nl END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-07-19T18:06:12.000000Z K 7 svn:log V 80 You always spot the typos after you have committed.. Start sentence with a Cap. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-19T18:12:04.000000Z K 7 svn:log V 705 - Eliminate the pte object from the pmap. Instead, page table pages are allocated as "no object" pages. Similar changes were made to the amd64 and i386 pmap last year. The primary reason being that maintaining a pte object leads to lock order violations. A secondary reason being that the pte object is redundant, i.e., the page table itself can be used to lookup page table pages. (Historical note: The pte object predates our ability to allocate "no object" pages. Thus, the pte object was a necessary evil.) - Unconditionally check the vm object lock's status in vm_page_remove(). Previously, this assertion could not be made on Alpha due to its use of a pte object. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-19T20:47:46.000000Z K 7 svn:log V 184 Diff reduction to NetBSD. ehci.c rev. 1.69, author: mycroft uhci.c rev. 1.179, author: mycroft hcpriv is not actually used here. Remove references to it. Obtained from: NetBSD END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-19T20:49:02.000000Z K 7 svn:log V 234 Diff reduction to NetBSD. usbdi.c rev. 1.104, author: mycroft ugen_isoc_rintr() may recycle the xfer immediately. Therefore, we avoid touching the xfer after calling the callback in usb_transfer_complete(). From PR 25960. END K 10 svn:author V 7 jayanth K 8 svn:date V 27 2004-07-19T22:06:01.000000Z K 7 svn:log V 362 Fix a potential panic in the SACK code that was causing 1) data to be sent to the right of snd_recover. 2) send more data then whats in the send buffer. The fix is to postpone sack retransmit to a subsequent recovery episode if the current retransmit pointer is beyond snd_recover. Thanks to Mohan Srinivasan for helping fix the bug. Submitted by:Daniel Lang END K 10 svn:author V 7 jayanth K 8 svn:date V 27 2004-07-19T22:37:33.000000Z K 7 svn:log V 171 Let IN_FASTREOCOVERY macro decide if we are in recovery mode. Nuke sackhole_limit for now. We need to add it back to limit the total number of sack blocks in the system. END K 10 svn:author V 5 benno K 8 svn:date V 27 2004-07-19T23:22:10.000000Z K 7 svn:log V 68 Identify VIA EHCI root hubs and at least one VIA USB2.0 controller. END