Го98659 224 353 152 135 241 177 118 123 154 121 113 142 258 161 420 188 132 122 236 186 164 166 236 158 236 122 402 126 290 226 187 179 152 231 175 274 284 191 162 375 167 137 194 339 256 225 294 134 138 119 129 356 254 515 292 122 270 406 290 186 154 133 149 250 296 116 149 273 170 169 166 180 134 127 180 164 222 409 138 266 130 128 123 355 165 263 310 184 274 157 165 226 129 142 443 113 219 245 310 186 188 747 200 168 135 150 324 550 147 188 239 179 145 135 382 159 200 125 397 160 414 778 401 176 130 158 161 138 339 138 243 202 102 112 277 144 223 134 230 202 107 230 144 147 368 363 141 151 190 154 137 195 195 301 432 338 512 357 179 120 253 412 171 164 252 166 568 297 241 245 169 595 216 134 277 473 193 262 144 324 109 118 312 120 241 176 146 135 131 248 206 5377 178 193 128 143 200 176 138 171 175 111 133 120 253 202 164 175 147 153 171 110 325 113 170 261 195 176 272 143 331 234 252 243 146 K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-23T07:27:24.000000Z K 7 svn:log V 260 As disclosed to arch@, make more interfaces standard. This allows for easier loading of modules that might refer to these interfaces. None of the code that implements them is standard, just the glue. This bloats the kernel a whopping 8k. Silence on: arch@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-23T07:31:29.000000Z K 7 svn:log V 60 plxcard for OLDCARD almost certainly isn't going to happen. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-23T07:32:33.000000Z K 7 svn:log V 43 plxcard for OLDCARD isn't going to happen. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-23T08:01:27.000000Z K 7 svn:log V 143 MFC revision 1.23: Give an example of -J that is slightly more likely to work in the situation it seems to imply [a shell doing globbing]. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T09:03:42.000000Z K 7 svn:log V 83 Remove ip_fw_fwd_addr (forgotten in previous commit) remove some extra whitespace. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T09:13:46.000000Z K 7 svn:log V 24 fix a typo in a comment END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T09:14:24.000000Z K 7 svn:log V 29 fix indentation of a comment END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T09:15:43.000000Z K 7 svn:log V 60 fix bad indentation and whitespace resulting from cut&paste END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-06-23T09:48:25.000000Z K 7 svn:log V 24 add DIAGNOSTICS section END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-06-23T10:50:41.000000Z K 7 svn:log V 16 MFC: fix typos. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T11:19:53.000000Z K 7 svn:log V 48 fix indentation, whitespace and a few comments. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-23T11:21:20.000000Z K 7 svn:log V 165 Make the Examples section consistent with the rest of the system manual pages: description of command first, then command as typed (no shell prompt) using Dl macro. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-23T11:49:08.000000Z K 7 svn:log V 69 Document the fairly obvious effect of the PATH environment variable. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T12:05:25.000000Z K 7 svn:log V 325 MFC: add PACKET_TAG_* #defines to implement packet annotations. While at it, remove __P() macros and align some comments and indentation to the form used in -current to minimize differences (which are still large though). Apart from the PACKET_TAG_* #defines, for all practical purposes this commit is a whitespace change. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T12:06:40.000000Z K 7 svn:log V 94 Remove some extra spaces hidden between tabs Spotted-by: diff against the version in RELENG_4 END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2002-06-23T13:19:09.000000Z K 7 svn:log V 36 Add function name in error message. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T14:01:54.000000Z K 7 svn:log V 30 Vendor import of OpenSSH 3.3. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T14:01:54.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98675, 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 2002-06-23T14:01:55.000000Z K 7 svn:log V 90 This commit was manufactured by cvs2svn to create tag 'openssh-vendor-crypto-OpenSSH_3_3'. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-23T14:38:41.000000Z K 7 svn:log V 72 Include machine/critical.h to get missing prototypes. Reviewed by: tmm END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T14:38:51.000000Z K 7 svn:log V 74 Import OpenBSD's , needed by OpenSSH. Obtained from: OpenBSD END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T14:38:51.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98679, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T14:41:09.000000Z K 7 svn:log V 66 Import the documentation for Obtained from: OpenBSD END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T14:41:09.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98681, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T14:44:32.000000Z K 7 svn:log V 30 Install the tree(3) man page. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T16:09:08.000000Z K 7 svn:log V 309 Resolve conflicts. Known issues: - sshd fails to set TERM correctly. - privilege separation may break PAM and is currently turned off. - man pages have not yet been updated I will have these issues resolved, and privilege separation turned on by default, in time for DP2. Sponsored by: DARPA, NAI Labs END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T16:09:29.000000Z K 7 svn:log V 34 Update Makefiles for OpenSSH 3.3. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-23T18:07:40.000000Z K 7 svn:log V 197 o Remove GIANT_REQUIRED from kmem_alloc_pageable(), kmem_alloc_nofault(), and kmem_free(). (Annotate as MPSAFE.) o Remove incorrect casts from kmem_alloc_pageable() and kmem_alloc_nofault(). END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-23T18:17:27.000000Z K 7 svn:log V 133 Warning fixes for 64 bits platforms. This eliminates all the warnings I have had in the FFS code on sparc64. Reviewed by: mckusick END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-23T18:29:52.000000Z K 7 svn:log V 90 syserr()'s first argument is not exit status, avoid dereferencing (char *)0 in printf(3). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-23T18:30:29.000000Z K 7 svn:log V 82 Use varargs for syserr(). Pointed out by: snapshots.jp.freebsd.org warnings log. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-23T18:32:39.000000Z K 7 svn:log V 60 More 64 bits platforms warning fixes. Reviewed by: rwatson END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2002-06-23T18:57:53.000000Z K 7 svn:log V 134 set siocnunit to the correct value. This fixes the freeze on boot for alphas. Submitted by: Bernd Walter END K 10 svn:author V 3 hrs K 8 svn:date V 27 2002-06-23T19:03:57.000000Z K 7 svn:log V 83 Refine translation and remove "mailto:" link to doc-jp mailing-list to avoid spam. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2002-06-23T19:23:46.000000Z K 7 svn:log V 177 Be more clear in error messages. Distinguish between a held lock and a failed lock op. If rpc.lockd is not running on a diskless client this makes clearer what the problem is. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-23T20:03:03.000000Z K 7 svn:log V 191 Split the declaration and the initialization of two variables. This has the fortunate side effect of stopping GCC from reporting warnings about unused variables on sparc64. Reviewed by: bde END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T20:22:49.000000Z K 7 svn:log V 99 Correctly export the environment variables set by setusercontext(). Sponsored by: DARPA, NAI Labs END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T20:41:06.000000Z K 7 svn:log V 70 Add an sshd user and group for the OpenSSH privilege separation code. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-06-23T20:41:30.000000Z K 7 svn:log V 279 Fix a bug which prevented the duplication of the standard i/o file descriptors in programs linked with libc_r with flags other than the default ones. This kept, inter alia, freopen() from working correctly when reopening standard streams. reviewed by: deischen PR: misc/39377 END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-06-23T20:42:30.000000Z K 7 svn:log V 70 Make egetopt() return -1 not EOF, as getopt(3) do. Reviewed by:markm END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T20:44:19.000000Z K 7 svn:log V 45 Add /var/empty for the OpenSSH privsep code. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T20:46:44.000000Z K 7 svn:log V 101 Previous commit was just a tad too hasty, the sshd peudo-user's home directory should be /var/empty. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T20:48:26.000000Z K 7 svn:log V 244 Move some global variables in more appropriate places. Add XXX comments to mark places which need to be taken care of if we want to remove this part of the kernel from Giant. Add a comment on a potential performance problem with ip_forward() END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-23T20:57:18.000000Z K 7 svn:log V 163 Stop adding ${CWARNFLAGS} to CFLAGS. The standard makefile processing will add them automatically, and there is no point in adding them twice. MFC after: 5 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T21:22:56.000000Z K 7 svn:log V 130 Move two global variables to automatic variables within the only function where they are used (they are used with TCPDEBUG only). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-23T21:25:36.000000Z K 7 svn:log V 199 Slightly restructure the #ifdef INET6 sections to make the code more readable. Remove the six "register" attributes from variables tcp_output(), the compiler surely knows well how to allocate them. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-23T21:29:00.000000Z K 7 svn:log V 42 Add a missing prototype to fix a warning. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T21:42:47.000000Z K 7 svn:log V 46 Resolve conflicts and document local changes. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T21:43:43.000000Z K 7 svn:log V 27 Install the new man pages. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-23T21:44:46.000000Z K 7 svn:log V 37 Resign my maintainership of OpenSSH. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-06-23T21:54:18.000000Z K 7 svn:log V 260 Allocate and clear the correct number of bytes for a struct fd_set that should be able to hold sock + 1 bits. Before, it was apparently assumed that an fd_mask has the same size as type char. PR: bin/39617 Reported by: Peter N Lewis END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-06-23T21:57:19.000000Z K 7 svn:log V 157 Make vm_pindex_t 64-bit on all platforms. This is necessary to avoid overflows with the large file sizes that UFS2 permits. Reviewed by: dillon, alc, tegge END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-06-23T22:34:58.000000Z K 7 svn:log V 418 Enforce a 2^31 * PAGE_SIZE file size limit to ensure that large files cannot overflow the vm_pindex_t type. This is not an MFC, since increasing the size of vm_pindex_t as was done in -CURRENT is not useful or appropriate for RELENG_4. Note that on the alpha platform this change is not necessary because vm_pindex_t is 64-bit, but limiting files to 16TB there is unlikely to cause any problems. Submitted by: tegge END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-06-23T23:38:06.000000Z K 7 svn:log V 197 Add a hack to handle RADIUS responses from peers that forget that there's an ``Ident'' field in the MS-CHAP2-Response and MS-CHAP-Error attributes. The RADIATOR server seems to be guilty of this. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2002-06-23T23:53:16.000000Z K 7 svn:log V 30 Fix a mismatched parenthesis. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-24T00:14:36.000000Z K 7 svn:log V 174 I Noticed a defect in the way wakeup() scans the tailq. Tor noticed an even worse defect in wakeup_one(). This patch cleans up both. Submitted by: tegge MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-24T01:53:26.000000Z K 7 svn:log V 313 Partially back out the "make all interfaces standard" commit. There's a small chance that it might have broken loading the miibus, so err on the side of caution until I can figure out what is going on. This backs out all but the PCI, PCIB and ISA bus interfaces being "standard," which have been well tested... END K 10 svn:author V 8 matusita K 8 svn:date V 27 2002-06-24T03:46:55.000000Z K 7 svn:log V 192 Fix HTTP proxy code. Actually, it was fixed in rev 1.6 but I've misunderstand where to fix in 4-stable (sorry). This commit should be the MFC of rev 1.6. PR: 39754 Pointy hat to: matusita END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-24T04:10:12.000000Z K 7 svn:log V 94 - Remove the definition for SCHED_ATM - Change SCHED_ATM statements into schednetisr() calls. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-24T04:40:12.000000Z K 7 svn:log V 62 Add kernel print bits #define for the IEEE80211_CAPINFO bits. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-24T04:41:34.000000Z K 7 svn:log V 41 Add RID to get the DBM adjustment factor END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-24T04:42:46.000000Z K 7 svn:log V 57 Add kernel printf bits for WI_SUPPRATES and HOSTAP_FLAGS END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-24T05:03:44.000000Z K 7 svn:log V 157 - Remove DMA_* macros as only one, DMA_GET_ADDR, was used. - Convert DMA_GET_ADDR() calls to vtophys() calls in order to finish removing the DMA_* macros. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-24T05:10:41.000000Z K 7 svn:log V 200 MFC 1.30. Check only the fields we know should be the same between the primary and alternate superblocks, so fsck doesn't barf on new features added to UFS in later releases. Submitted by: mckusick END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-24T05:14:54.000000Z K 7 svn:log V 21 Document TARGET_ARCH END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-24T05:23:46.000000Z K 7 svn:log V 56 Add needed include of mman.h to fix sparc64 buildworld. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-24T06:09:54.000000Z K 7 svn:log V 180 Document -L and -l. Change -l -> -L to match OpenBSD (since we haven't MFC'd it yet). -l will now list stations that are associated with a hostap (preliminary) MFC After: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-24T06:20:35.000000Z K 7 svn:log V 78 include if_ieee80211.h and if_wireg.h, don't know why that didn't work before END K 10 svn:author V 4 mini K 8 svn:date V 27 2002-06-24T06:22:00.000000Z K 7 svn:log V 76 Remove unused diagnostic function cread_free_thread(). Approved by: alfred END K 10 svn:author V 4 mini K 8 svn:date V 27 2002-06-24T06:23:41.000000Z K 7 svn:log V 73 userout -> out. These two labels are now identical. Approved by: alfred END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-24T06:42:22.000000Z K 7 svn:log V 85 Fix sendfile bug where headers counted against amount of file to be sent. MFC: 1.103 END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-24T06:43:34.000000Z K 7 svn:log V 39 Bump FreeBSD_version for sendfile fix. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-24T07:00:13.000000Z K 7 svn:log V 32 Diff reduction against current. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-24T07:01:53.000000Z K 7 svn:log V 85 Don't leave files locked if we have a short write to a non-blocking socket. MFC: 1.9 END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-24T07:02:43.000000Z K 7 svn:log V 69 MFC: 1.7 (Undo sendfile(2) workaround now that the kernel is fixed.) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-06-24T07:14:44.000000Z K 7 svn:log V 124 Use proper size in bzero of stat structure. Submitted by: Jake Burkholder Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-24T07:50:41.000000Z K 7 svn:log V 316 On REASREQ packets, handled them earlier in processing the association request. We need to eat the MAC address of the packet before we go looking at the SSID and such. Doing do is sufficient to make Cisco cards assocaite with prism II cards. The submitter says that Linux does the same thing. Submitted by: jhay END K 10 svn:author V 4 kato K 8 svn:date V 27 2002-06-24T08:04:47.000000Z K 7 svn:log V 45 MFi386: sys/i386/isa/clock.c revision 1.187. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-06-24T10:13:43.000000Z K 7 svn:log V 173 MFC (1.9: fixed pow(x, y) when x is very close to -1.0 and y is a very large odd integer. Apply the same patch to e_powf.c although it is just cosmetic there). PR: 39236 END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-24T10:15:26.000000Z K 7 svn:log V 38 IPv4or6 is already defined in libssh. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-24T10:16:38.000000Z K 7 svn:log V 36 Fix style and unbreal static build. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-24T10:17:26.000000Z K 7 svn:log V 31 Previous commit made no sense. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-06-24T10:46:05.000000Z K 7 svn:log V 262 MFC (1.225: if trap() is called when ddb is active, then go directly to trap_fatal(); do not blunder around enabling interrupts and running trap handlers). This is more of a rewrite than a merge because trap() has has fewer but more harmful goto's in RELENG_4. END K 10 svn:author V 6 dinoex K 8 svn:date V 27 2002-06-24T11:11:30.000000Z K 7 svn:log V 70 remove declaration of authlog use variable from_host Reviewed by: des END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-24T11:24:02.000000Z K 7 svn:log V 170 Fix off by one in `y' (transliterate) command which caused the last character of the pattern space not to be examined. Noticed by: Motoyuki Konno END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-06-24T11:33:17.000000Z K 7 svn:log V 212 Print a long with %ld not %d. (We possibly should be using %j here, but that can be fixed when the many other warnings here are being fixed.) PR: 39741 Submitted by: Dan Lukes MFC after: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-06-24T11:37:56.000000Z K 7 svn:log V 92 Fixed some style bugs (mainly excessive indentation). Not completely unapproved by: julian END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-06-24T11:45:45.000000Z K 7 svn:log V 181 Include in the !_KERNEL case so that this file is self-sufficient in that case (it needs dev_t). This is normal pollution for most headers that define ioctl numbers. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-24T12:07:02.000000Z K 7 svn:log V 65 Yet another warning fix for 64 bits platforms. Reviewed by: phk END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-24T12:18:41.000000Z K 7 svn:log V 73 Reintroduce debugging code that somehow got lost in a previous revision. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-24T12:32:30.000000Z K 7 svn:log V 133 My previous style commits weren't entirely right. Fix some bugs I introduced, and a few more I hadn't yet fixed. Submitted by: bde END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-24T12:33:19.000000Z K 7 svn:log V 37 I hope I won't regret this too much. END K 10 svn:author V 5 naddy K 8 svn:date V 27 2002-06-24T12:40:11.000000Z K 7 svn:log V 48 Fix unaligned access error. Reviewed by: ticso END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-24T13:51:30.000000Z K 7 svn:log V 345 Add a simple (to be expanded) library of functions for the regression tests, to handle the ones which output to stdout and have output in regress.$test.out, etc. More freeform macros should and will be written, but these are the most prominent and most straightforward sort of tests we have around, so it makes sense to try to accomodate them. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-24T13:52:26.000000Z K 7 svn:log V 21 Add missing const's. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-24T13:52:28.000000Z K 7 svn:log V 121 Convert straightforward regression tests to use regress.m4. Goodbye, duplicated code, you will certainly not be missed. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-24T13:58:20.000000Z K 7 svn:log V 147 Comments to describe what these macros do, so that someone other than me might be able to figure out how to write some of these tests (hint hint). END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-24T14:15:25.000000Z K 7 svn:log V 217 Bring sys/kern/md5c.c in sync with the userland version. Add a comment so that people don't forget to keep the version in src/lib/libmd/md5c.c in sync with this one. This fixes a warning on sparc64. Reviewed by: phk END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-24T14:18:39.000000Z K 7 svn:log V 94 Oops, this should have been part of my previous commit. Somehow, it hasn't. Reviewed by: phk END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-24T14:19:57.000000Z K 7 svn:log V 91 Add two new mostly freeform types of regression tests, and a macro for dying ungracefully. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-24T14:22:44.000000Z K 7 svn:log V 649 Move all remaining tests except for: make(1): Does not work like the other tests. Its Makefile is self-testing. m4(1): It uses complex voodo to test GNU m4(1) features. To the new framework. I had worried about passing the binary data that uudecode(1)'s test passes to diff(1) might give a user something nasty, but this is unlikely to happen as even with an unmodified old nasty diff(1) which doesn't recognise many binary files, these binary files are recognised. Using $DIFF instead of `diff' in the library and making it possible to override this with `cmp -s' might be nice some day, but as of this second, there's no immediate need. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-24T14:29:19.000000Z K 7 svn:log V 102 I explicitly meant to not move any of this over to the new m4(1) framework, even slightly. Grrr CVS. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2002-06-24T14:36:36.000000Z K 7 svn:log V 75 Unbreak LINT by finishing the move of sr(4) to sys/dev. Reviewed by: jhay END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-06-24T15:16:16.000000Z K 7 svn:log V 42 The rp driver supports pc98 arch (maybe). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-06-24T15:24:42.000000Z K 7 svn:log V 57 Merged from sys/dev/sio/sio.c revisions 1.376 and 1.377. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-06-24T15:28:47.000000Z K 7 svn:log V 228 Enable mixer interrupts after the mixer is initialized, otherwise we might get interrupts and are unable to handle them properly, which results in a page fault. PR: kern/39549 Submitted by: Gil Kloepfer END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-24T15:48:02.000000Z K 7 svn:log V 456 Add an MD callout like cpu_exit, but which is called after sched_lock is obtained, when all other scheduling activity is suspended. This is needed on sparc64 to deactivate the vmspace of the exiting process on all cpus. Otherwise if another unrelated process gets the exact same vmspace structure allocated to it (same address), its address space will not be activated properly. This seems to fix some spontaneous signal 11 problems with smp on sparc64. END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-24T16:03:24.000000Z K 7 svn:log V 53 C replacement for the Perl5 code. Submitted by: reg END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-24T16:35:19.000000Z K 7 svn:log V 94 Better warnings fixes. Use more sane argument types instead of bogus casts Submitted by: bde END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-24T16:44:38.000000Z K 7 svn:log V 144 Fix a GCCism. int foo[0]; // dodgy int foo[]; // means the same, works the same and survives lint. Tested by: 3 months of use on my laptop END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-06-24T16:47:02.000000Z K 7 svn:log V 87 Style bug: fix 4 space indentations that should have been tabs. Submitted by: jlemon END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2002-06-24T17:20:19.000000Z K 7 svn:log V 50 Prototype fixes (long newinum --> ino_t newinum). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-24T17:40:27.000000Z K 7 svn:log V 38 Remove deprecated register qualifier. END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-06-24T18:31:47.000000Z K 7 svn:log V 284 The previous delta introduced /var/empty, for use by openssh-portable, which needs an empty directory into which to chroot(2). Hint to the operator that this directory really _should_ be empty by creating it with mode 0555 and the system immutable flag (schg) set. Reviewed by: des END K 10 svn:author V 3 dfr K 8 svn:date V 27 2002-06-24T18:31:49.000000Z K 7 svn:log V 67 Add UMA_ZONE_VM flag to the zones which are used for pmap_enter(). END K 10 svn:author V 3 jdp K 8 svn:date V 27 2002-06-24T19:50:56.000000Z K 7 svn:log V 107 Fix the amd invocation to honor the amd_flags setting. Submitted by: Mike Makonnen END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-24T20:13:09.000000Z K 7 svn:log V 30 correct syntax in last commit END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-24T20:57:14.000000Z K 7 svn:log V 304 Redo the way that fatal-error messages are done in the chkhost() routine, mainly so the compiler can correctly do printf-style parameter checking. Some minor improvements to a few of the error messages, but the main goal here is to get rid of a few more compile-time warning messages. MFC after: 5 days END K 10 svn:author V 4 eric K 8 svn:date V 27 2002-06-24T20:57:44.000000Z K 7 svn:log V 67 Correctly state the size of the help message. Sponsored by: Apple END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-24T21:31:57.000000Z K 7 svn:log V 319 Compile in the cpu halt code even on SMP, instead just default the sysctl (machdep.cpu_idle_hlt) to off in the SMP case. This allows you to turn it on if you wish and do not particularly care about the small window where a cpu will remain halted even when a job is placed on the run queue (until the next clock tick). END K 10 svn:author V 3 jdp K 8 svn:date V 27 2002-06-24T22:04:15.000000Z K 7 svn:log V 685 Work around what appears to be a chip bug in the BCM5701 that shows up when operating in PCI-X mode. For some received packets there is data corruption in the first few bytes in that case. Aligning the packet buffer eliminates the corruption. With this fix, the code that offsets the packet buffer up by 2 bytes to align the payload is disabled for BCM5701s operating in PCI-X mode. On the i386, which permits unaligned accesses, the payload is left unaligned. On other platforms, the packet is copied after reception to force alignment of the payload. Obviously, this work-around reduces performance in those cases (BCM5701 plus PCI-X) where it is in effect. MFC after: 3 days END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-06-24T22:06:47.000000Z K 7 svn:log V 303 Add a description of the restrictions that red(1) imposes to users, and a warning that this "restricted mode" can be bypassed easily by using symlinks, so that users don't depend too much on it. PR: docs/35940 Submitted by: Gary W. Swearingen Reviewed by: jmallett MFC after: 1 week END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-06-24T22:25:00.000000Z K 7 svn:log V 84 Avoid unlocking the inp twice if badport_bandlim() returns -1. Reported by: jlemon END K 10 svn:author V 2 mp K 8 svn:date V 27 2002-06-24T22:28:42.000000Z K 7 svn:log V 39 Add missing splx(). MFC after: 3 days END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-24T22:29:01.000000Z K 7 svn:log V 66 - Remove UM_* memory handling macros as they just obfuscate code. END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-24T22:31:17.000000Z K 7 svn:log V 69 - Remove UM_* user land memory macros since they are no longer used. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-06-24T23:13:16.000000Z K 7 svn:log V 41 MFC: 1.18: Add a missing 'utility' word. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2002-06-24T23:19:18.000000Z K 7 svn:log V 246 Update the asm statements to use the "+" modifier instead of matching constraints where appropriate. This makes the dynamic linker buildable at -O0 again. Thanks to Bruce Evans for identifying the cause of the build problem. MFC after: 1 week END K 10 svn:author V 4 eric K 8 svn:date V 27 2002-06-25T00:02:55.000000Z K 7 svn:log V 45 MFC: correct the note about the help message END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-06-25T01:02:28.000000Z K 7 svn:log V 145 Force the quota update to be done when an inode is released in ufs_inactive. This avoid a panic when checking a NULL credential in suser_cred(). END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-25T02:34:24.000000Z K 7 svn:log V 106 update the firewall documentation to cover the fact that ipfw can be loaded as a module. PR: kern/39814 END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-25T02:36:02.000000Z K 7 svn:log V 8 MFC 1.8 END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-25T02:40:29.000000Z K 7 svn:log V 17 MFC through 1.46 END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-25T02:47:55.000000Z K 7 svn:log V 181 Add sections on vfs.write_behind and vfs.hirunningspace. Also note that this has already been comitted to stable (the MFC was really through this commit, not the previous commit). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T04:11:45.000000Z K 7 svn:log V 49 Update our compat libs to the 4.6-RELEASE level. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-25T04:13:46.000000Z K 7 svn:log V 127 ICMP type 3 packets should be let through for TCP MTU discovery, fixup the documentation and sample firewall. PR: docs/39495 END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-25T04:14:41.000000Z K 7 svn:log V 39 MFC through 1.9 (ICMP type 3 addition) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T04:18:45.000000Z K 7 svn:log V 134 Add the [Linux] PAM modules that are still used in RELENG_4, but not -CURRENT. These are at the 4.6-RELEASE level. Requested by: DES END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2002-06-25T04:24:20.000000Z K 7 svn:log V 104 MFC: Removed unneeded files. if_em_fxhw.[c,h] and if_em_phy.[c,h] have been merged into one [c,h] file. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T04:51:12.000000Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T04:55:07.000000Z K 7 svn:log V 134 Add the [Linux] PAM modules that are still used in RELENG_4, but not -CURRENT. These are at the 4.6-RELEASE level. Requested by: des END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T04:59:48.000000Z K 7 svn:log V 49 Update our compat libs to the 4.6-RELEASE level. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T05:04:46.000000Z K 7 svn:log V 52 MFC: rev 1.59 (fix lib ordering for static linking) END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2002-06-25T05:16:11.000000Z K 7 svn:log V 273 Rearrange a little, specifically: - removed "Option string values" section and divided up amongst mail options and environment section - expanded environment section - rearranged mail options - added default values to the mail options for clarification Reviewed by: ru END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2002-06-25T05:24:30.000000Z K 7 svn:log V 268 Make the 'searchheaders' option behave how it was supposed to. If enabled, the string '/to:y' will match strings in the To, Cc, and Bcc header fields. Whereas, '/To:y' will match only the To field. Edit the manpage and a code comment to indicate the correct behavior. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2002-06-25T05:28:32.000000Z K 7 svn:log V 47 Use strcasestr() instead of reimplementing it. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2002-06-25T05:34:27.000000Z K 7 svn:log V 57 Add support for the 'flipr' option per IEEE 1003.1-2001. END K 10 svn:author V 5 perky K 8 svn:date V 27 2002-06-25T08:15:35.000000Z K 7 svn:log V 96 Add ICBM coordinates and birthday reminder Reviewed by: cjh (mentor) Approved by: cjh (mentor) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-25T08:36:19.000000Z K 7 svn:log V 62 Sort sections, and refer to sed as a utility, not a function. END K 10 svn:author V 4 kato K 8 svn:date V 27 2002-06-25T09:10:38.000000Z K 7 svn:log V 44 MFi386: sys/i386/i386/machdep.c rev. 1.520. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-25T09:58:29.000000Z K 7 svn:log V 102 Correctly mark up the final command line arguments with the Ar macro for the last two synopsis forms. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-25T10:02:12.000000Z K 7 svn:log V 102 ln(1)'s symbolic link handling conforms to IEEE Std. 1003.1-2001, note this in the Standards section. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-25T12:10:09.000000Z K 7 svn:log V 203 Add a regression test for transliterate which happens to match characters at an EOL/EOF, and therefore should catch the broken behaviour fixed by Tim J. Robbins in sed(1) recently. Suggested by: obrien END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-25T12:40:04.000000Z K 7 svn:log V 334 Reduce internal code duplication, add REGRESSION_PASSFAIL([testname]) to handle printing of the PASS/FAIL messages. Suffix PASS/FAIL/FATAL with the string (in $directory) where $directory is ${.CURDIR} from make(1), to make it easier to use grep(1) and a bit of sed/awk to do statistics of failure for some utilities over time, etc. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-25T15:13:09.000000Z K 7 svn:log V 244 pmap_kremove can no longer be used to remove the magic device mappings installed with pmap_kenter_flags, since the physical addresses may not have an associated vm_page. Add a function to do this. Tested by: Tomi Vainio END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-25T15:16:23.000000Z K 7 svn:log V 414 MFC compile.c:: revision 1.21 date: 2002/06/01 13:25:47; author: green; state: Exp; lines: +24 -4 Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character) was initiated at the last character of the line buffer, the Wrong Thing was done and sed barfed by interpreting the following NUL byte as a digit. Instead, pull up the next buffer and record that the "\" was last seen. Submitted by: green END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-06-25T15:59:24.000000Z K 7 svn:log V 264 Don't assume that pointers are 4 bytes or sizeof(int) in size. This fixes the indirection operator ('*') and address examination ('x/a') on big-endian platoforms for which the above is not true, as well as on little-endian platforms if the cut-off bits are not 0. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T18:01:12.000000Z K 7 svn:log V 84 Prototype _start. Submitted by: markm Mark some _start formal parameters __unused. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-25T18:05:16.000000Z K 7 svn:log V 25 WARNS=6'ify. Style nits. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-25T18:14:38.000000Z K 7 svn:log V 160 o Eliminate vmspace::vm_minsaddr. It's initialized but never used. o Replace stale comments in vmspace by "const until freed" annotations on some fields. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2002-06-25T18:54:39.000000Z K 7 svn:log V 319 - Merge the following from the English version: 1.308 -> 1.313 relnotes/common/new.sgml - Add pc98 subdir: 1.3 -> 1.4 relnotes/Makefile 1.2 -> 1.3 relnotes/common/relnotes.ent (new) -> 1.1 relnotes/pc98/Makefile (new) -> 1.1 relnotes/pc98/article.sgml - Remove ${NO_TIDY}. It is no longer needed. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-25T19:10:09.000000Z K 7 svn:log V 79 No guts, no glory. Switch to OpenSSH-portable. Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-06-25T19:10:10.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2002-06-25T21:04:50.000000Z K 7 svn:log V 158 Reduce the amount of code that runs with the zone lock held in slab_zalloc(). This allows us to run the zone initialization functions without any locks held. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2002-06-25T22:01:12.000000Z K 7 svn:log V 73 Turn VM_ALLOC_ZERO into a flag. Submitted by: tegge Reviewed by: dillon END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-06-25T22:14:06.000000Z K 7 svn:log V 471 Complete the initial set of VM changes required to support full 64-bit file sizes. This step simply addresses the remaining overflows, and does attempt to optimise performance. The details are: o Use a 64-bit type for the vm_object `size' and the size argument to vm_object_allocate(). o Use the correct type for index variables in dev_pager_getpages(), vm_object_page_clean() and vm_object_page_remove(). o Avoid an overflow in the i386 pmap_object_init_pt(). END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-25T22:55:07.000000Z K 7 svn:log V 204 MFC *: Add a new command to 'lpc' called 'setstatus', which would be used to change the status message of a print queue. [* = 1.26 cmds.c, 1.6 cmdtab.c, 1.7 extern.h, 1.16 lpc.8, 1.25 lpc.c, 1.5 lpc.h] END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-25T22:55:53.000000Z K 7 svn:log V 145 Remove old pre-TIRPC code for getting transport handles. The code that follows spams over the contents of them making the removed code useless. END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-25T22:57:04.000000Z K 7 svn:log V 152 MFC 1.27: Reorganize the way that arguments are processed in lpc's generic-queue commands, to make things a little cleaner (mainly for a later update). END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-25T23:03:19.000000Z K 7 svn:log V 77 MFC 1.17: Make the description of the 'down' command a little more readable. END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-25T23:08:36.000000Z K 7 svn:log V 502 MFC *: Add a nearly complete rewrite of the lpc command 'down'. The only user-visible change should be that more than one queue can now be specified, if one uses the '-msg' parameter to separate the list of queues from the status message to set. The previous implementation of 'down' remains available as the command 'xdown', available for instant fallback if there seems to be anything wrong with the new one. If no one reports a problem after a few weeks, then a later update will remove 'xdown'. END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-25T23:11:18.000000Z K 7 svn:log V 123 MFC *: Just rename two generic-queue init routines from 'init_*' to '*_gi'. [* = 1.29 cmds.c, 1.8 cmdtab.c, 1.9 extern.h] END K 10 svn:author V 4 eric K 8 svn:date V 27 2002-06-26T00:10:43.000000Z K 7 svn:log V 41 MFC: fix compilation in non-FreeBSD case END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-26T00:29:01.000000Z K 7 svn:log V 184 - Alleviate jail() from having the burden of acquiring Giant by simply removing. We can do this since we no longer need Giant to safely execute jail(). Reviewed by: rwatson, jhb END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T00:29:28.000000Z K 7 svn:log V 377 Part I of RLIMIT_VMEM implementation. Implement core functionality for a new resource limit that covers a process's entire VM space, including mmap()'d space. (Part II will be additional code to check RLIMIT_VMEM during exec() but it needs more fleshing out). PR: kern/18209 Submitted by: Andrey Alekseyev , Dmitry Kim MFC after: 7 days END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T00:29:53.000000Z K 7 svn:log V 98 Add support for RLIMIT_VMEM. The #ifdef's were already there but getopt() needed to be adjusted. END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-26T00:31:44.000000Z K 7 svn:log V 169 - Remove Giant acquisition from modevent(), modfnext(), modstat() and modfind(). Giant is no longer needed by these functions for safe execution. Reviewed by: jhb END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T00:38:39.000000Z K 7 svn:log V 49 Backout 1.51 on DES's request. Approved by: des END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T00:42:40.000000Z K 7 svn:log V 228 This is Alexander Kabaev's patch to solve the signal problem with su (see 'zsh exits upon ^C' thread). This may be temporary be he's been running it for a year without incident so we should be golden with it. Approved by: des END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-26T01:35:00.000000Z K 7 svn:log V 14 Remove cruft. END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-26T01:37:45.000000Z K 7 svn:log V 23 Remove out-of-date -I. END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-06-26T01:40:15.000000Z K 7 svn:log V 214 Fix mdoc nits in preparation for RLIMIT_VMEM support: * add missing Ar macro for one instance of limitflags * fix indentation problem (not perfect, but then this is one _very_ awkward manpage mark up properly) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-26T02:48:44.000000Z K 7 svn:log V 23 Import sendmail 8.12.5 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-26T02:48:44.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98841, 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 2002-06-26T02:48:45.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'sendmail-vendor-v8_12_5'. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-26T02:50:37.000000Z K 7 svn:log V 49 Resolve conflicts from import of sendmail 8.12.5 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-26T02:52:59.000000Z K 7 svn:log V 38 Update for the sendmail 8.12.5 import END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-26T02:58:55.000000Z K 7 svn:log V 34 sendmail 8.12.5 has been imported END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-26T03:00:40.000000Z K 7 svn:log V 155 - The previous commit message should have read that Giant was removed from modnext(), modfnext(), modstat(), and modfind(). Please excuse the fumble. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T03:13:46.000000Z K 7 svn:log V 110 Enforce RLIMIT_VMEM on growable mappings (aka the primary stack or any MAP_STACK mapping). Suggested by: alc END K 10 svn:author V 3 ken K 8 svn:date V 27 2002-06-26T03:37:47.000000Z K 7 svn:log V 5283 At long last, commit the zero copy sockets code. MAKEDEV: Add MAKEDEV glue for the ti(4) device nodes. ti.4: Update the ti(4) man page to include information on the TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options, and also include information about the new character device interface and the associated ioctls. man9/Makefile: Add jumbo.9 and zero_copy.9 man pages and associated links. jumbo.9: New man page describing the jumbo buffer allocator interface and operation. zero_copy.9: New man page describing the general characteristics of the zero copy send and receive code, and what an application author should do to take advantage of the zero copy functionality. NOTES: Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS, TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT. conf/files: Add uipc_jumbo.c and uipc_cow.c. conf/options: Add the 5 options mentioned above. kern_subr.c: Receive side zero copy implementation. This takes "disposable" pages attached to an mbuf, gives them to a user process, and then recycles the user's page. This is only active when ZERO_COPY_SOCKETS is turned on and the kern.ipc.zero_copy.receive sysctl variable is set to 1. uipc_cow.c: Send side zero copy functions. Takes a page written by the user and maps it copy on write and assigns it kernel virtual address space. Removes copy on write mapping once the buffer has been freed by the network stack. uipc_jumbo.c: Jumbo disposable page allocator code. This allocates (optionally) disposable pages for network drivers that want to give the user the option of doing zero copy receive. uipc_socket.c: Add kern.ipc.zero_copy.{send,receive} sysctls that are enabled if ZERO_COPY_SOCKETS is turned on. Add zero copy send support to sosend() -- pages get mapped into the kernel instead of getting copied if they meet size and alignment restrictions. uipc_syscalls.c:Un-staticize some of the sf* functions so that they can be used elsewhere. (uipc_cow.c) if_media.c: In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid calling malloc() with M_WAITOK. Return an error if the M_NOWAIT malloc fails. The ti(4) driver and the wi(4) driver, at least, call this with a mutex held. This causes witness warnings for 'ifconfig -a' with a wi(4) or ti(4) board in the system. (I've only verified for ti(4)). ip_output.c: Fragment large datagrams so that each segment contains a multiple of PAGE_SIZE amount of data plus headers. This allows the receiver to potentially do page flipping on receives. if_ti.c: Add zero copy receive support to the ti(4) driver. If TI_PRIVATE_JUMBOS is not defined, it now uses the jumbo(9) buffer allocator for jumbo receive buffers. Add a new character device interface for the ti(4) driver for the new debugging interface. This allows (a patched version of) gdb to talk to the Tigon board and debug the firmware. There are also a few additional debugging ioctls available through this interface. Add header splitting support to the ti(4) driver. Tweak some of the default interrupt coalescing parameters to more useful defaults. Add hooks for supporting transmit flow control, but leave it turned off with a comment describing why it is turned off. if_tireg.h: Change the firmware rev to 12.4.11, since we're really at 12.4.11 plus fixes from 12.4.13. Add defines needed for debugging. Remove the ti_stats structure, it is now defined in sys/tiio.h. ti_fw.h: 12.4.11 firmware. ti_fw2.h: 12.4.11 firmware, plus selected fixes from 12.4.13, and my header splitting patches. Revision 12.4.13 doesn't handle 10/100 negotiation properly. (This firmware is the same as what was in the tree previously, with the addition of header splitting support.) sys/jumbo.h: Jumbo buffer allocator interface. sys/mbuf.h: Add a new external mbuf type, EXT_DISPOSABLE, to indicate that the payload buffer can be thrown away / flipped to a userland process. socketvar.h: Add prototype for socow_setup. tiio.h: ioctl interface to the character portion of the ti(4) driver, plus associated structure/type definitions. uio.h: Change prototype for uiomoveco() so that we'll know whether the source page is disposable. ufs_readwrite.c:Update for new prototype of uiomoveco(). vm_fault.c: In vm_fault(), check to see whether we need to do a page based copy on write fault. vm_object.c: Add a new function, vm_object_allocate_wait(). This does the same thing that vm_object allocate does, except that it gives the caller the opportunity to specify whether it should wait on the uma_zalloc() of the object structre. This allows vm objects to be allocated while holding a mutex. (Without generating WITNESS warnings.) vm_object_allocate() is implemented as a call to vm_object_allocate_wait() with the malloc flag set to M_WAITOK. vm_object.h: Add prototype for vm_object_allocate_wait(). vm_page.c: Add page-based copy on write setup, clear and fault routines. vm_page.h: Add page based COW function prototypes and variable in the vm_page structure. Many thanks to Drew Gallatin, who wrote the zero copy send and receive code, and to all the other folks who have tested and reviewed this code over the years. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T03:43:25.000000Z K 7 svn:log V 83 Make limits(1) aware of the new vmemoryuse resource limit. Submitted by: sheldonh END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T03:54:18.000000Z K 7 svn:log V 98 Make libutil aware of vmemoryuse in its login.conf cap processing (aka sshd, /usr/bin/login, etc) END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T03:58:31.000000Z K 7 svn:log V 33 Add documentation for vmemoryuse END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-26T04:04:37.000000Z K 7 svn:log V 48 add default vmemoryuse (unlimited), and samples END K 10 svn:author V 4 sada K 8 svn:date V 27 2002-06-26T05:09:12.000000Z K 7 svn:log V 106 `pw useradd' could be used with -w without -D option. PR: docs/39770 Submitted by: sada Approved by: dd END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T06:04:46.000000Z K 7 svn:log V 84 Avoid remote buffer overflow on hostbuf[]. Submitted by: joost Pol END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T06:06:43.000000Z K 7 svn:log V 46 MFC: Fix remove overflow Approved by: nectar END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T06:09:11.000000Z K 7 svn:log V 79 Bump revsion to 460100 after consultation with re@ and so@ to reflect dns fix. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T06:23:22.000000Z K 7 svn:log V 83 Fix a minor last, minute issue that came in after I committed. Noticed by: nectar END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T06:24:29.000000Z K 7 svn:log V 19 MFC: Fix last fix. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T06:31:06.000000Z K 7 svn:log V 41 Don't allow buffer overflow here either. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T06:34:18.000000Z K 7 svn:log V 28 MFC: adjust buflen properly END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-26T07:55:18.000000Z K 7 svn:log V 160 Make it more obvious that the semicolon that terminates -exec and -execdir argument lists must be in an argument by itself, not on the end of the previous one. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-26T08:03:54.000000Z K 7 svn:log V 109 Indicate that the semicolon that terminates argument lists should be in its own argument for -ok and -okdir. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-26T08:11:21.000000Z K 7 svn:log V 72 MFC: Correct erroneous description of CDPATH for cd builtin (rev. 1.69) END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T08:18:05.000000Z K 7 svn:log V 83 Include more robust checking of end of buffer that more completely plugs the hole. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T08:18:42.000000Z K 7 svn:log V 55 Minor libc internal-only interface change for mapv4v6. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-26T08:23:36.000000Z K 7 svn:log V 61 MFC: Make usage() message more precise (1.9), style changes. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-26T08:25:30.000000Z K 7 svn:log V 79 MFC: Make Synopsis more precise, use "utility" instead of "command" (rev 1.14) END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T08:36:02.000000Z K 7 svn:log V 18 MFC: oflow fixes. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-26T08:41:00.000000Z K 7 svn:log V 227 If CLEANFILES is nil or not defined, do not try to remove it. This happens when SRCS is entirely files which produce only one compiled form, and when NOMAN is defined. This does not seem to happen in STABLE. Approved by: ru END K 10 svn:author V 6 nectar K 8 svn:date V 27 2002-06-26T08:44:24.000000Z K 7 svn:log V 18 MFC: oflow fixes. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2002-06-26T08:48:34.000000Z K 7 svn:log V 75 Initialize a pointer that was left uninitialized with the previous commit. END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-06-26T08:58:28.000000Z K 7 svn:log V 163 Tone down the previous delta: don't set the system immutable flag on /var/empty, because it makes it difficult for mergemaster(8) to remove /var/tmp/temproot/var. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-06-26T10:33:10.000000Z K 7 svn:log V 99 Add -I${.CURDIR}/../../sys into CFLAGS, which should fix the world broken by RLIMIT_VMEM addition. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-06-26T13:25:23.000000Z K 7 svn:log V 80 Backout previous delta (addition of -I${.CURDIR}/../../sys). Submitted by: bde END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-06-26T14:14:07.000000Z K 7 svn:log V 177 Add 'chflags -R noschg' to the deletion process for the TEMPROOT directory so that /var/empty, and any other such items that are added in the future can be deleted effectively. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-26T14:18:36.000000Z K 7 svn:log V 51 Remove two stray lines that snuck in the cvs merge END K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-26T15:53:11.000000Z K 7 svn:log V 238 - Remove the Giant acquisition from linux_socket_ioctl() as it was really there to protect fdrop() (which in turn can call vrele()), however, fdrop_locked() grabs Giant for us, so we do not have to. Reviewed by: jhb Inspired by: alc END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-06-26T16:40:25.000000Z K 7 svn:log V 137 Fix an integer overflow that causes fsck_ffs to crash when it encounters very large file sizes in the filesystem. Reviewed by: mckusick END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-26T16:49:28.000000Z K 7 svn:log V 156 MFC: `sed -i'. This also gets deregisterization, de_P, and all others changes between 5-CURRENT and RELENG_4. Bump __FreeBSD_version for bsd.port.mk's use. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-26T16:57:36.000000Z K 7 svn:log V 145 Erk, I forgot that regress.in has an ending newline, so change the test for transliterate to use echo -n to supress newline and a simple string. END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-26T17:05:08.000000Z K 7 svn:log V 52 Help fix warnings by marking an argument as unused. END