ƒ²#132420 192 295 553 222 170 180 135 258 153 311 204 138 148 194 124 208 524 243 483 173 495 261 212 194 207 183 223 322 171 876 315 163 124 241 170 211 319 187 132 522 139 117 251 124 155 340 1292 336 304 189 257 243 166 133 152 165 887 147 205 176 164 146 231 716 304 231 213 171 136 189 168 186 216 281 202 133 197 132 349 216 145 537 197 226 148 113 206 383 300 183 515 984 165 363 125 141 171 118 862 108 145 384 202 184 190 161 189 168 271 167 136 153 280 123 260 221 314 442 241 286 244 647 1400 201 306 210 178 220 726 532 932 1135 268 478 143 595 237 301 216 366 189 266 391 665 302 240 130 364 316 222 131 160 226 205 169 233 247 145 134 199 408 219 181 156 219 152 247 196 163 262 173 131 170 149 448 202 131 523 1404 144 139 112 152 146 682 351 337 415 182 193 755 135 147 K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-19T23:29:36.000000Z K 7 svn:log V 200 Remove extraneous locks on the VM free page queue mutex; it is not meant to be recursed upon, and could cauuse a deadlock inside the new contigmalloc (vm.old_contigmalloc=0) code. Submitted by: alc END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-07-19T23:56:07.000000Z K 7 svn:log V 455 Fix printing of long doubles to match the size that gcc is using. This fixes devstat consumers (like vmstat, iostat, systat) so they don't print crazy zillion digit numbers for disk transfers and bandwidth. According to gcc, long doubles are 64-bits, rather than 128 bits like the SVR4 ABI spec wants them to be.. Note that MacOSX also treats long doubles as 64-bits, and not 128 bits, so we are in good company. Reviewed by: das Approved by: grehan END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-20T01:38:59.000000Z K 7 svn:log V 125 Make end of frames for KSE thread, for system scope thread, without this change, debugger will dump a weird stack backtrace. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-20T01:42:30.000000Z K 7 svn:log V 76 Report the number of bytes not written when complaining about failed writes END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-20T01:48:44.000000Z K 7 svn:log V 86 MFC: Report the number of bytes not written when complaining about failed writes END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-07-20T02:15:10.000000Z K 7 svn:log V 41 #ifdef __i386__ -> __i386__ || __amd64__ END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-20T02:22:36.000000Z K 7 svn:log V 162 Properly obey PPC context synchronization rules when modifying the address translation bits of the MSR. This fixes the boot-time panic reported by Drew Gallatin. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-20T02:40:56.000000Z K 7 svn:log V 61 Remove the allpmaps list. It's unused. Reviewed by: peter@ END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-20T02:40:57.000000Z K 7 svn:log V 215 elf_cpu_load_file no longer has an __unused variable. Also, don't bother syncing the icache for the special case of the kernel (id == 1), since the loader has already done this. __unused use reported by: gallatin END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-07-20T03:56:23.000000Z K 7 svn:log V 106 Adjust packet length correctly for FreeBSD-4. Submitted by: Joerg Sonnenberger END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-07-20T04:29:33.000000Z K 7 svn:log V 41 Initialize ifp->if_output for FreeBSD-4. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-07-20T04:33:08.000000Z K 7 svn:log V 51 MFC: Adjust packet length correctly for FreeBSD-4. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-07-20T04:49:44.000000Z K 7 svn:log V 97 Don't output too many debug messages for bootverbose. This driver seems to be fairly stable now. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-20T05:52:00.000000Z K 7 svn:log V 32 Use warn() instead of perror(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-20T06:32:32.000000Z K 7 svn:log V 115 The previous revision introduced a compilation error, i.e., the use of an undefined variable. Correct this error. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-20T07:01:02.000000Z K 7 svn:log V 428 Fix the creation of EFI images that got broken by the import of binutils 2.15. The linker now creates a .rela.dyn section for dynamic relocations, while our script created a .rela section. Likewise, we copied the .rela section to the EFI image, but not the .rela.dyn section. The fix is to rename .rela to .rela.dyn in the linker script so that all relocations end up in the same section again. This we copy into the EFI image. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-20T07:06:43.000000Z K 7 svn:log V 148 Fix a minor error in pipe_stat - st_size was always reported as 0 when direct writes kicked in. Whether this affected any applications is unknown. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-20T07:11:14.000000Z K 7 svn:log V 387 o Support the REL32LSB relocation. It's in the ELF file from which we construct the EFI image. It doesn't seem to actually end up in the EFI image, AFAICT. o Replace .quad, .long and .short with data8, data4 and data2 resp. The former are gnuisms. o Redefine _start_plabel as a data16 with @iplt(_start) as its value. This is the preferred way to create user PLT entries. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-20T07:17:19.000000Z K 7 svn:log V 79 Add a simple regression test for the stat st_size bug just fixed in sys_pipe.c END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-20T07:42:06.000000Z K 7 svn:log V 400 Improve make's diagnostic of mistmatched .if-.endif. This patch is slightly different from the patch in the PR. The problem is, that make handles .if clauses inside false .if clauses simply by counting them - it doesn't put them onto the conditional stack, nor even parses them so we need an extra line number stack for these ifs. PR: bin/61257 Submitted by: Mikhail Teterin END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-20T08:19:51.000000Z K 7 svn:log V 169 Remove duplicate fortunes and fix some typos. PR: misc/45839 Submitted by: Philipp Mergenthaler END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-20T08:19:54.000000Z K 7 svn:log V 114 MFC: 1.32 Refer to the sysutils/cdrtools port now that the sysutils/mkisofs port has been merged into the former. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-20T08:27:27.000000Z K 7 svn:log V 101 Call __mbrtowc() and __wcrtomb() directly instead of taking detours through mbrtowc() and wcrtomb(). END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-20T08:28:28.000000Z K 7 svn:log V 115 Fix whitespace and punctuation. PR: misc/49967 Submitted by: Sean C. Farley END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-20T08:32:42.000000Z K 7 svn:log V 92 Fix typos. PR: misc/67586 Submitted by: Paul A. Hoadley END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-20T08:58:27.000000Z K 7 svn:log V 130 Temporary fix for interoperability with Windows and OS X. A more complete fix will follow when its ready. Submitted by: simokawa END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-20T11:19:46.000000Z K 7 svn:log V 225 1. Make ng_device.h system include. This fixes module build. 2. Sort includes, while here. 3. s/NULL/0/ in NG_SEND_MSG_HOOK(), since ng_ID_t is integer. PR: kern/41881 (part) Reviewed by: marks Approved by: julian (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-20T12:42:54.000000Z K 7 svn:log V 75 Add ng_device(4) to LINT. Reviewed by: marks Approved by: julian (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-20T13:16:17.000000Z K 7 svn:log V 779 In ng_device_newhook(): - Return meaningful return errorcodes. - Free previously allocated connection in error cases. In ng_device_rcvdata(): - Return meaningful return errorcodes. - Detach mbuf from netgraph item, and free the item before doing any other actions that may return from method. - Do not call strange malloc() for buffer. [1] - In case of any error jump to end, where mbuf is freed. In ng_device_disconnect(): - Return meaningful return errorcodes. - Free disconnected connection. style(9) in mentioned above functions: - Remove '/* NGD_DEBUG */', when only one line is ifdef'ed. - Remove extra braces to easier reading. - Add space after comma in function calls. PR: kern/41881 (part) Reviewed by: marks Approved by: julian (mentor) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2004-07-20T13:49:30.000000Z K 7 svn:log V 217 MFC rev. 1.43: ---snip--- New defines that paves the way for new midi features and ports. Changes consists of an IOCTL (SNDCTL_SEQ_GETTIME) and a constant. ---snip--- PR: 59233 Approved by: matk Requested by: lofi END K 10 svn:author V 8 netchild K 8 svn:date V 27 2004-07-20T14:29:34.000000Z K 7 svn:log V 66 MFC rev. 1.77: Implement SNDCTL_DSP_SETDUPLEX. Approved by: matk END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:01:56.000000Z K 7 svn:log V 28 Virgin import of ntpd 4.2.0 END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:01:56.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132451, 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 2004-07-20T15:01:57.000000Z K 7 svn:log V 74 This commit was manufactured by cvs2svn to create tag 'ntp-vendor-v4_2_0'. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:15:00.000000Z K 7 svn:log V 114 Revert this file to the vendor version, we don't need to have our own version of it. Will help further upgrades. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:18:31.000000Z K 7 svn:log V 222 Merge conflicts (see also previous commit). Reinsert our local changes to ntp_control.c: 1.4: Do not log every potential exploit attempt since a denial-of-service may result 1.5: int -> unsigned char fixes END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:19:51.000000Z K 7 svn:log V 91 Merge conflicts. Lots of added files, some removed and quite a large number of renames :( END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:25:19.000000Z K 7 svn:log V 36 Update information on build/import. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:44:32.000000Z K 7 svn:log V 425 Update our ntpd to the long awaited 4.2.0 version. This bring us several things: - updated drivers - IPv6 support at last - ntp-genkeys is replaced by ntp-keygen - ntptrace is now a script (courtesy of John Hay) - lots of renamed files from .htm to .html (while I prefer .html, I find the change a bit gratuitous) - still no manpages :( Please test and report. Commit very much helped by: GNU arch (http://gnuarch.org/) END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:45:04.000000Z K 7 svn:log V 43 Add missing Makefile from previous commit. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:51:00.000000Z K 7 svn:log V 21 Remove an extra '}'. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-20T15:54:53.000000Z K 7 svn:log V 154 Forced to commit to add: Tested on: amd64 (sledge), sparc64 (panther), IA-64 (pluto1), alpha (beast) in addition to my own machine running 5.2-CURRENT. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-20T16:25:20.000000Z K 7 svn:log V 32 Remove reference to fla driver. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-20T16:50:57.000000Z K 7 svn:log V 61 The natm sub-command was missing in the TOC of the helpfile. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-07-20T17:15:38.000000Z K 7 svn:log V 244 Slight cosmetic changes. Also introduce a macro to be called by persistent nodes to signal their persistence during shutdown to hide this mechanism from the node author. Make node flags have a consistent style in naming. Document the change. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-07-20T18:24:47.000000Z K 7 svn:log V 1197 Currently if a mount point is not accessible by the calling user, invalid information will be printed if the -t flag is specified. $ df -t ufs Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 495726 139944 316124 31% / /dev/ad0s1e 253678 6438 226946 3% /tmp /dev/ad0s1f 56206340 13594248 38115586 26% /usr /dev/ad0s1d 694126 19812 618784 3% /var /dev/ad0s1d 694126 19812 618784 3% /var $ Note that the mount point which is not accessible shows up as the previous file system that was printed. The reason for this is that df -t will call statfs(2) on the pathname supplied by getfsstat(2). This is done to refresh the file system statistics in the event that a previous file system had a long delay in providing its stats. This change affects the df utility in the following ways: o Teach df has to deal with statfs(2) failing. If statfs(2) fails, fall back on the possibly stale stats provided by the initial call to getfsstat(2). o Print a warning that the fs stats could possibly be stale o Modify the man page and document this new behavior as a bug. Approved by: bmilekic (mentor) PR: 68165 END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-07-20T18:35:33.000000Z K 7 svn:log V 242 Remove reference to ENOTDIR in the documented errors for statfs(2). This is false, if the pathname specified is a regular file, then the information for the file system that the file lives on will be returned. Approved by: bmilekic (mentor) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-07-20T19:30:57.000000Z K 7 svn:log V 210 Back out previous commit. Even though statfs(2) can take a regular file as an argument, it may still fail for the same reasons that open(2) can. Pointed out by: Jilles Tjoelker Apporived by: bmilekic (mentor) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-07-20T20:28:57.000000Z K 7 svn:log V 95 *sigh* Fix source code compatibility with 5.2.1-RELEASE _again_. (Make kdb stuff conditional.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-20T20:52:30.000000Z K 7 svn:log V 160 M_PREPEND() the IP header on to the front of an outgoing raw IP packet using M_DONTWAIT rather than M_WAITOK to avoid sleeping on memory while holding a mutex. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-20T21:44:28.000000Z K 7 svn:log V 147 When removing the last reference to a cloner, do not try to unlock twice - esp. not since the backing memory was just freed. Reviewed by: rwatson END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-20T22:38:46.000000Z K 7 svn:log V 71 Nuke disable_intr() and enable_intr(), as it already exists elsewhere. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-20T22:39:24.000000Z K 7 svn:log V 38 Uncomment the vector relocation code. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-20T22:39:56.000000Z K 7 svn:log V 57 Remove astpending, it has not been used for a long time. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-20T23:00:02.000000Z K 7 svn:log V 70 Implement ptrace_set_pc(). Add a stub for ptrace_clear_single_step(). END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-07-21T00:29:21.000000Z K 7 svn:log V 792 Move the initialization and teardown of pmaps to the vmspace zone's init and fini handlers. Our vm system removes all userland mappings at exit prior to calling pmap_release. It just so happens that we might as well reuse the pmap for the next process since the userland slate has already been wiped clean. However. There is a functional benefit to this as well. For platforms that share userland and kernel context in the same pmap, it means that the kernel portion of a pmap remains valid after the vmspace has been freed (process exit) and while it is in uma's cache. This is significant for i386 SMP systems with kernel context borrowing because it avoids a LOT of IPIs from the pmap_lazyfix() cleanup in the usual case. Tested on: amd64, i386, sparc64, alpha Glanced at by: alc END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-07-21T01:28:04.000000Z K 7 svn:log V 50 MFC: rev. 1.18 Mention the vfs.usermount sysctl. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-21T03:07:50.000000Z K 7 svn:log V 110 Slide pipe.h include after the _KERNEL define in preparation for disallowing non-_KERNEL inclusions of pipe.h END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-21T03:11:41.000000Z K 7 svn:log V 82 An a #error discouraging people from using pipe.h from places outside the kernel. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-21T03:13:53.000000Z K 7 svn:log V 70 Make this test compile again and remove its dependency on sys/pipe.h. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-21T03:38:46.000000Z K 7 svn:log V 54 Add some additional pmap locking and lock assertions. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-21T04:49:48.000000Z K 7 svn:log V 135 Add kdb_thr_from_pid(), which given a PID returns the first thread in the process. This is useful when working from or with a process. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-21T05:07:09.000000Z K 7 svn:log V 620 Unify db_stack_trace_cmd(). All it did was look up the thread given the thread ID and call db_trace_thread(). Since arm has all the logic in db_stack_trace_cmd(), rename the new DB_COMMAND function to db_stack_trace to avoid conflicts on arm. While here, have db_stack_trace parse its own arguments so that we can use a more natural radix for IDs. If the ID is not a thread ID, or more precisely when no thread exists with the ID, try if there's a process with that ID and return the first thread in it. This makes it easier to print stack traces from the ps output. requested by: rwatson@ tested on: amd64, i386, ia64 END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-07-21T05:08:10.000000Z K 7 svn:log V 209 Semi-gratuitous change. Move two refcount operations to their own lines rather than be buried inside an if (expression). And now that the if expression is the same in both exit paths, use the same ordering. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-21T05:55:51.000000Z K 7 svn:log V 135 Oops... Add the CS_OWN flag to the trace and where commands so that db_stack_trace() actually has a chance to parse its own arguments. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-07-21T05:57:56.000000Z K 7 svn:log V 119 Set ifp->if_output. This is still required in RELENG_4. Submitted by: Stanislav Svirid END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-21T06:43:10.000000Z K 7 svn:log V 74 My bad: /dev/sa0, no 'r' Thanks (and many apologies) to: Cristoph Mallon END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-21T07:01:48.000000Z K 7 svn:log V 44 Additional pmap locking Tested by: marcel@ END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-21T07:12:24.000000Z K 7 svn:log V 94 Make sure we don't call mbuf allocation functions with mutexes held. Discussed with: rwatson END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-21T07:13:14.000000Z K 7 svn:log V 73 put several of the options for DEBUG_VFS_LOCKS under control of sysctls. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-07-21T07:22:54.000000Z K 7 svn:log V 90 MFC: Allow /var/log to be not a directory but a symlink to a directory. Reminded by: gad END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-21T08:35:18.000000Z K 7 svn:log V 123 Use __wcsrtombs() and __sfvwrite() to convert and write the wide character string instead of multiple calls to __fputwc(). END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-21T09:39:53.000000Z K 7 svn:log V 186 Allow the help file path and name to be overwritten by cc -D... Also remove the current directory from the default help file path and add an appropriate directory in /usr/local instead. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-21T09:42:56.000000Z K 7 svn:log V 107 Allow more than one help file. There is a restriction that each help file must start with a level 0 topic. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-21T09:43:31.000000Z K 7 svn:log V 39 Add special lines for 'help commands'. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-21T09:44:27.000000Z K 7 svn:log V 102 'atmconfig natm show' shows all currently configured PVCs for IP over ATM, not 'atmconfig natm list'. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-21T10:14:10.000000Z K 7 svn:log V 36 Add /etc/ntp to hold keys for ntpd. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-21T10:54:57.000000Z K 7 svn:log V 256 Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These are convenient when the source string isn't null-terminated. Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(), wcsrtombs()) in terms of these new functions. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-21T12:12:48.000000Z K 7 svn:log V 123 Read directly from the stdio buffer using the new __mbsnrtowcs() interface instead of making repeated calls to __fgetwc(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-21T13:47:48.000000Z K 7 svn:log V 53 Add test programs for mbsnrtowcs() and wcsnrtombs(). END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2004-07-21T13:53:14.000000Z K 7 svn:log V 440 MFC: daemon.c 1.6 daemon.3 1.13-1.14 Prevent abnormal termination of a child daemon process when created by a parent that is a session leader (e.g., login shell) by ignoring SIGHUP before calling fork(2) and then restoring SIGHUP's action after setsid(3). Based on the patch by Martin Kammerhofer . This has been in -current for 8 months with no reports of adverse affects. PR: bin/25462 Prompted-by: dada@sbox.tugraz.at END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-21T14:47:54.000000Z K 7 svn:log V 103 Add the ACPI Panasonic extras driver. Submitted by: OGAWA Takaya and nyan END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-21T14:52:21.000000Z K 7 svn:log V 131 The media info is printed with the -hardware option so there is no point to write 'Media' in the table header for the -atm option. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-21T15:18:45.000000Z K 7 svn:log V 53 Do not use NULL as a malloc type for contigmalloc(). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-21T15:42:02.000000Z K 7 svn:log V 18 unbreak !WITNESS. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-21T15:52:34.000000Z K 7 svn:log V 110 Using NULL as a malloc type when calling contigmalloc() is wrong, so introduce a new malloc type, and use it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-21T16:04:46.000000Z K 7 svn:log V 286 Don't sync the file system on panic by default. This seems to basically work very infrequently, and often results in a compound panic which confuses debugging; locking/SMP have made the layering violation (and risks) of this more obvious over time. Discussed with: green, bde, et al. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-21T17:02:36.000000Z K 7 svn:log V 207 Two style related changes: (1) use strlcpy instead of strncpy since the use here of the latter was incorrect. (2) Move 'N' case into proper sorted order (sorted the same way that ls sorts its args). END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-07-21T17:26:40.000000Z K 7 svn:log V 91 now e.f.f.3.ip6.arpa is delegated, we no longer need to query ip6.int Obtained from: KAME END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-21T17:38:04.000000Z K 7 svn:log V 422 Add support for ignoring locking failures. This is only enabled when you've specified a directory. It is intended to be used in building custom releases over NFS where locking may be unreliable at best and there is no contention that the locking is designed to arbitrate. Other uses of this flag are discouraged. Document same in usage and man page (including the warning about unwise). Sponsored by: Timing Solutions END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-07-21T19:55:14.000000Z K 7 svn:log V 889 Extend versrcreach by checking against the rt_flags for RTF_REJECT and RTF_BLACKHOLE as well. To quote the submitter: The uRPF loose-check implementation by the industry vendors, at least on Cisco and possibly Juniper, will fail the check if the route of the source address is pointed to Null0 (on Juniper, discard or reject route). What this means is, even if uRPF Loose-check finds the route, if the route is pointed to blackhole, uRPF loose-check must fail. This allows people to utilize uRPF loose-check mode as a pseudo-packet-firewall without using any manual filtering configuration -- one can simply inject a IGP or BGP prefix with next-hop set to a static route that directs to null/discard facility. This results in uRPF Loose-check failing on all packets with source addresses that are within the range of the nullroute. Submitted by: James Jun END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-21T20:38:12.000000Z K 7 svn:log V 73 It is a little better to return ENXIO from probe/match routine than EIO. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-07-21T21:03:01.000000Z K 7 svn:log V 265 Back out just a portion of Alfred's last commit. Remove the MBUF_CHECK (WITNESS) for code paths that always call uma_zalloc_arg() shortly after where the check was, because uma_zalloc_arg() already does a similar check. No objections from Alfred. Thanks Alfred. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-21T22:02:48.000000Z K 7 svn:log V 30 Define pmap_page_is_mapped(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-21T22:04:05.000000Z K 7 svn:log V 46 Use the kernel pmap if no thread is provided. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-21T22:04:06.000000Z K 7 svn:log V 75 This commit was manufactured by cvs2svn to create branch 'unlabeled-1.2.2'. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-21T22:04:32.000000Z K 7 svn:log V 23 Do not declare curpcb. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-21T23:56:09.000000Z K 7 svn:log V 767 Fix a race in vm_page_sleep_if_busy(). Due to vm_object locking being incomplete, it currently has to know how to drop and pick back up the vm_object's mutex if it has to sleep and drop the page queue mutex. The problem with this is that if the page is busy, while we are sleeping, the page can be freed and object disappear. When trying to lock m->object, we'd get a stale or NULL pointer and crash. The object is now cached, but this makes the assumption that the object is referenced in some manner and will not itself disappear while it is unlocked. Since this only happens if the object is locked, I had to remove an assumption earlier in contigmalloc() that reversed the order of locking the object and doing vm_page_sleep_if_busy(), not the normal order. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T00:16:50.000000Z K 7 svn:log V 16 Minor style nit END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-07-22T00:54:01.000000Z K 7 svn:log V 48 Make this compile: add sys/module.h and KDBify. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-22T01:28:51.000000Z K 7 svn:log V 288 Update the callframe structure to leave space for the frame pointer and saved link register as per the ABI call sequence. Update code that uses this (fork_trampoline etc) to use the correct genassym'd offsets. This fixes the 'invalid LR' message when backtracing kernel threads in DDB. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-22T01:37:56.000000Z K 7 svn:log V 106 Improve package list for disc3: xemacs21 -> xemacs, add apache13, apache2, and php packages to this disc. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-22T02:05:46.000000Z K 7 svn:log V 92 In pmap_mincore() create a private copy of the pte for use after the pmap lock is released. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-22T02:45:57.000000Z K 7 svn:log V 95 Add 'benchmarked' and many technical acronyms for protocols, product names, and company names. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-07-22T02:46:25.000000Z K 7 svn:log V 67 Add two more programs useful for testing the correctness of pipes. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-22T02:57:29.000000Z K 7 svn:log V 97 Return the correct value when dst == NULL and conversion has stopped after nwc dropping to zero. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-22T05:18:05.000000Z K 7 svn:log V 76 Remove unused (and bogus) locking, style cleanup, remove unnecessary casts. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-22T05:32:56.000000Z K 7 svn:log V 178 Instead of doing everything in identify, do a proper probe/attach. Also, don't add another device if identify is called twice. Minor reworking by myself. Submitted by: marcel END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-22T05:42:14.000000Z K 7 svn:log V 75 Reinsert the bus space handle and tag, they are needed for the timer test. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T07:11:15.000000Z K 7 svn:log V 44 Remove duplicate $FreeBSD$ Noticed by: njl END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T07:44:10.000000Z K 7 svn:log V 61 Update comment about fast interrupts to be closer to reality END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-22T08:14:37.000000Z K 7 svn:log V 183 Allow ntpd to be compiled w/o readline when NO_GNU is defined. Part of a larger patchset to get a GNU-free world. Patch rewritten to cope with the 4.2.0 changes. Submitted by: des END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-22T08:32:17.000000Z K 7 svn:log V 27 Correct a cut/paste error. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-22T08:35:41.000000Z K 7 svn:log V 163 Remove arlib (libares.a) from the build. It is not IPv6 compatible, not really tested and probably not 64 bits-safe. Discussed with: Harlann Stenn END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-22T08:38:14.000000Z K 7 svn:log V 124 Correct another cut/paste mistake. Sorry folks. Pointy hat to: me Submitted by: Marius Strobl END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-22T09:10:52.000000Z K 7 svn:log V 217 Include support for NOCRYPT & NO_OPENSSL world. It does survive « make release ». Uses an upcoming patch from the vendor branch (ntp-stable) of ntp-keygen. Submitted by: Marius Strobl END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-22T09:16:04.000000Z K 7 svn:log V 345 The following patch has been taken from the ntp-stable vendor branch. Put everything OpenSSL related between #ifdef OPENSSL..#endif. This also fixes bugs #252, #275 & #293. See for reference. Submitted by: Marius Strobl END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-22T09:16:04.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132536, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-22T09:20:51.000000Z K 7 svn:log V 193 Add a macro, __pure, which expands to __attribute__((__pure__)) on gcc versions that support it (>=2.96). This is similar to but not the same as the __pure macro that was removed in rev. 1.21. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-22T10:38:13.000000Z K 7 svn:log V 146 Add references to pf(4) and pfctl(8) at the description of securelevel = 3. PR: docs/69417 Submitted by: Janos Mohacsi (mohacsi(at)niif(dot)hu) END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-22T11:12:01.000000Z K 7 svn:log V 552 Fix handling of comments on .elif lines. The patch given in a followup to the PR failed, because the line skipping function is actually called from two places in the code to do quite different things (this should be two functions probably): in a false .if to skip to the next line beginning with a dot and to collect .for loops. In the seconds case we should not skip comments, because they are actually harder to handle than we need for the .if case and should defer this to the main code. PR: bin/25627 Submitted by: Seth Kingsley (original patch) END K 10 svn:author V 5 johan K 8 svn:date V 27 2004-07-22T13:14:42.000000Z K 7 svn:log V 1304 display.c: - 'savech' is only used if it is set a few lines above where it is used, initialize it to silence warning. - 'length' is either -1 or greater than 0, hence it is safe to cast it to unsigned when comparing it here. odsyntax.c: - 'p' is assigned either (*argvp)[0] or (*argvp)[1] which both are char *. 'num' and 'end' are assigned values based on 'p'. Hence use char * instead of unsigned char * for these variables. '&end' as the second argument to strtoll does not need to be casted to char** any more. This solves a 'dereferencing type-punned pointer will break strict-aliasing rules' warning when compiling with -O2. parse.c: - 'prec' is only used when sokay == USEPREC and sokay = USEPREC when 'prec' is assigned. Hence 'prec' is not used uninitialized, initialize it to silence warning. - The code involving 'nextpr' is hard to follow, but I belive 'nextpr' will not be used unless it is initialized. Anyway, IF 'nextpr' is used uninitialized it is better to get a consistant error (seg fault, when dereferencing a NULL pointer) than potentially accessing some random memory. The above changes makes hexdump WARNS=6 clean even when compiled with -O2. Hence bump WARNS to keep it clean. Tested by: CFLAGS='-O2 -pipe' make universe END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-22T13:38:10.000000Z K 7 svn:log V 109 Make size suffix case insensitive. PR: bin/27604 Submitted by: David Xu END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-22T14:32:48.000000Z K 7 svn:log V 210 Disable the PREEMPTION-enabled code in critical_exit() that encourages switching to a different thread. This is just a hack to try to improve stability some more, but likely points closer to the real culprit. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-22T15:46:51.000000Z K 7 svn:log V 114 Don't count needed bounce pages if loading a buffer that was created with bus_dmamem_alloc() Submitted by: harti END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-22T15:55:03.000000Z K 7 svn:log V 83 Arg! Revert local changes that were accidentlly included in the previous version. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-07-22T16:35:18.000000Z K 7 svn:log V 128 MFC: Use a separate flag when doing a kernel coredump when polling for completion instead of abusing the interrupt enable flag. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-22T17:03:14.000000Z K 7 svn:log V 629 In devfs_allocv(), rather than assigning 'td = curthread', assert that the caller passes in a td that is curthread, and consistently pass 'td' into vget(). Remove some bogus logic that passed in td or curthread conditional on td being non-NULL, which seems redundant in the face of the earlier assignment of td to curthread if td is NULL. In devfs_symlink(), cache the passed thread in 'td' so we don't have to keep retrieving it from the 'ap' structure, and assert that td is curthread (since we dereference it to get thread-local td_ucred). Use 'td' in preference to curthread for later lockmgr calls, since they are equal. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-22T17:05:04.000000Z K 7 svn:log V 435 suser() accepts a thread argument; as suser() dereferences td_ucred, a thread-local pointer, in practice that thread needs to be curthread. If we're running with INVARIANTS, generate a warning if not. If we have KDB compiled in, generate a stack trace. This doesn't fire at all in my local test environment, but could be irritating if it fires frequently for someone, so there will be motivation to fix things quickly when it does. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-22T18:35:43.000000Z K 7 svn:log V 835 Push acquisition of Giant from fdrop_closed() into fo_close() so that individual file object implementations can optionally acquire Giant if they require it: - soo_close(): depends on debug.mpsafenet - pipe_close(): Giant not acquired - kqueue_close(): Giant required - vn_close(): Giant required - cryptof_close(): Giant required (conservative) Notes: Giant is still acquired in close() even when closing MPSAFE objects due to kqueue requiring Giant in the calling closef() code. Microbenchmarks indicate that this removal of Giant cuts 3%-3% off of pipe create/destroy pairs from user space with SMP compiled into the kernel. The cryptodev and opencrypto code appears MPSAFE, but I'm unable to test it extensively and so have left Giant over fo_close(). It can probably be removed given some testing and review. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-22T19:44:49.000000Z K 7 svn:log V 1041 - Change uma_zone_set_obj() to call kmem_alloc_nofault() instead of kmem_alloc_pageable(). The difference between these is that an errant memory access to the zone will be detected sooner with kmem_alloc_nofault(). The following changes serve to eliminate the following lock-order reversal reported by witness: 1st 0xc1a3c084 vm object (vm object) @ vm/swap_pager.c:1311 2nd 0xc07acb00 swap_pager swhash (swap_pager swhash) @ vm/swap_pager.c:1797 3rd 0xc1804bdc vm object (vm object) @ vm/uma_core.c:931 There is no potential deadlock in this case. However, witness is unable to recognize this because vm objects used by UMA have the same type as ordinary vm objects. To remedy this, we make the following changes: - Add a mutex type argument to VM_OBJECT_LOCK_INIT(). - Use the mutex type argument to assign distinct types to special vm objects such as the kernel object, kmem object, and UMA objects. - Define a static swap zone object for use by UMA. (Only static objects are assigned a special mutex type.) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T20:02:16.000000Z K 7 svn:log V 175 More TI device IDs. These are from the datasheets downloaded from TI's web site. They describe the PCI[67]x[12]1 and PCI[67]x20 parts, with and without the smartcard enabled. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T20:19:57.000000Z K 7 svn:log V 385 Add IDs from TI's web site. Reports from the field and inspection of the data sheets leads me to believe these will just work. Those parts with the various media readers on them may not have the required FreeBSD drivers that will attach to the subdevices that will be seen on some of these parts. PCI 1515, 1530, 1620, 4520, 6411, 6420, 7410, 7510, 7610 Prompted by: Havard Eidnes END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T20:22:36.000000Z K 7 svn:log V 51 More CardBus Bridges supported, o2micro better now END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-22T20:40:23.000000Z K 7 svn:log V 498 Push Giant acquisition down into fo_stat() from most callers. Acquire Giant conditional on debug.mpsafenet in the socket soo_stat() routine, unconditionally in vn_statfile() for VFS, and otherwise don't acquire Giant. Accept an unlocked read in kqueue_stat(), and cryptof_stat() is a no-op. Don't acquire Giant in fstat() system call. Note: in fdescfs, fo_stat() is called while holding Giant due to the VFS stack sitting on top, and therefore there will still be Giant recursion in this case. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T22:28:34.000000Z K 7 svn:log V 144 There is no pcic device on amd64. OLDCARD isn't supported, and NEWCARD will call it something different. and there are no ISA add-in devices. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T22:29:45.000000Z K 7 svn:log V 208 Remove ahb, aha, ie, le and wl devices. They are all ISA/EISA only. I went ahead and left in the ISA cards that also have pccard attachments. There's no way that these devices could attach. OK'd by: peter END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-07-22T22:50:15.000000Z K 7 svn:log V 120 Actually free the unit when destroying the interface. Reported by: la at delfi.lt Tested by: la at delfi.lt PR: 68618 END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T22:53:38.000000Z K 7 svn:log V 273 MFp4: Improve child_detached a little and make it conform better to style(9). Also, improve comment about what we'll be doing in the future about driver_added. Soon it will be possible to kldload usb drivers and have them attach w/o a need to disconnect/reconnect them. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T22:59:44.000000Z K 7 svn:log V 97 Remove redundant inclusion of bus_if.h. It isn't needed in this file, as sys/bus.h includes it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-22T23:04:41.000000Z K 7 svn:log V 173 MFi386 revision 1.421 - Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in pmap_mapdev(). See revision 1.140 of kern/sys_pipe.c for a detailed rationale. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-22T23:16:12.000000Z K 7 svn:log V 298 If you insert a pccard modem and then eject it, you get a panic. This happens because the sio device was never opened and com->tp is therefore NULL. ttygone can't swallow a NULL, so guard against that possibility. Other places in this function make similar checks, so I believe this is correct. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-23T00:46:05.000000Z K 7 svn:log V 569 The ADDR16 relocations were assuming that non-local symbols had an addend of 0. This isn't correct, and was quite easy to break by referring to the address of an element within a structure. However, fixing this exposed the fact that symbol lookups for local variables were returning the base of the section they were contained in. This case is detected by comparing the return value from elf_lookup() to the relocbase+addend value: if it is lesser, but greater than relocbase, then relocbase+addend is taken to be the authoritative value. bug reported by: gallatin END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-23T01:53:28.000000Z K 7 svn:log V 205 Allow an effective uid of root to bypass mac_bsdextended rules; the MAC Framework can restrict the root user, but this policy is not intended to support that. Stylish Swiss footwear provided for: trhodes END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-23T02:20:05.000000Z K 7 svn:log V 147 Mark functions pure where applicable. A notable exclusion is strcoll(), which is not strictly pure because it calls malloc()/free() in some cases. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-23T02:29:37.000000Z K 7 svn:log V 38 Mark functions pure where applicable. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-23T03:31:42.000000Z K 7 svn:log V 268 Refine pf_check_proto_cksum() a bit in order to avoid additional in_pseudo() calls further down the stack. If we find the cksum to be okay we pretend that the hardware did all the work and hence keep the upper layers from checking again. Submitted by: Pyun YongHyeon END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-23T03:37:05.000000Z K 7 svn:log V 220 Fix the following LOR on pf module unload: 1st ifnet (ifnet) @/usr/src/sys/contrib/pf/net/pf_if.c:191 2nd pf task mtx (pf task mtx) @/usr/src/sys/contrib/pf/net/pf_if.c:197 Reported by: Pyun YongHyeon (a long time ago) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-23T04:26:49.000000Z K 7 svn:log V 125 In setpgid(), since td is passed in as a system call argument, use it in preference to curthread, which costs slightly more. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-23T05:27:17.000000Z K 7 svn:log V 36 Allow DSI exceptions to invoke DDB. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-23T05:31:14.000000Z K 7 svn:log V 65 Bring KDB stack size into line with thread stack size (4 pages). END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-23T05:33:24.000000Z K 7 svn:log V 130 Detect kernel stack excursion into guard pages. Drop into KDB with a wired stack if this is found. Mostly obtained from: NetBSD END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-23T05:44:04.000000Z K 7 svn:log V 112 Add a lengthy discussion of why "tr a-z A-Z" and "tr A-Z a-z" are not the right way to perform case-conversion. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-23T06:01:00.000000Z K 7 svn:log V 77 Remove unused variable. Noticed by: Todd Miller END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-23T06:06:58.000000Z K 7 svn:log V 140 Tweak markup of quoted strings and characters: use Dq instead of enclosing strings in ``obsolete quotes''. Use Li and Ql where appropriate. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-23T06:49:49.000000Z K 7 svn:log V 154 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() for allocating KVA for explicitly managed mappings, i.e., mappings created with pmap_qenter(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-23T06:56:38.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-23T07:13:35.000000Z K 7 svn:log V 42 Add __pure and __pure2 where appropriate. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-23T11:36:35.000000Z K 7 svn:log V 107 Make this WARNS=3 clean. PR: bin/38931 Submitted by: Giorgos Keramidas END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-23T14:11:04.000000Z K 7 svn:log V 311 Don't perform pipe endpoint locking during pipe_create(), as the pipe can't yet be referenced by other threads. In microbenchmarks, this appears to reduce the cost of pipe();close();close() on UP by 10%, and SMP by 7%. The vast majority of the cost of allocating a pipe remains VM magic. Suggested by: silby END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-07-23T14:45:15.000000Z K 7 svn:log V 121 Let ddb know powerpc is big endian so as to make ddb output human readable. Obtained from: sparc64/include/db_machdep.h END K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-23T15:24:57.000000Z K 7 svn:log V 87 Now that mlockall(2) is unbroken, use it to keep watchdogd(8) permanently out of swap. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-07-23T17:01:47.000000Z K 7 svn:log V 64 Dont expect interrupt from ATAPI_RESET, it doesn't deliver one. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-23T17:41:44.000000Z K 7 svn:log V 122 Export KTR_COMPILE as a sysctl so you can easily check from user space what event mask has been compiled into the kernel. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-23T17:44:07.000000Z K 7 svn:log V 56 Reinforce discouragement of the use of FULL_PREEMPTION. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-23T19:36:18.000000Z K 7 svn:log V 154 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() for allocating KVA for explicitly managed mappings, i.e., mappings created with pmap_qenter(). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-23T19:59:16.000000Z K 7 svn:log V 100 Remove the previous hack since it doesn't make a difference and is getting in the way of debugging. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-23T20:12:56.000000Z K 7 svn:log V 67 Don't include a "\n" in KTR output, it confuses automatic parsing. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-07-23T21:21:34.000000Z K 7 svn:log V 164 The doc team reworked the section of the handbook describing how to rebuild things, further discouraging 'make world'. The title of that section is now changed... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-23T23:09:00.000000Z K 7 svn:log V 78 Clean up whitespace, increase consistency and correctness. Submitted by: bde END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-24T02:07:09.000000Z K 7 svn:log V 35 Remove spl() use from nfsrv_timer. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-24T02:32:27.000000Z K 7 svn:log V 74 If debug.mpsafenet is non-zero, run the NFS server callout without Giant. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-07-24T04:57:41.000000Z K 7 svn:log V 54 White space fix.. diff reduction for upcoming commit. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-24T07:40:35.000000Z K 7 svn:log V 355 Simplify vmspace initialization. The bcopy() of fields from the old vmspace to the new vmspace in vmspace_exec() is mostly wasted effort. With one exception, vm_swrss, the copied fields are immediately overwritten. Instead, initialize these fields to zero in vmspace_alloc(), eliminating a bcopy() from vmspace_exec() and a bzero() from vmspace_fork(). END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-07-24T10:36:28.000000Z K 7 svn:log V 104 MFC: bktr driver may not tune correctly PR: kern/66006 Submitted by: Josh Elsasser END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-07-24T11:54:30.000000Z K 7 svn:log V 34 English fixes, no content change. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-24T13:45:38.000000Z K 7 svn:log V 430 Bring the advertised interface capabilities into line with the reality (in particular, bge(4) hasn't supported rxcsum since if_bge.c#1.5) Clean up some aspects of capabilities usage, i.e. stop using if_hwassist to see whether we are doing offload now because if_hwassist is for TCP/IP layer and it is subordinate to if_capenable. Thanks to: Aled Morris for donating a nice bge(4) NIC to me Reviewed by: -net, -hackers (silence) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-07-24T14:56:21.000000Z K 7 svn:log V 1310 Ports related rc.d cleanups: o Separate out local (ports) scripts that use rc.d, and the old style startup/shutdown scripts and execute them separately. On startup the rc.d style scripts are executed first and then the old-style scripts. On shutdown, exactly the reverse happens. o The rc.d ports scripts should now behave more like base system scripts. Scripts ending in .sh will be sourced into the current shell, while the rest will be executed in a subshell. Previously, all ports scripts, regardless of the .sh suffix, were executed in a subshell. o The parent script, /etc/rc.d/localpkg, passes its command line arguments straight to the rc.d ports scripts. This means they should now honor faststop and faststart commands as well. Old style scripts, should not see any differences. They will still get either a start or stop command. o The initial phrase shown during shutdown has been changed to use "local packages" instead of "daemon processes" to be more inline with the phrase used during local package startup. The phrases are also used only for old-style ports script startup/shutdown, whereas previously they were being used for both rc.d and old-style scripts. This should make startup/shutdown output a bit less ugly. Discussed with: portmgr Has Reservations: eik END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2004-07-24T15:02:56.000000Z K 7 svn:log V 47 Add my birthday. Approved by: grehan (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-24T15:13:42.000000Z K 7 svn:log V 46 Merged from sys/dev/sio/sio.c revision 1.450. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-07-24T15:30:23.000000Z K 7 svn:log V 17 Remove rev 1.50. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-07-24T16:30:31.000000Z K 7 svn:log V 60 Correct typo. Submitted by: eik (and probably many others) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-24T16:58:56.000000Z K 7 svn:log V 50 Prefer NULL to '0' when checking a pointer value. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T17:46:45.000000Z K 7 svn:log V 584 Fix the handling of signed values when parsing base-256 header values. In particular, this means we can now correctly read gtar archives that contain timestamps prior to the start of the Epoch. Also, make the code in this area more portable. ANSI C99 headers are not yet ubiquitous (for example, FreeBSD 4 still lacks them), so be prepared for systems that don't have the INT64_MAX, INT64_MIN, and UINT64_MAX macros. This version still requires int64_t and uint64_t be defined (which can be done in archive_platform.h if necessary), but doesn't require them to be exactly 64 bits. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T17:50:05.000000Z K 7 svn:log V 253 Use "linux" instead of "LINUX" to control Linux-specific code. Thanks to: David O'Brien for pointing this out. Also, add in a few additional portability tweaks and make a few more things conditional on features (HAVE_XXXX macros) rather than platform. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-24T17:51:22.000000Z K 7 svn:log V 244 Fix a bug where an item was being removed from a list without using FOREACH_SAFE. Remove bad cast of retp and instead use an additional arg to pass back the number of valid outputs. Use the package convenience functions for parsing packages. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-07-24T19:03:28.000000Z K 7 svn:log V 322 Refine the wait for ATAPI_RESET. Properly wait for not busy and introduce a timeout for devices not setting busy (as they should). Leave a printf in there that states how long the wait was, as I'd like to get an idea of the variations here. The time needed seems also to be affected by whether a medium is present or not. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-24T19:04:24.000000Z K 7 svn:log V 91 Disable kldunloading of geom_vinum temporarily until I figured out how to do it correctly. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-24T19:11:40.000000Z K 7 svn:log V 101 Fix potential buffer overflow. PR: bin/14697 Submitted by: Matthew END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T20:08:26.000000Z K 7 svn:log V 657 Add some functions to query basic facts about the library: archive_version: Returns a text string, e.g., "libarchive 1.00.000" archive_api_version: Returns the SHLIB major version archive_api_feature: Returns a feature number useful for answering questions such as "Is this recent enough to do XXX?" The last two also have macros defined in archive.h, so you can compare the compile-time and run-time environments. (In particular, you can compare ARCHIVE_API_VERSION to archive_api_version() to detect library version mismatches.) With these in hand, it will soon be time to turn on the shared-library version of libarchive... stay tuned. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-24T20:39:25.000000Z K 7 svn:log V 43 Remove unneeded parens and fix whitespace. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-24T20:40:02.000000Z K 7 svn:log V 55 Whitespace cleanup and move static variables together. END