ƒ³179183 181 163 2125 446 173 259 133 139 369 151 236 149 236 198 490 214 125 149 119 396 123 125 150 151 211 154 186 465 706 160 150 236 236 162 166 190 471 1180 347 131 186 356 169 269 143 201 166 160 293 115 282 223 334 426 571 165 169 126 148 304 1372 854 444 167 768 329 255 169 650 614 982 401 175 251 224 159 376 140 261 172 138 140 174 129 164 625 229 423 473 254 388 421 137 227 177 205 121 205 208 157 210 149 267 326 942 155 734 342 231 182 311 139 185 223 514 138 159 320 226 226 163 440 134 336 144 252 633 230 147 491 155 272 154 520 206 146 146 173 311 1427 614 336 193 176 732 251 267 270 193 170 168 410 203 134 127 715 125 144 175 147 156 132 151 343 125 159 208 268 288 209 931 542 112 361 392 299 188 350 358 152 289 414 K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-05-21T23:04:10.000000Z K 7 svn:log V 67 Giant is no longer required and can not be held over kproc_exit(). END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T01:14:43.000000Z K 7 svn:log V 2032 Add support for the Compact C Type (CTF) conversions throughout FreeBSD's system makefiles. Note that the CTF conversion defaults to off. We may choose to change this default later if DTrace proves popular and people are prepared to wear the compilation performance impact of compiling with debug symbols all the time. Setting NO_CTF in the make args or user environment turns off CTF conversion. Even if we choose to default CTF generation to on later, we still need NO_CTF so that the buildworld process can bootstrap the tools without needlessly generating CTF data for temporary tools. Setting WITH_CTF in the make args or user environment (and _NOT_ in /etc/make.conf) is the only way to enable CTF data conversion. Nore that this can't be implemented the same way that the WITH_ and WITHOUT_ stuff is implemented throughout the buildworld because the CTF conversion needs to work when building a simple object without a Makefile, using the default rules in sys.mk. Typing 'make test.o' with no makefile and just a source file test.c should work. Also, typing 'make WITH_CTF=1 test.o without a makefile and just a source file test.c should work and produce an object with a CTF elf section. Typing 'make WITH_CTF=1 CFLAGS=-g test.o' without a makefile and just a source file test.c should produce an object with both a CTF elf section and the debug elf sections. In the FreeBSD build where more .mk files are used than just sys.mk which is included my make by default, the use of DEBUG_FLAGS is the correct way to enable a debug build. The important thing to note here is that it is the DEBUG_FLAGS setting that prevents libraries and programs from being stripped on installation. So, for the addition of CTF data conversion, setting DEBUG_FLAGS to contain -g, without NO_CTF, will cause the ctfconvert and ctfmerge build programs to be executed also with the -g arg so that debug symbols are retained rather than being removed after the CTF data elf section has been added. Add DTrace libraries to the list of libnames. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T02:09:21.000000Z K 7 svn:log V 354 Add a process library with some stubs that the DTrace client needs. These will be fleshed out as part of the DTrace userland tracing development. For now, the kernel tracing part of DTrace requires minimal functionality for this library. The API for this library is deliberately different from the libproc in OpenSolaris due to licensing restrictions. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T02:10:14.000000Z K 7 svn:log V 82 Add the Makefile for the process library which was missed in the previous commit. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T02:14:23.000000Z K 7 svn:log V 167 Add a BSD licensed DWARF library for use by the DTrace clients. The API for this library is deliberately different to the GPL'd libdwarf to avoid licensing problems. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T04:22:43.000000Z K 7 svn:log V 42 Hook libdwarf and libproc into the build. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T04:26:42.000000Z K 7 svn:log V 48 Add the DTrace libraries and D library scripts. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-05-22T06:27:46.000000Z K 7 svn:log V 273 Create the bucket mutexes with MTX_NOWITNESS. There's now a hard limit of 512 pending mutexes in the witness code and we can easily have 1 million bucket mutexes initialized before witness is up and running. Bumping the limit from 512 to 1M is not really an option here... END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T07:00:07.000000Z K 7 svn:log V 60 Vendor import (really!) of the OpenSolaris bits for DTrace. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T07:00:07.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r179191, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T07:04:10.000000Z K 7 svn:log V 58 Vendor import of the src/sys OpenSolaris bits for DTrace. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T07:04:10.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r179193, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-05-22T07:04:11.000000Z K 7 svn:log V 101 This commit was manufactured by cvs2svn to create tag 'opensolaris-vendor-cddl-opensolaris_20080410'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-05-22T07:18:54.000000Z K 7 svn:log V 393 When sendto(2) is called with an explicit destination address argument, call mac_socket_check_connect() on that address before proceeding with the send. Otherwise policies instrumenting the connect entry point for the purposes of checking destination addresses will not have the opportunity to check implicit connect requests. MFC after: 3 weeks Sponsored by: nCircle Network Security, Inc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-05-22T07:30:32.000000Z K 7 svn:log V 122 MFC: Add an ability to run man(1) on local files plus add limited support for bzip2-compressed manpages. PR: bin/120730 END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T07:33:39.000000Z K 7 svn:log V 34 FreeBSD changes to vendor source. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T07:46:01.000000Z K 7 svn:log V 58 Oops, these files belonged under src/sys, not src. Sorry. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T08:04:49.000000Z K 7 svn:log V 28 Add the DTrace build tools. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-05-22T08:10:31.000000Z K 7 svn:log V 299 Consistently check IPFW and DUMMYNET privileges in the configuration routines for those modules, rather than in the raw socket code. This each privilege check to occur in exactly once place and avoids duplicate checks across layers. MFC after: 3 weeks Sponsored by: nCircle Network Security, Inc. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T08:33:24.000000Z K 7 svn:log V 32 Compatibility stuff for DTrace. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T08:35:03.000000Z K 7 svn:log V 34 Additional compatibility headers. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T09:08:41.000000Z K 7 svn:log V 59 A 'special' compatibility header to plug OpenSolaris code. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-05-22T09:14:12.000000Z K 7 svn:log V 57 Add codec id for Sigmatel STAC9872AK Reviewed by: ariff END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-05-22T10:27:03.000000Z K 7 svn:log V 117 - Recognize the 'volume' parameter when creating a plex. PR: kern/75632 Approved by: pjd (mentor) MFC after: 1 day END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-22T13:18:09.000000Z K 7 svn:log V 63 Add myself to this list as well. Approved by: philip (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-22T13:21:05.000000Z K 7 svn:log V 95 Last but not least, add myself to the list of birthdays as well. Approved by: philip (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-22T13:46:41.000000Z K 7 svn:log V 373 Add a new group definition to sys/conf.h: GID_TTY. Our current TTY layer uses a set-uid application called ptchown to change ownership of a PTY slave device. The new TTY layer implements this functionality through a new ioctl(). By accident I discovered Darwin's TTY layer also uses this approach. Because of this, they also have a GID_TTY. Approved by: philip (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-22T14:40:03.000000Z K 7 svn:log V 614 Introduce REMOVE_NEXT() macro's for SLIST and STAILQ. Even though single linked lists allow items to be removed at constant time (when the previous element is known), the queue macro's don't allow this. Implement new REMOVE_NEXT() macro's. Because the REMOVE() macro's also contain the same code, make it call REMOVE_NEXT(). The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the list head, even though it is unused. We'd better mimic this. The STAILQ version also needs a reference to the list. This means the prototypes of both macro's are the same. Approved by: philip (mentor) PR: kern/121117 END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-05-22T16:25:25.000000Z K 7 svn:log V 68 The function pmap_addr_hint no longer exists. Remove its man page. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-05-22T18:19:49.000000Z K 7 svn:log V 56 o Document two new ALT_BREAK_TO_DEBUGGER key sequences. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-05-22T21:08:36.000000Z K 7 svn:log V 138 Improve portability via s/struct siginfo/struct siginfo_data/. This was running into a namespace collision on an avian operating system. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-05-22T21:41:19.000000Z K 7 svn:log V 141 Clean out all mentions of struct proc* for it was removed from taskqueue(9) API more then two years ago. Approved by: cognet (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-05-22T21:53:15.000000Z K 7 svn:log V 70 clear out crud Submitted by: "Pawel Worach" END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-05-22T22:14:58.000000Z K 7 svn:log V 74 no need to stop the sw beacon miss timer; it's not used with adhoc or wds END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-05-22T22:17:27.000000Z K 7 svn:log V 98 ignore sw beacon miss while scanning, just reset the beacon count and timer Reviewed by: thompsa END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2008-05-22T22:18:38.000000Z K 7 svn:log V 373 Follow on to fix 1.51 for "Header with wrong dumpdate" message. Must ensure that dump tapes from UFS1 filesystems properly copy old fields of dump headers to new locations. Move check of dumpdate to follow the code which ensures that the appropriate fields have been copied. PR: bin/118087 Help from: David Malone, Scott Lambert, Javier Martín Rueda MFC after: 2 weeks END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2008-05-22T22:19:33.000000Z K 7 svn:log V 1081 This fixes the "getfile: lost data" panic when restoring dumps on a 7.0 or later system that were created on a pre-5.0 system. We must ensure that restore zeros out the previously undefined birthtime and external attribute size fields when reading dump tapes made by the UFS1 dump program. The problem is that UFS2 dump carefully zeros out the unused birthtime and external attribute size fields in the dump header when dumping UFS1 filesystems, but the UFS1 dump didn't know about those fields (they were spares) so just left whatever random junk was in them. So, when restoring one of these pre-UFS2 dumps, the new restore would eventually trip across a header that had a non-zero external attribute size and try to extract it. That consumed several tape blocks which left it totally out of sync and very unhappy (i.e., the panic). The fix is in the gethead() function which modernizes old headers by copying old fields to their new location (and with this fix) zeroing out previously undefined fields. PR: bin/120881 Review by: David Malone & Scott Lambert MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-05-22T22:22:10.000000Z K 7 svn:log V 254 special-case broadcast probe request in ieee80211_find_rxnode; we need to spam all vaps and this won't happen if the frame comes from a station that is associated to an ap vap (and so has an entry in the table) Noticed by: Jared Go Reviewed by: thompsa END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-22T23:06:19.000000Z K 7 svn:log V 40 Add the dtrace client app to the build. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T00:43:36.000000Z K 7 svn:log V 95 Add support for the DTrace malloc provider which can enable probes on a per-malloc type basis. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T00:49:39.000000Z K 7 svn:log V 264 Add hooks for the Compact C Type Format (CTF) data to be attached to the elf files. This is complicated by the fact that the actual CTF parsing has to be done in CDDL'd code, so the BSD licensed code only knows about the opaque data which it must be able to free. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T03:04:27.000000Z K 7 svn:log V 78 Add the CTF source file which gets shared with link_elf.c and link_elf_obj.c. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T03:52:55.000000Z K 7 svn:log V 177 Add a kernel option for amd64 to compile with the frame on the stack so that the DTrace Function Bounadry Trace (fbt) provider can get coverage of most functions in the kernel. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T03:53:49.000000Z K 7 svn:log V 52 Add support for generating CTF data for the kernel. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T03:55:26.000000Z K 7 svn:log V 109 Add the CTF conversion to the generated makefile. In the case where NO_CTF or !WITH_CTF, the macro is empty. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T04:00:44.000000Z K 7 svn:log V 75 DTrace can enter the debugger from a probe. Add a WHY definition for this. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-05-23T04:03:54.000000Z K 7 svn:log V 68 The VM system no longer uses setPQL2(). Remove it and its helpers. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T04:05:26.000000Z K 7 svn:log V 201 Allow a rendezvous with just a specified CPU too. Make the API work in the non-smp case too so that a kernel module can work the same regardless of whether or not it is loaded on a SMP kernel or not. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T04:06:49.000000Z K 7 svn:log V 24 Add the ctf_get method. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T04:20:59.000000Z K 7 svn:log V 190 Add a knob to allow just the kernels to be built during a 'make universe'. This is useful when wanting to retry a broken build using NOCLEAN and the buildworlds are known to have completed. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T04:22:14.000000Z K 7 svn:log V 131 Add the DTrace build tools to the list of tools and pass NO_CTF to all the stages of the build which don't require CTF conversion. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-05-23T04:57:28.000000Z K 7 svn:log V 236 We only use the string "?rwxrwxrwx " once, so inline it rather than declaring a variable which points to it. Aside from eliminating a line of code and one level of unnecessary indirection, this eliminates a false positive in Coverity. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-05-23T05:01:29.000000Z K 7 svn:log V 328 Check that lseek(2) succeeds and puts us where we expect. [1] While we're here, fix a long-standing bug in the handling of write(2) errors: The API changed from "return # of bytes written" to "return status code" almost 4 years ago, so instead of returning (-1) we need to return ARCHIVE_FATAL. Found by: Coverity Prevent [1] END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-05-23T05:07:22.000000Z K 7 svn:log V 473 The value le->name cannot be NULL when we're freeing an entry in the hardlink table for two reasons: 1. If le->name is set to NULL, the structure le won't be inserted into the table; 2. Even if le somehow did manage to get into the table with le->name equal to NULL, we would die when we dereferenced le->null before we could get to the point of freeing the entry. Remove the unnecessary "if (le->name != NULL)" test and just free the pointer. Found by: Coverity Prevent END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T05:59:42.000000Z K 7 svn:log V 74 Custom DTrace kernel module files plus FreeBSD-specific DTrace providers. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T07:08:59.000000Z K 7 svn:log V 78 Add the ctf_get function and update the args to linker_file_function_listall. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T07:32:19.000000Z K 7 svn:log V 35 Add the case for SHT_AMD64_UNWIND. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T07:33:45.000000Z K 7 svn:log V 57 Change the alignment of the NOTE to match what gcc does. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T07:35:36.000000Z K 7 svn:log V 212 Relax the strict type check because gcc as distributed doesn't create debug strtabs with type SHT_STRTAB. Although we could change FreeBSD's gcc, we really need to play nicely with gcc as distributed by the FSF. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-23T11:09:50.000000Z K 7 svn:log V 1278 Destruction of the pipe calls knlist_cleardel() to remove the knotes monitoring the pipe. The code sets pipe_present = 0 and enters knlist_cleardel(), where the PIPE_MTX might be dropped when knl->kl_list cannot be cleared due to influx knotes. If the following often encountered code fragment if (!(kn->kn_status & KN_DETACHED)) kn->kn_fop->f_detach(kn); knote_drop(kn, td); [1] is executed while the knlist lock is dropped, then the knote memory is freed by the knote_drop() without knote being removed from the knlist, since the filt_pipedetach() contains the following: if (kn->kn_filter == EVFILT_WRITE) { if (!cpipe->pipe_peer->pipe_present) { PIPE_UNLOCK(cpipe); return; Now, the memory may be reused in the zone, causing the access to the freed memory. I got the panics caused by the marker knote appearing on the knlist, that, I believe, manifestation of the issue. In the Peter Holm test scenarious, we got unkillable processes too. The pipe_peer that has the knote for write shall be present. Ignore the pipe_present value for EVFILT_WRITE in filt_pipedetach(). Debugging help and tested by: pho Discussed with: jmg MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-23T11:14:03.000000Z K 7 svn:log V 761 Another problem caused by the knlist_cleardel() potentially dropping PIPE_MTX(). Since the pipe_present is cleared before (potentially) sleeping, the second thread may enter the pipeclose() for the reciprocal pipe end. The test at the end of the pipeclose() for the pipe_present == 0 would succeed, allowing the second thread to free the pipe memory. First threads then accesses the freed memory after being woken up. Properly track the closing state of the pipe in the pipe_present. Introduce the intermediate state that marks the pipe as mostly dismantled but might be sleeping waiting for the knote list to be cleared. Free the pipe pair memory only when both ends pass that point. Debugging help and tested by: pho Discussed with: jmg MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-23T14:24:33.000000Z K 7 svn:log V 352 Move sysinstall/sade away from TIOCGSIZE. Both sysinstall and sade still seem to use the TIOCGSIZE ioctl to obtain the terminal dimensions. We'd better use TIOCGWINSZ to do this. The TIOCGWINSZ interface is preferred, because it also allows sizes in pixels to be passed to the application (though this is not used here). Approved by: philip (mentor) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-05-23T15:39:27.000000Z K 7 svn:log V 74 MFC revision 1.6 - Recognize the 'volume' parameter when creating a plex. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-23T16:06:35.000000Z K 7 svn:log V 676 Move TTY unrelated bits out of . For some reason, the header file also contains routines of the clists and console that are used inside the TTY layer. Because the clists are not only used by the TTY layer (example: various input drivers), we'd better move the entire clist programming interface into . Also remove a declaration of nonexistent variable. The header also contains various definitions for the console code (tty_cons.c). Also move these to , because they are not implemented inside the TTY layer. While there, create separate malloc pools for the clist and console code. Approved by: philip (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-23T16:36:39.000000Z K 7 svn:log V 236 When vget() fails (because the vnode has been reclaimed), there is no sense to loop trying to vget() the vnode again. PR: 122977 Submitted by: Arthur Hartwig Tested by: pho Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-23T16:38:38.000000Z K 7 svn:log V 162 Assert that si_threadcount > 0 before decrementing it. This helps catching the improper use of the dev_refthread/dev_relthread. Tested by: pho MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-23T16:43:59.000000Z K 7 svn:log V 77 Use the t_state for the TS_GONE test. Submitted by: jhb MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-23T16:46:27.000000Z K 7 svn:log V 557 The dev_refthread() in the tty_gettp() may fail, because Giant is taken in the giant_trick routines after the dev_refthread increments the si_threadcount. Remove assert, do not perform dev_relthread() for failed dev_refthread(), and handle failure in the tty_gettp() callers (cdevsw tty methods). Before kern_conf.c 1.210 and 1.211, the kernel usually paniced in the giant_trick routines dereferencing NULL cdevsw, not taking this fault. Reported by: Vince Hoffman Debugging help and tested by: pho Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-23T16:47:55.000000Z K 7 svn:log V 521 Rev. 1.274 put the ttyrel() call before the destroy_dev() in the ttyfree(), freeing the tty. Since destroy_dev() may call d_purge() cdevsw method, that is the ttypurge() for the tty, the code ends up accessing freed tty structure. Put the ttyrel() after destroy_dev() in the ttyfree. To prevent the panic the rev. 1.274 provided fix for, check the TS_GONE in sysctl handler and refuse to provide information on such tty. Reported, debugging help and tested by: pho DIscussed with and reviewed by: jhb MFC after: 1 week END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2008-05-23T18:08:32.000000Z K 7 svn:log V 884 MFC of an update to the dump program to save extended attributes and an update to the restore program to restore all dumped extended attributes. The affected files and the version being MFC'ed: Revision Path 1.11 src/include/protocols/dumprestore.h 1.28 src/sbin/dump/dump.h 1.38 src/sbin/dump/traverse.c 1.31 src/sbin/restore/dirs.c 1.11 src/sbin/restore/extern.h 1.12 src/sbin/restore/restore.h 1.48 src/sbin/restore/tape.c 1.16 src/sys/sys/extattr.h 1.21 src/sys/ufs/ufs/extattr.h 1.24 src/share/man/man5/fs.5 Note that this code will not compile until these header files have been updated: and . This should happen in the course of doing a normal `buildworld'. This resolves PR 93085 which will be closed. PR: bin/93085 MFC request by: Robert Watson END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-23T18:34:33.000000Z K 7 svn:log V 309 Fix the build by including in . Of course I was silly enough to only check LINT for build failures, but not the userspace bits. In the mpsafetty branch I didn't notice this, because never got included in userspace. Approved by: philip (mentor) Pointy hat to: me :-( END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-05-23T19:16:24.000000Z K 7 svn:log V 80 Invalidate the TLB in pmap_cpu_bootstrap(), so that it also happens on the APs. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2008-05-23T19:17:08.000000Z K 7 svn:log V 153 Fix nits pointed out in PR bin/39905 that have not already been corrected since it was filed. With this change the PR will be closed. PR: bin/39905 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-05-23T19:53:50.000000Z K 7 svn:log V 128 Account for IPI_PREEMPT. We don't want to call sched_preempt() with interrupts disabled or with td_intr_nesting_level non-zero. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-05-23T20:04:55.000000Z K 7 svn:log V 67 MFC: Teach truss about 32-bit FreeBSD and Linux binaries on amd64. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-05-23T20:06:59.000000Z K 7 svn:log V 283 - Close a small fd leak that can occur if we have to do more than one PIOCWAIT after forking a new child process. - Use NULL instead of 0 in one spot. This is a direct commit to RELENG_6 since it only applies to the procfs code and newer branches use ptrace() rather than procfs. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T22:17:28.000000Z K 7 svn:log V 49 Add the KDTRACE_HOOKS option for DTrace support. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T22:21:58.000000Z K 7 svn:log V 169 The cyclic timer device. This is a cut down version of the one in OpenSolaris. We don't have the lock levels that they do, so this is just hooked into clock interrupts. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T22:23:28.000000Z K 7 svn:log V 81 The cyclic code is in sys/cddl/dev/cyclic to be consistent with the other stuff. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T22:36:12.000000Z K 7 svn:log V 47 Hook the DTrace kernel modules into the build. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T22:39:28.000000Z K 7 svn:log V 49 OpenSolaris kernel module compatibility sources. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T22:40:58.000000Z K 7 svn:log V 83 Delete a couple of OpenSolaris headers which get in the way of our implementation. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T22:44:46.000000Z K 7 svn:log V 38 Don't need to include vmem.h anymore. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-23T23:03:17.000000Z K 7 svn:log V 73 Messing with the endian defines breaks the use of other FreeBSD headers. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2008-05-23T23:13:14.000000Z K 7 svn:log V 527 When using dump to generate level 0 dumps which are then rsync'ed to a remote machine, the fact that the dump date is stored with each header (inode) record makes rsync significantly less efficient than necessary. This also applies to inode access times when they are not important data to retain. When implementing an offsite backup solution of this type, these dates in particular are not important, especially if it prevents effective offsite backups. PR: bin/91049 Submitted by: Forrest W Christian END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-05-23T23:33:07.000000Z K 7 svn:log V 132 Do not convert the "snapshot" string to the MNT_SNAPSHOT flag here, since we do it further down in ffs_vfsops.c MFC after: 1 month END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-05-24T00:02:12.000000Z K 7 svn:log V 326 For the following mount options, do not perform the string to flag conversions here, because we already do them further up in vfs_donmount() in vfs_mount.c async -> MNT_ASYNC force -> MNT_FORCE multilabel -> MNT_MULTILABEL noatime -> MNT_NOATIME noclusterr -> MNT_NOCLUSTERR noclusterw -> MNT_NOCLUSTERW MFC after: 1 month END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-05-24T00:41:32.000000Z K 7 svn:log V 376 After converting the "snapshot" mount option to the MNT_SNAPSHOT flag, delete "snapshot" from the persistent mount options list. This should fix problems with doing a mount -o snapshot of a file system, followed by an NFS export of the same file system. PR: 122833 Reported by: Leon Kos , Jaakko Heinonen MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-05-24T00:42:53.000000Z K 7 svn:log V 157 MFC revision 1.52 date: 2008/05/10 01:27:23; author: delphij; state: Exp; lines: +6 -0 Add support for LSI 1078DE (ServeRAID-AR10is SAS/SATA Controller) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-24T03:35:13.000000Z K 7 svn:log V 295 MFC rev. 1.119: The kqueue_close() encountering the KN_INFLUX knotes on the kq being closed is the legitimate situation. For instance, filedescriptor with registered events may be closed in parallel with closing the kqueue. Properly handle the case instead of asserting that this cannot happen. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-24T03:36:19.000000Z K 7 svn:log V 328 MFC rev. 1.120: Kqueue_scan() may sleep when encountered the influx knotes. On the other hand, it may cause other threads to sleep since kqueue_scan() may mark some knotes as infux. This could lead to the deadlock. Before kqueue_scan() sleeps, wakeup the threads that are waiting for the influx knotes produced by this thread. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-24T04:36:07.000000Z K 7 svn:log V 46 Leave out a couple of DTrace modules for now. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2008-05-24T05:20:46.000000Z K 7 svn:log V 129 Expand dump to allow MAX_INT dump levels. PR: bin/100732 Submitted by: Matthew Vincenz END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-24T06:22:16.000000Z K 7 svn:log V 86 Add DTrace 'proc' provider probes using the Statically Defined Trace (sdt) mechanism. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-24T06:27:02.000000Z K 7 svn:log V 113 Add the DTrace hooks for exception handling (Function boundary trace -fbt- provider), cyclic clock and syscalls. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-24T06:27:54.000000Z K 7 svn:log V 30 Add a cyclic hook for DTrace. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-24T06:32:26.000000Z K 7 svn:log V 113 Add the DTrace hooks for exception handling (Function boundary trace -fbt- provider), cyclic clock and syscalls. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-24T06:43:55.000000Z K 7 svn:log V 116 Make the zfs module depend on the opensolaris module in preparation for it to shared stuff with the DTrace modules. END K 10 svn:author V 7 manolis K 8 svn:date V 27 2008-05-24T08:49:55.000000Z K 7 svn:log V 61 Add myself to commiters-doc.dot Approved by: gabor (mentor) END K 10 svn:author V 7 manolis K 8 svn:date V 27 2008-05-24T08:54:00.000000Z K 7 svn:log V 113 Add myself to calendar.freebsd This will also help me not forget my own birthday :) Approved by: gabor (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-05-24T09:07:52.000000Z K 7 svn:log V 56 MFi386: revision 1.249 Add a cyclic hook for DTrace. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T10:13:07.000000Z K 7 svn:log V 175 MFC: rev. 1.6 Add ';' missed with the SYSINIT changes. Not noticed by tb as TCP_SIGNATURE is not in LINT. (this MFC ahead of the MFC of the other SYSINIT ';' chnages) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T10:15:20.000000Z K 7 svn:log V 234 MFC: rev. 1.287 ata-all.c devclass_get_maxunit() returns n+1 with n starting at 0. So if we have channel 0..3 devclass_get_maxunit is 4. It's never been a problem as devclass_get_device() has caught any possibly bad input. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T10:23:35.000000Z K 7 svn:log V 850 MFC: if_bgereg.h rev. 1.79 if_bge.c rev. 1.205, 1.209, 1.210 Summary: In some situations we were not clearing pending link state attentions. Because of this we were not getting further interrupts for link state changes, thus never went into iface UP state and thus could not transmit. The only way out of this was an incoming packet generating an rx interrupt and making us call into bge_link_upd. What we do now is force an interrupt at the end of bge_ifmedia_upd_locked so we will call bge_link_upd, clear the link state attention and get further interrupts. While the initial version was not expected to work with all chips the later update in rev. 1.210 is. PR: kern/111804 Tested by: phk, scottl (initial version) Thanks for your help to: davidch, Broadcom END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-05-24T11:10:46.000000Z K 7 svn:log V 61 Add myself to the calendar Approved by: cognet (mentor) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-05-24T14:51:30.000000Z K 7 svn:log V 640 - Add locking to all filesystem operations in fdescfs and flag it as MPSAFE. - Use proper synhronization primitives to protect the internal fdesc node cache used in fdescfs. - Properly initialize and uninitalize hash. - Remove unused functions. Since fdescfs might recurse on itself, adding proper locking to it needed some tricky workarounds in some parts to make it work. For instance, a descriptor in fdescfs could refer to an open descriptor to itself, thus forcing the thread to recurse on vnode locks. Because of this, other race conditions also had to be fixed. Tested by: pho Reviewed by: kib (mentor) Approved by: kib (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T15:20:48.000000Z K 7 svn:log V 250 Factor out the v4-only vs. the v6-only inp_flags processing in ip6_savecontrol in preparation for udp_append() to no longer need an WLOCK as we will no longer be modifying socket options. Requested by: rwatson Reviewed by: gnn MFC after: 10 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T15:32:46.000000Z K 7 svn:log V 139 In addition to the ipsec_osdep.h removal a week ago, now also eliminate IPSEC_SPLASSERT_SOFTNET which has been 'unused' since FreeBSD 5.0. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-24T18:35:55.000000Z K 7 svn:log V 91 Change my email address to the one from the FreeBSD project. Approved by: philip (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T19:29:02.000000Z K 7 svn:log V 219 Restore buildable state. Style ignored. Leave IDTVEC(ill) where it was unless we compile with KDTRACE_HOOKS[1]. Hide the with DTRACE case case under #ifdef KDTRACE_HOOKS. Suggested by: attilio [1] Reviewed by: attilio END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T19:30:38.000000Z K 7 svn:log V 48 Remove redundant redeclaration of 'zone_drain'. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-24T19:52:19.000000Z K 7 svn:log V 94 Remove 'fasttrap' module for amd64 for now as the code is not there in sys/cddl/dev/fasttrap. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-05-24T20:44:14.000000Z K 7 svn:log V 126 Fix comments to replace SBSIZE with SBLOCKSIZE, since SBSIZE was renamed to SBLOCKSIZE in version 1.33 Reviewed by: mckusick END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-05-24T21:57:16.000000Z K 7 svn:log V 421 To date, our implementation of munmap(2) has required that the entirety of the specified range be mapped. Specifically, it has returned EINVAL if the entire range is not mapped. There is not, however, any basis for this in either SuSv2 or our own man page. Moreover, neither Linux nor Solaris impose this requirement. This revision removes this requirement. Submitted by: Tijl Coosemans PR: 118510 MFC after: 6 weeks END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-25T01:44:58.000000Z K 7 svn:log V 47 Add the vtime (virtual time) hooks for DTrace. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-25T02:04:18.000000Z K 7 svn:log V 68 Remove the dependency on lockstat. That its still work in progress. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-25T02:48:57.000000Z K 7 svn:log V 228 Remove sun4v from the list of arches in 'make universe'. There has been no active development on it for over a year now and it isn't reliable under a simple buildworld. Developers can't be expected to test code targeted for it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-05-25T07:00:07.000000Z K 7 svn:log V 133 MFC revision 1.293 Add a read/write sysctl for reconfiguring the maximum number of physical pages that can be wired. PR: 114654 END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-05-25T07:38:09.000000Z K 7 svn:log V 133 MFC revision 1.293 Add a read/write sysctl for reconfiguring the maximum number of physical pages that can be wired. PR: 114654 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-05-25T14:16:28.000000Z K 7 svn:log V 67 MFC revision 1.46: lockinit() can't accept LK_EXCLUSIVE as a flag. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-05-25T14:37:33.000000Z K 7 svn:log V 344 MFC r1.208: devctl_process_running(): Check for devsoftc.inuse == 1 instead of devsoftc.async_proc != NULL because the latter might not be true sometimes. This way /etc/rc.suspend gets executed. Reviwed by: njl Submitted by: Mitsuru IWASAKI Tested also by: Andreas Wetzel END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-05-25T14:50:47.000000Z K 7 svn:log V 38 style fix for newly introduced macro. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-05-25T14:57:43.000000Z K 7 svn:log V 239 Replace direct atomic operation for the file refcount witht the refcount interface. It also introduces the correct usage of memory barriers, as sometimes fdrop() and fhold() are used with shared locks, which don't use any release barrier. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-05-25T16:11:27.000000Z K 7 svn:log V 48 The "if" semantic is not needed, just fix this. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-25T20:24:07.000000Z K 7 svn:log V 160 Comment out the code that breaks with invariants. This is stuff that is still WIP along with the lockstat provider, so there is no harm leaving it out for now. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-05-25T22:11:40.000000Z K 7 svn:log V 536 Remove netatm from HEAD as it is not MPSAFE and relies on the now removed NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-05-25T22:13:17.000000Z K 7 svn:log V 138 Backout the change to remove sun4v. Note that sun4v is currently broken on T2000 hardware so it's pretty much a lame duck at this point. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-05-25T22:34:17.000000Z K 7 svn:log V 55 Fix namespace collision after src/sys/sys/file.h:1.78. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-05-26T07:40:14.000000Z K 7 svn:log V 394 We can not call iwn_start directly in the interrupt context, where the iwn mutex is being held, and iwn_start assumes that we do not have that mutex held. Resolve this issue with what we do for other NICs by splitting the iwn_start procedure into two parts, iwn_start() do the locking, and iwn_start_locked() assumes that the mutex is being held. This resolves panic when WITNESS is enabled. END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-05-26T08:58:48.000000Z K 7 svn:log V 63 Dont call ata_start() when ata_reinit fails in the ioctl path. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-26T10:01:13.000000Z K 7 svn:log V 179 Take into account possible overflow when multiplying. The casuality is the malloc call later, panicing kernel due to the oversized allocation. Reported by: pho Reviewed by: jeff END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-05-26T10:10:11.000000Z K 7 svn:log V 60 Add a missing space between a variable and the ] for a test END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-26T10:40:09.000000Z K 7 svn:log V 428 Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-26T10:45:11.000000Z K 7 svn:log V 114 Bump __FreeBSD_version after netatm and I4B removal. There should be no API changes but ports might rely on this. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-26T11:03:30.000000Z K 7 svn:log V 54 MFC rev. 1.278: Use the t_state for the TS_GONE test. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-26T11:15:15.000000Z K 7 svn:log V 54 MFC rev. 1.278: Use the t_state for the TS_GONE test. END K 10 svn:author V 2 mr K 8 svn:date V 27 2008-05-26T11:57:49.000000Z K 7 svn:log V 82 Extend jexec to accept hostname or ip-number besides jail-id. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-05-26T15:12:47.000000Z K 7 svn:log V 218 Use _WANT_FILE to make struct file visible from userland. This is similar to _WANT_UCRED and _WANT_PRISON and seems to be much nicer than defining _KERNEL. It is also needed for my sys/refcount.h change going in soon. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-26T17:00:24.000000Z K 7 svn:log V 1328 MFp4: libarchive 2.5.4b. (Still 'b' until I get a bit more feedback, but the 2.5 branch is shaping up nicely.) In addition to many small bug fixes and code improvements: * Another iteration of versioning; I think I've got it right now. * Portability: A lot of progress on Windows support (though I'm not committing all of the Windows support files to FreeBSD CVS) * Explicit tracking of MBS, WCS, and UTF-8 versions of strings in archive_entry; the archive_entry routines now correctly return NULL only when something is unset, setting NULL properly clears string values. Most charset conversions have been pushed down to archive_string. * Better handling of charset conversion failure when writing or reading UTF-8 headers in pax archives * archive_entry_linkify() provides multiple strategies for hardlink matching to suit different format expectations * More accurate bzip2 format detection * Joerg Sonnenberger's extensive improvements to mtree support * Rough support for self-extracting ZIP archives. Not an ideal approach, but it works for the archives I've tried. * New "sparsify" option in archive_write_disk converts blocks of nulls into seeks. * Better default behavior for the test harness; it now reports all failures by default instead of coredumping at the first one. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-26T17:10:10.000000Z K 7 svn:log V 516 MFp4: bsdtar 2.5.4b In addition to a number of bug fixes and minor changes: * --numeric-owner (ignore user/group names on create and extract) * -S (sparsify files on extraction) * -s (regex filename substitutions) * Use new libarchive 'linkify' to get correct hardlink handling for both old and new cpio formats * Rework 'copy' test to be insensitive to readdir() filename ordering Most of the credit for this work goes to Joerg Sonnenberger, who has been duplicating features from NetBSD's 'pax' program. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-26T17:15:35.000000Z K 7 svn:log V 238 Initial commit of bsdcpio 0.9.11b. A new implementation of cpio that uses libarchive as it's back-end archiving/dearchiving infrastructure. Includes test harness; "make check" in the bsdcpio directory to build and run the test harness. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-26T17:17:43.000000Z K 7 svn:log V 96 bsdcpio is always installed as 'bsdcpio', symlink it to 'cpio' only if WITH_BSDCPIO is defined. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-26T17:21:12.000000Z K 7 svn:log V 79 Install GNU cpio as 'gcpio', symlink to 'cpio' unless WITH_BSDCPIO is defined. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-26T19:19:58.000000Z K 7 svn:log V 634 Connect bsdcpio up to the build. Starting now, there are two cpio programs in the base system: /usr/bin/gcpio - GNU cpio /usr/bin/bsdcpio - bsdcpio In addition, there is a symlink: /usr/bin/cpio -> /usr/bin/gcpio (default) /usr/bin/cpio -> /usr/bin/bsdcpio (WITH_BSDCPIO) In particular, WITH_BSDCPIO only controls the symlink; bsdcpio is always built regardless. Unless there are objections or problems, I intend: * to make /usr/bin/bsdcpio available in 7.1 * to have /usr/bin/cpio default to bsdcpio in 8.0 (WITH_GCPIO will be an option instead of WITH_BSDCPIO) * to leave /usr/bin/gcpio in the tree until 9.0 END K 10 svn:author V 2 mr K 8 svn:date V 27 2008-05-26T19:24:45.000000Z K 7 svn:log V 159 Add CAUTIONS section to the manpage and update .Dd. Spelling fix. PR: bin/119305 (reminded by Frank Behrens) Suggested by: rwatson, maxim MFC after: 2 weeks END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-05-26T19:26:10.000000Z K 7 svn:log V 172 MFC: hu_HU.ISO8859-2.src r1.9 hu_HU.UTF-8.src r1.4 - The names of the months and the days are in lowercase according to the Hungarian spelling, change them accordingly END K 10 svn:author V 5 gabor K 8 svn:date V 27 2008-05-26T19:27:32.000000Z K 7 svn:log V 175 MFC: hu_HU.ISO8859-2.src r1.9 hu_HU.UTF-8.src r1.4 - The names of the months and the days are in lowercase according to the Hungarian spelling, change them accordingly END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-05-26T22:39:56.000000Z K 7 svn:log V 97 Remove now-obsolete Xref to ng_atmpif.4 from netgraph.4. MFC after: 3 weeks Spotted by: antoine END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-05-26T22:41:40.000000Z K 7 svn:log V 74 Remove two netatm-specific test parts. MFC after: 3 weeks Spotted by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-05-26T22:54:38.000000Z K 7 svn:log V 72 Avoid unnecessary one use of dtom(9) in spx_input(). MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-05-27T00:20:19.000000Z K 7 svn:log V 313 Once the ENOLCK is detected we expect to retry the acquisition. Anyway, in the edge case the flushing happens and the while is no more executed, nfs_flush() (and nfs4_flush()) can return with a wrong err value of ENOLCK. Bring it back to 0, as we expect to have for that case. Reported by: kris Reviewed by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-05-27T00:27:50.000000Z K 7 svn:log V 106 Improve a comment which, in the actual CVS stock, doesn't completely explain the logic of the code chunk. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T01:16:40.000000Z K 7 svn:log V 38 Add JMicron JMP202/JMP211 PHY driver. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T01:23:17.000000Z K 7 svn:log V 31 Connect jmphy(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T01:42:01.000000Z K 7 svn:log V 618 Add driver support for PCIe adapters based on JMicron JMC250 gigabit ethernet and JMC260 fast ethernet controllers. ATM jme(4) supports all hardware features except RSS and multiple Tx/Rx queue. In these days most ethernet controller vendors take a ply of concealing hardware detailes from open source developers. As contrasted with these vendors JMicron provided all necessary information needed to write a stable driver during driver writing and answered many questions I had. They even helped fixing driver bugs with protocol analyzer. Many thanks to JMicron for their support of FreeBSD. H/W donated by: JMicron END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T01:54:45.000000Z K 7 svn:log V 29 Hook up jme(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T01:59:17.000000Z K 7 svn:log V 48 Add man page for jme(4). Reviewed by: brueffer END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T02:01:42.000000Z K 7 svn:log V 79 Add jme(4) to the list of devices supporting full VLAN processing in hardware. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T02:03:26.000000Z K 7 svn:log V 51 Add jme(4) to the list of drivers supporting ALTQ. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T02:07:30.000000Z K 7 svn:log V 60 Add jme(4) to the list of drivers use the miibus interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T02:13:25.000000Z K 7 svn:log V 36 Add an entry for the jme(4) module. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T02:15:41.000000Z K 7 svn:log V 55 Add jme(4) to the list of supported network interface. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2008-05-27T02:16:05.000000Z K 7 svn:log V 248 Release pcm mutex before calling snd_clone_unref(), which in turns might calling destroy_dev() with sleepable malloc(9). The entire opetation is being serialized through pcm cv from top down, so dropping mutex is rather safe. Reported by: delphij END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T02:18:17.000000Z K 7 svn:log V 29 Hook up jme(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T02:22:32.000000Z K 7 svn:log V 63 Add jme(4) to the list of drivers supported by GENERIC kernel. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-05-27T03:43:45.000000Z K 7 svn:log V 111 ASUS G2S notebook is supported by age(4). Reported by: Chad Albert ( chad.albert AT healthcarefirst DOT com ) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-27T04:12:17.000000Z K 7 svn:log V 170 Until the old archive.h.in gets renamed to archive.h in the repository, we still need some Makefile trickery to ensure archive.h is correctly built for the test harness. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-27T04:44:07.000000Z K 7 svn:log V 190 Compatibility fix: define REG_BASIC if it isn't already. In particular, glibc has a suitable regex implementation, but doesn't define this constant. Thanks to: Diego "Flameeyes" Pettenò END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-05-27T04:46:12.000000Z K 7 svn:log V 111 Minor code hardening: Verify the final bytes of the string are actually accessible before trying to use them. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-05-27T05:10:54.000000Z K 7 svn:log V 833 Add a -n option to pkg_create(1), to inhibit duplicate work. When run without this option, multiple runs of `pkg_create -Rb' will recreate common packages multiple times. This can take a lot of time for large packages. With the -n option `pkg_create -b' checks with stat(2) and skips packages that already exist. Note that this may *not* be safe of the existing output file is not really a package, or if it has been corrupted, modified or otherwise tinkered with between subsequent pkg_create runs. For this and POLA reasons, the default behavior is to *rebuild* the packages, and the -n option can be used when we know it is `safe' to run in no-regenerate mode. Inspired by: A post to freebsd-questions by Matthias Apitz < matthias.apitz at oclc.org > Reviewed by: marcus, flz Approved by: marcus MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-27T06:41:50.000000Z K 7 svn:log V 450 Rename `tty_subr.c' to `subr_clist.c'. Because clists are also used outside the TTY layer, rename the file containing the clist routines to something more accurate. The mpsafetty TTY layer doesn't use clists. It uses its own buffers, which also implement the unbuffered copying to userspace. We cannot simply remove the clist routines then, because this would break various drivers that are present within the kernel. Approved by: philip (mentor) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-05-27T06:50:46.000000Z K 7 svn:log V 18 Abandon pppd/chat END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-05-27T09:45:18.000000Z K 7 svn:log V 266 Limit the EOF marker length to a maximum of 79 characters. [1] Add $FreeBSD$ tag so that I can actually commit this. PR: bin/118782 Reported by: Bjoern Koenig Patch by: edwin, Jaakko Heinonen (not used patch) MFC after: 1 week Approved by: imp (mentor, implicit) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-05-27T10:51:19.000000Z K 7 svn:log V 300 Change the exit status for 0 and 2 to be the same as with ping(1) and be usable in scripts, etc. This also changes the semantics in case when we lose one of n packets. In that case, before we exited by SIG, now we exit with return(0). Submitted by: Gert Doering (gert space.net) MFC after: 10 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-05-27T13:19:06.000000Z K 7 svn:log V 203 Add support for the Colemak keyboard layout from: http://colemak.com/. # While here, restore alphabetical order in INDEX.keymaps. Submitted by: Geert Hendrickx MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-05-27T14:03:32.000000Z K 7 svn:log V 96 Make fcntl() a weak symbol so that it can be overridden by thread libraries. MFC after: 2 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-05-27T14:18:02.000000Z K 7 svn:log V 256 Plug a memory leak which can occur when multiple MAC policies are loaded which label mbufs. This leak can occur if one policy successfully allocates label storage and subsequent allocations from other policies fail. Spotted by: rwatson MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-05-27T17:46:32.000000Z K 7 svn:log V 264 Bluetooth SIG is being difficult and keep moving specification documents away from being public accessible. Replace link to the Bluetooth specification document with the document name. Pointed out by: SoftLover < slserg at uic dot tula dot ru > MFC after: 3 days END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-05-27T18:22:54.000000Z K 7 svn:log V 56 Add more obsolete files. Approved by: rwatson (mentor) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-05-27T18:27:51.000000Z K 7 svn:log V 192 MFC to RELENG_7: Record the dependency of the iscsi initiator on cam. PR: 116745 Submitted by: OISHI Masakuni Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-05-27T18:33:17.000000Z K 7 svn:log V 317 MFC to RELENG_6: Move "1000baseT" from IFM_SUBTYPE_ETHERNET_DESCRIPTIONS to IFM_SUBTYPE_ETHERNET_ALIASES: there is already "1000baseTX" in IFM_SUBTYPE_ETHERNET_DESCRIPTIONS. This doesn't change ifconfig behaviour. PR: 45793 (maybe) Approved by: rwatson (mentor) MFC after: 1 month END