‚»6101858 142 321 173 308 113 126 224 127 117 172 113 168 137 149 175 215 145 189 146 166 187 202 238 342 335 311 161 147 181 244 363 515 396 231 122 386 224 197 142 391 351 291 242 124 201 203 196 124 105 109 103 157 157 247 148 417 241 290 151 164 102 458 280 330 303 148 225 319 140 131 567 246 292 129 289 227 426 371 122 255 435 264 177 184 2155 195 681 223 168 175 218 253 222 230 103 117 107 132 388 133 135 152 318 141 164 243 216 253 145 729 260 304 197 183 126 129 189 155 178 285 232 1108 157 598 142 181 2359 228 225 297 187 348 148 457 186 117 364 213 609 372 210 324 1686 K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T06:57:08.000000Z K 7 svn:log V 229 MFC: Honor TOOLS_PREFIX. (Makes RELENG_4_6 buildable for those who do not have libcrypto.so.2 under /usr/lib and attempt to buildworld with crypto support. This became needed after the OpenSSH merge.) Approved by: re (murray) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-08-14T06:57:09.000000Z K 7 svn:log V 77 This commit was manufactured by cvs2svn to create tag 'RELENG_4_6_2_RELEASE'. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2002-08-14T09:28:19.000000Z K 7 svn:log V 213 Implement the DIOCGSECTORSIZE and DIOCGMEDIASIZE ioctls, and rename the DIOCGDINFO ioctl into DIOCGDVIRGIN. This allows the newfs(8) to work on vinum volumes without the now removed -v option. Approved by: grog END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T11:05:40.000000Z K 7 svn:log V 22 mdoc(7) police: nits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T11:28:07.000000Z K 7 svn:log V 35 Fix the usage() to match style(9). END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T11:31:37.000000Z K 7 svn:log V 132 mdoc(7) police: Added -F and -W options to the SYNOPSIS. Fixed options DESCRIPTION to match style(9). Document the default for -F. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T11:32:32.000000Z K 7 svn:log V 36 mdoc(7) police: Forgot to bump .Dd. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T11:38:30.000000Z K 7 svn:log V 26 mdoc(7) police: simplify. END K 10 svn:author V 4 ache K 8 svn:date V 27 2002-08-14T11:51:26.000000Z K 7 svn:log V 79 Add #undefs to separate local buffers declaration and now dinamic libc buffers END K 10 svn:author V 4 ache K 8 svn:date V 27 2002-08-14T11:59:57.000000Z K 7 svn:log V 20 Use proper #include END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2002-08-14T14:59:16.000000Z K 7 svn:log V 71 MFC: Only attach one PHY per NIC. The DLink DFE-580 probes 2 per NIC. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2002-08-14T15:03:16.000000Z K 7 svn:log V 40 MFC: Fixes for the D-Link DFE-580 card. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-14T15:05:26.000000Z K 7 svn:log V 56 Set kernel_vm_end. Panic if we try to grow the kernel. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T16:09:31.000000Z K 7 svn:log V 84 mdoc(7) police: fixed indentation in SYNOPSIS. Submitted by: style(9) police (bde) END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2002-08-14T16:34:13.000000Z K 7 svn:log V 117 Unbreak building of fstat following version 1.23 of src/sys/ufs/ufs/quota.h by including mount.h before ufs/quota.h. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T16:50:50.000000Z K 7 svn:log V 54 Collapsed the export list, added CD_EXTRA_BITS to it. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T16:57:14.000000Z K 7 svn:log V 98 Removed the (never-released) FreeBSD 4.6.1. Inspired by: bmah's commit to www/en/releases/4.6.1R END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-14T16:58:50.000000Z K 7 svn:log V 55 MFC: 1.16: removed the (never-released) FreeBSD 4.6.1. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-08-14T16:58:51.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_4_7'. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-08-14T17:55:11.000000Z K 7 svn:log V 90 Spell kenrel as 'kernel' for consistency with the rest of the universe. Inspired by: bde END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-08-14T17:56:47.000000Z K 7 svn:log V 104 When talking about c_db_sym_t, mention that it is not just like db_sym_t: it's const. Inspired by: bde END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-08-14T18:07:09.000000Z K 7 svn:log V 140 Document why the has_f00f_bug variable is initialised rather than placed into the BSS (so that it can be binary-patched). Inspired by: bde END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-14T20:40:35.000000Z K 7 svn:log V 246 -Add the restrict required by IEEE Std 1003.1-2001 in form of our __restrict macro to the prototypes and function definitions of inet_pton and inet_ntop. - Use ANSI-C function argument lists. - Adjust the prototypes in the manual page. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-14T21:01:04.000000Z K 7 svn:log V 239 - Add the 'restrict' qualifier required by IEEE Std 1003.1-2001 to the function definition of strxfrm(3) in form of our '__restrict' macro. - Use an ANSI-C function definition for strxfrm(3). - Change the manual page accordingly. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-14T21:16:41.000000Z K 7 svn:log V 215 - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001 prototype of the tdelete(3) function. - Remove duplicated space. - Use an ANSI-C function definition for tdelete(3). - Update the manual page. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-08-14T21:59:26.000000Z K 7 svn:log V 67 MFC: Add defines for option negotiation, needed for TSize support. END K 10 svn:author V 2 dg K 8 svn:date V 27 2002-08-14T22:23:10.000000Z K 7 svn:log V 56 MFC: moved sf_buf_* function prototypes to socketvar.h. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-14T22:30:07.000000Z K 7 svn:log V 85 Use "ugidfw.h" rather than so that mkdep can find it. Suggested by: mike END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-14T22:36:22.000000Z K 7 svn:log V 148 - Add the C99 'restrict' qualifier using the '__restrict' macro to function prototype and definition of strptime(3). - Update the manual page. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-14T22:59:22.000000Z K 7 svn:log V 267 - Add the 'restrict' qualifier to the definitions of the string concatenation and copy functions using the '__restrict' macro. This is to satisfy IEEE Std 1003-1.2001. - Use ANSI-C function definitions. - Add the 'restrict' keyword to the manual pages, too. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-14T23:20:48.000000Z K 7 svn:log V 419 - Add the 'restrict' qualifier to the function definition of strftime(3) for IEEE Std 1003.1-2001 compliance and remove excessive usage of the 'const' qualifier that was neither present in the prototype in the publice header, nor in the local prototype just above the function definition. - Replace the K&R function definition with a ANSI-C one. - Update the prototype of strftime(3) in its manual page. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-14T23:45:42.000000Z K 7 svn:log V 300 - Add the 'restrict' qualifier to the function definitions and public prototypes of setbuf(3) and setvbuf(3) using the '__restrict' macro from to be compliant with IEEE Std 1003.1-2001. - Replace the K&R with ANSI-C function definitions. - Bring the manual page up-to-date. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-08-15T00:43:43.000000Z K 7 svn:log V 135 Factor out some ugle code that's shared by udf_readdir and udf_lookup. Significantly de-obfuscate udf_lookup Inspired By: tes@sgi.com END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-15T02:10:12.000000Z K 7 svn:log V 27 return foo -> return (foo) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T02:28:32.000000Z K 7 svn:log V 289 Sync to trustedbsd_mac tree: default to sigsegv rather than copy-on-write during a label change resulting in an mmap removal. This is "fail stop" behavior, which is preferred, although it offers slightly less transparency. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 6 gordon K 8 svn:date V 27 2002-08-15T03:24:47.000000Z K 7 svn:log V 128 Remove an accidental double chkdepend that snuck in during the last commit. Submitted by: Mike Makonnen END K 10 svn:author V 6 gordon K 8 svn:date V 27 2002-08-15T03:29:19.000000Z K 7 svn:log V 101 I missed the single_mountd_enable in rc.network. Submitted by: Mike Makonnen END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-08-15T03:50:06.000000Z K 7 svn:log V 47 Clean up comments that are no longer relevant. END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-08-15T04:04:53.000000Z K 7 svn:log V 296 Improve handling of TX errors. Early reports indicate that this elimiates the driver lockup problem reported by many. Concepts used were taken from Via's if_fet driver. Verification and implementation were done by Thomas Nystrom. Submitted by: Thomas Nystrom MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-08-15T04:58:46.000000Z K 7 svn:log V 256 I was too conservative with my header changes, so restore some sanity via bde. atatat@NetBSD.org made basically the same change in their version, so bring over their CVS Id which I neglected last time. Obtained from: bde, Andrew Brown END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-15T05:24:55.000000Z K 7 svn:log V 197 Store the number of itlb and dtlb entries separately; they may be different. Find the prom node for the boot cpu earlier and store it in the per-cpu area, so that cache_init can be called earlier. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-15T05:46:42.000000Z K 7 svn:log V 148 Fix some confusion regarding traps that use mmu globals but don't really have any reason to; force alternat globals instead, which is what we want. END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-08-15T05:49:51.000000Z K 7 svn:log V 29 Add entry for 4.6.2-RELEASE. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-15T06:16:10.000000Z K 7 svn:log V 107 Fixed 64bit big endian bugs relating to abuse of ioctl argument passing. This makes truss work on sparc64. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-15T06:34:37.000000Z K 7 svn:log V 107 Add regression tests for sysvipc. Submitted by: Hiten Pandya Obtained from: NetBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-08-15T07:13:17.000000Z K 7 svn:log V 103 Move the symbol firmware loading routines into if_wi. Define some basic firmware downloading commands. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-08-15T08:01:24.000000Z K 7 svn:log V 32 Rename the pccbb device to cbb. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-08-15T08:02:23.000000Z K 7 svn:log V 13 pccbb -> cbb END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-08-15T08:04:06.000000Z K 7 svn:log V 17 No longer needed END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-08-15T08:05:40.000000Z K 7 svn:log V 11 pccbb->cbb END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-15T08:20:07.000000Z K 7 svn:log V 66 mdoc(7) police: fixed indentation in synopsis. Submitted by: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-15T08:30:27.000000Z K 7 svn:log V 66 MFC: handle the escaped colon \: in a capability. PR: bin/30778 END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-15T08:45:49.000000Z K 7 svn:log V 155 Merge gcc.295/cccp.c,v 1.9: don't let gcc(1) hide warnings in system headers. Reviewed by: bde Original 2.95 change was subject to: Approved by: obrien END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-08-15T08:51:24.000000Z K 7 svn:log V 57 Document the effect of contrib/gcc/c-lex.c,v 1.2 commit. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-15T09:25:04.000000Z K 7 svn:log V 321 - Add the 'restrict' qualifier to the function prototypes and definitions of the functions that convert strings to numbers and are defined by IEEE Std 1003-1.2001. - Use ANSI-C function definitions for all of the functions mentioned above plus strtouq and strtoq. - Update the prototypes in the manual pages. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-15T09:47:10.000000Z K 7 svn:log V 145 - Introduce the 'restrict' qualifier to function prototypes and definitions to comply with IEEE Std 1003.1-2001. - Update the manual pages. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-15T10:28:52.000000Z K 7 svn:log V 194 - For compliance with IEEE Std 1003.1-2001, add the 'restrict' qualifier to function prototypes and definitions where appropriate using the '__restrict' macro. - Update the manual page. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-15T11:58:24.000000Z K 7 svn:log V 56 Include to have abort() and exit() declared. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-08-15T12:31:01.000000Z K 7 svn:log V 72 Removed duplicated MLINKS which make(1) recently started warning about. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-08-15T13:11:35.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2002-08-15T14:09:16.000000Z K 7 svn:log V 360 Make m_flags an int instead of a short, this is consistent with the type of the 'flags' argument m_getcl() was using anyway; m_extadd() needed to be changed to accept an int instead of a short for 'flags.' This makes things more consistent and also gives us more bits to use for m_flags in the future (we have almost run out). Requested by: sam (Sam Leffler) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T14:27:46.000000Z K 7 svn:log V 183 Add mac.h -- raw_ip.c was depending on nested inclusion of mac.h which is no longer present. Pointed out by: bmilekic Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T14:34:02.000000Z K 7 svn:log V 233 Perform a nested include of _label.h if #ifdef _KERNEL. This will satisfy consumers of ip_var.h that need a complete definition of struct ipq and don't include mac.h. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T14:34:45.000000Z K 7 svn:log V 206 It's now sufficient to rely on a nested include of _label.h to make sure all structures in ip_var.h are defined, so remove include of mac.h. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 3 yar K 8 svn:date V 27 2002-08-15T14:41:01.000000Z K 7 svn:log V 56 MFC rev. 1.36: Deny ASCII SIZE requests on large files. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-08-15T14:53:20.000000Z K 7 svn:log V 130 o Backout rev. 1.40 and rev. 1.49. o Add argv[] boudary check. PR: bin/40117 Reviewed by: silence on -audit MFC after: 2 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T15:46:10.000000Z K 7 svn:log V 222 On MAC check failure for readdir, use 'goto out' to use the common exit handling, rather than returning directly to prevent leaking of vnode reference/lock. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2002-08-15T16:35:37.000000Z K 7 svn:log V 43 MFC: Add Netgear GA621 fiber card support. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2002-08-15T16:38:55.000000Z K 7 svn:log V 34 MFC: Netgear GA621 fiber support. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-08-15T16:53:43.000000Z K 7 svn:log V 472 Kernel support for a dummynet option: When a pipe or queue has the "noerror" attribute, do not report drops to the caller (ip_output() and friends). (2 lines to implement it, 2 lines to document it.) This will let you simulate losses on the sender side as if they happened in the middle of the network, i.e. with no explicit feedback to the sender. manpage and ipfw2.c changes to follow shortly, together with other ipfw2 changes. Requested by: silby MFC after: 3 days END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-08-15T17:13:18.000000Z K 7 svn:log V 153 Reset dupack count in header prediction. Follow-on to rev 1.39. Reviewed by: jayanth, Thomas R Henderson , silby, dillon END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T17:34:03.000000Z K 7 svn:log V 195 Fix return case for negative namelen by jumping to normal exit processing rather than immediately returning, or we may not unlock necessary locks. Noticed by: Mike Heffner END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-08-15T18:11:08.000000Z K 7 svn:log V 32 MFC: fix typos; add FreeBSD ID. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-08-15T18:24:55.000000Z K 7 svn:log V 191 Add support for -false instead of '!' cause it can be hard to use that in some shells, etc., and also for GNU compatability (lack of this broke the Mono CVS build for me). MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-08-15T18:30:13.000000Z K 7 svn:log V 129 Oops, add -false to the operators list in the manual page for find(1), as added in revision 1.17 of option.c. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T18:51:26.000000Z K 7 svn:log V 329 Rename mac_check_socket_receive() to mac_check_socket_deliver() so that we can use the names _receive() and _send() for the receive() and send() checks. Rename related constants, policy implementations, etc. PR: Submitted by: Reviewed by: Approved by: Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs MFC after: END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T18:51:27.000000Z K 7 svn:log V 274 Rename mac_check_socket_receive() to mac_check_socket_deliver() so that we can use the names _receive() and _send() for the receive() and send() checks. Rename related constants, policy implementations, etc. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-08-15T18:53:18.000000Z K 7 svn:log V 25 MFC: fix assorted typos. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-15T18:57:57.000000Z K 7 svn:log V 159 Use one line for each function argument to keep the line width smaller than 80 columns. Thanks to Ruslan for an explanation of multiple ways to achieve this. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T18:58:44.000000Z K 7 svn:log V 338 Introduce experimental support for MAC in the AppleTalk/EtherTalk stack. Label link layer mbufs as they are created for transmission, check mbufs before delivering them to sockets, label mbufs as they are created from sockets, and preserve mbuf labels if mbufs are copied. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T19:02:17.000000Z K 7 svn:log V 167 Move mac.h include to match the MAC tree location. Both locations are about equally as alphabetized. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-15T20:33:44.000000Z K 7 svn:log V 82 Put each function argument on its own line to keep lines shorter than 80 columns. END K 10 svn:author V 3 njl K 8 svn:date V 27 2002-08-15T20:54:03.000000Z K 7 svn:log V 92 Remove usage of cam_extend.c, replace with dev->si_drv1 PR: kern/39809 Approved by: gibbs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T20:55:08.000000Z K 7 svn:log V 2057 In order to better support flexible and extensible access control, make a series of modifications to the credential arguments relating to file read and write operations to cliarfy which credential is used for what: - Change fo_read() and fo_write() to accept "active_cred" instead of "cred", and change the semantics of consumers of fo_read() and fo_write() to pass the active credential of the thread requesting an operation rather than the cached file cred. The cached file cred is still available in fo_read() and fo_write() consumers via fp->f_cred. These changes largely in sys_generic.c. For each implementation of fo_read() and fo_write(), update cred usage to reflect this change and maintain current semantics: - badfo_readwrite() unchanged - kqueue_read/write() unchanged pipe_read/write() now authorize MAC using active_cred rather than td->td_ucred - soo_read/write() unchanged - vn_read/write() now authorize MAC using active_cred but VOP_READ/WRITE() with fp->f_cred Modify vn_rdwr() to accept two credential arguments instead of a single credential: active_cred and file_cred. Use active_cred for MAC authorization, and select a credential for use in VOP_READ/WRITE() based on whether file_cred is NULL or not. If file_cred is provided, authorize the VOP using that cred, otherwise the active credential, matching current semantics. Modify current vn_rdwr() consumers to pass a file_cred if used in the context of a struct file, and to always pass active_cred. When vn_rdwr() is used without a file_cred, pass NOCRED. These changes should maintain current semantics for read/write, but avoid a redundant passing of fp->f_cred, as well as making it more clear what the origin of each credential is in file descriptor read/write operations. Follow-up commits will make similar changes to other file descriptor operations, and modify the MAC framework to pass both credentials to MAC policy modules so they can implement either semantic for revocation. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 3 njl K 8 svn:date V 27 2002-08-15T20:55:38.000000Z K 7 svn:log V 102 Remove cam_extend.[ch] after all references to them were removed. PR: kern/39809 Approved by: gibbs END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-08-15T21:19:31.000000Z K 7 svn:log V 585 - Fix a bug that wrote one char behind the end of the supplied buffer in case the size of it was equal to the number of characters the converted address consumed. The bug occurred when converting an AF_INET address. - Remove the SPRINTF macro and use sprintf instead. - Do not do string formatting using sprintf(3) and a temporary buffer which is copied when the supplied buffer provides enough space. Instead, use snprintf(3) and the real destination buffer, thus avoid the copy. Reported by: Stefan Farfeleder (1) PR: misc/41289 END K 10 svn:author V 8 blackend K 8 svn:date V 27 2002-08-15T21:25:41.000000Z K 7 svn:log V 125 Fix typos: s/Ths/This, s/counties/countries PR: docs/39060 Submitted by: Nicola Vitale MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T21:41:20.000000Z K 7 svn:log V 72 Correct a minor whitespace nit that sneaked in with my previous commit. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-15T21:41:59.000000Z K 7 svn:log V 80 Remove cam_extend.c from sources to unbreak modules. Missed by: kern/39809,njl END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-15T21:52:22.000000Z K 7 svn:log V 122 Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred for LOCKD_MSG instead. Requested by: rwatson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T22:04:31.000000Z K 7 svn:log V 156 Code formatting sync to trustedbsd_mac: don't perform an assignment in an if clause. PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-15T22:12:53.000000Z K 7 svn:log V 125 For some reason, the flags and td arguments in the fo_read prototype were reversed. Correct this with no functional change. END K 10 svn:author V 5 seanc K 8 svn:date V 27 2002-08-15T22:26:57.000000Z K 7 svn:log V 135 Edge Maxim out by at least two hours by having the closest birthday to Christmas. Reviewed by: knu (mentor) Approved by: knu (mentor) END K 10 svn:author V 2 dg K 8 svn:date V 27 2002-08-15T22:34:45.000000Z K 7 svn:log V 12 Add myself. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-08-15T22:41:20.000000Z K 7 svn:log V 25 UHCI_DEBUG -> USB_DEBUG. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2002-08-15T22:43:01.000000Z K 7 svn:log V 12 Add myself. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2002-08-15T22:44:56.000000Z K 7 svn:log V 37 Bah! Use the full name for Florida. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-16T00:57:37.000000Z K 7 svn:log V 294 Demark sections of code that need special fault handling with labels. Check if the trapped pc is inside of the demarked sections to implement fault recovery for copyin etc, instead of pcb_onfault. Handle recovery from data access exceptions as well as page faults. Inspired by: bde's sys.dif END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-16T01:33:03.000000Z K 7 svn:log V 40 Removed unneeded pmap_initialized flag. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-16T01:35:00.000000Z K 7 svn:log V 42 Minor style. Removed unused declaration. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-08-16T01:37:49.000000Z K 7 svn:log V 59 Use symbolic constants instead of magic address constants. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-16T02:14:21.000000Z K 7 svn:log V 221 Add LOGIN_SETMAC, which will indicate to the user context management code that it should also set the user's default MAC label, if available and permitted. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 5 johan K 8 svn:date V 27 2002-08-16T03:08:25.000000Z K 7 svn:log V 47 Bump document date for the 'beep only' change. END K 10 svn:author V 5 johan K 8 svn:date V 27 2002-08-16T03:13:59.000000Z K 7 svn:log V 70 Bump document date for the -n option. Approved by: sheldonh (mentor) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-08-16T04:34:05.000000Z K 7 svn:log V 146 MFC: Several mdoc(7) fixes including spelling, markup, punctuation, and .Nm utility. While I'm here MFC: 1.13: Correct History, applied by tjr END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-08-16T04:45:39.000000Z K 7 svn:log V 119 MFC: Add suspend/resume code. if_dc.c 1.72 -> 1.73 if_dcreg.h 1.24 -> 1.25 I've forgotten this MFC for a long time. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-08-16T05:01:11.000000Z K 7 svn:log V 156 Remove usbhidaction(1) manual page under SEE ALSO section. This will be added again if/when we port the framework. Submitted by: mwlucas Approved by: joe END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-08-16T05:02:25.000000Z K 7 svn:log V 49 MFC: Remove usbhidaction(1) SEE ALSO referance. END K 10 svn:author V 2 dg K 8 svn:date V 27 2002-08-16T05:08:46.000000Z K 7 svn:log V 637 Rewrote the space check algorithm in sbreserve() so that the extremely expensive (!) 64bit multiply, divide, and comparison aren't necessary (this came in originally from rev 1.19 to fix an overflow with large sb_max or MCLBYTES). The 64bit math in this function was measured in some kernel profiles as being as much as 5-8% of the total overhead of the TCP/IP stack and is eliminated with this commit. There is a harmless rounding error (of about .4% with the standard values) introduced with this change, however this is in the conservative direction (downward toward a slightly smaller maximum socket buffer size). MFC after: 3 days END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-08-16T05:13:42.000000Z K 7 svn:log V 163 When a cluster entry for ``.'' is set to 0, msdosfs fails to handle it correctly. PR: 24393 Submitted by: semenu Approved by: rwatson (mentor) MFC after: 1 week END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-16T07:01:43.000000Z K 7 svn:log V 208 Hide 'struct ucred' behind '#ifdef _KERNEL', this should stop userland from attempting to use it for good. There is a catch, kvm_proc.c needs to '#define _KERNEL' to get at the ucred. Requested by: rwatson END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-16T07:33:14.000000Z K 7 svn:log V 101 add a check for GNUC < 3 to typedef bool because gcc 3 always seems to define it. Suggested by: tjr END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-16T07:34:19.000000Z K 7 svn:log V 88 Don't '#define DKTYPENAMES', we don't use the variable it exposes from the header file. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-16T07:42:18.000000Z K 7 svn:log V 31 fix comment typo: naem -> name END K 10 svn:author V 8 blackend K 8 svn:date V 27 2002-08-16T07:43:13.000000Z K 7 svn:log V 32 MFC: 1.14 Add PowerPC category. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-16T08:19:15.000000Z K 7 svn:log V 94 No need to include sys/time.h, this unbreaks a c89 warning about long long constants as well. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-16T09:07:15.000000Z K 7 svn:log V 60 forgot to actually commit the DK/FS TYPES split, do it now. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-08-16T09:07:59.000000Z K 7 svn:log V 83 make the strings for tcptimers, tanames and prurequests const to silence warnings. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-08-16T09:10:43.000000Z K 7 svn:log V 192 MFNetBSD: revision 1.127 date: 2002/08/07 20:03:19; author: augustss; lines: +4 -8 Fix some braindead calls to free memory (only encountered under low memory conditions). From OpenBSD. END K 10 svn:author V 5 seanc K 8 svn:date V 27 2002-08-16T09:41:07.000000Z K 7 svn:log V 137 Forgot to change branches for my src tree. MFS my birthdate. Pointed out by: maxim Reviewed by: knu (mentor) Approved by: knu (mentor) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-08-16T10:31:47.000000Z K 7 svn:log V 1012 sys/netinet/ip_fw2.c: Implement the M_SKIP_FIREWALL bit in m_flags to avoid loops for firewall-generated packets (the constant has to go in sys/mbuf.h). Better comments on keepalive generation, and enforce dyn_rst_lifetime and dyn_fin_lifetime to be less than dyn_keepalive_period. Enforce limits (up to 64k) on the number of dynamic buckets, and retry allocation with smaller sizes. Raise default number of dynamic rules to 4096. Improved handling of set of rules -- now you can atomically enable/disable multiple sets, move rules from one set to another, and swap sets. sbin/ipfw/ipfw2.c: userland support for "noerror" pipe attribute. userland support for sets of rules. minor improvements on rule parsing and printing. sbin/ipfw/ipfw.8: more documentation on ipfw2 extensions, differences from ipfw1 (so we can use the same manpage for both), stateful rules, and some additional examples. Feedback and more examples needed here. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-08-16T10:53:44.000000Z K 7 svn:log V 63 MFC: kernel support for "noerror" attribute in dummynet pipes. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-08-16T11:03:11.000000Z K 7 svn:log V 503 Synchronize ipfw2 with the version in -current (adding sets of rules, prevention of loops in keepalive generation, better defaults on size of dynamic rule table). For documentation, please refer to the ipfw manpage in -current (which I am going to MFC as soon as I have completed the section listing differences between ipfw1-stable and ipfw2). In particular have a look at the sections "PACKET FLOW", "IPFW2 ENHANCEMENTS" and "EXAMPLES" to see if your ruleset can be simplified with the new commands. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-08-16T12:13:26.000000Z K 7 svn:log V 50 MFNetBSD: (1.50) Get rid of trailing white space. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-08-16T12:16:07.000000Z K 7 svn:log V 89 MFNetBSD: 1.51 Move a quirk tests so the message printed about directionality is right. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-16T12:52:03.000000Z K 7 svn:log V 2261 Make similar changes to fo_stat() and fo_poll() as made earlier to fo_read() and fo_write(): explicitly use the cred argument to fo_poll() as "active_cred" using the passed file descriptor's f_cred reference to provide access to the file credential. Add an active_cred argument to fo_stat() so that implementers have access to the active credential as well as the file credential. Generally modify callers of fo_stat() to pass in td->td_ucred rather than fp->f_cred, which was redundantly provided via the fp argument. This set of modifications also permits threads to perform these operations on behalf of another thread without modifying their credential. Trickle this change down into fo_stat/poll() implementations: - badfo_poll(), badfo_stat(): modify/add arguments. - kqueue_poll(), kqueue_stat(): modify arguments. - pipe_poll(), pipe_stat(): modify/add arguments, pass active_cred to MAC checks rather than td->td_ucred. - soo_poll(), soo_stat(): modify/add arguments, pass fp->f_cred rather than cred to pru_sopoll() to maintain current semantics. - sopoll(): moidfy arguments. - vn_poll(), vn_statfile(): modify/add arguments, pass new arguments to vn_stat(). Pass active_cred to MAC and fp->f_cred to VOP_POLL() to maintian current semantics. - vn_close(): rename cred to file_cred to reflect reality while I'm here. - vn_stat(): Add active_cred and file_cred arguments to vn_stat() and consumers so that this distinction is maintained at the VFS as well as 'struct file' layer. Pass active_cred instead of td->td_ucred to MAC and to VOP_GETATTR() to maintain current semantics. - fifofs: modify the creation of a "filetemp" so that the file credential is properly initialized and can be used in the socket code if desired. Pass ap->a_td->td_ucred as the active credential to soo_poll(). If we teach the vnop interface about the distinction between file and active credentials, we would use the active credential here. Note that current inconsistent passing of active_cred vs. file_cred to VOP's is maintained. It's not clear why GETATTR would be authorized using active_cred while POLL would be authorized using file_cred at the file system level. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 keichii K 8 svn:date V 27 2002-08-16T13:42:59.000000Z K 7 svn:log V 131 Add swidth definition for wchar stuff Submitted by: clkao@clkao.org Reviewed by: keichii Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 7 keichii K 8 svn:date V 27 2002-08-16T13:45:23.000000Z K 7 svn:log V 128 Add iswctype wcwidth function code Submitted by: clkao@clkao.org Reviewed by: keichii Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 7 keichii K 8 svn:date V 27 2002-08-16T13:46:43.000000Z K 7 svn:log V 200 Add swidth definitions and lex code to mklocale After adding swidth support in iswctype.c and ctype.h Submitted by: clkao@clkao.org Reviewed by: keichii,ache Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-16T14:12:40.000000Z K 7 svn:log V 91 Correct white space nits that crept in during my recent merges of trustedbsd_mac material. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-08-16T14:21:38.000000Z K 7 svn:log V 251 Wrap maintenance of varios nmac{objectname} counters in MAC_DEBUG so we can avoid the cost of a large number of atomic operations if we're not interested in the object count statistics. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-08-16T14:27:22.000000Z K 7 svn:log V 54 Complete list of differences between ipfw1 and ipfw2. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-08-16T14:30:53.000000Z K 7 svn:log V 362 Sync the manpage with the version in -current. This version has both ipfw2 and ipfw1 commands, highlights the differences between the two, and gives a more detailed list of sysctl variables and examples. Even if you are still using ipfw1, hopefully you will find this new version more useful than the previous one. -doc team and mdoc police, your turn now... END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-08-16T14:55:51.000000Z K 7 svn:log V 89 Regen: * Hart: rev 321 of pcidevs.txt (2002-08-11) * Boemler: vendors.txt (2002-08-10) END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-08-16T14:57:16.000000Z K 7 svn:log V 20 MFC rev 1.19: regen END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2002-08-16T15:33:20.000000Z K 7 svn:log V 266 Fix libc build breakage by defining FSTYPENAMES before including disklabel.h; broken originally by 1.87 of sys/disklabel.h, which made the split between DKTYPENAMES and FSTYPENAMES. Someone who knows disklabel.c: do we still need DKTYPENAMES to be defined here now? END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2002-08-16T16:08:36.000000Z K 7 svn:log V 115 Fix more breakage due to FSTYPENAMES/DKTYPENAMES split. Also submitted by: David Wolfskill END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-08-16T16:34:26.000000Z K 7 svn:log V 515 Change a POSIX conditional to use the new __BSD_VISIBLE macro. Fix the following style bugs: o #ifdef, #ifndef, and #undef should be followed by a space, not a tab. o The second level of indentation in prototypes is 4 characters even when the function names are indented 1 extra character. o Type qualifiers that appear next to a * need a seperating space so that the qualifier isn't easily confused with parameter names. (eg. `char * __restrict' instead of `char *__restrict') Submitted by: bde (mostly) END K 10 svn:author V 2 dg K 8 svn:date V 27 2002-08-16T18:41:48.000000Z K 7 svn:log V 280 Further improved the performance of sbreserve() by moving the calculation of the adjusted sb_max into a sysctl handler for sb_max and assigning it to a variable that is used instead. This eliminates the 32bit multiply and divide from the fast path that was being done previously. END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-08-16T20:06:34.000000Z K 7 svn:log V 117 MFC: IPv6 support for rcp. You cannot specify a raw IPv6 address for now. bin/rcp/rcp.1: 1.15 bin/rcp/rcp.c: 1.35 END K 10 svn:author V 3 njl K 8 svn:date V 27 2002-08-16T22:05:19.000000Z K 7 svn:log V 231 Updates to cmd6workaround: * Only update cdb in place if not CDB_POINTER * Correctly check for QFRZ before restarting CCB * More accurate printf message * style(9) changes at end Patch tested successfully on Maxtor 4 G120J6 GAK8. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-08-16T22:16:39.000000Z K 7 svn:log V 1589 MFC sysctls to control the TCP retransmit timer. Temporarily default net.inet.tcp_rexmit_min to 1000ms (1 second) to maintain prior -stable behavior. The default net.inet.tcp_rexmit_slop (extra time always added to the timeout calculation) is 200ms, but effectively obscured by the 1000ms minimum. Setting net.inet.tcp_rexmit_min to a low value such as 12 will get you -current's behavior. This can be somewhat confusing. The minimum is an unconditional lower bound on the retransmit timeout calculation. The slop is unconditionally added to the retransmit timeout calculation PRIOR to the minimum being enforced. On faster networks the SRTT calculation becomes less dependable as a means of preventing unnecessary retransmissions. The best protection against this is to use the slop parameter to control your nominal interactive responsiveness/recovery-base in the face of non-congestion related packet loss (e.g. on a wireless network). Generally speaking current RFCs regarding TCP retransmit behavior want a 1 second minimum, but they are so focused on streaming behavior that they completely ignore the disaster this causes on faster ( < 500ms ping ) connections operating interactively, such as when typing in a remote shell over a wireless network. Linux uses a far more reasonable 200ms minimum and our -current now does the equivalent (or better) by using 200ms of slop. Hopefully -stable will follow with a change to 200ms of slop in the near future. For the moment, if you care, please set net.inet.tcp.rexmit_min to a low value (such as 12) in your /etc/sysctl.conf. END