ƒ¯/98452 207 484 404 162 281 163 254 143 345 324 213 285 170 126 203 221 193 320 493 263 267 258 179 173 207 309 267 154 189 216 411 272 155 230 190 228 592 349 141 237 232 141 249 488 157 162 204 450 268 209 163 204 157 238 181 159 144 160 299 364 168 198 117 222 354 880 113 229 113 121 207 113 262 175 239 174 135 120 120 175 239 181 135 125 124 145 181 169 179 173 138 1825 188 158 293 199 179 165 151 165 292 342 109 128 286 226 164 130 173 131 207 113 129 113 393 138 239 239 138 113 169 145 305 132 420 124 239 166 166 127 127 127 127 337 184 127 161 115 121 155 124 147 206 127 491 138 127 179 153 213 369 372 224 387 303 282 208 229 306 111 454 276 2129 247 475 234 217 324 124 188 126 245 186 462 416 941 224 175 390 315 337 234 120 153 125 139 144 211 221 1360 195 302 125 405 780 184 164 1294 276 178 335 176 177 128 182 181 1768 209 K 10 svn:author V 3 arr K 8 svn:date V 27 2002-06-19T21:25:59.000000Z K 7 svn:log V 391 - Remove the lock(9) protecting the kernel linker system. - Added a mutex, kld_mtx, to protect the kernel_linker system. Note that while ``classes'' is global (to that file), it is only read only after SI_SUB_KLD, SI_ORDER_ANY. - Add a SYSINIT to flip a flag that disallows class registration after SI_SUB_KLD, SI_ORDER_ANY. Idea for ``classes'' read only by: jake Reviewed by: jake END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-19T23:40:54.000000Z K 7 svn:log V 311 MFC *: Stop using the depreciated 'union wait' definitions, moving to a more standard handling of wait()-related routines. and Avoid checking WIFEXITED and WTERMSIG in some error situations where the value in wstatus is not related to the process that we care about. [* = 1.34 lpd.c, 1.53->1.54 printjob.c] END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-19T23:48:46.000000Z K 7 svn:log V 70 MFC 1.55: Fix all the 'return' statements in here to follow style(9). END K 10 svn:author V 4 jeff K 8 svn:date V 27 2002-06-19T23:49:57.000000Z K 7 svn:log V 187 - Move the computation of pflags out of the page allocation loop in kmem_malloc() - zero fill pages if PG_ZERO bit is not set after allocation in kmem_malloc() Suggested by: alc, jake END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-19T23:54:41.000000Z K 7 svn:log V 71 MFC 1.56: Cosmetic improvements to some of the syslog() calls in here. END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-19T23:58:16.000000Z K 7 svn:log V 161 MFC 1.57: Change some "process id" variables from 'int' to 'pid_t', renaming some of them. Also moved a global pid-variable into the only routine that used it. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-06-20T00:48:35.000000Z K 7 svn:log V 49 MFC: Change ``dmesg -a'' to ``dmesg'' PR: 30079 END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T01:27:40.000000Z K 7 svn:log V 250 Solve the 'unregistered netisr 18' information notice with a sledgehammer. Register the ISR early, but do not actually kick off the timer until we see some activity. This still saves us from running the arp timers on a system with no network cards. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-20T02:04:55.000000Z K 7 svn:log V 231 o Acquire and release the vm_map lock instead of Giant in obreak(). Consequently, use vm_map_insert() and vm_map_delete(), which expect the vm_map to be locked, instead of vm_map_find() and vm_map_remove(), which do not. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T03:08:20.000000Z K 7 svn:log V 115 Grrr, make the test for embedded variables in the left-hand-side actually do the right thing in every case. Yuck. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-20T04:33:06.000000Z K 7 svn:log V 187 Add a warning regarding the SENDMAIL_*_MC make.conf variable values. Using /etc/mail/sendmail.mc will create /etc/mail/sendmail.cf during a buildworld. PR: misc/39397 MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T05:20:50.000000Z K 7 svn:log V 73 Minor const cleanup. Don't discard qualifiers we don't need to discard. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T05:21:43.000000Z K 7 svn:log V 29 Remove two unused variables. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T05:28:02.000000Z K 7 svn:log V 105 We have a place for extern declarations of global variables in ed.h, do not use main() to do it locally. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-20T05:34:43.000000Z K 7 svn:log V 128 MFC: Handle zero length first string with -c option, style/WARNS changes tr.c rev. 1.9-1.11, str.c rev. 1.11-1.12, extern.h 1.3 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T05:35:40.000000Z K 7 svn:log V 96 A function which takes no arguments has an argument list spelled (void) in the world of ANSI C. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T06:00:51.000000Z K 7 svn:log V 222 Use size_t consistently and complete some uncompleted code resulting in a memory leak by assigning and freeing a variable appropriately as well as keeping track of the amount of allocated ram properly. MFC after: 1 month END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T06:21:20.000000Z K 7 svn:log V 398 Move the "- 1" into the RQB_FFS(mask) macro itself so that implementations can provide a base zero ffs function if they wish. This changes #define RQB_FFS(mask) (ffs64(mask)) foo = RQB_FFS(mask) - 1; to #define RQB_FFS(mask) (ffs64(mask) - 1) foo = RQB_FFS(mask); On some platforms we can get the "- 1" for free, eg: those that use the C code for ffs64(). Reviewed by: jake (in principle) END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T06:23:40.000000Z K 7 svn:log V 168 Use the canonical pmap_{new,dispose,swapin,swapout}_proc() functions, in this case cut/pasted from sparc64 instead of messing with contigmalloc where it is not needed. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T06:25:22.000000Z K 7 svn:log V 172 panic rather than fault and explode if we fail to contigmalloc a kernel stack. This is still bad(TM), but at least we have a clue when we get hit when contigmalloc fails. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T06:29:42.000000Z K 7 svn:log V 163 Add boot_serial and boot_multicons variables to set RB_SERIAL and RB_MULTIPLE since this seems to be the easiest way to add these flags for non-forth loaders etc. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T06:45:43.000000Z K 7 svn:log V 85 Use suword32/64 and fuword32/64 like elsewhere instead of inventing suhword/fuhword. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T06:47:44.000000Z K 7 svn:log V 79 ia32 %edx return comes from td_retval[1], not td_retval[0] Obtained from: dfr END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T07:06:21.000000Z K 7 svn:log V 109 That's right, you can shove your xargs(1) issues in my direction, and I'm also glad to review changes to it. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-20T07:07:00.000000Z K 7 svn:log V 216 Make it obvious that command line arguments may be specified for the utility that is to be invoked on the command line. Use "utility" instead of "command" in manual page and usage message for consistency with POSIX. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T07:08:43.000000Z K 7 svn:log V 172 Remove UIO_USERISPACE - we do not support any split instruction/data address space machines (eg: pdp-11) and are not likely to ever do so. Nothing in our kernel sets this. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T07:09:24.000000Z K 7 svn:log V 60 Remove references to UIO_USERISPACE which no longer exists. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-20T07:12:34.000000Z K 7 svn:log V 97 time(1) does not use the shell to execute the specified utility, remove sentence stating it did. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T07:13:35.000000Z K 7 svn:log V 121 Deorbit suibyte(). It was only used for split address space systems for supporting UIO_USERISPACE (ie: it wasn't used). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T07:15:55.000000Z K 7 svn:log V 313 Bogusness may have happened using a variable assignment here before, but proper parens mean that fd is always set by open(2) [in any part of C], and so we can accurately check for it returning -1, without feeling like we need to initialise fd to -1 in its declaration. In other words, fix a stylistic/bogus nit. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T07:23:08.000000Z K 7 svn:log V 177 Use suword16/fuword16 instead of susword/fusword - this has two different definitions so far.. 16 bit on x86 and appears to be 32 bit on sparc64. Be explicit to avoid suprises. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-20T07:36:22.000000Z K 7 svn:log V 63 Style: put static qualifier on definition of static functions. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T07:40:53.000000Z K 7 svn:log V 135 Update an 'XXX what is this?' type comment about suswintr and fuswintr. These are 16 bit short values used only by the profiling code. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-20T08:06:44.000000Z K 7 svn:log V 98 MFC: unexpand(1) -t option, style/WARNS changes unexpand.c revs. 1.6-1.10, expand.1 revs. 1.8-1.9 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-06-20T08:49:44.000000Z K 7 svn:log V 133 Anonymize the "portmap" program to get better compatibility with rpcbind in -current. Submitted by: Alexander Kabaev END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-06-20T09:04:33.000000Z K 7 svn:log V 499 Quick fix for the type of the bitmap in sigset_t. It was an array of 4 u_ints but needs to be an array of 4 uint32_t's to work, at least if unsigned ints have less than 32 bits. It should be a non-array of 1 uint128_t on 128-bit machines, especially if u_int has 128 bits. The headers that declare uint32_t (actually __uint32_t) are intentionally not included here since this header should only be included by other headers. Fixed some style bugs (space instead of tab after #ifndef and #endif). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T10:37:43.000000Z K 7 svn:log V 251 It seems the hard lock on m4(1) is viewed as superfluous. Okay. It's gone. I'm sick of waiting on OpenBSD to make a number of changes anyway. If someone else wants to take over fixing m4(1), I'll be glad to make them aware of the existing issues. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-06-20T11:00:23.000000Z K 7 svn:log V 46 MFC: Correct spelling of the word 'supplied'. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T11:14:54.000000Z K 7 svn:log V 139 Cast sp to uintptr_t when doing a compare of it to STACKMAX which is a size_t. This messes up some indentation in mdef.h for some macros. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T11:17:46.000000Z K 7 svn:log V 134 Whitespace fixes to line-up EOL escapes whose right-most extraints changed in the previous revision due to the biggest line changing. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-06-20T12:51:26.000000Z K 7 svn:log V 48 Remove the em driver from small mfsroot floppy. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-06-20T14:03:36.000000Z K 7 svn:log V 152 Display the mutex name in the ^T status line if the selected thread is blocked on a mutex. Prepend a '*' to distinguish this case as is done in top(1). END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-06-20T14:55:53.000000Z K 7 svn:log V 391 Don't try to decode old-style options if the argv[1] begins with `-' and the second character represents some option taking an argument. This fixes problem when ps(1) is invoked for examply as follows: $ ps -Ufoobar1234 the above example results in option string being interpreted as -U foobarp1234 - note extra `p'. Reported by: Vladimir Sotnikov MFC after: 2 weeks END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-06-20T15:47:17.000000Z K 7 svn:log V 62 MFC: Pass the correct arguments to the chgproccnt() function. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-06-20T15:52:07.000000Z K 7 svn:log V 67 The cr_ruidinfo member of struct ucred does not exist in RELENG_4. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-20T17:27:28.000000Z K 7 svn:log V 108 Don't leak resources if fdcheckstd() fails during exec. Submitted by: Mike Makonnen END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-20T18:38:28.000000Z K 7 svn:log V 357 o Remove an incorrect cast from obreak(). This cast would, for example, break an sbrk(>=4GB) on 64-bit architectures even if the resource limit allowed it. o Correct an off-by-one error. o Correct a spelling error in a comment. o Reorder an && expression so that the commonly FALSE expression comes first. Submitted by: bde (bullets 1 and 2) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-06-20T18:52:54.000000Z K 7 svn:log V 172 Implement SO_NOSIGPIPE option for sockets. This allows one to request that an EPIPE error return not generate SIGPIPE on sockets. Submitted by: lioux Inspired by: Darwin END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T19:28:00.000000Z K 7 svn:log V 111 Diff reduction for great justice against NetBSD, cast to unsigned char when passing an argument to isspace(3). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T19:31:55.000000Z K 7 svn:log V 66 Expand a buffer to reduce diffs to NetBSD. Obtained from: NetBSD END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T19:41:21.000000Z K 7 svn:log V 106 Look for wildcards, and balanced meta-characters such as { and } like NetBSD does. Obtained from: NetBSD END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T19:42:51.000000Z K 7 svn:log V 63 Import ncurses 5.2-20020615 to fix a first-column display bug. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T19:42:51.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98503, 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-20T19:42:52.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'ncurses-vendor-v5_2_20020615'. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T19:44:34.000000Z K 7 svn:log V 62 Provide a heuristic for RCS conflicts. Obtained from: NetBSD END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-20T19:44:40.000000Z K 7 svn:log V 50 Merge ncurses 5.2-20020615 changes onto mainline. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T19:45:44.000000Z K 7 svn:log V 63 More unsigned char casts to isupper(3). Obtained from: NetBSD END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-20T19:51:13.000000Z K 7 svn:log V 201 Fix a bug fixed by NetBSD in revision 1.42 of parse.c by christos which caused an example Makefile I was showing someone just last night to report a variable as being recursive. Obtained from: NetBSD END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-20T20:03:42.000000Z K 7 svn:log V 271 Change the way we internally store the mount options to a linked list. This is to allow the merging of the mount options in the MNT_UPDATE case, as the current data structure is unsuitable for this. There are no functional differences in this commit. Reviewed by: phk END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-20T20:41:57.000000Z K 7 svn:log V 75 {f,s}usword -> {f,s}uword16. Implement {f,s}uword32. Requested by: peter END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-20T20:54:54.000000Z K 7 svn:log V 102 Remove GAWK. I removed it from the build 2 weeks ago and the world did not end. So finish the deed. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-20T21:13:33.000000Z K 7 svn:log V 22 MFC: hookup lukemftpd END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-20T21:17:33.000000Z K 7 svn:log V 127 Add a few files which are needed to build "passwd" now that the standard version of these files have been PAMified (and axed). END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-20T21:19:49.000000Z K 7 svn:log V 260 Provide a way to keep out old ("historic") release notes from bloating the size of the rendered release notes. By default, any element with a role="historic" attribute won't get rendered in the output unless the INCLUDE_HISTORIC Makefile variable is defined. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-20T21:29:55.000000Z K 7 svn:log V 785 Add some #define's for mbuf annotations. As the comment in the code says, eventually there will be a proper data structure (e.g NetBSD's struct m_tag) to store chains of annotations, and mbuf-handling procedures will handle these chains in the correct way. Right now, these chains do not exist, and we just use the constants defined here to implement simple ad-hoc solutions to remove some global variables used so far to pass around informations about packets being processed. Global variables are not only ugly and make the code unreadable, they also prevent from using parallelism in network stack processing. (the 3-days MFC only refers to this commit, i.e. the PACKET_TAG_* constants; the full mechanism will be committed and MFC'ed on a longer timescale). MFC after: 3 days END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-06-20T22:43:33.000000Z K 7 svn:log V 16 The .Nm utility END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-20T22:50:15.000000Z K 7 svn:log V 135 Modified release note: ncurses 5.2-20020615, added version number for lukemftp. Deleted release note: gawk. MFC noted: lukemftpd. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-06-20T23:09:11.000000Z K 7 svn:log V 16 The .Nm utility END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-20T23:13:31.000000Z K 7 svn:log V 26 MFC: update to Gcc 2.95.4 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-20T23:44:18.000000Z K 7 svn:log V 113 Release note added: rc.d. MFCs noted: fold(1) -b/-s, pwd(1) -L, renice(8) -n, unexpand(1) -t, xargs(1) -I/-L. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-06-20T23:45:58.000000Z K 7 svn:log V 16 The .Nm utility END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-21T00:14:55.000000Z K 7 svn:log V 168 New release notes: su(1) KerberosV authentication, gcc-2.95.4, lukemftpd(8) 1.2 beta 1. MFC: fold(1) -b/-s, pwd(1) -L, renice(8) -n, unexpand(1) -t, xargs(1) -I/-L. END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T00:43:23.000000Z K 7 svn:log V 80 Import tcpdump 3.7.1, from http://www.tcpdump.org/release/tcpdump-3.7.1.tar.gz END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T00:43:23.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98524, 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-21T00:43:24.000000Z K 7 svn:log V 78 This commit was manufactured by cvs2svn to create tag 'tcpdump-vendor-v3_7_1'. END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T00:49:02.000000Z K 7 svn:log V 40 Merge tcpdump 3.7.1 MFC after: 2 weeks END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T00:52:33.000000Z K 7 svn:log V 25 Update for tcpdump 3.7.1 END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T01:35:37.000000Z K 7 svn:log V 25 Update for libpcap 0.7.1 END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T01:36:27.000000Z K 7 svn:log V 80 Import libpcap 0.7.1, from http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T01:36:27.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98530, 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-21T01:36:28.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'libpcap-vendor-libpcap_0_7_1'. END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T01:38:14.000000Z K 7 svn:log V 40 Merge libpcap 0.7.1 MFC after: 2 weeks END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-21T02:25:45.000000Z K 7 svn:log V 28 MFC: sendmail 8.12.4 import END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-21T02:51:45.000000Z K 7 svn:log V 27 Fix date for MFC of 8.12.4 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-06-21T02:55:18.000000Z K 7 svn:log V 48 Add a release note for the sendmail 8.12.4 MFC. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-21T04:17:00.000000Z K 7 svn:log V 88 New release notes: gifconfig(8) gone, prefix(8) gone. Adjust one other item to match. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-21T05:04:56.000000Z K 7 svn:log V 77 o Remove GIANT_REQUIRED from vm_pager_allocate() and vm_pager_deallocate(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-21T05:18:59.000000Z K 7 svn:log V 87 MFC: An input filename of "-" can be used to mean standard input, WARNS/style changes. END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-06-21T05:29:40.000000Z K 7 svn:log V 78 Update for libpcap 0.7.1 Originally-committed-to-wrong-repository by: fenner END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-21T06:03:47.000000Z K 7 svn:log V 46 o Remove GIANT_REQUIRED from vm_map_stack(). END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-06-21T06:18:05.000000Z K 7 svn:log V 1726 This commit adds basic support for the UFS2 filesystem. The UFS2 filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file must be included before so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-06-21T06:43:48.000000Z K 7 svn:log V 97 Give a C rewriter the necessary credit. Requested by: Daniel Papasian END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-06-21T06:50:16.000000Z K 7 svn:log V 67 A gross patch to tidy up the formatting. Not objected to by: grog END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-21T07:08:34.000000Z K 7 svn:log V 200 Newline characters should not participate in line comparisons. Only apparent when -s is used or the last line of the file is missing a newline. Noticed by the textutils test suite. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-06-21T07:30:51.000000Z K 7 svn:log V 107 Quiet ``make objlink'' when NOOBJ is defined. PR: bin/21142 Submitted by: Craig Leres END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-21T07:59:31.000000Z K 7 svn:log V 87 Skip fields in the manner required by POSIX, and the way V7 did it. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-06-21T08:54:03.000000Z K 7 svn:log V 74 Make NO_OPENSSL actually imply NO_OPENSSH, as documented in make.conf(5). END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-06-21T09:23:12.000000Z K 7 svn:log V 59 #include before to get timespec. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-06-21T09:56:38.000000Z K 7 svn:log V 73 Fix incorrect library ordering. I thought I'd committed this already... END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-06-21T09:57:34.000000Z K 7 svn:log V 199 Don't say that an umounted filesystem is required for -n. An unmounted filesystem is no more or less required for -n than for any other option. The previous commit clarified the actual requirement. END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-21T10:14:57.000000Z K 7 svn:log V 247 Modernise this code by rounding up the usual suspects: register keyword, consts, ANSIfication of functions, proper use of __FBSDID() and so on. This commit is non-functional from a code-execution perspective, but pr(1) now compiles WARNS=6 clean. END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-21T10:21:21.000000Z K 7 svn:log V 15 Style tidy-up. END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-21T10:22:39.000000Z K 7 svn:log V 34 Fix warnings generated elsewhere. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-21T10:56:44.000000Z K 7 svn:log V 188 Clean up hex() and octal() to return and work with unsigned integers since they scan values of unsigned types, and since they do not need otherwise, have them take const char * arguments. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-06-21T11:00:00.000000Z K 7 svn:log V 133 Revert the part of Kirks UFS2 commit which added divdi3.c and moddi3.c to libi386, this issue was resolved already in a cleaner way. END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-06-21T11:06:11.000000Z K 7 svn:log V 70 Better fix for style. Suggested by: ru (but modified a bit by markm) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-21T11:18:42.000000Z K 7 svn:log V 33 ANSI prototypes via protoize(1). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-21T11:24:21.000000Z K 7 svn:log V 76 Kill bad whitespace and do some style cleanups as a result of the protoize. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-21T11:25:11.000000Z K 7 svn:log V 34 Use __typeof__ instead of typeof. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-21T11:40:03.000000Z K 7 svn:log V 109 Mark unused variables __unused. Built standalone, inetd(8) is WARNS=5 clean, WARNS=6 if you ignore %m fits. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-21T11:42:37.000000Z K 7 svn:log V 16 Kill __P, yuck. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-21T11:52:59.000000Z K 7 svn:log V 32 __FBSDID() strategic insertion. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-06-21T15:30:38.000000Z K 7 svn:log V 16 The .Nm utility END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-21T15:36:24.000000Z K 7 svn:log V 299 New release notes: ng_device(4), UFS2, newfs(8) -O, newgrp(1), pam_ksu(8), uuidgen(1). Updated release notes: libpcap-0.7.1, tcpdump-3.7.1. Also do some markup fixes to recently-added items so that they don't try to use entities for manpages that have been removed, in the spirit of rev. 1.359. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T15:52:05.000000Z K 7 svn:log V 43 Reduce the -I's as we don't need them all. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T15:56:16.000000Z K 7 svn:log V 143 Sync with NetBSD. * don't whine about non-regular files. It is perfectly normal to keep a CVS or RCS directory in /etc/rc.d. * manpage tweak END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T15:56:16.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98567, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2002-06-21T16:25:27.000000Z K 7 svn:log V 43 MFC: note that sio is required PR: 39305 END K 10 svn:author V 8 charnier K 8 svn:date V 27 2002-06-21T16:42:43.000000Z K 7 svn:log V 16 The .Nm utility END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-21T17:33:45.000000Z K 7 svn:log V 76 Somewhat belatedly bump __FreeBSD_version for 4.6-STABLE. Approved by: imp END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T18:11:22.000000Z K 7 svn:log V 50 BDE prefers this organization. Submitted by: bde END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T18:21:30.000000Z K 7 svn:log V 209 cc -O0 and -O1 didn't do the easy optimization of alignment for space. Instead it attempted to do the easy optimization of alignment for time, which should be to 1-byte alignment on i386's. Submitted by: bde END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-21T18:51:53.000000Z K 7 svn:log V 38 Forced commit after RCS file surgery. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T19:05:20.000000Z K 7 svn:log V 324 We need to link with libiberty.a before libreadline.so. Both supply xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from libiberty.a and other .c's from libreadline.so produces an unusable binary on the Alpha. While I am here, preventatively move other libs in the link order. Submitted by: gallatin END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T19:07:21.000000Z K 7 svn:log V 29 Sync with NetBSD's mainline. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T19:07:21.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r98576, 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-21T19:07:22.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create tag 'head_20020621'. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T19:09:45.000000Z K 7 svn:log V 71 Forced commit to note we are pretending contrib/gdb.291 never existed. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-21T19:19:06.000000Z K 7 svn:log V 33 Forced commit to keep cvs happy. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-21T19:19:22.000000Z K 7 svn:log V 33 Forced commit to keep cvs happy. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-21T19:21:32.000000Z K 7 svn:log V 33 Forced commit to keep cvs happy. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-06-21T19:21:41.000000Z K 7 svn:log V 33 Forced commit to keep cvs happy. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T19:24:12.000000Z K 7 svn:log V 241 Clarify revision 1.14: Gcc 3.1's -O0 and -O1 actually optimized alignment for space, but we feel it should optimize alignment for time like Gcc 2.95 used to. Optimization for space should give 1-byte alignment on i386's, but doesn't quite. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-06-21T19:50:01.000000Z K 7 svn:log V 90 Hone the rpcbind dependency checking. Submitted by: Mike Makonnen END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-06-21T19:53:04.000000Z K 7 svn:log V 31 Remove CAPABILITIES from NOTES END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-21T19:55:49.000000Z K 7 svn:log V 68 Move sendmail release note from kernel section to userland section. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T20:09:40.000000Z K 7 svn:log V 20 MFC: the 1 True AWK END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T20:12:08.000000Z K 7 svn:log V 26 Hook up 1TA to the build. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T20:15:42.000000Z K 7 svn:log V 60 MFC: rev 1.58 (link with libiberty.a before libreadline.so) END K 10 svn:author V 4 fanf K 8 svn:date V 27 2002-06-21T20:52:32.000000Z K 7 svn:log V 31 MFC major overhaul and upgrade END K 10 svn:author V 4 fanf K 8 svn:date V 27 2002-06-21T20:59:10.000000Z K 7 svn:log V 54 MFC rev 1.54: Report errors properly if wait() fails. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-21T22:33:56.000000Z K 7 svn:log V 112 Enable UFS1_AND_UFS2 support for sparc64 by default. Booting from ufs1 or ufs2 filesystems seems to work fine. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-21T22:34:51.000000Z K 7 svn:log V 34 Enable cd9660 support by default. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T22:38:05.000000Z K 7 svn:log V 395 Add -Wframe-size-XXXX, which warns if frame uses greater than specified bytes; and and -Warglist-size-XXXX, which warns if function argument list uses greater than specified bytes. Submitted by: julian, mp Obtained from: http://gcc.gnu.org/ml/gcc-patches/2001-01/msg02232.html http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01943.html Reminded by: sam Wish he had pushed this into gcc3: julian END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-06-21T22:52:48.000000Z K 7 svn:log V 46 TCP notify functions can change the pcb list. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T22:53:03.000000Z K 7 svn:log V 32 Tweaks for the 64-bit compiler. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-06-21T22:54:16.000000Z K 7 svn:log V 87 Fix logic which resulted in missing a call to INP_UNLOCK(). Submitted by: jlemon, mux END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-21T22:54:24.000000Z K 7 svn:log V 58 Tweaks to make these files live beside our hacked config. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-22T01:26:02.000000Z K 7 svn:log V 120 o Remove GIANT_REQUIRED from vslock(). o Annotate kernacc(), useracc(), and vslock() as MPSAFE. Motivated by: alfred END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-22T01:42:26.000000Z K 7 svn:log V 276 Don't store newlines at the end of each line in the hold/pattern spaces, instead add the newline when the pattern space is printed. Make the `G' and `H' commands add a newline to the space before the data, remove bogus addition of newline from `x' command. PR: 29790, 38195 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-06-22T01:49:03.000000Z K 7 svn:log V 275 Make it clear that this applies only to UFS1 file systems, as UFS2 will have native extended attributes rather than stacked extended attributes. While I'm at it, make sure UFS_EXTATTR is not spelt FFS_EXTATTR. Sponsored by: DARPA, NAI Labs Obtained from: TrustedBSD Project END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-22T03:00:52.000000Z K 7 svn:log V 131 Now that the pattern space contains no trailing newline, modify the `l' command's output so it's the same as what SUSv3 specifies. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-22T07:28:06.000000Z K 7 svn:log V 294 o Replace GIANT_REQUIRED in vnode_pager_alloc() by the acquisition and release of Giant. (Annotate as MPSAFE.) o Also, in vnode_pager_alloc(), remove an unnecessary re-initialization of struct vm_object::flags and move a statement that is duplicated in both branches of an if-else. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-22T07:54:42.000000Z K 7 svn:log V 210 o Remove GIANT_REQUIRED from phys_pager_alloc(). If handle isn't NULL, acquire and release Giant. If handle is NULL, Giant isn't needed. o Annotate phys_pager_alloc() and phys_pager_dealloc() as MPSAFE. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-06-22T08:00:12.000000Z K 7 svn:log V 189 MFC: Revision 1.38: When trying to emulate a cross-device move operation with cp and rm, add a "--" argument after the options so filenames with leading dashes are handled correctly. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-22T08:03:21.000000Z K 7 svn:log V 115 o Replace GIANT_REQUIRED in swap_pager_alloc() by the acquisition and release of Giant. (Annotate as MPSAFE.) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-22T08:08:51.000000Z K 7 svn:log V 133 Grre-^#$(*+#@$!@% I hate .info files, I really do (thus I have NO_INFO set...) Don't try to read files from a non-existant gdb.291/. END K 10 svn:author V 4 mini K 8 svn:date V 27 2002-06-22T10:05:50.000000Z K 7 svn:log V 212 Always drop the p_args reference we held for copyout, even if we're about to change it. This fixes a leak triggered by setproctitle(3). Approved by: alfred Noticed by: Peter Jeremy END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-22T10:34:08.000000Z K 7 svn:log V 14 Unused macro. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-22T10:44:47.000000Z K 7 svn:log V 356 Replace the SWAP(var0,var1) macro with SWAP(type,var0,var1) and use it as is appropriate to avoid using typeof/__typeof__. It is worth noting that SWAP() is only ever used to swap pointer values so 'void *' assumptions would have been acceptable, but I'd gladly pay you tuesday for a cheeseburger^W cleaner interface today. Poked into submission by: bde END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-22T11:29:08.000000Z K 7 svn:log V 181 Define an mbuf type, MT_TAG, used for volatile annotations prepended to mbuf chains in the network stack. Reuse a previoulsy unused value to avoid changes in other data structures. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-06-22T11:51:02.000000Z K 7 svn:log V 2033 Remove (almost all) global variables that were used to hold packet forwarding state ("annotations") during ip processing. The code is considerably cleaner now. The variables removed by this change are: ip_divert_cookie used by divert sockets ip_fw_fwd_addr used for transparent ip redirection last_pkt used by dynamic pipes in dummynet Removal of the first two has been done by carrying the annotations into volatile structs prepended to the mbuf chains, and adding appropriate code to add/remove annotations in the routines which make use of them, i.e. ip_input(), ip_output(), tcp_input(), bdg_forward(), ether_demux(), ether_output_frame(), div_output(). On passing, remove a bug in divert handling of fragmented packet. Now it is the fragment at offset 0 which sets the divert status of the whole packet, whereas formerly it was the last incoming fragment to decide. Removal of last_pkt required a change in the interface of ip_fw_chk() and dummynet_io(). On passing, use the same mechanism for dummynet annotations and for divert/forward annotations. option IPFIREWALL_FORWARD is effectively useless, the code to implement it is very small and is now in by default to avoid the obfuscation of conditionally compiled code. NOTES: * there is at least one global variable left, sro_fwd, in ip_output(). I am not sure if/how this can be removed. * I have deliberately avoided gratuitous style changes in this commit to avoid cluttering the diffs. Minor stule cleanup will likely be necessary * this commit only focused on the IP layer. I am sure there is a number of global variables used in the TCP and maybe UDP stack. * despite the number of files touched, there are absolutely no API's or data structures changed by this commit (except the interfaces of ip_fw_chk() and dummynet_io(), which are internal anyways), so an MFC is quite safe and unintrusive (and desirable, given the improved readability of the code). MFC after: 10 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-22T12:47:56.000000Z K 7 svn:log V 149 When giving an example that relies on shell expansion/globbing, don't use a replstr for -J that will be interpereted by the shell. MFC after: 1 day END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-06-22T12:54:11.000000Z K 7 svn:log V 382 Improve the handling of Encode and Decode operations in MD5. Use memcpy for all little-endian architectures, sys/kern/md5c.c indicates this should be safe for all currently supported LE archs. Change the Encode and Decode functions for other archs to use le32toh() and htole32() functions instead of explicit byte shuffling. On sparc64 this gives md5(1) about 8% speed increase. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-22T12:58:42.000000Z K 7 svn:log V 136 Check for results of repeated calls to strnsubst(), as well as for the behaviour with NULL match string, as that has changed over time. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-22T12:59:40.000000Z K 7 svn:log V 119 Stylistic nit: main()'s argv argument is char*[], and functions that may inherit that arg should use char*[] as well. END K 10 svn:author V 2 mp K 8 svn:date V 27 2002-06-22T16:30:18.000000Z K 7 svn:log V 232 Clock frequencies reported by sysctl should be unsigned values. Discovered when machdep.tsc_freq returned a negative number on a 2.2GHz Xeon. Submitted by: Brian Harrison Reviewed by: phk MFC after: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2002-06-22T16:33:29.000000Z K 7 svn:log V 28 Make this compile on Alpha. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-22T16:52:34.000000Z K 7 svn:log V 93 Take the guaranteed fix -- turn off .info docs for now until we get the gdb docs sorted out. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2002-06-22T17:03:13.000000Z K 7 svn:log V 34 MFC 1.16: Remove maintainer line. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-22T17:07:45.000000Z K 7 svn:log V 149 When linking staticaly libtermcap is a postrequisite of libreadline. Otherwise `tgoto' (only used by libreadline) isn't resolved. Submitted by: bde END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-22T17:10:53.000000Z K 7 svn:log V 91 For the benefit of those Emacs users amongst us, only cut out gdb.info rather than *.info. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-22T17:47:12.000000Z K 7 svn:log V 369 o In vm_map_insert(), replace GIANT_REQUIRED by the acquisition and release of Giant around the direct manipulation of the vm_object and the optional call to pmap_object_init_pt(). o In vm_map_findspace(), remove GIANT_REQUIRED. Instead, acquire and release Giant around the occasional call to pmap_growkernel(). o In vm_map_find(), remove GIANT_REQUIRED. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-22T18:07:05.000000Z K 7 svn:log V 323 o Remove the initialization of unused fields in the struct uio now that we don't use uiomove() anymore. o Enforce stricter checks on the length of the iov's in nmount(2) since we now malloc() them individually and corrupted iov's could make the kernel crash in malloc() with "kmem_map too small". Reviewed by: phk END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-22T18:08:04.000000Z K 7 svn:log V 845 MFC 1.90. Fix a major performance issue that was introduced in late 2000. Setting B_CLRBUF for the BALLOC call unexpectedly caused BALLOC to issue a read-before-write for each fs block, resulting in a huge (4x) performance penalty due to extra I/Os and lack of clustering. This workaround avoids the unnecessary read resulting in full write clustering performance to media. It is expected to have major visible effects only on large news systems (e.g. INN cyclic buffers), and databases, especially on hardware RAID systems (10x), and has already been shown to have a huge positive effect on INN. Most other programs use write-append which is already optimal. This patch does not fix the double-memory-copy to the filesystem buffer. That is a more difficult problem and is being worked on as a separate issue. Reviewed by: mckusick, tegge END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-06-22T18:16:24.000000Z K 7 svn:log V 126 Use rm -f in the clean target, as seems to be common practice, and also avoids errors if no LINT exists. Submitted by: dwcjr END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-22T18:32:15.000000Z K 7 svn:log V 80 MFC 1.16 (alpha alloca -> mmap fix) Reviewed by: obrien Approved by: jdp END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-22T18:36:21.000000Z K 7 svn:log V 294 The last bits of the alloca -> mmap fix. IA64 and SPARC64 (current only). Untested (testing request went unanswered), but sparc64 is not expected to cause problems. IA64 is not expected to cause problems but the patch was slightly more complex so the possibility exists. Approved by: jdp END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-22T18:36:51.000000Z K 7 svn:log V 222 o Replace mtx_assert(&Giant, MA_OWNED) in dev_pager_alloc() with the acquisition and release of Giant. (Annotate as MPSAFE.) o Reorder the sanity checks in dev_pager_alloc() to reduce the time that Giant is held. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-22T19:09:35.000000Z K 7 svn:log V 241 Fix a bug in vfs_bio_clrbuf(). The single-page-clrbuf optimization was improperly clearing more then just the invalid portions of the page. (This bug is not known to have been triggered by anything). Submitted by: tegge MFC after: 7 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-22T19:13:56.000000Z K 7 svn:log V 141 o Reduce the scope of Giant in vm_mmap() to just the code that manipulates a vnode. (Thus, MAP_ANON and MAP_STACK never acquire Giant.) END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-22T19:23:57.000000Z K 7 svn:log V 28 OLDCARD version of GENERIC. END K 10 svn:author V 3 bsd K 8 svn:date V 27 2002-06-22T19:44:25.000000Z K 7 svn:log V 61 Create sendmail required directories if sendmail is enabled. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-22T20:46:59.000000Z K 7 svn:log V 33 Warning fix. Reviewed by: peter END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-06-22T21:00:53.000000Z K 7 svn:log V 45 NUL terminate the ACNAME passed to userland. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-06-22T21:01:23.000000Z K 7 svn:log V 50 MFC: NUL terminate the ACNAME passed to userland. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-06-22T21:01:47.000000Z K 7 svn:log V 116 Don't expect NUL terminated data in all netgraph messages received. Only display message hook values we understand. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-06-22T21:02:18.000000Z K 7 svn:log V 126 MFC: Don't expect NUL terminated data in all netgraph messages received. Only display message hook values we understand. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-06-22T21:24:58.000000Z K 7 svn:log V 1261 This patch fixes a problem whereby filesystems that ran out of inodes in a cylinder group would fail to check for free inodes in other cylinder groups. This bug was introduced in the UFS2 code merge two days ago. An inode is allocated by calling ffs_valloc which calls ffs_hashalloc to do the filesystem scan. Ffs_hashalloc walks around the cylinder groups calling its passed allocator (ffs_nodealloccg in this case) until the allocator returns a non-zero result. The bug is that ffs_hashalloc expects the passed allocator function to return a 64-bit ufs2_daddr_t. When allocating inodes, it calls ffs_nodealloccg which was returning a 32-bit ino_t. The ffs_hashalloc code checked a 64-bit return value and usually found random non-zero bits in the high 32-bits so decided that the allocation had succeeded (in this case in the only cylinder group that it checked). When the result was passed back to ffs_valloc it looked at only the bottom 32-bits, saw zero and declared the system out of inodes. But ffs_hashalloc had really only checked one cylinder group. The fix is to change ffs_nodealloccg to return 64-bit results. Sponsored by: DARPA & NAI Labs. Submitted by: Poul-Henning Kamp Reviewed by: Maxime Henrion END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-06-22T21:44:11.000000Z K 7 svn:log V 102 We don't need to check the return value of malloc() against NULL when the M_WAITOK flag is specified. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-22T21:52:42.000000Z K 7 svn:log V 208 New release notes: MCA support on ia64, rp(4) update (+MFC), tx(4) multicast filtering, ahd driver, calendar(1) -W/-F, nice(1) -n, pam_echo(8), pam_exec(8), pselect(3), wc(1) -m, USD/PSD documents restored. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-22T21:54:33.000000Z K 7 svn:log V 32 MFC: rp(4) update, nice(1) -n. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-06-22T22:01:13.000000Z K 7 svn:log V 307 This patch fixes a size problem with the stat structure for 64-bit architectures that was introduced in the UFS2 code merge two days ago. The stat structure change that caused the problem was the addition of the file create time. Submitted by: Bruce Evans Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 gad K 8 svn:date V 27 2002-06-22T22:11:34.000000Z K 7 svn:log V 687 MFC *: Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 'restart', 'start', 'stop' and 'up'. This reduces the amount of code that is run as the priv userid, and eliminates some cases where error messages were written while that priv uid was in effect. As far as users are concerned, there should be no noticable difference in the new versions. In case there *is*, the previous implementations are still there as 'xabort', 'xenable', etc, so they are available for instant fallback. If no one reports a problem after a few weeks, then a later update will remove those x-commands. [* = 1.26->1.28 common.c, 1.21 lp.h, 1.25 cmds.c, 1.5 cmdtab.c, 1.6 extern.h] END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-22T22:23:00.000000Z K 7 svn:log V 91 Add a reference to the "make world" section of the Handbook. PR: 39460 Submitted by: nik END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-06-22T22:24:07.000000Z K 7 svn:log V 71 MFC: Add cross-reference to the "make world" section of the Handbook. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2002-06-22T22:35:53.000000Z K 7 svn:log V 1200 Fix several bugs in the i386 asm statements used to speed up Internet checksumming. These bugs could possibly cause bad code to be generated at elevated optimization levels. First, eliminate the use of preprocessor magic to form the address fields of asm instructions. It hid the actual addresses being referenced from the compiler. Without knowledge of all the data dependencies, the compiler might possibly use optimizations which would result in incorrect code. Use "__asm __volatile" rather than "__asm" for instruction sequences that pass information through the condition codes (the carry bit, in this case). Without __volatile, the compiler might add unrelated code between consecutive __asm instructions, modifying the condition codes. I have seen GCC insert stack pointer adjustments in this way, for example. Unfortunately, GCC doesn't provide a way to specify dependencies on the condition codes. You can specify that they are clobbered, but not that you are going to use them as input. Finally, simplify the LOAD macro. This macro is used as a poor man's prefetch. The simpler version gives the compiler more leeway about just how it performs the prefetch. MFC after: 1 week END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-06-22T22:44:09.000000Z K 7 svn:log V 178 Get rid of paranoia that zeros the boot block area as this has bad effect on existing bootstraps. Submitted by: Jake Burkholder Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 2 mp K 8 svn:date V 27 2002-06-22T23:00:33.000000Z K 7 svn:log V 87 Add additional cpuid feature flags and put into a canonical format. MFC after: 1 week END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-22T23:55:15.000000Z K 7 svn:log V 241 Fix a bug related to marking pages virtually uncacheable due to illegal dcache aliasing. A page that already had more than 1 mapping of the same virtual colour would not be correctly uncached. Noticed by: Artur Grabowski END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-06-23T00:38:04.000000Z K 7 svn:log V 83 KTR_CT* had one too many trailing zeroes, making KTR_CT5-8 too large for ktr_mask. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-23T00:55:03.000000Z K 7 svn:log V 82 Replace a perl usage with an AWK one. Submitted by: Bob Willcox END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-06-23T00:57:17.000000Z K 7 svn:log V 33 Only got one of the Perl usages. END K 10 svn:author V 4 grog K 8 svn:date V 27 2002-06-23T01:32:00.000000Z K 7 svn:log V 89 Correct default location of history file. Observed by: Chris Bolt END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-06-23T01:48:22.000000Z K 7 svn:log V 89 o Remove the unnecessary acquisition and release of Giant around fdrop() in mmap(2). END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-06-23T01:55:10.000000Z K 7 svn:log V 1674 What: o ToPIC is happy with two cards now, even when the two cards are modems. o Fix (all?) hangs on boot when power is applied to the card. I suspect that this will make the Ricoh bridges happier and also make a lot of VAIO owners happy (confirm to me in private email please :-). o All Cardbus bridges should now support 3.3V, X.XV and Y.YV cards, to the extent that the underlying hardware supports such cards. (X.X and Y.Y haven't been assigned values yet :-). o Better 3.3V support for Ricoh ISA bridges. How: o Don't mess with the power register when scanning the cards. It is unnecessary and causes BADVcc conditions on many chipsets. These in turn can cause an interrupt storm. o Make pcic_disable reset the slot's voltage. o Move initializing voltage for the slot until after it has been disabled. o Fix a lot of issues with the pcic_cardbus_power routine. We now properly enable the card and take it out of reset after a power change. o When detecting the card's voltage, if we're in a BadVcc state, direct the bridge to rescan the card for what it supports. (we might need to in the future set the power register to 0 before doing this). o Don't preserve CLKSTOP. need to revisit this. o Better support for Ricoh ISA bridges for 3.3V cards. o Don't write to PCIC_POWER directly as offten, but instead go through the pcic_power interface. o All cardbus bridges now default to use cardbus power control. o Add misc register definitions. o remove some (now) bogus comments. Extra Special Thanks To: Scott Lamber for his kind and generous loan of a Toshiba laptop with a ToPIC 100 in it for my use. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-06-23T06:12:22.000000Z K 7 svn:log V 113 Rename the BALLOC flags from B_* to BA_* to avoid confusion with the struct buf B_ flags. Approved by: mckusick END