ƒ²S173553 192 161 166 216 179 166 142 182 111 199 199 169 772 253 298 168 270 155 301 111 677 360 384 324 132 263 315 96 188 205 363 296 418 568 132 125 110 154 203 96 1080 236 144 167 155 486 625 158 321 186 315 297 236 324 369 211 164 402 184 163 178 149 327 512 170 254 196 325 240 132 300 174 175 168 322 229 301 325 107 331 325 188 186 373 177 1387 149 159 181 145 391 545 517 153 349 151 1720 680 372 199 392 217 386 186 179 166 218 344 411 287 134 312 252 666 166 235 727 278 287 693 161 218 199 381 237 148 537 413 406 662 124 241 169 158 142 241 121 306 123 215 115 136 150 334 232 211 546 315 181 157 184 128 150 142 694 301 1300 215 215 167 147 138 253 115 229 142 219 208 220 140 188 174 148 962 243 131 188 275 166 286 160 395 271 592 164 166 107 228 166 167 247 543 352 K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-11T17:44:36.000000Z K 7 svn:log V 69 MFC: sync 11n support with vap code base Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-11T17:45:56.000000Z K 7 svn:log V 74 MFC 1.143: minor wireless-related corrections Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-11T17:47:06.000000Z K 7 svn:log V 123 MFC 1.48: sync with vap code base; updates for 11n support and some general code cleanups Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-11T17:48:17.000000Z K 7 svn:log V 87 MFC 1.2: add -o ampdu; remove noise from default stat list Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-11T17:48:48.000000Z K 7 svn:log V 74 MFC 1.2: align stats printed out w/o any args Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-11T17:49:50.000000Z K 7 svn:log V 50 sync with 11n changes Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-11T17:52:32.000000Z K 7 svn:log V 90 MFC 1.6: correct termination check doing amsdu de-aggregation Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-11-11T19:40:46.000000Z K 7 svn:log V 14 More cleanup. END K 10 svn:author V 4 brix K 8 svn:date V 27 2007-11-11T20:57:08.000000Z K 7 svn:log V 105 Update quirks for the MetaGeek Wi-Spy 1A, 1B and 2.4x. PR: usb/116057 Approved by: imp, erwin (mentor) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-11-11T22:52:31.000000Z K 7 svn:log V 105 MFC revision 1.5 Un-break logins to jailed environments when PTS is in use. Approved by: re@ (kensmith) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-11-11T22:56:12.000000Z K 7 svn:log V 76 MFC revision 1.5 Un-break logins to jailed environments when PTS is in use. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-12T04:47:57.000000Z K 7 svn:log V 674 Add support for "freebsd-update -r newrelease upgrade" -- binary upgrading to new releases. Important parts of this code include * automatically determining which optional components (e.g., src, info, proflibs) are installed. * merging changes in files which are modified locally and have changed between the currently running and new release. * prompting the user to rebuild all 3rd party software before deleting old shared libraries. Yes, this is compatible with "freebsd-update rollback" -- you can test a new -BETA and roll back to the old release if you don't like it. Subject to re@ approval, this will be MFCed before 7.0-BETA3 and 6.3-RC1. MFC after: 2 days END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-12T15:44:00.000000Z K 7 svn:log V 158 Add support for D-Link DGE-528(T) Rev.B1 PR: 112774 Submitted by: Denis Fortin Approved by: imp (mentor), yongari MFC After: 3 days END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-11-12T16:09:45.000000Z K 7 svn:log V 205 MFC revisions 1.75: Make ukbd_getc respect non-blocking behavior if one is requested; 1.76: Do not pass an address of local stack variable to usbd_set_report_async. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-12T17:05:37.000000Z K 7 svn:log V 76 MFC 1.6: correct handling of off-channel frames Approved by: re (kensmith) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-11-12T17:33:07.000000Z K 7 svn:log V 176 - Fix the ktr header regexp so we match lines with very large indexes. - Add support for messages where cpu load is added to a remote cpu. - print unmatched lines to stdout END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2007-11-12T17:52:00.000000Z K 7 svn:log V 60 Manual page for the asmc driver. Approved by: njl (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-12T18:57:33.000000Z K 7 svn:log V 204 Correct a stack overflow which will trigger panics when mode= is specified, caused by incorrect format string specified to vfs_scanopt() and subsequently vsscanf(). Pointed out by: kib Submitted by: des END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-11-12T19:59:22.000000Z K 7 svn:log V 14 Some cleanup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-12T20:02:21.000000Z K 7 svn:log V 584 write(1) needs to strip off the leading /dev/ from the tty name for the current tty as returned from ttyname(3) so it can try to avoid writing to the current tty if possible. Previously, it did this by trimming off any leading directory (effectively performing a basename(3) on the path returned from ttyname(3)). However, this chopped off too much of the path for ttys who have directories in their name such as pts(4). Instead, just strip off the leading /dev/ from the path returned by ttyname(3). This fixes write(1) when using pts(4). MFC after: 1 week Reported by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-12T21:51:38.000000Z K 7 svn:log V 267 Move the agp(4) driver from sys/pci to sys/dev/agp. __FreeBSD_version was bumped to 800004 to note the change though userland apps should not be affected since they use rather than the headers in sys/dev/agp. Discussed with: anholt Repocopy by: simon END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-12T23:47:48.000000Z K 7 svn:log V 292 Add a missing priv check in key_attach to prevent non-su users from messing with the spdb and sadb. Problem sneaked in with the fast_ipsec+v6->ipsec merger by no longer going via raw_usrreqs.pr_attach. Reported by: Pawel Worach Identified by: rwatson Reviewed by: rwatson MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-12T23:53:43.000000Z K 7 svn:log V 232 Though we are currently not interested in the EDD3 flag, Enhanced Disk Drive Specification Ver 3.0 defines that the version of extension in AH would be 30h. Correct the check for that to be >=30h instead of >3h. MFC after: 2 months END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-13T01:30:40.000000Z K 7 svn:log V 41 Include agpreg.h from it's new location. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-11-13T04:10:30.000000Z K 7 svn:log V 169 Back out the last change, RELENG_6 doesn't have PTS support yet and its not clear when it will come in. So un-hiding these devices has no effect. Reported by: delphij END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-13T08:59:29.000000Z K 7 svn:log V 223 In sys/netipsec/keysock.c rev. 1.19 a missing priv check was added. Before that non-su users were able to open pfkey sockets as well. Add a regression test so we can detect such problems in an automated way in the future. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-13T11:23:52.000000Z K 7 svn:log V 6 Sort. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-13T11:31:53.000000Z K 7 svn:log V 97 Assorted tiny mdoc(7) fixes: - Sort sections. - Fix xrefs. - Fix some misusages of some macros. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-13T11:34:20.000000Z K 7 svn:log V 113 - Steal short description from POSIX; it's more technical and was easier to translate. - Fix some markup nits. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-11-13T15:19:35.000000Z K 7 svn:log V 268 correct a minor bug when printing the list of files excluded. This does not prevent the build but it is nicer to do it right. (the problem affects also HEAD and RELENG_7 but there is probably a lot more to be fixed there in order to produce buildable picobsd images). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-11-13T15:23:10.000000Z K 7 svn:log V 201 Unbreak building picobsd's login now that login_access.c is not more available in usr.bin/login (fixes to HEAD and RELENG_7 will be committed after i have cleaned up the picobsd build infrastructure). END K 10 svn:author V 6 grehan K 8 svn:date V 27 2007-11-13T15:47:55.000000Z K 7 svn:log V 322 Split decr_init() into two, with the section that reads the timebase frequency from OpenFirmware moved out and into a routine that is called from cpu_startup(). This allows correct reporting of the CPU clockspeed when printing out CPU information at boot time. Reported by: numerous Reviewed by: marcel MFC after: 1 day END K 10 svn:author V 4 rink K 8 svn:date V 27 2007-11-13T16:12:59.000000Z K 7 svn:log V 474 Remove the IEEE80211_C_WEP capability flag - setting it makes net80211 expect that the driver will handle WEP encryption. However, this does not seem to be implemented by this driver (or maybe the chipset doesn't support it?) Removing the flag makes my wpi card work using wpa_supplicant(8) on a network with 802.1x security (without this change it authenticated fine, but tcpdump only saw garbage packets) Reviewed by: benjsc, imp (mentor) Approved by: imp (mentor), sam END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-11-13T16:27:29.000000Z K 7 svn:log V 35 Document hardware wpi(4) supports. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-11-13T16:40:23.000000Z K 7 svn:log V 28 Cleanup, mostly typo fixes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-11-13T16:42:22.000000Z K 7 svn:log V 13 Xref wpi(4). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-13T18:54:35.000000Z K 7 svn:log V 58 Add instructions about how to upgrade less in base system END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-13T19:34:06.000000Z K 7 svn:log V 108 o Do not leak inodes hash table at module unload. PR: kern/118017 Submitted by: Ighighi MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-13T20:26:27.000000Z K 7 svn:log V 6 Sort. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-11-13T23:00:24.000000Z K 7 svn:log V 985 Drastically simplify the i386 pcpu backend by merging parts of the amd64 mechanism over. Instead of page table hackery that isn't actually needed, just use 'struct pcpu __pcpu[MAXCPU]' for backing like all the other platforms do. Get rid of 'struct privatespace' and a while mess of #ifdef SMP garbage that set it up. As a bonus, this returns the 4MB of KVA that we stole to implement it the old way. This also allows you to read the pcpu data for each cpu when reading a minidump. Background information: Originally, pcpu stuff was implemented as having per-cpu page tables and magic to make different data structures appear at the same actual address. In order to share page tables, we switched to using the GDT and %fs/%gs to access it. But we still did the evil magic to set it up for the old way. The "idle stacks" are not used for the idle process anymore and are just used for a few functions during bootup, then ignored. (excercise for reader: free these afterwards). END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-11-14T01:10:12.000000Z K 7 svn:log V 142 MFC: Add support for non-portable adaptive mutexes, as well as experimental support for spinning/yielding loops. Approved by: re@ (kensmith) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-14T04:48:58.000000Z K 7 svn:log V 49 Reserve a bit for use when capturing callchains. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-14T05:10:45.000000Z K 7 svn:log V 70 MFC addition of "freebsd-update upgrade". Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-14T05:20:28.000000Z K 7 svn:log V 58 Sync with HEAD: MFC "freebsd-update upgrade", mdoc fixes. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-11-14T05:42:54.000000Z K 7 svn:log V 391 Fix picobsd builds. Changes include: - use proper make configuration for the build, using ${BINMAKE} as evaluated by ${VERSION}/src/Makefile - remove -lmytinfo from crunch.conf - remove support for login_access in tinyware/login - remove "machine i386" from the kernel config file It might actually be interesting to extend the script to do a cross build for !i386 ... MFC after: 3 days END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-11-14T05:43:55.000000Z K 7 svn:log V 529 Apply the same sort of locking done in sys/dev/acpica/acpi.c rev 1.196 a while ago: Grab Giant around calls to DEVICE_SUSPEND/RESUME in acpi_SetSleepState(). If we are resuming non-MPSAFE drivers, they need Giant held for them. This may fix some obscure suspend/resume problems. It has fixed keyrate setting problems that were triggered by cardbus (MPSAFE) changing the ordering for syscons resume (non-MPSAFE). Also, add some asserts that Giant is held in our suspend/resume and shutdown methods. Submitted by: Marko Zec END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-11-14T06:04:57.000000Z K 7 svn:log V 63 Make sure there is a good default thread name for all threads. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-11-14T06:21:24.000000Z K 7 svn:log V 225 generally we are interested in what thread did something as opposed to what process. Since threads by default have teh name of the process unless over-written with more useful information, just print the thread name instead. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-11-14T06:51:33.000000Z K 7 svn:log V 91 A bunch more files that should probably print out a thread name instead of a process name. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-11-14T07:38:22.000000Z K 7 svn:log V 220 Fix build of the "package" target, ignoring non existing floppy types (in fact, we have only one left!) Also cleanup some code, using || and && in some places, and using "export VAR=value" instead of two separate lines. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-14T09:52:15.000000Z K 7 svn:log V 202 MFC rev 1.7 nfsmb.c Add SMB support for the MCP61 chipset. PR: 108830 Submitted by: Edwin Mons Approbed by: imp (mentor) Approved by: imp (mentor, implicit) END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-11-14T09:54:48.000000Z K 7 svn:log V 142 MFC: Add support for non-portable adaptive mutexes, as well as experimental support for spinning/yielding loops. Approved by: re@ (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-11-14T11:25:58.000000Z K 7 svn:log V 227 - Merge all the ng_send_fn2* functions into one - ng_send_fn2(), removing some copy&pasted code. - Reduce copy and paste in ng_apply_item(). - Resurrect ng_send_fn() as a valid symbol, not a define. Reviewed by: mav, julian END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-14T11:52:44.000000Z K 7 svn:log V 277 MFC: rev 1.19 sys/netipsec/keysock.c Add a missing priv check in key_attach to prevent non-su users from messing with the spdb and sadb. Problem sneaked in with the fast_ipsec+v6->ipsec merger by no longer going via raw_usrreqs.pr_attach. Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-11-14T12:29:09.000000Z K 7 svn:log V 117 MFi386: revision 1.661 Drastically simplify the i386 pcpu backend by merging parts of the amd64 mechanism over. END K 10 svn:author V 6 benjsc K 8 svn:date V 27 2007-11-14T12:51:02.000000Z K 7 svn:log V 69 Add wlan_amrr to the required devices/modules Submitted By: glebius END K 10 svn:author V 6 grehan K 8 svn:date V 27 2007-11-14T16:41:31.000000Z K 7 svn:log V 306 MFC: Split decr_init() into two, with the section that reads the timebase frequency from OpenFirmware moved out and into a routine that is called from cpu_startup(). This allows correct reporting of the CPU clockspeed when printing out CPU information at boot time. Approved by: re (Ken Smith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-14T19:18:40.000000Z K 7 svn:log V 93 MFC: 1.32: Fix numerous bugs when parsing options and arguments. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-14T19:22:42.000000Z K 7 svn:log V 72 MFC: 1.35: Fix documentation to match code. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-14T19:24:10.000000Z K 7 svn:log V 87 MFC: Apply style(9) to usage(), fix markup of the manpage. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-14T19:25:05.000000Z K 7 svn:log V 58 MFC: Fix various markup nits. Approved by: re (kensmith) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-14T19:40:56.000000Z K 7 svn:log V 232 MFC rev 1.7 nfsmb.c Add SMB support for the MCP61 chipset. PR: 108830 Submitted by: Edwin Mons Approbed by: imp (mentor) Approved by: imp (mentor, implicit) Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-11-14T20:21:54.000000Z K 7 svn:log V 416 o Rename cpu_thread_setup() to cpu_thread_alloc() to better communicate that it relates to (is called by) thread_alloc() o Add cpu_thread_free() which is called from thread_free() to counter-act cpu_thread_alloc(). i386: Have cpu_thread_free() call cpu_thread_clean() to preserve behaviour. ia64: Have cpu_thread_free() call mtx_destroy() for the mutex initialized in cpu_thread_alloc(). PR: ia64/118024 END K 10 svn:author V 4 brix K 8 svn:date V 27 2007-11-14T21:19:15.000000Z K 7 svn:log V 77 Add reload functionality. PR: conf/116659 Approved by: sam, erwin (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-14T21:21:48.000000Z K 7 svn:log V 157 Remove a bogus KASSERT which will prevent rwlock to be acquired recursively in exclusive mode with debugging kernels. Submitted by: kmacy Approved by: jeff END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-14T21:28:48.000000Z K 7 svn:log V 103 correct MIMO power save action frame format; this one really is from the D2.04 spec MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-11-14T22:58:36.000000Z K 7 svn:log V 229 Bring in FSF revision 1.9 (Change type of ps_strings from int to u_long). This fixes a situation where GDB gives incorrect backtraces when a signal handler is in the call chain. Submitted by: Stu Grossman END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-11-14T22:58:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r173619, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-14T23:33:41.000000Z K 7 svn:log V 36 MFC: revision 1.30 Approved by: re END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-11-15T02:13:44.000000Z K 7 svn:log V 204 When forking, the new thread deserves a name too. Don't just use the td_startcopy section as it is not the right thing to do in other cases (e.g. if starting a new thread from one that is already named). END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-15T06:23:33.000000Z K 7 svn:log V 83 Revise the markup and apply some wordsmithing. Reviewed by: pjd MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-15T06:31:18.000000Z K 7 svn:log V 84 Briefly document what the -c option of the "label" command does. MFC after: 3 days END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-11-15T06:35:26.000000Z K 7 svn:log V 73 This time REALLY copy the name from the proc to the thread as a default. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-15T07:10:04.000000Z K 7 svn:log V 227 MFC rev 1.96 if_re.c Add support for D-Link DGE-528(T) Rev.B1 PR: 112774 Submitted by: Denis Fortin Approved by: imp (mentor), yongari MFC After: 3 days Approved by: imp (mentor, implicit) END K 10 svn:author V 2 se K 8 svn:date V 27 2007-11-15T07:31:11.000000Z K 7 svn:log V 137 Fix (uncritical) potential buffer overflow: the length of "buf" was not extended when "jaiL" was added to fmt_flags(). MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-11-15T10:38:06.000000Z K 7 svn:log V 208 MFC rev. 1.139 of src/sys/compat/linux/linux_ioctl.c, rev. 1.27 of src/sys/compat/linux/linux_ioctl.h: Implement LINUX_SIOCGIFCOUNT and LINUX_SIOCGIFINDEX/LINUX_SIOGIFINDEX. Approved by: re (kensmith) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-11-15T13:28:54.000000Z K 7 svn:log V 232 Adds an event handler for: - process_ctor,dtor, init and fini - thread_ctor,dtor, init and fini This allows the ability to add on additional things during construction/destruction of threads and processes. Reviewed by: rwatson END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-11-15T14:16:20.000000Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-11-15T14:20:07.000000Z K 7 svn:log V 238 - Adds event handlers for process_ctor,process_dtor, process_init, process_fini, thread_ctor, thread_dtor, thread_init, thread_fini. This will allow us to extend dynamically areas in proc/thread for dtrace ;-) Reviewed by: rwatson END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-11-15T15:03:17.000000Z K 7 svn:log V 232 - Fixes a bug in rwnd handling that would cause an incorrect rwnd advertisement during low mem conditions. - Fixes a compile error on mac-os (signedness stuff). - Touches up some comments. Approved by: re@freebsd.org (Ken Smith) END K 10 svn:author V 2 se K 8 svn:date V 27 2007-11-15T15:14:16.000000Z K 7 svn:log V 97 Add ZFS to list of file system types to scan when building the locate db. Approved by: re (ken) END K 10 svn:author V 2 se K 8 svn:date V 27 2007-11-15T15:18:44.000000Z K 7 svn:log V 95 MFC: Increase string buffer to account for addition of "jail" to flags. Approved by: re (ken) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-15T15:46:35.000000Z K 7 svn:log V 275 MFC another adjustment to the X related distributions based on xorg-7.3 layout. xorg-printserver still exists in the ports tree but it's marked as depreciated and scheduled for removal. Versions MFCed: dist.c: 1.252 dist.h: 1.70 menus.c: 1.428 Approved by: re (bmah) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-15T15:56:59.000000Z K 7 svn:log V 85 MFC: Teach ps(1) to parse pts TT values for the -t flag. Approved by: re (kensmith) END K 10 svn:author V 4 rink K 8 svn:date V 27 2007-11-15T16:18:05.000000Z K 7 svn:log V 1292 MFC Approved by: imp (mentor) rink 2007-08-05 16:55:40 UTC FreeBSD src repository Modified files: lib/libdisk open_disk.c Log: Improve error handling in libdisk while parsing the kern.geom.conftxt sysctl. Previously, any parse error will result in the calling program exiting with an unpleasant message. This change will cause libdisk to issue a warning and ignore lines it cannot parse instead of bluntly terminating the unfortunate enough program. This change will allow you to use sysinstall if you have a NTFS parition with a space in the name (such as 'Win Xp'). In such a case, a line like the following will appear in the kern.geom.conftxt output: 2 LABEL ntfs/Win Xp 209818635264 512 i 0 o 0 As the fields are space-separated, libdisk would go beserk and exit the program. This would happen if using FreeBSD 7.0 snapshot images (as GEOM_LABEL is in the installation kernel as well), thus making it impossible to install FreeBSD without renaming your NTFS paritions. Reported by: Dwight Berendse Nod from: phk Reviewed by: imp Approved by: re (bmah), imp (mentor) MFC after: 1 month Revision Changes Path 1.11 +38 -19 src/lib/libdisk/open_disk.c END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T16:22:59.000000Z K 7 svn:log V 53 Add ttys lines for pts/0-pts/255. MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-11-15T16:23:38.000000Z K 7 svn:log V 64 Fix a change in the previous commit that was actually a type-o. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-11-15T16:27:59.000000Z K 7 svn:log V 86 MFC rev 1.29: Add structures and definitions to support new drivers. Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-11-15T16:29:33.000000Z K 7 svn:log V 50 MFC rev 1.37: Add ATA defintions Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-15T16:58:45.000000Z K 7 svn:log V 293 MFC another adjustment to the X related distributions based on xorg-7.3 layout. xorg-printserver still exists in the ports tree but it's marked as depreciated and scheduled for removal. Versions MFCed: dist.c: 1.252 dist.h: 1.70 menus.c: 1.428 END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-15T16:59:29.000000Z K 7 svn:log V 450 MFC (revision 1.54): Limit total playback channels to just 1, for ALi M5451. The reliability of it's multi DAC / playback channels is not that good. Enabling vchans make the bug more visible since playback allocation will look for possible free hardware channels first (i.e: the next DAC, the very first has been consumed by vchan mixer) which in this case has been proven faulty. Reported / Tested by: Sascha Klauder Approved by: re (kensmith) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-15T16:59:54.000000Z K 7 svn:log V 422 MFC (revision 1.54): Limit total playback channels to just 1, for ALi M5451. The reliability of it's multi DAC / playback channels is not that good. Enabling vchans make the bug more visible since playback allocation will look for possible free hardware channels first (i.e: the next DAC, the very first has been consumed by vchan mixer) which in this case has been proven faulty. Reported / Tested by: Sascha Klauder END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-15T17:10:18.000000Z K 7 svn:log V 56 Get ready for BETA3 builds. Approved by: re (implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-15T17:45:46.000000Z K 7 svn:log V 254 MFC rev 1.96 if_re.c Add support for D-Link DGE-528(T) Rev.B1 PR: 112774 Submitted by: Denis Fortin Approved by: imp (mentor), yongari MFC After: 3 days Approved by: imp (mentor, implicit) Approved by: re (kensmith) END K 10 svn:author V 2 se K 8 svn:date V 27 2007-11-15T18:59:46.000000Z K 7 svn:log V 60 MFC: Extend buffer to match maximum possible string length. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T19:27:12.000000Z K 7 svn:log V 1622 Merge OpenBSM 1.0 from HEAD to RELENG_6: OpenBSM 1.0 - Fix bug in auditreduce(8) which resulted in a memory fault/crash when the user specified an event name with -m. - Remove AU_.* hard-coded audit class constants, as udit classes are now entirely dynamically configured using /etc/security/audit_class. OpenBSM 1.0 alpha 15 - Fix bug when processing in_addr_ex tokens. - Restore the behavior of printing the string/text specified while auditing arg32 tokens. - Synchronized audit event list to Solaris, picking up the *at(2) system call definitions, now required for FreeBSD and Linux. Added additional events for *at(2) system calls not present in Solaris. - Bugs in auditreduce(8) fixed allowing partial date strings to be used in filtering events. OpenBSM 1.0 alpha 14 - Fix endian issues when processing IPv6 addresses for extended subject and process tokens. - gcc41 warnings clean. - Teach audit_submit(3) about getaudit_addr(2). - Add support for zonename tokens. OpenBSM 1.0 alpha 13 - compat/clock_gettime.h now provides a compatibility implementation of clock_gettime(), which fixes building on Mac OS X. - Countless man page improvements, markup fixes, content fixs, etc. - XML printing support via "praudit -x". - audit.log.5 expanded to include additional BSM token types. - Added encoding and decoding routines for process64_ex, process32_ex, subject32_ex, header64, and attr64 tokens. - Additional audit event identifiers for listen, mlockall/munlockall, getpath, POSIX message queues, and mandatory access control. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T19:28:32.000000Z K 7 svn:log V 583 Merge OpenBSM 1.0 parts into src/sys/bsm in RELENG_6: - Remove AU_.* hard-coded audit class constants, as udit classes are now entirely dynamically configured using /etc/security/audit_class. - Synchronized audit event list to Solaris, picking up the *at(2) system call definitions, now required for FreeBSD and Linux. Added additional events for *at(2) system calls not present in Solaris. - Add support for zonename tokens. - Additional audit event identifiers for listen, mlockall/munlockall, getpath, POSIX message queues, and mandatory access control. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T19:29:39.000000Z K 7 svn:log V 275 Merge audit_bsm_token.c:1.11 from HEAD to RELENG_6: Merge OpenBSM 1.0 alpha 14 changes to src/sys/security/audit: - au_to_attr64(), au_to_process64(), au_to_subject64(), au_to_subject64_ex(), au_to_zonename(), au_to_header64_tm(). - Extended address token fixes. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T19:30:37.000000Z K 7 svn:log V 102 Merge audit_bsm_token.c:1.12 from HEAD to RELENG_6: Remove $P4$ that snuck into CVS from Perforce. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T19:31:15.000000Z K 7 svn:log V 295 Merge audit.c:1.35, audit_bsm_klib.c:1.8 from HEAD to RELENG_6: Replace use of AU_NULL with 0 when no audit classes are in use; this supports the removal of hard-coded audit class constants in OpenBSM 1.0. All audit classes are now dynamically configured via the audit_class database. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T19:39:49.000000Z K 7 svn:log V 120 Merge audit_bsm_token.c:1.13 from HEAD to RELENG_6: synchronize white space to congruent user-space code in OpenBSM. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T19:59:54.000000Z K 7 svn:log V 289 Merge audit.c:1.31, audit_arg.c:1.14, audit_bsm.c:1.18 from HEAD to RELENG_6: Clean up, and sometimes remove, a number of audit-related implementation comments. Note that because of other unrelated changes in HEAD, some portions of audit.c:1.31 can't be merged verbatim (or at all). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-15T20:06:58.000000Z K 7 svn:log V 90 Merge audit.c:1.32 from HEAD to RELENG_6: Spell statistics more correctly in comments. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-15T20:20:54.000000Z K 7 svn:log V 87 MFC: Make it easier to add more ptys to the pty(4) driver. Approved by: re (kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-15T20:20:55.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-15T21:45:17.000000Z K 7 svn:log V 125 Acquire the process mutex and spin locks before calling thread_exit() in kthread_exit() to fix panics when using INVARIANTS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-15T22:00:57.000000Z K 7 svn:log V 251 Add support for cross double fault frames in stack traces: - Populate the register values for the trapframe put on the stack by the double fault handler. - Teach DDB's trace routine to treat a double fault like other trap frames. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-15T22:39:15.000000Z K 7 svn:log V 319 Fix bad rule and bad dependency for nsparser.h that can cause the build to fail because y.tab.c can have a more recent modification time than y.tab.h, and the bad rule relied on the opposite. (The last write to y.tab.c by yacc(1) happens after the last write to y.tab.h, according to truss(1).) Reported by: kensmith END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-11-15T23:59:36.000000Z K 7 svn:log V 194 Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems will not install without the usb changes in the install kernel, so I would like to MFC this in time for 7.0 RC MFC: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-11-16T04:03:08.000000Z K 7 svn:log V 39 Catch up to changes in rescue on ia64. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2007-11-16T04:29:01.000000Z K 7 svn:log V 218 MFC: Import two binutils header files from FSF 2.15 branch. These fix binutils compilation on i386/amd64 with GCC 4.1 and have no other effect. This fixes RELENG_6 build on RELENG_7/HEAD. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-16T07:18:12.000000Z K 7 svn:log V 160 MFC: 1.70: Fix bad rule and bad dependency for nsparser.h that can cause the build to fail by "replacing" it with bsd.dep.mk rules. Approved by: re (kensmith) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-16T10:25:36.000000Z K 7 svn:log V 569 IEEE 802.3 Annex 28B.3 explicitly specifies the following relative priorities of the technologies supported by 802.3 Selector Field value. 1000BASE-T full duplex 1000BASE-T 100BASE-T2 full duplex 100BASE-TX full duplex 100BASE-T2 100BASE-T4 100BASE-TX 10BASE-T full duplex 10BAST-T However PHY drivers didn't honor the order such that 100BASE-T4 had higher priority than 100BASE-TX full duplex. Fix that long standing bugs such that have PHY drivers choose the highest common denominator ability. Fix a bug in dcphy which inadvertently aceepts 100BASE-T4. PR: 92599 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-16T10:32:10.000000Z K 7 svn:log V 70 Read MII_ANAR register and get common denominator ability. PR: 92599 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-16T10:39:18.000000Z K 7 svn:log V 138 Reset autonegotation timer if media option is not IFM_AUTO. Make mii_ticks advance, autonegiation is retried every mii_anegticks seconds. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-11-16T11:22:18.000000Z K 7 svn:log V 631 MFP4(128855, 129015): - Trying to eliminate another racing by replacing the timeout(9) with callout APIs. In addition to that, the callout_drain() in an_detach() help us to avoid a possible panic-on-free due to the callout API tries to lock a destroyed mutex. - In an_stats_update(), check the return value of an_read_record(). This should reduce the chance of device removal(PCCARD) panic [2]. - Adding a comment to state the fact that an_stats_update() is now called via callout(9) with a lock held [2]. Submitted by: jhb [1], ambrisko [2] Reviewed by: jhb, ambrisko Reported by: dhw Tested by: dhw MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-16T13:14:27.000000Z K 7 svn:log V 180 The i386 disc1 size wandered above what fits on 650Mb media which has been our target previously. So i386 joins the others that have switched over to a separate livefs iso image. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-16T13:33:38.000000Z K 7 svn:log V 189 Insta-MFC of v1.927 so it can be part of 7.0-BETA3 build. Shift i386 (and pc98, it's over disc1 size target as well) over to having a separate livefs iso image. Approved by: re (rwatson) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-16T13:57:41.000000Z K 7 svn:log V 595 Fix "freebsd-update rollback" applied to minor-version upgrades: Old shared object files which have the same name as currently-installed shared object files should be reinstalled after binaries are rolled back. The order for rolling back updates is therefore 1. Install any old shared object files which can be installed without overwriting a new shared object file. 2. Rollback everything which isn't a shared object or kernel file. 3. Rollback any shared object files which we didn't deal with in (1). 4. Rollback to the old kernel. Bug reported by: Jan Henrik Sylvester MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-16T14:00:22.000000Z K 7 svn:log V 64 Add change missing from previous commit: Remove temporary file. END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-11-16T15:13:12.000000Z K 7 svn:log V 124 Fix bug in handling SDP continuation state. Reported by: Eric Millbrandt emillbrandt at coldhaus dot com MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-16T15:51:47.000000Z K 7 svn:log V 106 use the private task q thread instead of the shared system thread Reviewed by: yongari MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-11-16T16:39:27.000000Z K 7 svn:log V 287 Do not report MAC, TX, and RX stats via sysctl(8) with BCM5705+. The register layout is little different from memory-mapped stats in the previous generation chips. In fact, it is bad because registers in this range are cleared after reading them. Reviewed by: scottl MFC after: 3 days END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-11-16T17:40:24.000000Z K 7 svn:log V 144 Fix exit code when using -l on a non-existent md(4) device. PR: conf/116177 Submitted by: Remi Guyomarch MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-16T19:43:26.000000Z K 7 svn:log V 54 o s/resiserfs_sb/reiserfs_sb/. Submitted by: Ighighi END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-11-16T20:49:34.000000Z K 7 svn:log V 443 Make VPD register access more robust: - Implement timing out of VPD register access.[1] - Fix an off-by-one error of freeing malloc'd space when checksum is invalid. - Fix style(9) bugs, i.e., sizeof cannot be followed by space. - Retire now obsolete 'hw.pci.enable_vpd' tunable. Submitted by: cokane (initial revision)[1] Reviewed by: marius (intermediate revision) Silence from: jhb, jmg, rwatson Tested by: cokane, jkim MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-16T21:24:45.000000Z K 7 svn:log V 321 Remove empty setup and cleanup functions for the pfkey test. Add regression tests for privileged and supposedly unprivileged IP_IPSEC_POLICY,IPV6_IPSEC_POLICY setsockopt cases. We may need to review the current 'good' results to make sure they reflect what we really want. Discussed with: rwatson Reviewed by: rwatson END K 10 svn:author V 3 ups K 8 svn:date V 27 2007-11-16T21:24:54.000000Z K 7 svn:log V 313 MFC: nfs_socket.c 1.148 Log: NetApp filers return corrupt post op attrs in the wcc on NFS error responses. This is easy to reproduce for EROFS. I am not sure if the attrs can be corrupt for other NFS error responses. For now, disabling wcc pre-op attr checks and post-op attr loads on NFS errors (sysctl'ed). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-16T22:17:37.000000Z K 7 svn:log V 569 Teach kgdb how to handle double fault frames on i386: - Save td_oncpu in 'struct kthr' so the i386 target code can see which CPU a thread is running on. - Add a new frame unwinder for double fault frames. This unwinder is used when "dblfault_handler" is encountered in the stack. It uses the CPU of the current thread to lookup the base address of the TSS used for the double fault from the GDT. It then fetches the various registers out of the TSS similar to how the current trapframe unwinder fetches registers out of the trapframe. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-16T22:22:17.000000Z K 7 svn:log V 28 Virgin import of less v415. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-16T22:22:17.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r173682, 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 2007-11-16T22:22:18.000000Z K 7 svn:log V 73 This commit was manufactured by cvs2svn to create tag 'less-vendor-v415'. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-16T22:24:31.000000Z K 7 svn:log V 62 Resolve conflicts; Update defines.h to reflect latest change. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-16T22:26:10.000000Z K 7 svn:log V 46 Nuke file removed from author's distribution. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-16T22:26:10.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r173686, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-16T22:28:00.000000Z K 7 svn:log V 25 Mention less v415 update END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-16T22:35:33.000000Z K 7 svn:log V 214 Move the priv check before the malloc call for so_pcb. In case attach fails because of the priv check we leaked the memory and left so_pcb as fodder for invariants. Reported by: Pawel Worach Reviewed by: rwatson END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-17T16:19:48.000000Z K 7 svn:log V 29 o Fix a typo in the comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-17T16:45:38.000000Z K 7 svn:log V 122 MFC: Rename the private lookup() routine in kthr.c to kgdb_lookup() and make it public so other parts of kgdb can use it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-17T16:49:45.000000Z K 7 svn:log V 23 MFC: Document -w flag. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-17T16:50:20.000000Z K 7 svn:log V 44 MFC: Some minor whitespace and style fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-17T16:51:58.000000Z K 7 svn:log V 58 MFC: Add the bump of the doc date missed in previous MFC. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-17T17:05:01.000000Z K 7 svn:log V 239 o Mask maximum file permissions we get from mount_ntfs -m with ACCESSPERMS. Document in mount_ntfs(8) only the nine low-order bits of mask are used (taken from mount_msdosfs(8)). PR: kern/114856 Submitted by: Ighighi MFC after: 1 month END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-17T17:25:22.000000Z K 7 svn:log V 136 Add a kernel config file for the Hot-e HL200 (AT91RM92 based). Many thanks to John Nicholls from Thinklinx for sending sample hardware. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-17T17:32:40.000000Z K 7 svn:log V 118 Add a trailing \0 to the read error string so that read errors don't print out two error messages. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-17T18:22:57.000000Z K 7 svn:log V 450 MFC: sys/arm/xscale/ixp425/ixp425_npe.c rev 1.6 sys/arm/xscale/ixp425/if_npe.c rev 1.6 sys/arm/xscale/ixp425/ixp425_npevar.h rev 1.2 date: 2007/05/24 16:31:22; author: sam; state: Exp; lines: +3 -3 Search for a proper ucode image to use by incrementing the minor release number up to the max. This should eliminate the need to tweak the default imageid define for later releases that are found on the Intel web site. Approved by: re (kensmith) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-17T18:24:46.000000Z K 7 svn:log V 219 MFC arm/xscale/ixp425/files.ixp425 up to rev 1.4, add IxNpeMicrocode.dat.uu Now that Intel changed the license for the NPE firmware, import it directly hexed into our tree, instead of requiring the user to download it. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-17T18:41:04.000000Z K 7 svn:log V 86 There's no reason why we couldn't attach to a live process on arm. MFC After: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-17T20:24:58.000000Z K 7 svn:log V 66 Swap "source"/"target" where appropriate, to match documentation. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-17T21:01:22.000000Z K 7 svn:log V 93 Express in the usage() and SYNOPSIS that -F depends on -s, and that -f and -i are exclusive. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-17T21:27:53.000000Z K 7 svn:log V 33 Add arm support in libthread_db. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-17T21:29:02.000000Z K 7 svn:log V 55 Build libthread_db for arm as well. MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-17T21:30:03.000000Z K 7 svn:log V 47 Add thread support for arm. MFC After: 1 week END K 10 svn:author V 4 oleg K 8 svn:date V 27 2007-11-17T21:54:57.000000Z K 7 svn:log V 600 - New sysctl variable: net.inet.ip.dummynet.io_fast If it is set to zero value (default) dummynet module will try to emulate real link as close as possible (bandwidth & latency): packet will not leave pipe faster than it should be on real link with given bandwidth. (This is original behaviour of dummynet which was altered in previous commit) If it is set to non-zero value only bandwidth is enforced: packet's latency can be lower comparing to real link with given bandwidth. - Document recently introduced dummynet(4) sysctl variables. Requested by: luigi, julian MFC after: 3 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-17T22:14:29.000000Z K 7 svn:log V 204 Re-add $FreeBSD$ lost during vendor merge of OpenBSM 1.0 to RELENG_6. No $FreeBSD$ tags in the vendor code, but we need them in FreeBSD to support mergemaster and related tools. Spotted by: Pawel Worach END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-17T22:52:29.000000Z K 7 svn:log V 1206 Prevent the leakage of wired pages in the following circumstances: First, a file is mmap(2)ed and then mlock(2)ed. Later, it is truncated. Under "normal" circumstances, i.e., when the file is not mlock(2)ed, the pages beyond the EOF are unmapped and freed. However, when the file is mlock(2)ed, the pages beyond the EOF are unmapped but not freed because they have a non-zero wire count. This can be a mistake. Specifically, it is a mistake if the sole reason why the pages are wired is because of wired, managed mappings. Previously, unmapping the pages destroys these wired, managed mappings, but does not reduce the pages' wire count. Consequently, when the file is unmapped, the pages are not unwired because the wired mapping has been destroyed. Moreover, when the vm object is finally destroyed, the pages are leaked because they are still wired. The fix is to reduce the pages' wired count by the number of wired, managed mappings destroyed. To do this, I introduce a new pmap function pmap_page_wired_mappings() that returns the number of managed mappings to the given physical page that are wired, and I use this function in vm_object_page_remove(). Reviewed by: tegge MFC after: 6 weeks END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-17T23:09:39.000000Z K 7 svn:log V 123 Use printf formats which match the variable types without casts so we can go back to using -Werror in higher WARNS levels. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-17T23:14:06.000000Z K 7 svn:log V 123 Use uintptr_t to cast a pointer to an integer to avoid compiler warnings on processors where sizeof(void *) > sizeof(int). END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-17T23:17:05.000000Z K 7 svn:log V 76 Fix a compiler warning by using a printf format matching the variable type. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-17T23:21:38.000000Z K 7 svn:log V 56 Use variable types which match the function prototypes. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T00:15:32.000000Z K 7 svn:log V 47 MFC Add pathname to the linker_file structure. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T00:23:31.000000Z K 7 svn:log V 161 Add a function to list symbols in a file and their values at the same time rather than having to list the symbols and then go back and look each one up by name. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T00:25:18.000000Z K 7 svn:log V 24 Fix a compiler warning. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T00:29:36.000000Z K 7 svn:log V 137 Reduce the WARNS levels in a couple of places so that we can enable -Werror at higher WARNS levels like we did before gcc4 was imported. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T00:33:23.000000Z K 7 svn:log V 51 Use a cast that doesn't create a compiler warning. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T01:53:07.000000Z K 7 svn:log V 127 Reduce the WARNS level to avoid a compiler warning about a variable possibly being clobbered by a longjmp or a fork with gcc4. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T02:20:02.000000Z K 7 svn:log V 116 Constify the first argument to expand_number() so that it can be called with a const without the compiler grisling. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-11-18T03:14:06.000000Z K 7 svn:log V 126 MFi386: revision 1.18 Add a trailing \0 to the read error string so that read errors don't print out two error messages. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T03:17:56.000000Z K 7 svn:log V 49 Fix signed/unsigned comparison compiler warning. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T03:29:10.000000Z K 7 svn:log V 97 This makefile builds contrib code, so I won't try to fix all the casts from pointer to int here. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T03:45:55.000000Z K 7 svn:log V 83 Use a NULL instead of a zero to avoid a compiler warning about a missing sentinel. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-18T04:40:42.000000Z K 7 svn:log V 52 MFp4: Fix several style(9) bugs. Submitted by: des END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-18T04:52:40.000000Z K 7 svn:log V 865 MFp4: Several fixes to tmpfs which makes it to survive from pho@'s strees2 suite, to quote his letter, this change: 1. It removes the tn_lookup_dirent stuff. I think this cannot be fixed, because nothing protects vnode/tmpfs node between lookup is done, and actual operation is performed, in the case the vnode lock is dropped. At least, this is the case with the from vnode for rename. For now, we do the linear lookup in the parent node. This has its own drawbacks. Not mentioning speed (that could be fixed by using hash), the real problem is the situation where several hardlinks exist in the dvp. But, I think this is fixable. 2. The patch restores the VV_ROOT flag on the root vnode after it became reclaimed and allocated again. This fixes MPASS assertion at the start of the tmpfs_lookup() reported by many. Submitted by: kib END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-18T09:13:08.000000Z K 7 svn:log V 151 Use an explicit pointer cast since NULL isn't guaranteed to be defined as a pointer type. Submitted by: Christoph Mallon - christoph mallon at gmx de END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-18T09:18:20.000000Z K 7 svn:log V 37 o Fix Dd format. Pointed out by: ru END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-18T09:21:30.000000Z K 7 svn:log V 94 o English lesson from bde@: "iff" is not a typo, it means "if and only if". Backout previous. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-11-18T11:03:29.000000Z K 7 svn:log V 178 MFC IPFilter update from 4.1.13 to 4.1.28, including additional fixes applied post 4.1.28 for FreeBSD. See src/contrib/ipfilter/HISTORY for more details of the bugs fixed, etc. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-18T11:03:30.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-11-18T11:59:44.000000Z K 7 svn:log V 192 Use LC_ALL=C before awk generating "optionlist" (and before two other awk calls, just to be safe) Without it sorting is broken for locales with ASCII collating equivalence like (v,w) in sv_SE END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-11-18T13:56:51.000000Z K 7 svn:log V 68 - Add in missing event handler invokes for initial proc and thread. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-18T14:43:53.000000Z K 7 svn:log V 298 Expand lock class with the "virtual" function lc_assert which will offer an unified way for all the lock primitives to express lock assertions. Currenty, lockmgrs and rmlocks don't have assertions, so just panic in that case. This will be a base for more callout improvements. Ok'ed by: jhb, jeff END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-11-18T14:44:52.000000Z K 7 svn:log V 178 Add generic support for chipsets that say they support AHCI. This should catch new chipsets that we dont know but that we should support. Add a few new PCI id's. Misc cleanups. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-11-18T18:11:16.000000Z K 7 svn:log V 496 Let sunkbd(4) emulate an AT keyboard by default. This has the following benefits: - allows to use the AT keyboard maps in share/syscons/keymaps with sunkbd(4), - allows to use kbdmux(4) with sunkbd(4), - allows Sun RS232 keyboards to be configured and used the same way as Sun USB keyboards driven by ukbd(4) (which also does AT keyboard emulation) with X.Org, putting an end to the problem of native support for the former in X.Org being broken over and over again. MFC after: 3 days END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-18T18:11:17.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-18T18:11:18.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-11-18T18:44:35.000000Z K 7 svn:log V 15 Capitalization END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T00:19:01.000000Z K 7 svn:log V 136 Reduce the WARNS level across the board due to a warning that occurs on at least arm and sparc64. i386/pc98, ia64 and amd64 are all OK. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-11-19T00:48:39.000000Z K 7 svn:log V 70 Updates to build infrastructure for the MFC of IPFilter into RELENG_6 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-19T02:09:07.000000Z K 7 svn:log V 71 MFlibthr: In _pthread_key_create() ensure that libkse is initialized. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T03:16:16.000000Z K 7 svn:log V 155 Define atomic_cmpset_acq_long and atomic_cmpset_rel_long so that they use casts rather than just assuming that the compiler will DTRT without complaining. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-19T04:46:37.000000Z K 7 svn:log V 450 o expand usage comments; add cut&paste items for bozo's like me o add things i want to TODO list o add Record entry to each event which back-maps to the line # in the ktr file; useful for finding local context when the ktr file has lots of items that schedgraph doesn't grok o add missing KTR_SCHED event handlers o expose Counter max value through a ymax method for widget building o show timestamps in records rejected 'cuz time goes backwards END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T07:34:57.000000Z K 7 svn:log V 260 __builtin_stdarg_start was renamed to __builtin_va_start a long time ago (2002 according to the gcc log). Using the proper name fixes a warning in src/lib/libc/gen/ulimit.c about the second argument of va_start() not being the last named (when it really was). END