ım217000 198 321 321 221 246 592 535 644 644 374 191 130 163 163 341 464 332 184 329 215 146 257 367 143 489 229 122 194 342 282 202 198 279 329 277 157 245 128 151 172 125 235 299 299 158 568 124 254 164 273 290 434 157 158 186 237 224 147 151 152 174 138 184 260 378 721 243 310 237 171 178 123 252 281 219 203 200 388 279 720 464 200 227 213 181 193 212 212 165 126 126 251 123 159 134 135 298 300 224 178 154 229 392 208 162 181 162 162 162 162 334 181 372 135 174 175 149 149 174 207 244 141 166 321 660 539 387 123 184 321 142 170 184 162 920 168 232 190 522 99 221 192 381 462 263 224 704 709 538 236 224 190 624 561 704 231 501 219 209 354 141 212 357 479 183 179 174 214 283 600 499 219 457 146 280 608 317 551 159 642 323 216 195 250 225 153 277 271 291 139 180 141 580 302 139 219 310 209 430 K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T12:27:52.960838Z K 7 svn:log V 225 MFC: r216802 - Move the macros for generating load and store instructions to asmacros.h so they can be shared by different source files and extend them by a variant for atomic compare and swap. - Consistently use EMPTY. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T12:27:57.139322Z K 7 svn:log V 225 MFC: r216802 - Move the macros for generating load and store instructions to asmacros.h so they can be shared by different source files and extend them by a variant for atomic compare and swap. - Consistently use EMPTY. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-05T12:45:11.653236Z K 7 svn:log V 128 MFC r216793: Add sysctl vm.md_malloc_wait, non-zero value of which switches malloc-backed md(4) to using M_WAITOK malloc calls. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-05T12:47:42.389831Z K 7 svn:log V 153 MFC r216794: Add reporting of GEOM::candelete BIO_GETATTR for md(4) and geom_disk(4). Non-zero value of attribute means that device supports BIO_DELETE. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T13:26:26.386772Z K 7 svn:log V 496 MFC: r216820 - Add CPUTYPE support for sparc64. The net result is that it's now possible to let the compiler optimize for the famility of UltraSPARC-III CPUs as the default already was to optimize for UltraSPARC-I/II and generating generic 64-bit V9 is mainly for reference purposes. At least for SPARC64-V CPUs code optimized for UltraSPARC-I/II still is the most performant one. Thanks go to Michael Moll for testing SPARC64-V. - Move a booke MACHINE_CPU bit into the right section. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T13:36:59.464382Z K 7 svn:log V 439 MFC: r216820 (partial) Add CPUTYPE support for sparc64. The net result is that it's now possible to let the compiler optimize for the famility of UltraSPARC-III CPUs as the default already was to optimize for UltraSPARC-I/II and generating generic 64-bit V9 is mainly for reference purposes. At least for SPARC64-V CPUs code optimized for UltraSPARC-I/II still is the most performant one. Thanks go to Michael Moll for testing SPARC64-V. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T13:40:35.548115Z K 7 svn:log V 548 MFC: r216891 Extend the section in which interrupts are disabled in the TLB demap functions, otherwise if we get preempted after checking whether a certain pmap is active on the current CPU but before disabling interrupts we might operate on an outdated state as the pmap might have been deactivated in the meantime. As the same issue may arises when the TLB demap function is interrupted by a TLB demap IPI, just entering a critical section before the check isn't sufficient so we have to fully disable interrupts instead. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T13:40:40.859462Z K 7 svn:log V 548 MFC: r216891 Extend the section in which interrupts are disabled in the TLB demap functions, otherwise if we get preempted after checking whether a certain pmap is active on the current CPU but before disabling interrupts we might operate on an outdated state as the pmap might have been deactivated in the meantime. As the same issue may arises when the TLB demap function is interrupted by a TLB demap IPI, just entering a critical section before the check isn't sufficient so we have to fully disable interrupts instead. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-05T13:50:37.701222Z K 7 svn:log V 281 MFC r216799: Move the increment of vm object generation count into vm_object_set_writeable_dirty(). Merge two loops in vm_object_page_clean(), doing the removal of write permission and cleaning in the same loop. Clear the OBJ_MIGHTBEDIRTY flag after the cleaning loop, not before. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T14:33:48.174399Z K 7 svn:log V 96 Remove a redundant variable assignment found with the clang static analyzer. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T14:51:04.421684Z K 7 svn:log V 35 Fix whitespace. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-05T15:09:10.044340Z K 7 svn:log V 71 MFH r216690: Hold root mounting while metadata module waits for disks. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-05T15:10:58.797003Z K 7 svn:log V 71 MFH r216690: Hold root mounting while metadata module waits for disks. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-05T15:28:30.851284Z K 7 svn:log V 245 Teach ifconfig(8) the handy shared option shortcut aliases the NetBSD counterpart also takes, i.e. "fdx" for "full-duplex", "flow" for "flowcontrol", "hdx" for "half-duplex" as well as "loop" and "loopback" for "hw-loopback". MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-05T15:43:43.783602Z K 7 svn:log V 371 Make `geom XXX list` and `geom XXX status` outputs more consistent: Add -a options to print all geoms, not only ones with providers. Add -g option for `status` to report geom's names, not provider's. Make `status` by default report provider's status (if present), not geom's. Make `status` report consumer's statuses, not only "synchronized" field. Discussed with: pjd@ END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-01-05T17:10:10.675702Z K 7 svn:log V 239 MFC r211397: Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru syd.odn.ne.jp> Approved by: re (kib) END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-01-05T18:27:38.782454Z K 7 svn:log V 92 The camcontrol smppc option to clear a PHY error log is 'clearerrlog', not 'clearerrorlog'. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-05T18:46:05.131780Z K 7 svn:log V 231 Fix the experimental NFS server to use vfs_busyfs() instead of vfs_getvfs() so that the mount point is busied for the VFS_FHTOVP() call. This is analagous to r185432 for the regular NFS server. Reviewed by: kib MFC after: 12 days END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-05T18:52:30.504215Z K 7 svn:log V 122 Fix binary compatability for netstats across the -x/-T changes that have been previously MFC'd. Reviewed by: rwatson, bz END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-05T19:25:31.737886Z K 7 svn:log V 54 Update netstat to handle uint64_t based stats for -T. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-05T19:26:30.617335Z K 7 svn:log V 162 MFC r216892 from head (Which is an MFi386 of r216012 by kib) Calling fill_fpregs() for curthread is legitimate, and ELF coredump does this. Discussed with: kib END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-05T19:31:52.731179Z K 7 svn:log V 274 MFC: 213327 Change the output of mctest to give a summary of the results instead of printing a long list. Add a default base port, and default mulitcast address to the runner script. Add support for specifying a different local and remote interface in the runner script. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-05T19:33:16.840100Z K 7 svn:log V 51 MFC: 215409 Fix an error in our results printing. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-05T19:35:35.193990Z K 7 svn:log V 391 Modify the experimental NFS server so that it calls vn_start_write() with a non-NULL vp. That way it will find the correct mount point mp and use that mp for the subsequent vn_finished_write() call. Also, it should fail without crashing if the mount point is being forced dismounted because vn_start_write() will set the mp NULL via VOP_GETWRITEMOUNT(). Reviewed by: kib MFC after: 12 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-05T19:53:48.522593Z K 7 svn:log V 128 Fix a bug involving hidden PLT symbols on powerpc64 systems by importing the 64-bit section of the change in binutils PR 11088. END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-01-05T21:17:14.351120Z K 7 svn:log V 30 Fix typo: March -> September. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-05T21:23:26.728428Z K 7 svn:log V 101 Sort -mno-(mmx|3dnow|sse|sse2|sse3) options consistently throughout the tree. Submitted by: arundel END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-01-05T21:38:02.976209Z K 7 svn:log V 244 Fix null string handling in ofw_real_nextprop function. Pass the right length to ofw_real_map in case of a null string. This makes ofwdump(8) work correctly when trying to print all properties with ofwdump -p. Approved by: nwhitehorn (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-05T21:46:08.509434Z K 7 svn:log V 189 Remove superfluous -mno-(mmx|3dnow|sse|sse2|sse3) flags in Makefiles under sys/boot/{i386,pc98}, since these are already added via sys/boot/{i386,pc98}/Makefile.inc. Submitted by: arundel END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-05T22:00:37.250354Z K 7 svn:log V 109 In lib/libstand, sys/boot/ficl and sys/boot/zfs, -mno-sse3 should also be used for amd64, not just for i386. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-05T22:12:06.205857Z K 7 svn:log V 105 Remove an empty .if/.endif pair from sys/boot/ficl/Makefile that I forgot to cleanup in the last commit. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-05T22:14:18.566638Z K 7 svn:log V 184 MFC r216892 from head (Which is an MFi386 of r216012 by kib) Calling fill_fpregs() for curthread is legitimate, and ELF coredump does this. Discussed with: kib Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-05T22:15:57.562476Z K 7 svn:log V 236 Remove ancient simulation code. Skyeye simulation never really worked quite right and hasn't been used in ages and is likely broken. QEMU with GUMSTIX is a more promising road to FreeBSD/arm in emulation anyway. Reviewed by: cognet@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-05T22:24:33.762899Z K 7 svn:log V 184 On i386 and amd64, consistently use the following options whenever we want to avoid using any "advanced" CPU features: -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-01-05T23:15:22.363171Z K 7 svn:log V 62 Update firmware to more recent versions. MFC after: 3 months END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-05T23:17:29.035162Z K 7 svn:log V 149 sh: Do not call exitshell() from evalcommand() unless evalcommand() forked itself. This ensures that certain traps caused by builtins are executed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-05T23:45:07.989007Z K 7 svn:log V 36 Remove support for SKYEYE simulator END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T02:21:14.973405Z K 7 svn:log V 51 Actually return the error code if we had an error. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T02:36:29.018084Z K 7 svn:log V 72 Check for cntrl-C, errors, user choosing "Don't Save" in partedit, etc. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2011-01-06T03:30:16.063671Z K 7 svn:log V 29 Remove leftover for r214093. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T03:36:04.625349Z K 7 svn:log V 134 Add an entry to the gpart XML to determine if the geom has pending changes that need to be committed (or undone). MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T03:56:01.623803Z K 7 svn:log V 198 Use the newly-available "modified" attribute in gpart to determine if we have to do anything. This avoids an unnecessary warning due to an EPERM trying to commit/undo changes on an unmodified geom. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T03:57:25.186117Z K 7 svn:log V 198 Use the newly-available "modified" attribute in gpart to determine if we have to do anything. This avoids an unnecessary warning due to an EPERM trying to commit/undo changes on an unmodified geom. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-06T04:05:25.302307Z K 7 svn:log V 61 Fix a whitespace nit. MFC after: 1 week X-MFC with: r216995 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T04:12:29.956284Z K 7 svn:log V 467 Import support for the Sony Playstation 3 using the OtherOS feature available on firmwares 3.15 and earlier. Caveats: Support for the internal SATA controller is currently missing, as is support for framebuffer resolutions other than 720x480. These deficiencies will be remedied soon. Special thanks to Peter Grehan for providing the hardware that made this port possible, and thanks to Geoff Levand of Sony Computer Entertainment for advice on the LV1 hypervisor. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T04:38:10.133928Z K 7 svn:log V 24 Improve error handling. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-01-06T07:13:23.398397Z K 7 svn:log V 160 - Show textual representation of ioctl command in warning message if ioctl(4) is failed besides the command number. Suggested by: delphij MFC after: 2 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2011-01-06T08:13:30.655187Z K 7 svn:log V 68 Return 0 instead of garbage value. Found by: clang static analyzer END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-01-06T08:33:48.340269Z K 7 svn:log V 178 Get rid of bad advice regarding /* NOTREACHED */. Compilers don't really need it (one can use __dead2 instead), and style(9) was not even consistent with itself in this regard. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-01-06T09:34:22.581486Z K 7 svn:log V 198 MFC r216919: MFp4 186485, 186859: Fix a race by defining two tasks in the zio structure as we can still be returning from issue task when interrupt task is used. Reviewed by: pav Approved by: pav END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T12:34:18.084879Z K 7 svn:log V 336 MFC r200288, r200346, r200352: Make minidump work on i386/XEN. Note that r200288 and r200346 touched i386/i386/dump_machdep.c, but in that file r200346 was a back-out of r200288; so the fact that dump_machdep.c has moved to the x86 tree is not a problem. In the !XEN case the files under i386/i386 are unchanged after preprocessing. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T13:02:29.443768Z K 7 svn:log V 60 MFC r216703: Make i386/XEN not panic when mlock(2) is used. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T13:09:02.978280Z K 7 svn:log V 61 MFC r216762: Don't panic when exiting gstat or 'mdconfig -l' END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T13:21:38.723717Z K 7 svn:log V 89 MFC r216790: Fix Xen console spew: "no input to read" != an infinite supply of \0 bytes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T14:12:24.385941Z K 7 svn:log V 136 Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is built for both architectures. We need a better solution here. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T14:19:29.709857Z K 7 svn:log V 126 MFC r216812: Implement xenpic_dynirq_disable_intr and thereby avoid a kernel panic when a disk is detached from a XEN system. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T15:26:06.746547Z K 7 svn:log V 50 MFC r216843-216847: Fix i386_set_ldt on i386/XEN. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-06T16:25:08.914670Z K 7 svn:log V 58 MFC: r216940 Fix parameters for wakeup(9) and tsleep(9). END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-06T17:28:31.726479Z K 7 svn:log V 57 Remove an unused variable accidentally added in r216803. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-06T18:00:34.205700Z K 7 svn:log V 81 MFC: r216940 Fix parameters for wakeup(9) and tsleep(9). Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-06T18:23:36.537272Z K 7 svn:log V 38 Make error handling a little cleaner. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-01-06T19:17:29.439137Z K 7 svn:log V 90 Support the Uniform Industrial Corp (UIC) MSR206 Magnetic Card Reader. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T19:32:00.341455Z K 7 svn:log V 167 - Use macbstart_locked() directly instead of deferring it to a task. - Expand locking scope in interrupt handler. - Flesh out the detach routine. Reviewed by: cognet END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-06T19:50:11.007629Z K 7 svn:log V 280 Since the VFS_LOCK_GIANT() code in the experimental NFS server is broken and the major file systems are now all mpsafe, modify the server so that it will only export mpsafe file systems. This was discussed on freebsd-fs@ and removes a fair bit of crufty code. MFC after: 12 days END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-06T20:05:24.165073Z K 7 svn:log V 623 tests: sort & fix includes, remove -include from CFLAGS of acct tests - Sort the includes of pack.c, moving sys/*.h files near the top. - Add a couple of missing #include lines, and remove the need for custom -include options in the CFLAGS of the test Makefile. - Remove the ad-hoc 'all' target, but keep its 'regress' bits for testing. - Convert the ad-hoc 'clean' target to proper CLEANFILES stuff, so that the normal bsd.prog.mk machinery can clean up. - Use `make -V .OBJDIR' to detect the place where 'pack' lives, so that regress.t works both with and without 'make obj'. Reviewed by: uqs MFC after: 1 week END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-01-06T20:19:01.454244Z K 7 svn:log V 145 Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-06T20:31:33.181076Z K 7 svn:log V 212 Delete the NFS_STARTWRITE() and NFS_ENDWRITE() macros that obscured vn_start_write() and vn_finished_write() for the old OpenBSD port, since most uses have been replaced by the correct calls. MFC after: 12 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-06T20:50:16.669623Z K 7 svn:log V 141 Help static analysis by initializing variables that we know cannot be used uninitialized, but which cannot be inferred from the code itself. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T21:02:14.755143Z K 7 svn:log V 79 Remove an unnecessary INTR_MPSAFE and a comment suggesting it was unnecessary. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T21:03:55.563350Z K 7 svn:log V 86 - Add a proper return value to mv_gpio_intr(). - Remove an obsolete use of INTR_FAST. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-06T21:04:00.759568Z K 7 svn:log V 31 No need to genreate these here END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-06T21:07:51.333365Z K 7 svn:log V 159 Make this work on big endian MIPS, while not breaking it for small endian mips. This will also make it work automatically on all future big endian platforms. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T21:08:06.268214Z K 7 svn:log V 188 Remove bogus usage of INTR_FAST. "Fast" interrupts are now indicated by registering a filter handler rather than a threaded handler. Also remove a bogus use of INTR_MPSAFE for a filter. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-06T21:09:22.018585Z K 7 svn:log V 126 Don't require /usr/lib/aout to be on the system. Test for its existance since we don't generally need it. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T21:14:34.943806Z K 7 svn:log V 110 Retire the INTR_FAST flag as it was obsoleted by the introduction of the filter argument to bus_setup_intr(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T22:09:37.435132Z K 7 svn:log V 107 Retire PCONFIG and leave the priority of thread0 alone when waiting for interrupt config hooks to execute. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T22:17:07.678426Z K 7 svn:log V 295 - Restore dropping the priority of syncer down to PPAUSE when it is idle. This was lost when it was converted to using a condition variable instead of lbolt. - Drop the priority of flowtable down to PPAUSE when it is idle as well since it is a similar background task. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T22:19:15.417275Z K 7 svn:log V 186 Only change the priority of timeshare threads to PRI_MAX_TIMESHARE when yield() is called. Specifically, leave the priority of real time and idle threads unchanged. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T22:24:00.557403Z K 7 svn:log V 627 - Move sched_fork() later in fork() after the various sections of the new thread and proc have been copied and zeroed from the old thread and proc. Otherwise attempts to modify thread or process data in sched_fork() could be undone. - Don't copy td_{base,}_user_pri from the old thread to the new thread in sched_fork_thread() in ULE. This is already done courtesy the bcopy() of the thread copy region. - Always initialize the real priority (td_priority) of new threads to the new thread's base priority (td_base_pri) to avoid bogusly inheriting a borrowed priority from the parent thread. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-06T22:26:00.178761Z K 7 svn:log V 371 - Properly initialize the base priority (td_base_pri) of thread0 to PVM to match the desired priority in td_priority. Otherwise the first time thread0 used a borrowed priority it would drop down to PUSER instead of PVM. - Explicitly initialize the starting priority of new kprocs to PVM to avoid inheriting some random priority from thread0. MFC after: 2 weeks END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T22:52:52.880732Z K 7 svn:log V 102 MFS r217051: Fix panic when mlock(2) is used on i386/XEN. PR: kern/140313 Approved by: re (rwatson) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T22:53:55.885572Z K 7 svn:log V 129 MFS r217052: Fix a panic when gstat exits or when 'mdconfig -l' is run, on i386/XEN. PR: kern/141328 Approved by: re (rwatson) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T22:54:48.694448Z K 7 svn:log V 115 MFS r217053: Fix the Xen console to not spew \0 bytes when there is no input available. Approved by: re (rwatson) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T22:55:53.208441Z K 7 svn:log V 84 MFS r217055: Don't panic when a disk is detached on XEN. Approved by: re (rwatson) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-06T22:57:06.134411Z K 7 svn:log V 96 MFS r217056: Make i386_set_ldt work (rather than panic) on i386/XEN. Approved by: re (rwatson) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-07T01:46:27.134657Z K 7 svn:log V 114 MFC r210144 (originally committed by imp): Put warnings out to stderr rather than stdout. Approved by: re (kib) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-07T01:50:25.462370Z K 7 svn:log V 114 MFC r210144 (originally committed by imp): Put warnings out to stderr rather than stdout. Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-01-07T08:34:12.251196Z K 7 svn:log V 71 Restore comment describing /* NOTREACHED */, updated to match reality. END K 10 svn:author V 5 brian K 8 svn:date V 27 2011-01-07T08:42:58.950955Z K 7 svn:log V 32 MFC r216832: Make -S functional END K 10 svn:author V 5 brian K 8 svn:date V 27 2011-01-07T08:45:56.857702Z K 7 svn:log V 32 MFC r216832: Make -S functional END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-01-07T10:59:22.986884Z K 7 svn:log V 159 Warn if rules could not be read from a ruleset file. Now at least something gets logged if the file has syntax errors. PR: conf/91342 Silence on: freebsd-rc END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-07T11:43:45.195417Z K 7 svn:log V 31 Added new SU+J test scenarios. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-07T11:45:57.283117Z K 7 svn:log V 67 Changed this scenario to use geli, which demonstrates the problem. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-07T11:49:05.673401Z K 7 svn:log V 42 Change program name from rename5 to suj2. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-07T12:16:17.405303Z K 7 svn:log V 43 The newfs needs to be inside the for loop. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-07T14:03:28.830022Z K 7 svn:log V 200 MFC r216944,r216963,r216960: Improve the stability of the i386/XEN pmap code by correctly protecting page mapping queue variables within a critical section and by adding ham-fisted locking to pmap.c. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-01-07T14:17:29.054467Z K 7 svn:log V 208 MFC r216919: MFp4 186485, 186859: Fix a race by defining two tasks in the zio structure as we can still be returning from issue task when interrupt task is used. Reviewed by: pjd Approved by: re (kib), pjd END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T14:22:34.293768Z K 7 svn:log V 131 Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the initial stack protection set by the kernel image activator. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T14:24:24.208529Z K 7 svn:log V 86 Make gcc emit the .note.GNU-stack section into the assembler files. Reviewed by: kan END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T14:28:54.295854Z K 7 svn:log V 62 Emit .note.GNU-stack for the syscall stubs generated by libc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T14:32:29.525244Z K 7 svn:log V 136 Introduce make variable ACFLAGS used to supply additional flags to cc driver when compiling assembler source file that is preprocessed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T14:35:45.902436Z K 7 svn:log V 299 On amd64 and i386, force assembler to mark objects compiled from the assembler source for libcompiler_rt as not needed executable stack. This is done with a hammer instead of properly marking each assembly file with section .note.GNU-stack to avoid modifying contributed source. Discussed with: ed END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T15:59:23.389602Z K 7 svn:log V 115 Fix braino in r217101. -Wa is used to supply assembler flag to cc driver. Noted by: Anonymous END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T16:07:05.848138Z K 7 svn:log V 70 Add section .note.GNU-stack for assembly files used by 386 and amd64. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-07T16:07:29.001045Z K 7 svn:log V 89 Use a regular taskqueue rather than a fast taskqueue for mxge(4). Reviewed by: gallatin END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T16:07:51.903041Z K 7 svn:log V 70 Add section .note.GNU-stack for assembly files used by 386 and amd64. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T16:08:40.653610Z K 7 svn:log V 70 Add section .note.GNU-stack for assembly files used by 386 and amd64. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T16:09:33.986963Z K 7 svn:log V 70 Add section .note.GNU-stack for assembly files used by 386 and amd64. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-07T16:13:12.314542Z K 7 svn:log V 70 Add section .note.GNU-stack for assembly files used by 386 and amd64. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-07T16:46:20.269391Z K 7 svn:log V 241 Fix a memory overflow where the input length to g_gpt_utf8_to_utf16() was specified incorrectly, causing the bzero to run past the end of a malloc(9)'d object. Submitted by: Eric Youngblut < eyoungblut AT isilon DOT com > MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-07T16:47:20.883964Z K 7 svn:log V 89 Use a regular taskqueue for dummynet rather than a "fast" taskqueue. Reviewed by: luigi END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-07T16:51:47.299476Z K 7 svn:log V 271 Split application of configuration and setting up ssh, etc. into two scripts and allow the user to set the system time zone by running tzsetup in a chroot. The 'time' script could potentially allow setting the system clock as well, depending on how fancy we want to get. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-07T16:54:29.894015Z K 7 svn:log V 35 Missed a file and an svn property. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-07T18:14:58.862187Z K 7 svn:log V 82 Adjust ARP hold queue locking. Submitted by: Rozhuk Ivan, jhb MFC after: 2 weeks END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-07T18:32:03.102700Z K 7 svn:log V 78 MFC r216983: Fix typo in comment. Approved by: Warner Losh END K 10 svn:author V 5 brian K 8 svn:date V 27 2011-01-07T18:33:26.250513Z K 7 svn:log V 55 MFC r216832: Make -S functional Approved by: re (kib) END K 10 svn:author V 5 brian K 8 svn:date V 27 2011-01-07T18:34:09.456965Z K 7 svn:log V 55 MFC r216832: Make -S functional Approved by: re (kib) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-07T18:41:32.131226Z K 7 svn:log V 77 MFC 216983: Fix typo in comment. Approved by: Warner Losh END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-07T18:41:59.872440Z K 7 svn:log V 109 Don't try to free an unassigned pointer. Submitted by: Paul B Mahol MFC after: 1 week END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-01-07T18:52:08.988939Z K 7 svn:log V 150 - Save some space relying on the fact that all ioctl commands prefixes are the same. Suggested by: "Carlos A. M. dos Santos" END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-07T18:54:08.184133Z K 7 svn:log V 49 Sync: merge r216827 through r217118 from ^/head. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2011-01-07T20:02:05.189203Z K 7 svn:log V 74 Fix a memory leak in ARP queues. Pointed out by: jhb@ MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-07T20:07:30.285721Z K 7 svn:log V 223 MFC: r216692 Simplify vnode locking in the expeimental NFS server's readdir functions. In particular, get rid of two bogus VOP_ISLOCKED() calls. Removing the VOP_ISLOCKED() calls is the only actual bug fixed by this patch. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-07T20:26:33.009358Z K 7 svn:log V 567 Retire TARGET_ABI. Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-07T20:31:47.443261Z K 7 svn:log V 441 MFC: r216693 Add an argument to nfsvno_getattr() in the experimental NFS server, so that it can avoid calling VOP_ISLOCKED() when the vnode is known to be locked. This will allow LK_SHARED to be used for these cases, which happen to be all the cases that can use LK_SHARED. This does not fix any bug, but it reduces the number of calls to VOP_ISLOCKED() and prepares the code so that it can be switched to using LK_SHARED in a future patch. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-07T20:36:27.192831Z K 7 svn:log V 294 make targets This produces a list of currently supported targets. Here "supported" means "built in make universe" on the theory that those targets are more supported than any that might work in 'make buildworld TARGET=x TARGET_ARCH=y' since the latter are less tested. Suggested by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-07T21:40:34.843128Z K 7 svn:log V 31 Trim extra spaces before tabs. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-07T22:34:56.044603Z K 7 svn:log V 92 kern/153772 fix variable names. Thank you Andrew Boyer for catching these MFC in 3 days END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-01-07T22:57:31.318794Z K 7 svn:log V 227 Remove unused support for 64 bit long on 32 bit architectures. It was used mainly to discover and fix some 64-bit portability problems before 64-bit arches were widely available. Discussed with: bde Approved by: kib (mentor) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-07T22:58:12.852242Z K 7 svn:log V 50 Fix to kern/150247 - make ixgbe buildable for 7.x END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-01-07T23:11:19.412682Z K 7 svn:log V 73 MFS r217050: Make minidumps work on i386/XEN. Approved by: re (rwatson) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-07T23:19:13.480328Z K 7 svn:log V 92 kern/150247 - virtualization code also needs fix for 7.X to be buildable... MFC in 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-07T23:39:41.588779Z K 7 svn:log V 70 CSUM flags need to be OS version sensitive in ixv code MFC in 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-08T00:03:18.885493Z K 7 svn:log V 824 sed: Try hard links to make -i target available continually. When creating a backup file, sed renamed the original before renaming the changed copy into place, leading to a short time when no file with the original name was present (usually only visible on SMP systems). Try creating the backup file using a hard link instead, avoiding this problem. If creating the hard link fails for any reason, fall back to the old rename method. When not creating a backup file, sed already renamed the changed copy onto the original. This remains unchanged. I am not adding the suppression of redundant fchown/fchmod to this commit, because FreeBSD appears to check this in the kernel (for msdosfs at least). PR: bin/153261 Submitted by: Pedro F. Giffuni Reviewed by: dds (older version) Obtained from: Illumos MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-08T00:06:22.250909Z K 7 svn:log V 73 sed: Add test for r217133 (-i race). PR: bin/153261 MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-08T00:44:17.125594Z K 7 svn:log V 140 Clarify when we switch from keepidle to keepinvtl intervals if sending TCP keepalive probes is enabled. Reviewed by: gnn MFC After: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-08T00:48:00.903670Z K 7 svn:log V 90 Change the way files destined for the new system's /etc are stored and add a missed file. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-08T01:11:14.052358Z K 7 svn:log V 424 MFC: r216700 Modify the experimental NFS server so that it uses LK_SHARED for RPC operations when it can. Since VFS_FHTOVP() currently always gets an exclusively locked vnode and is usually called at the beginning of each RPC, the RPCs for a given vnode will still be serialized. As such, passing a lock type argument to VFS_FHTOVP() would be preferable to doing the vn_lock() with LK_DOWNGRADE after the VFS_FHTOVP() call. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-08T01:15:32.118191Z K 7 svn:log V 4 MFC END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-08T01:39:43.087801Z K 7 svn:log V 120 Most users want network access. Although them to configure it from the installer even if this is not a network install. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-01-08T01:57:23.857467Z K 7 svn:log V 96 Use ether_ntoa instead of home-grown version. Noticed by: Boris Kochergin END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-08T02:23:59.959412Z K 7 svn:log V 289 Move the uint64_t to were the padding was before, rather than before all pad. Keep them to the end so that the two pad[]s are kept together. This should restore ABI as well on platforms, where sizeof(void *) != sizeof(uint64_t) after r216968, r217018. Reviewed by: gnn, jhb, lstewart END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-08T08:58:46.785007Z K 7 svn:log V 368 - Change ipoib functions from primarily ifnet passing to primarily softc passing. Virtually every function just took the ifnet and immediately looked up the softc anyway. This further allows me to allocate a seperate softc for each vlan interface while using the device file created by if_vlan.c. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T10:56:58.144978Z K 7 svn:log V 170 Fix struct FILE * leak on error (in disabled by default hesiod support code). Submitted by: henning petersen PR: 153756 MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T11:04:30.793856Z K 7 svn:log V 131 Fix some style(9) issues. Do not use strlcpy() where simple assignment is enough. Noted by: bde (long time ago) MFC after: 1 week END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-01-08T11:13:34.207172Z K 7 svn:log V 610 Fix types of some values in machine/_limits.h. On some architectures UCHAR_MAX and USHRT_MAX had type unsigned int. However, lacking integer suffixes for types smaller than int, their type should correspond to that of an object of type unsigned char (or short) when used in an expression with objects of type int. In that case unsigned char (short) are promoted to int (i.e. signed) so the type of UCHAR_MAX and USHRT_MAX should also be int. Where MIN/MAX constants implicitly have the correct type the suffix has been removed. While here, correct some comments. Reviewed by: bde Approved by: kib (mentor) END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-01-08T11:47:55.333351Z K 7 svn:log V 615 On 32 bit architectures define (u)int64_t as (unsigned) long long instead of (unsigned) int __attribute__((__mode__(__DI__))). This aligns better with macros such as (U)INT64_C, (U)INT64_MAX, etc. which assume (u)int64_t has type (unsigned) long long. The mode attribute was used because long long wasn't standardised until C99. Nowadays compilers should support long long and use of the mode attribute is discouraged according to GCC Internals documentation. The type definition has to be marked with __extension__ to support compilation with "-std=c89 -pedantic". Discussed with: bde Approved by: kib (mentor) END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-01-08T12:43:05.031361Z K 7 svn:log V 444 On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than architecture macros (__mips_n64, __powerpc64__) when 64 bit types (and corresponding macros) are different from 32 bit. [1] Correct the type of INT64_MIN, INT64_MAX and UINT64_MAX. Define (U)INTMAX_C as an alias for (U)INT64_C matching the type definition for (u)intmax_t. Do this on all architectures for consistency. Suggested by: bde [1] Approved by: kib (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-01-08T13:28:43.403367Z K 7 svn:log V 143 Document rc.conf.d in rc.conf(5). PR: 140495 Submitted by: Tom Judge (tom of tomjudge com) Approved by: keramida (mentor) MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-08T15:59:14.913472Z K 7 svn:log V 123 Media selection just makes things complicated. If we have the distfiles, install them. If we don't, download them. Simple. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T16:02:14.955481Z K 7 svn:log V 98 Collect code to translate between vm_prot_t and p_flags into helper functions. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T16:13:44.752467Z K 7 svn:log V 531 Create shared (readonly) page. Each ABI may specify the use of page by setting SV_SHP flag and providing pointer to the vm object and mapping address. Provide simple allocator to carve space in the page, tailored to put the code with alignment restrictions. Enable shared page use for amd64, both native and 32bit FreeBSD binaries. Page is private mapped at the top of the user address space, moving a start of the stack one page down. Move signal trampoline code from the top of the stack to the shared page. Reviewed by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T16:30:59.507650Z K 7 svn:log V 468 In elf image activator, read and apply the stack protection mode from PT_GNU_STACK program header, if present and enabled. Two new sysctls are provided, kern.elf32.nxstack and kern.elf64.nxstack, that allow to enable PT_GNU_STACK for ABIs of specified bitsize, if ABI decided to support shared page. Inform rtld about access mode of the stack initial mapping by AT_STACKPROT aux vector. At the moment, the default is disabled, waiting for the usermode support bits. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T17:11:49.003666Z K 7 svn:log V 611 In rtld, read the initial stack access mode from AT_STACKPROT as set by kernel, and parse PT_GNU_STACK phdr from linked and loaded dsos. If the loaded dso requires executable stack, as specified by PF_X bit of p_flags of PT_GNU_STACK phdr, but current stack protection does not permit execution, the __pthread_map_stacks_exec symbol is looked up and called. It should be implemented in libc or threading library and change the protection mode of all thread stacks to be executable. Provide a private interface _rtld_get_stack_prot() to export the stack access mode as calculated by rtld. Reviewed by: kan END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T17:13:43.559934Z K 7 svn:log V 138 Implement __pthread_map_stacks_exec() callback for libc, to change the stack protection to allow execution for single-threaded processes. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-01-08T18:00:19.825715Z K 7 svn:log V 407 Rename PRIreg helper macro to PRIptr to better reflect its use. Registers and pointers don't always have the same size, e.g. the __mips_n32 ABI (ILP32) has 64 bit registers but 32 bit pointers. On mips introduce PRIptr to fix the format specifier for (u)intptr_t. Prefix PRI64 and PRIptr with underscores because macro names starting with PRI[a-zX] are reserved for future use. Approved by: kib (mentor) END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-01-08T18:02:46.739163Z K 7 svn:log V 125 White space changes to align comments. The mips and powerpc _inttypes.h are now exactly the same. Approved by: kib (mentor) END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-01-08T18:09:48.120712Z K 7 svn:log V 115 Copy powerpc/include/_inttypes.h to x86 and replace i386/amd64/pc98 headers with stubs. Approved by: kib (mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-08T18:30:06.657931Z K 7 svn:log V 253 Provide a real build system that installs this software into real places. Subscripts go in /usr/libexec/bsdinstall, and the main bsdinstall binary goes in /usr/sbin. Also modify bsdinstall to run the "auto" verb by default if no other command is given. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-08T18:31:23.579921Z K 7 svn:log V 41 Update README to reflect current status. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-08T18:41:19.842346Z K 7 svn:log V 119 Use the same expression to report stack protection mode for AT_STACKEXEC as the expression used by exec_new_vmspace(). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-08T18:51:15.900427Z K 7 svn:log V 260 Revert r216805. That revision is introducing a bug which is more visible than problems it is trying to fix. As long as my time is very limited in this period I am going to commit back this patch just once it is fully fixed. Reported by: dim, Nicholas Esborn END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-08T19:49:27.520389Z K 7 svn:log V 387 MFC r216861: Mfp4 CH177924: Add and export constants of array sizes of jail parameters as compiled into the kernel. This is the least intrusive way to allow kvm to read the (sparse) arrays independent of the options the kernel was compiled with. Reviewed by: jhb (originally) MFC after: 1 week Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-08T19:50:13.303066Z K 7 svn:log V 83 Make RB_CDROM work. This should probably check for a disc in cd1 and acd1 as well. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-08T20:25:00.429431Z K 7 svn:log V 82 More elegant way to detect MBR vs. GPT Submitted by: nwhitehorn Approved by: imp END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-08T20:25:13.503559Z K 7 svn:log V 74 Various improvements for running from read-only media (e.g. install CDs). END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-08T21:02:27.296740Z K 7 svn:log V 122 MFC r216856: Print the vnet pointer under DDB when iterating over flowtables of each virtual network stack instance. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-08T21:37:43.955086Z K 7 svn:log V 191 MFC r216859: Use NULL rather than 0 to invalidate a pointer. Rather than duplicating the LLE_FREE_LOCKED() macro code in LLE_FREE(), call it directly (like we do for the RT_* macros). END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-08T22:08:23.894057Z K 7 svn:log V 508 MFC r216855: Move the increment operation under the lock and split the condition variable into two so that we can see on which one we are waiting. This might also more properly propagate the update of the flowclean_cycles flag and avoid "hangs" people were seeing. Suggested by: rwatson [1] Sponsored by: ISPsystem [1] Reviewed by: julian [1] Updated by: Mikolaj Golub (to.my.trociny gmail.com) Tested by: Mikolaj Golub (to.my.trociny gmail.com) [1] Early 2010, initial version. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2011-01-08T22:33:46.583742Z K 7 svn:log V 401 Make sure to always do source address selection on an unbound socket, regardless of any multicast options. If an address is specified via a multicast option, then let it override normal the source address selection. This fixes a bug where source address selection was not being performed when multicast options were present but without an interface being specified. Reviewed by: bz MFC after: 1 day END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-08T22:42:56.611349Z K 7 svn:log V 121 Push some PC-BSD specific fixes upstream. PR: bin/152894 Submitted by: Kris Moore Approved by: imp END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-08T22:45:22.747679Z K 7 svn:log V 364 Eliminate the counting of vm_page_pa_tryrelock calls. We really don't need it anymore. Moreover, its implementation had a type mismatch, a long is not necessarily an uint64_t. (This mismatch was hidden by casting.) Move the remaining two counters up a level in the sysctl hierarchy. There is no reason for them to be under the vm.pmap node. Reviewed by: kib END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-08T23:00:38.394800Z K 7 svn:log V 51 sh: Add simple test for 'exit' without parameters. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-08T23:03:24.894246Z K 7 svn:log V 182 Take passwords out of debug log. Fix path problem that was preventing disk info from being in the log. PR: bin/151968 Submitted by: Kris Moore Approved by: imp END K 10 svn:author V 4 csjp K 8 svn:date V 27 2011-01-08T23:06:54.253533Z K 7 svn:log V 514 Change some variables from int to size_t. This is more accurate since these variables represent sizes in one capacity or another. There is no reason to allow negative numbers. Change userspace shared structure elements that get used for the modified functions from int to uint32_t, since it's not clear what userspace programs use these fields, and we do not want to break binary compatibility. This fixes a panic when corrupt or bogus data is passed into the kernel. Obtained from: NetBSD MFC after: 3 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-08T23:08:13.162787Z K 7 svn:log V 221 sh: Make exit without parameters from EXIT trap POSIX-compliant. It should use the original exit status, just like falling off the end of the trap handler. Outside an EXIT trap, 'exit' is still equivalent to 'exit $?'. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-09T02:10:54.022693Z K 7 svn:log V 453 Modify readdirplus in the experimental NFS server in a manner analogous to r216633 for the regular server. This change busies the file system so that VFS_VGET() is guaranteed to be using the correct mount point even during a forced dismount attempt. Since nfsd_fhtovp() is not called immediately before readdirplus, the patch is actually a clone of pjd@'s nfs_serv.c.4.patch instead of the one committed in r216633. Reviewed by: kib MFC after: 10 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-09T04:34:02.999838Z K 7 svn:log V 67 Eliminate a redundant alignment directive on the page locks array. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-09T04:47:34.401099Z K 7 svn:log V 548 - Add VLAN functions necessary to support ipoib and ofed. Give an abstract way to query the vlan interface about tags and trunks. Add support for drivers to store a cookie in the virtual interface. - Make vlan address size and type agnostic. ether_attach() is still used but much of the ethernet specific changes are overwritten in vlan_attach() which may happen some time after creation. - Change the vlan topology lock to sx so that event handlers can allocate memory. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-09T04:48:50.290852Z K 7 svn:log V 229 - Add support for VLANs to ipoib. A seperate softc is allocated for each vlan and cached along with the virtual interface. - Fixup vlan support for IBOE in ib_addr.h. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-01-09T06:05:02.223750Z K 7 svn:log V 123 The highest-precision floating point type on ia64 has 64 bits of precision, so DECIMAL_DIG should be 21, as on i386/amd64. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-01-09T06:05:22.936757Z K 7 svn:log V 102 We don't support any floating point types larger than double on powerpc, so DECIMAL_DIG should be 17. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-01-09T06:05:48.111906Z K 7 svn:log V 157 Fix the value for DECIMAL_DIG on UltraSparcs. The previous value of 35 wasn't quite big enough to ensure correct rounding for very-close- to-halfway cases. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T06:12:33.057526Z K 7 svn:log V 124 Nothing between distextract and config need succeed, so allow the user to cancel these with impunity. Suggested by: brucec END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-09T06:17:46.393532Z K 7 svn:log V 58 Add missing ar91xx definition for the WMAC reset control. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-09T08:07:58.081780Z K 7 svn:log V 183 - Support bpf/tcpdump by pretending to have an ethernet header. Only the destination mac address and proto are filled in. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-09T08:54:57.929223Z K 7 svn:log V 177 - Add an rc script for opensm that starts a copy on all ports. - Fix the MK_OFED rc option using the proper mechanism. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-01-09T09:21:11.708270Z K 7 svn:log V 199 Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 and mount(8) has supported newnfs since r192930. PR: conf/153655 Submitted by: Anonymous MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-09T09:56:43.170328Z K 7 svn:log V 47 Fix panic when built without ADA_TEST_FAILURE. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-09T11:27:06.275894Z K 7 svn:log V 88 g_io_getattr() doesn't returns real length of obtained string. Calculate it explicitly. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-09T11:52:23.460232Z K 7 svn:log V 49 Sync: merge r217119 through r217189 from ^/head. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-09T12:38:40.561953Z K 7 svn:log V 487 Implement the __pthread_map_stacks_exec() for libthr. Stack creation code is changed to call _rtld_get_stack_prot() to get the stack protection right. There is a race where thread is created during dlopen() of dso that requires executable stacks. Then, _rtld_get_stack_prot() may return PROT_READ | PROT_WRITE, but thread is still not linked into the thread list. In this case, the callback misses the thread stack, and rechecks the required protection afterward. Reviewed by: davidxu END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-09T12:50:44.618183Z K 7 svn:log V 209 Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h. Update the outdated comments describing MAXSLP and the process selection algorithm for swap out. Comments wording and reviewed by: alc END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-09T13:23:45.156239Z K 7 svn:log V 47 Add options to specify volume and strip sizes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-09T14:18:16.943950Z K 7 svn:log V 126 Make provider names format configurable via kern.geom.raid.name_format sysctl/tunable: 0 - raid/rX, 1 - raid/{volume name}. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-09T14:34:56.806932Z K 7 svn:log V 218 Improve style and wording of comments and sysctl descriptions [1]. Move machdep.ct_debug to debug.clocktime as there was no reason to actually put it under machdep in r216340. Submitted by: bde [1] MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T15:32:01.401912Z K 7 svn:log V 108 Remove duplicated welcome message, and turn off SIGINT, which causes enormous problems. Submitted by: joel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-09T15:59:52.399973Z K 7 svn:log V 329 If the user enters a size larger than the available space, either deliberately or through rounding errors in expand_number(), or if the size field is left blank, use the largest available size. Also only show the Label field of Add/Edit partition dialogs when using a partition scheme that supports labeling. Requested by: joel END