ız119000 199 140 187 123 171 314 159 223 257 628 370 174 143 236 152 199 164 168 342 613 427 234 177 148 115 110 115 506 183 215 131 136 186 143 169 148 149 141 246 146 178 144 162 329 271 217 184 194 163 156 218 128 187 331 174 318 204 411 148 185 315 407 298 262 467 244 284 574 146 112 759 187 113 301 135 136 113 148 166 249 169 190 206 510 147 182 175 138 154 202 311 279 207 161 531 562 138 148 158 299 139 189 167 1090 131 224 182 121 188 118 120 129 159 277 135 196 228 561 170 140 121 117 126 388 292 112 265 128 178 212 116 196 141 145 122 679 147 124 293 149 415 1207 157 122 136 203 361 289 492 311 325 2027 615 234 146 299 232 600 235 237 876 569 432 267 234 157 182 1572 257 293 155 325 130 275 245 1318 384 117 563 421 125 347 321 519 378 392 237 151 188 308 164 129 302 422 238 99 241 130 200 540 K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-08-16T19:59:53.000000Z K 7 svn:log V 43 add section name Approved by: Nate Lawson END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-16T20:19:20.000000Z K 7 svn:log V 95 use strlcpy(). Pointed out by: Pawel Jakub Dawidek MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-16T21:21:07.000000Z K 7 svn:log V 28 Imply NOLIBC_R for PowerPC. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-08-16T22:23:16.000000Z K 7 svn:log V 74 Make it clear that -a flag and interface parameter are mutually exclusive END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-16T23:15:15.000000Z K 7 svn:log V 218 In vm_thread_swap{in|out}(), remove the alpha specific conditional compilation and replace it with a call to cpu_thread_swap{in|out}(). This allows us to add similar code on ia64 without cluttering the code even more. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-08-17T03:55:37.000000Z K 7 svn:log V 67 MFC: -n maxrec option for compatibility with System V. PR: 54661 END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-17T04:48:21.000000Z K 7 svn:log V 130 In pmap_copy(), since we have the page table page's physical address in hand, use PHYS_TO_VM_PAGE() rather than vm_page_lookup(). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-08-17T05:30:01.000000Z K 7 svn:log V 162 Undo small portion of MFC: revert the rl_rxeof() function to its old use of m_devget(). The m_devget() function in -stable doesn't work like it does in -current. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-17T06:42:08.000000Z K 7 svn:log V 532 Cleanup by moving MD prototypes to like we have on other platforms. Move savectx() to . A lot of files got these MD prototypes through the indirect inclusion of and now need to include . The number of which is unexpectedly large... osf1_misc.c especially is tricky because szsigcode is redefined in one of the osf1 header files. Reordering of the include files was needed. linprocfs.c now needs an explicit extern declaration. Tested with: LINT END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T07:42:50.000000Z K 7 svn:log V 274 Handle the case where SHLIBDIR != LIBDIR. When creating links, we need relative pathing to work correctly. This is s necessary step for putting libraries in /lib while the .so symlinks still live in /usr/lib. This should be a big NOOP in the case where SHLIBDIR == LIBDIR. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T07:48:09.000000Z K 7 svn:log V 79 Add /lib and /libexec directories. These are part of the dynamic root support. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T07:49:11.000000Z K 7 svn:log V 48 Prepend /lib to the search order for libraries. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T07:50:15.000000Z K 7 svn:log V 140 In preparation for libraries being installed in /lib, add lib to the list of build directories during the tool creation phase of the build. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T07:55:17.000000Z K 7 svn:log V 57 Prepend /lib to the builtin library search path in rtld. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T08:06:00.000000Z K 7 svn:log V 103 As long threatened, stage 2 of making a dynamically-linked root a reality. Install rtld into /libexec. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T08:08:38.000000Z K 7 svn:log V 69 Fixup the ELF branding information to point to the new home of rtld. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T08:17:44.000000Z K 7 svn:log V 73 Tell the toolchain to look for rtld in /libexec instead of /usr/libexec. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T08:28:46.000000Z K 7 svn:log V 246 Stage 3 of dynamic root support. Make all the libraries needed to run binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T08:37:47.000000Z K 7 svn:log V 517 Stage 4 of dynamically linked root support. Add a big knob, WITH_DYNAMICROOT, which will toggle the generation of dynamically-linked binaries for installation in /bin and /sbin. It is currently off, meaning that /bin and /sbin are still statically linked by default. If something goes wrong (which I hope doesn't), this is what /rescue is all about. Please do not try to use WITH_DYNAMICROOT and NO_RESCUE to save space or some other equally silly reason. If you do and end up having problems, you have been warned. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T08:40:49.000000Z K 7 svn:log V 331 At imp's request, force devd to be statically compiled. This avoids the need for libstdc++ in /lib, and the generated binary is actually smaller statically linked than dynamically + sizeof(libstdc++). Additionally, devd doesn't use get*by*() which is one of the main motivations for dynamically linking your root partition anyway. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-08-17T09:06:08.000000Z K 7 svn:log V 136 add FBSDID, compare getopt() against -1, use fprintf() + exit() in usage() instead of errx() to get the message starting with "usage:". END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T09:10:13.000000Z K 7 svn:log V 82 Bump __FreeBSD_version due to movement of libraries to /lib and rtld to /libexec. END K 10 svn:author V 2 dg K 8 svn:date V 27 2003-08-17T10:08:07.000000Z K 7 svn:log V 57 MFC 1.33: Removed check for st_rdev changing in -F case. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-08-17T10:21:19.000000Z K 7 svn:log V 23 Tidy up usage message. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-08-17T10:24:53.000000Z K 7 svn:log V 18 Tidy up synopsis. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-08-17T10:33:54.000000Z K 7 svn:log V 23 Tidy up usage message. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T11:11:32.000000Z K 7 svn:log V 413 - improved the -a option. it can probe a interface automatically when the interface wake up. it can be started anytime even when there is no network interface on the list of intarfaces in the kernel. - get a correct link ID for each interface at initialization (using scope libraries if HAVE_SCOPELIB is defined). - fill in sin6_scope_id correctly before sendmsg(). Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T11:54:58.000000Z K 7 svn:log V 91 backout 1.11. ifname in struct ifreq should be copyed by strncpy. Pointed out by: itojun END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-17T12:06:19.000000Z K 7 svn:log V 122 It is not an error to have no devices in the kernel: Return the generation number and start it from one instead of zero. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-17T12:06:44.000000Z K 7 svn:log V 39 It is not an error to have no devices. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T16:03:58.000000Z K 7 svn:log V 44 We don't need __ss hack. MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T16:05:49.000000Z K 7 svn:log V 94 "sin" is a reserved C library function name. use sin6 Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T16:06:52.000000Z K 7 svn:log V 51 use strncpy Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T16:07:57.000000Z K 7 svn:log V 77 - die if malloc fails. - use strlcpy. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T16:08:56.000000Z K 7 svn:log V 56 set IPV6_V6ONLY. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T16:26:35.000000Z K 7 svn:log V 57 knf, typo, space. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T17:21:00.000000Z K 7 svn:log V 49 getifaddrs(3) is always used. MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T17:29:54.000000Z K 7 svn:log V 153 daemon() has to be called prior to file descriptor setups (otherwise file descriptors could be closed mistakenly) Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T17:34:09.000000Z K 7 svn:log V 54 use strchr(3). Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T17:40:47.000000Z K 7 svn:log V 86 minor cleanup; no need for extra variable here Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T17:47:22.000000Z K 7 svn:log V 52 macro pedant Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T17:51:30.000000Z K 7 svn:log V 70 do not send dump request on -N Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T18:12:11.000000Z K 7 svn:log V 236 - do not SEGV on IFF_UP. - recover rrt_gw setting for non-p2p case. otherwise, we will not be able to recover interface route on interface down -> up transition. - clarify loop exit condition Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-17T18:35:56.000000Z K 7 svn:log V 178 - don't print strerror() if errno == 0 on fatal(). - va_start/end audit. - can't use vfprintf() twice. need va_start/end pair every time. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T18:50:56.000000Z K 7 svn:log V 121 Don't forget to chflags noschg the existing binary so we can symlink over it safely. Pointed out by: yosimoto@waishi.jp END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-17T18:54:23.000000Z K 7 svn:log V 92 Use NULL for 3rd argument of VOP_BMAP() rather than custom cast. Eliminate unused variable. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T18:59:30.000000Z K 7 svn:log V 99 Don't forget to honor DESTDIR. Also switch over to using PROG instead of the binary name directly. END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-08-17T19:14:02.000000Z K 7 svn:log V 72 Fix a typo. BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34 END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-08-17T19:15:10.000000Z K 7 svn:log V 65 MFC: BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34 END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-17T19:26:03.000000Z K 7 svn:log V 125 Don't use a VOP_*() function on our own vnodes, go directly to the relevant internal function, in this case ufs_bmaparray(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-17T20:53:21.000000Z K 7 svn:log V 33 s/x86_64/amd64/g where possible. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-17T21:45:26.000000Z K 7 svn:log V 92 Stage 3 of dynamic root support, con't. 'ld' should also search /lib for dynamic libraries. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-17T22:02:12.000000Z K 7 svn:log V 234 MFC src/usr.sbin/sysinstall/config.c:1.209 Relocate a call to enable inetd so that it is set regardless of whether the user chooses to edit inetd.conf. PR: 39311 Reported by: Martin Faxer END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T22:12:26.000000Z K 7 svn:log V 79 Forgot one instance of ld-elf.so.1. Convert to ${PROG} Pointed out by: obrien END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-17T22:27:30.000000Z K 7 svn:log V 225 Acquire the pte object's mutex when performing vm_page_grab(). Note: It is my long-term objective to eliminate the pte object. In the near term, this does, however, enable the addition of some vm object locking assertions. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-17T23:00:30.000000Z K 7 svn:log V 111 Do not call VOP_BMAP() on our own vnodes. It is particularly silly when all it does is a minor piece of math. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-17T23:56:29.000000Z K 7 svn:log V 315 When creating .so symlinks, use SHLIBDIR instead of LIBDIR so symlinks are created in the correct location. Always make them. For libraries that live in /lib, this causes a /lib/libfoo.so and a compatibility /usr/lib/libfoo.so to be created. We may want to drop the /usr/lib/libfoo.so symlink at some future point. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-18T00:33:35.000000Z K 7 svn:log V 53 Fix typo. Submitted by: Ulrich Spoerlein END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-18T00:36:31.000000Z K 7 svn:log V 90 Don't hardcode owner 'root' and group 'wheel'. Submitted by: Ulrich Spoerlein END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-18T01:31:43.000000Z K 7 svn:log V 222 Three unrelated changes to vm_proc_new(): (1) add vm object locking on the U pages object; (2) reorganize such that the U pages object is created and filled in one block; and (3) remove an unnecessary clearing of PG_ZERO. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-18T03:07:09.000000Z K 7 svn:log V 314 Put a band-aide(tm) on the CIS panic problem. This is a similar fix to what is in NetBSD. I have a few cards that tickles this bug, and this just keeps us from panicing. It doesn't actually fix the problem (that will happen once I figure out why some cards hate the address their CIS is mapped to high memory). END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-18T03:15:44.000000Z K 7 svn:log V 205 Put the clearing of the socket cd interrupt and setting of it under protection of sc->mtx. Sometimes multiple insert/ejections could cause further insertion/removals to not happen due to racing an ISR... END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-18T03:52:42.000000Z K 7 svn:log V 164 Sync with -current: - Improve DMA channel allocation - Some workarounds to detect memory map failure. - Change device name convention. - Disable T_RBC faking (sbp) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-18T03:58:29.000000Z K 7 svn:log V 370 Treat initial thread as scope system thread when KSE mode is not activated yet, so we can protect some locking code from being interrupted by signal handling. When KSE mode is turned on, reset the thread flag to scope process except we are running in 1:1 mode which we needn't turn it off. Also remove some unused member variables in structure kse. Tested by: deischen END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-18T04:03:08.000000Z K 7 svn:log V 147 Direct call exit if thread was never created. This makes it safe to call pthread_exit in main() without creating any thread. Tessted by: deischen END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-08-18T07:10:22.000000Z K 7 svn:log V 191 MFC src/sys/kern/sys_pipe.c:1.147 if we got this far, we definately don't have an EBADF. Return a more sane result of EPIPE. Reported by: nCircle dev team MFC after: 3 day END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T07:56:10.000000Z K 7 svn:log V 481 MFC: - use int64_t instead of long long. - use strlcpy() and snprintf(). - reduce #ifdef. usr.sbin/rtadvd/advcap.c: 1.9, 1.10 usr.sbin/rtadvd/advcap.h: 1.5 usr.sbin/rtadvd/config.c: 1.19 - 1.21 usr.sbin/rtadvd/dump.c: 1.8, 1.9 usr.sbin/rtadvd/if.c: 1.9 usr.sbin/rtadvd/if.h: 1.5 usr.sbin/rtadvd/rrenum.c: 1.8 usr.sbin/rtadvd/timer.c: 1.8 usr.sbin/rtsold/dump.c: 1.8 usr.sbin/rtsold/if.c: 1.9 usr.sbin/rtsold/probe.c: 1.8, 1.9 usr.sbin/rtsold/rtsold.c: 1.10 END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-18T11:13:19.000000Z K 7 svn:log V 54 In case of zero span data supress the histogram plot. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-18T13:30:15.000000Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-18T13:36:09.000000Z K 7 svn:log V 666 Rework pfs_iterate() a bit to eliminate a bug related to process directories. Previously, pfs_iterate() would return -1 when it reached the end of the process list while processing a process directory node, even if the parent directory contained further nodes (which is the case for the linprocfs root directory, where the process directory node is actually first in the list). With this patch, pfs_iterate() will continue to traverse the parent directory's node list after exhausting the process list (as was the intention all along). The code should hopefully be easier to read as well. While I'm here, have pfs_iterate() assert that the allproc lock is held. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T15:24:32.000000Z K 7 svn:log V 95 - don't select with FD_SETSIZE. - avoid fd_set overrun. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-18T15:25:39.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-08-18T15:32:02.000000Z K 7 svn:log V 208 Add the manual page for the sab(4) driver. Driver code was originally obtained from NetBSD. This is the OpenBSD version of the manual page with a few fixes. Approved by: jake (mentor) Obtained from: OpenBSD END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-18T15:32:16.000000Z K 7 svn:log V 40 Restore vendor ID's. Requested by: bde END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-18T15:33:08.000000Z K 7 svn:log V 41 include to get BIN{OWN,GRP} END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-18T15:35:18.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T15:35:33.000000Z K 7 svn:log V 56 support poll(2). Obtained from: KAME MFC after: 1 week END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-08-18T15:39:19.000000Z K 7 svn:log V 72 MFC revision 1.3: Switch from legacy to native mode for ICH4 and ICH5. END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-08-18T15:41:01.000000Z K 7 svn:log V 154 MFC revision 1.32: ICH4 and ICH5 to operation in non-legacy mode. MFC revision 1.31: ICH5 support. MFC revision 1.30: Device name string sanitizations. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T15:47:17.000000Z K 7 svn:log V 77 remove a variable that is never used. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T15:54:08.000000Z K 7 svn:log V 98 explicitly specify IPPROTO_UDP when calling getaddrinfo(). Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T15:58:23.000000Z K 7 svn:log V 113 - port numbers are unsigned. use %u. - %d is not 10 chars, but 12 chars. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2003-08-18T16:07:51.000000Z K 7 svn:log V 412 MFC: bus.h 1.11 and busdma_machdep 1.24 to get bus_dmamap_load_mbuf & and bus_dmamap_load_uio into -stable. Also MFC 1.20 while I'm here (teach bus_dmamem_free() about contigfree()). The resulting kernel builds and boots, but I don't have any if_xl or if_rl devices in my -stable alpha to test with. The resulting code looks just like -current (which is well tested), so I don't anticipate problems. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T16:09:59.000000Z K 7 svn:log V 55 atoi -> strtoul Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T16:15:30.000000Z K 7 svn:log V 90 suppress outpt on dump request if -q is specified. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-18T16:20:30.000000Z K 7 svn:log V 83 rtm_seq is int, so seq/myseq should be int. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 jdp K 8 svn:date V 27 2003-08-18T16:43:16.000000Z K 7 svn:log V 46 MFC 1.190: better device description strings. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-18T17:01:04.000000Z K 7 svn:log V 62 Add missing header include for MSR macros. Submitted by: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-18T17:27:08.000000Z K 7 svn:log V 109 The previous change necessitates the addition of a new #include. Otherwise, there is a compilation warning. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-18T18:02:33.000000Z K 7 svn:log V 218 The allproc lock is a sx lock, not a mutex, so fix the assertion. This asserts that the sx lock is held, but does not specify if the lock is held shared or exclusive, thus either type of lock satisfies the assertion. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-08-18T18:27:45.000000Z K 7 svn:log V 186 MFC *: Use STDIN_FILENO, STDOUT_FILENO, and STDERR_FILENO in a few more places (replacing constants 0, 1 & 2). [* = 1.40 lpd.c, 1.60 printjob.c, 1.30 recvjob.c] Noticed by: David Hill END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-18T19:23:01.000000Z K 7 svn:log V 114 Spell the name of the lock right in addition to getting the type right. Submitted by: Kim Culhan END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-18T19:47:16.000000Z K 7 svn:log V 69 Replace a homegrown bdone()/bwait() implementation by the real thing END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-18T20:22:23.000000Z K 7 svn:log V 438 MFC: Synch apm(4) code with current. - Merge the power management subsystem for handling multiple power management drivers as well as power management events. - Merge the pmtimer(4) driver to preserve the i386 clock chips across suspend and resume. - Enhance the suspend and resume support for the AT PIC interrupt controller to match that of -current. - Update the apm(4) driver to work with the above changes. Discussed with: re END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-18T21:59:24.000000Z K 7 svn:log V 469 The CD bits in the CBB_SOCKET_STATE register are 0 when the card is present, and non-zero when it is (or may be) absent. The test cbb_child_present was backwards. However, typical usage in the tree would cause it to do the right thing because the card really wasn't there the OK flag would be turned on. Also, assume that if any of these bits are turned on we don't have a card, rather than requiring both of them in the suspend/resume routines. Noticed by: cognet END K 10 svn:author V 2 cg K 8 svn:date V 27 2003-08-18T23:18:47.000000Z K 7 svn:log V 47 try to make really sshort sounds actually play END K 10 svn:author V 2 cg K 8 svn:date V 27 2003-08-18T23:20:39.000000Z K 7 svn:log V 57 handle locking when creating or destroying vchans better END K 10 svn:author V 8 takawata K 8 svn:date V 27 2003-08-19T01:54:34.000000Z K 7 svn:log V 61 Update my mail address on copyright notice. Noticed by: njl END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-08-19T02:57:31.000000Z K 7 svn:log V 203 Update DRM from DRI CVS as of today. Notable changes include Radeon suspend/resume support and Rage 128 pageflipping support (both of which require XFree86 from CVS), along with miscellaneous cleanups. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-19T03:33:51.000000Z K 7 svn:log V 43 Save and restore errno around sigprocmask. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T03:40:05.000000Z K 7 svn:log V 96 Catch up asr(4) with hardware notes. PR: 55531 Submitted by: Lukas Ertl END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2003-08-19T03:49:30.000000Z K 7 svn:log V 70 Quote $jail_exec with double-quote to avoid "[: unexpected operator". END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-08-19T03:53:03.000000Z K 7 svn:log V 997 When checking the 'user:group' field in newsyslog.conf, freebsd's source was mistakenly calling the standard isnumber() function to find out if the given 'user' or 'group' were all numeric. This meant that only the first character of the fields were actually checked, so a username of (say) '3com' would look like a number, and thus get mapped to uid=3 (bin) instead of username=3com. This bug was introduced back in freebsd's v1.1. That initial import almost matches netbsd's v1.9, except that an internal isnumber() routine was removed in favor of the standard library version. The thing is, that internal routine was checking the entire string, and not just the first digit. In OpenBSD, isnumber() was eventually renamed to isnumberstr() to make the distinction more obvious, and I'm going to follow that lead. I believe this also happens to remove the last references to isnumber() in the entire freebsd base system. Obtained from: OpenBSD, by a long circuitous route MFC after: 5 days END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-08-19T03:56:01.000000Z K 7 svn:log V 37 Synchronize with HEAD revision 1.42. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T04:37:54.000000Z K 7 svn:log V 130 Catch up dpt(4) manpage with Hardware Notes (and RELENG_4 manpage?!?). PR: 55530 Submitted by: Lukas Ertl END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T05:08:21.000000Z K 7 svn:log V 89 Trim asr(4) device list; readers can get this from the manpage now that it's up-to-date. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-19T05:10:15.000000Z K 7 svn:log V 28 MFi386: revision 1.307.2.39 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T05:12:25.000000Z K 7 svn:log V 95 Move all the asr(4) entries together, no other content changes. These should be consolidated. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-19T05:12:26.000000Z K 7 svn:log V 25 MFi386: revision 1.1.4.1 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-19T05:15:42.000000Z K 7 svn:log V 27 MFi386: revision 1.114.2.6 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T05:19:50.000000Z K 7 svn:log V 36 Trim bt(4) devices and consolidate. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T05:21:25.000000Z K 7 svn:log V 66 Whitespace cleanup of previous bt(4) commit. No content changes. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-08-19T05:45:49.000000Z K 7 svn:log V 181 Add misc/bsdiff and security/freebsd-update to the list of desired packages for disc #1. These two packages take a combined total of 37kb of space so I think there should be room. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-08-19T05:48:08.000000Z K 7 svn:log V 40 Fix typo. It's 'bsdiff' not 'bsddiff'. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-08-19T05:49:19.000000Z K 7 svn:log V 100 MFC: r1.45-46 : Add misc/bsdiff and security/freebsd-update to list of desired packages for disc 1. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-08-19T06:13:13.000000Z K 7 svn:log V 133 Correct the calculation of mbutltop, it was way too large, and could wrap and trip the mbuf junk pointer KASSERT. Noticed by: maxim END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-19T07:45:03.000000Z K 7 svn:log V 465 Explicitly add libz and libcrypto to LDADD for any ssh utilities missing it. While not strictly required, it unbreaks the cross-build world that is resulting from moving the libraries around. I have a more permanent solution to this problem in the works, but I asked des for permission to commit this to get the ball rolling. This also makes the ssh build more along the lines of what the openssh-portable and OpenBSD openssh Makefile glue does. Reviewed by: des END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-19T08:29:33.000000Z K 7 svn:log V 74 Support printing 64 bits pointer and long integer. Reviewed by: deischen END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-19T08:47:49.000000Z K 7 svn:log V 43 Allow to access phy registers via ioctl(). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-19T08:50:35.000000Z K 7 svn:log V 24 Drop too short packets. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-19T08:59:07.000000Z K 7 svn:log V 20 Remove unused code. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-19T09:05:47.000000Z K 7 svn:log V 29 Move firewire to MI section. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-19T10:26:41.000000Z K 7 svn:log V 295 Add pfs_visible() checks to pfs_getattr() and pfs_getextattr(). This also fixes pfs_access() since it relies on VOP_GETATTR() which will call pfs_getattr(). This prevents jailed processes from discovering the existence, start time and ownership of processes outside the jail. PR: kern/48156 END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-19T11:43:11.000000Z K 7 svn:log V 199 Some servers respond to RETR in active mode with 125 (connection already open) rather than 150 (opening connection). There's no reason why we shouldn't accept that. PR: misc/42172 MFC in: 3 days END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-08-19T12:22:17.000000Z K 7 svn:log V 21 Don't tsleep on NULL END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-08-19T14:06:42.000000Z K 7 svn:log V 169 Use bus_child_present() to make sure the card is still there before calling epstop() in ep_detach(). This fixes a freeze that happens when ejecting a ep(4) pcmcia card. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-19T14:36:10.000000Z K 7 svn:log V 36 MFC 1.22: malloc() may return NULL. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T15:34:06.000000Z K 7 svn:log V 85 Add a bit of text saying that mentions of specific devices are gradually going away. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-19T16:03:01.000000Z K 7 svn:log V 118 New release note: WITH_DYNAMICROOT. Modified release note: Fix up some typos and improve markup in rescue(8) note. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T16:41:12.000000Z K 7 svn:log V 24 correct typo in comment END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T16:57:00.000000Z K 7 svn:log V 103 "short cable" fix for DP8315 Derived from: netbsd and tech note at soekris web site MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T17:04:13.000000Z K 7 svn:log V 49 use ETHER_IS_MULTICAST instead of explicit check END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T17:11:46.000000Z K 7 svn:log V 53 add missing unlock when in_pcballoc returns an error END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T17:12:21.000000Z K 7 svn:log V 30 remove #define no longer used END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-08-19T17:22:51.000000Z K 7 svn:log V 586 * Bug fix in bw_meter_process(): the periodically processed bins of bw_meter entries were processed up to one second ahead. After an unappropriate rescheduling of some of the bw_meter entries, the upcalls weren't delivered. * pim_register_prepare() uses the appropriate sw_csum flag to call ip_fragment() so the IP checksum is computed properly. * Modify pim_register_prepare() to take care of IP packets that don't need fragmentation. * Add-back in_delayed_cksum() to encap_send(), because it seems it should be there. Submitted by: Pavlin Radoslavov END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T17:23:07.000000Z K 7 svn:log V 55 add R_Zalloc definition that returns pre-zero'd memory END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-19T17:30:46.000000Z K 7 svn:log V 29 Properly quote the lib path. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T17:51:11.000000Z K 7 svn:log V 200 Change instances of callout_init that specify MPSAFE behaviour to use CALLOUT_MPSAFE instead of "1" for the second parameter. This does not change the behaviour; it just makes the intent more clear. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-19T17:51:49.000000Z K 7 svn:log V 54 Expand the fdisk size display toggling to include GB. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-19T18:20:34.000000Z K 7 svn:log V 322 Eliminate a possible race condition for multithreaded applications in _pmap_allocpte(): Guarantee that the page table page is zero filled before adding it to the directory. Otherwise, a 2nd, 3rd, etc. thread could access a nearby virtual address and use garbage for the address translation. Discussed with: peter, tegge END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-08-19T20:38:44.000000Z K 7 svn:log V 1109 Change gethostname() to set errno to ENAMETOOLONG instead of ENOMEM when the buffer is not long enough to hold the current host name. POSIX does not standardize error returns for gethostname(), so it doesn't matter which one we use, but ENAMETOOLONG is at least a little more intuitive, and mi suggests the existence of prior art. I've been running with this change for a while on my home machine with no effect. At the same time, I've updated the prototype for gethostname() to use the correct standard type (size_t) for the namelen argument. All of the in-tree callers fall into one of the following categories: 1) Call perror() or equivalent when gethostname() fails. 2) Ignore gethostname()'s return value entirely, potentially resulting in data corruption if the buffer is too small. 3) Fall back to a (possibly sensible) default value if gethostname() fails. Many of the callers I examined shows signs of confusion about the correct sizing of the host name buffer. gethostname(3) now has more information about this, as well as updated standards information. PR: 48114 Submitted by: mi (in part) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-08-19T20:39:49.000000Z K 7 svn:log V 61 Update gethostname() prototype to match source and standard. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T21:03:30.000000Z K 7 svn:log V 30 remove unneeded include files END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T21:05:47.000000Z K 7 svn:log V 44 mark the scan and calibrate callouts MPSAFE END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T21:24:16.000000Z K 7 svn:log V 110 maintain a table for mapping hardware rate codes to 802.11 rates for calculating the rate for each rx'd frame END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T21:28:45.000000Z K 7 svn:log V 268 o correct beacon frame length calculation and add an assert to catch any future mistakes (this mistake was not an issue because the length is only used to decide whether or not to allocate a cluster) o while here, move a beacon length comment to the "right place" END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-08-19T21:31:45.000000Z K 7 svn:log V 193 Make aac(4) compile cleanly on 64-bit machines. The code was already 64-bit safe, but some (unneeded and/or harmless) downcasts were generating warnings. The driver still is not endian-clean. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T21:35:08.000000Z K 7 svn:log V 399 o pass control frames up the stack when in monitor mode (the 802.11 layer will quietly discard them; this just permits them to be collected with bpf) o add a counter for the number of rate control frames discarded when not in monitor mode o move the rx "too short" statistic in the stat structure so non-error rx stats are together (NB: ABI change to apps that collect stats via driver ioctl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-19T21:56:25.000000Z K 7 svn:log V 218 MFC: 1.52 properly increment time_tai as we flywheel through the leap seconds. # the other part of the leap second fix is harder to backport and will # be done later, even though this was part of that fix in current. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-19T21:57:29.000000Z K 7 svn:log V 229 Enable OFW_NEWPCI until jmg's 2003/06/21 18:26:08 PDT bus commit is fixed that caused a 3-4 times slow down in performance. (the primary Sparc64 developers are all using OFW_NEWPCI already, so it is the best code path for users) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-19T22:17:04.000000Z K 7 svn:log V 1933 MFp4 changes to fix locking issues and correct reference count handling of station entries in hostap mode: Input path: o driver is now expected to find the node associated with the sender of a received frame; use ic_bss if none is located o driver passes the (referenced) node into ieee80211_input for use within the wlan module and is responsible for cleaning up on return o the antenna state is no longer passed up with each frame; this is now considered driver-private state and drivers are responsible for keeping it in the driver-private part of a node Output path: Revamp output path for management frames to eliminate redundant locking that causes problems and to correct reference counting bogosity that occurs when stations are timed out due to inactivity (in AP mode). On output the refcnt'd node is stashed in the pkthdr's recvif field (yech) and retrieved by the driver. This eliminates an unref/ref scenario and related node table unlock/lock due to the driver looking up the node. This is particularly important when stations are timed out as this causes a lock order reversal that can result in a deadlock. As a byproduct we also reduce the overhead for sending management frames (minimal). Additional fallout from this is a change to ieee80211_encap to return a refcn't node for tieing to the outbound frame. Node refcnts are not reclaimed until after a frame is completely processed (e.g. in the tx interrupt handler). This is especially important for timed out stations as this deref will be the final one causing the node entry to be reclaimed. Additional semi-related changes: o replace m_copym use with m_copypacket (optimization) o add assert to verify ic_bss is never free'd during normal operation o add comments explaining calling conventions by drivers for frames going in each direction o remove extraneous code that "cannot be executed" (e.g. because pointers may never be null) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-08-19T23:01:46.000000Z K 7 svn:log V 518 Add a kluge suggested by Marcel to paper over the difference between gethostname()'s old and new signatures without requiring a library bump. Note that programs which called gethostname() with a negative argument were already broken, since the same type conversion was done by the old implementation. Add a note in the Makefile so that whoever next bumps the libc revision will delete the kluge at the same time (as it will no longer be necessary). This is only operative on 64-bit platforms. Submitted by: marcel END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-19T23:23:27.000000Z K 7 svn:log V 138 Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled the installing XFree86 (version 3.3.6 and before). Reviewed by: jhb END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-20T01:52:30.000000Z K 7 svn:log V 51 Document the OFW_NEWPCI commit to sparc64 generic. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-08-20T02:34:14.000000Z K 7 svn:log V 201 Add back a loop for up to PTHREAD_DESTRUCTOR_ITERATIONS to destroy thread-specific data. Display a warning when thread specific data remains after PTHREAD_DESTRUCTOR_ITERATIONS. Reviewed by: davidxu END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-20T03:11:37.000000Z K 7 svn:log V 134 Fill reserved fields of transmitting packets header with zero. This fixes the if_fwe problem with 1394b chip. PR and Tested by: nork END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2003-08-20T03:46:05.000000Z K 7 svn:log V 502 - Add support for Cisco latest firmware RID sizes that supports 25 SSIDs! - Fix up TX speed changes. - Make mpi-350 cards sort-of work with new firmware. It RXs okay but TXs only work for about 14 packets then fails to get an interrupt. The TX watchdog fires. It has been reported that my hack for now doesn't break cards with the older firmware. It appears my card has lost the ability to RX or TX at all but other peoples cards work. I assume it got damaged in tansport. MFC: 1 week. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2003-08-20T04:06:00.000000Z K 7 svn:log V 137 On Dell boxes such as the PE2650 we need to disable 3 led mode for the link LED to work. Reviewed by: wpaul Obtained from: Linux driver END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-20T05:09:55.000000Z K 7 svn:log V 144 - Lock the pte object when performing vm_page_grab(). - Insure that the page table page is zero filled before adding it to the page table. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-20T05:30:35.000000Z K 7 svn:log V 780 Undo the mistake made in revision 1.77 of trap.c and which was the ultimate trigger for the follow-up fixes in revisions 1.78, 1.80, 1.81 and 1.82 of trap.c. I was simply too pre-occupied with the gateway page and how it blurs kernel space with user space and vice versa that I couldn't see that it was all a load of bollocks. It's not the IP address that matters, it's the privilege level that counts. We never run in user space with lifted permissions and we sure can not run in kernel space without it. Sure, the gateway page is the exception, but not if you look at the privilege level. It's user space if you run with user permissions and kernel space otherwise. So, we're back to looking at the privilege level like it should be. There's no other way. Pointy hat: marcel END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T05:34:27.000000Z K 7 svn:log V 476 Fix an extreme edge case in leap second handling. We need to call ntp_update_second twice when we have a large step in case that step goes across a scheduled leap second. The only way this could happen would be if we didn't call tc_windup over the end of day on the day of a leap second, which would only happen if timeouts were delayed for seconds. While it is an edge case, it is an important one to get right for my employer. Sponsored by: Timing Solutions Corporation END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T05:44:55.000000Z K 7 svn:log V 339 When debugging CIS, only print 10 CISTPL_NULLs. Chances are good they are all bogus, and the cards that don't decode things quite right often have hundreds of them. This will fix starvation of small dmesg buffers and allow better debugging to happen. I thought about adding an override, but there is such a thing as too many knobs. :-) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T05:50:56.000000Z K 7 svn:log V 174 pc98pcic isn't the name of the media driver. tcic likely will never happen (unless someone sends one to me). Kill bogus module depend that I commented out over a year ago. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2003-08-20T05:52:48.000000Z K 7 svn:log V 136 Fix panic from having multiple locks held when updating firmware. AN_LOCK was asserted during a tsleep resulting in a panic in tsleep. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-20T06:11:39.000000Z K 7 svn:log V 65 Lock the pmap's tsb object when performing vm_page_grab() on it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T06:13:01.000000Z K 7 svn:log V 90 Use CBB_CARD_PRESENT instead of checking STATE_CD directly since it is hard to get right. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-08-20T06:15:18.000000Z K 7 svn:log V 1478 Add a general mechanism for creating and applying devfs(8) rules in rc(8). It is most useful for applying rules to devfs(5) mount points in /dev or inside jails. The following line of script is sufficient to mount a relatively useful+secure devfs(5) in a jail: devfs_mount_jail /some/jail/dev Some new shell routines available to scripts that source rc.subr(5): o devfs_link - Makes it a little easier to create symlinks o devfs_init_rulesets - Create devfs(8) rulesets from devfs.rules o devfs_set_ruleset - Set a ruleset to a devfs(5) mount o devfs_apply_ruleset - Apply a ruleset to a devfs(5) mount o devfs_domount - Mount devfs(5) and apply some ruleset o devfs_mount_jail - Mount devfs(5) and apply a ruleset appropriate to jails. Additional rulesets can be specified in /etc/devfs.rules. If the devfs_system_ruleset variable is defined in rc.conf and it contains the name of a ruleset defined in /etc/defaults/devfs.rules or user supplied rulesets in /etc/devfs.rules then that ruleset will be applied to /dev at startup by the /etc/rc.d/devfs script. It can also be applied post-startup: /etc/rc.d/devfs start This is a more flexible mechanism than the previous method of using /etc/devfs.conf. However, that method is still available. Note: since devfs(8) doesn't provide any way for creating symlinks as part of a ruleset, anyone wishing to create symlinks in a devfs(5) as part of the bootup sequence will still have to rely on /etc/devfs.conf. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T06:24:12.000000Z K 7 svn:log V 164 Add a new variable 'skipPCCARD'. This variable will cause sysinstall to ignore all PC Card devices. Submitted by: Anders Nordby PR: bin/37650 MFC After: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T06:27:21.000000Z K 7 svn:log V 200 The PCMCIA Standard dictates that those funny cards you insert into laptops are "PC Cards" and uses said term consistantly. Allow my foolish hobgoblins to get the better of me and become consistant. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T06:49:57.000000Z K 7 svn:log V 63 Use PC Card instead of other variants in the driver man pages. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-08-20T06:50:34.000000Z K 7 svn:log V 232 o Reduce rc(8) startup clutter by turning the informational messages off by default. o Apparently the routine displaying the informational messages wasn't checking its knob in rc.conf, so fix that as well. Requested by: obrien END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-08-20T08:24:49.000000Z K 7 svn:log V 38 Fix build by correcting a wrong cast. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-20T08:25:36.000000Z K 7 svn:log V 180 Get rid of a __DECONST by strdup'ing the string in question. When called this way the program just prints its help intro, so the memory leak is not a problem. Pointed out by: bde END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-20T10:53:58.000000Z K 7 svn:log V 150 MFC 1.9: Add the new arguments for the add pvc command to the help information. Correct a comment. Submitted by: Vincent Jardin END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-20T11:05:28.000000Z K 7 svn:log V 1222 MFC fore_aali.h:1.4, fore_command.c:1.15, fore_init.c:1.14, fore_intr.c:1.10, fore_var.h:1.8: Make the driver to work with firmware version 4.1.12 (other 4.X.Y should also do it). Three problems have been encountered: 1. The initialisation command does not work in interrupt mode. Whether this is a firmware bug or a feature is not clear. The original Fore drivers execute the initialize command always in polling mode, so it appears that this behaviour is expected. When we detect a 4.X.Y firmware do busy wait on the command status. 2. The command code of the GET_PROM has changed. This is an unofficial command anyway. What was GET_PROM in 3.X.Y is CLEAR_STATS in 4.X.Y (although unimplemented in the firmware). We need to use the correct code depending on the firmware. 3. The 4.X.Y can set the error flag in command status without also setting the completion flag (as the documentation says). Check both variants. An additional field in the per-card structure fu_ft4 is TRUE when we have detected a 4.X.Y firmware. Otherwise it is false. The behaviour of the driver when using 3.X.Y should be identical to the previous behaviour . This change will enable traffic shaping of CBR channels. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-20T11:15:42.000000Z K 7 svn:log V 289 MFC: Make firmware version 4.1.12 the default for download to PCA-200E adapters. The old firmware (3.0.1) can still be used by specifying the '-3' option to fore_dnld. Document the -r option that resets the adapter before the download. The newer firmware version allows traffic shaping. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-08-20T11:27:58.000000Z K 7 svn:log V 25 Fix typo in last commit. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-20T13:43:35.000000Z K 7 svn:log V 466 _thr_sig_check_pending is also called by scope system thread when it leaves critical region, we wrap some syscalls for thread cancellation point, and when syscalls returns, we call _thr_leave_cancellation_point, at the time if a signal comes in, it would be buffered, and when the thread leaves _thr_leave_cancellation_point, buffered signals will be processed, to avoid messing up normal syscall errno, we should save and restore errno around signal handling code. END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-08-20T14:46:40.000000Z K 7 svn:log V 328 Add the IP_ONESBCAST option, to enable undirected IP broadcasts to be sent on specific interfaces. This is required by aodvd, and may in future help us in getting rid of the requirement for BPF from our import of isc-dhcp. Suggested by: fenestro Obtained from: BSD/OS Reviewed by: mini, sam Approved by: jake (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-20T15:42:05.000000Z K 7 svn:log V 30 Fix accidental line deletion. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-20T17:09:01.000000Z K 7 svn:log V 250 Move from a custom-crafted singly-linked list to the SLIST_* macros from queue(3). Improve vertical compactness by using a IGMP_PRINTF() macro rather than #ifdefing IGMP_DEBUG a large number of debugging printfs. Reviewed by: mdodd (SLIST changes) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-20T17:32:17.000000Z K 7 svn:log V 224 Before digging into IGMP locking, do a whitespace and prototype cleanup: prefer tabs to 8 spaces, focus on consistent indentation, prefer modern C function prototypes. Not all the way to style(9), but substantially closer. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-08-20T18:22:06.000000Z K 7 svn:log V 421 In sysctl_vm_zone, do not calculate per-cpu cache stats on UMA_ZFLAG_INTERNAL zones at all. Apparently, Wilko's alpha was crashing while entering multi-user because, I think, we were calculating the garbage cachefree for pcpu caches that essentially don't exist for at least the 'zones' zone and it so happened that we were reading from an unmapped location. Confirmed to fix crash: wilko Helped debug: wilko, gallatin END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T19:12:46.000000Z K 7 svn:log V 285 bde made a number of suggested improvements to the code. This commit represents the pruely stylistic changes and should have no net impact on the rest of the code. bde's more substantive changes will follow in a separate commit once we've come to closure on them. Submitted by: bde END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-20T19:16:49.000000Z K 7 svn:log V 295 Remove about 40 lines of #ifdef/#endif by using new macros MAC_DEBUG_COUNTER_INC() and MAC_DEBUG_COUNTER_DEC() to maintain debugging counter values rather than #ifdef'ing the atomic operations to MAC_DEBUG. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-20T20:12:05.000000Z K 7 svn:log V 144 - Lock the pte object when performing vm_page_grab(). - Insure that the page table page is zero filled before adding it to the page table. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-20T20:24:29.000000Z K 7 svn:log V 59 Assert that the vm object lock is held in vm_page_alloc(). END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-08-20T22:11:58.000000Z K 7 svn:log V 96 Add Protocol Independent Multicast protocol. Submitted by: Pavlin Radoslavov END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-08-20T22:35:55.000000Z K 7 svn:log V 215 Write the short and long version of the month names in Amharic instead of English. Also, remove some extra names I had previously considered including. They don't make sense since the calendar names don't match up. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-08-20T22:35:56.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-08-20T23:37:49.000000Z K 7 svn:log V 37 MFC: Support for the Amharic locale. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-20T23:43:20.000000Z K 7 svn:log V 209 In my efforts to make checking the CD bits less error-prone, I introduced an error. In power_enable_socket, we only return ENODEV if there isn't a card, not if there is a card. Ooops. Pointy hat to: bsdimp END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-08-21T03:43:48.000000Z K 7 svn:log V 329 Minimal update to make it easier to increase the buffer-size lpd uses when reading/writing spool files. I intend to do a more elaborate version, but I want to get this much in before 4.9-release. As written, this results in no change to the object code. Submitted by: John-Mark Gurney Reviewed by: /sbin/md5 MFC after: 4 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-08-21T03:48:05.000000Z K 7 svn:log V 143 This is too funny for words. Swap syscalls 416 and 417 around. It works better that way when sigaction() and sigreturn() do the right thing. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-08-21T03:48:50.000000Z K 7 svn:log V 6 Regen END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2003-08-21T03:54:20.000000Z K 7 svn:log V 143 Add in a missing device entry that I thought was already in there. This is from the same PR. Prompted by the reporter of the PR. PR: 38372 END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-21T08:40:31.000000Z K 7 svn:log V 33 Include order bit in sdev->type. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-08-21T13:41:22.000000Z K 7 svn:log V 105 MFC 1.17+1.18: Add to the list of AMR cards. Add the Dell PERC 3/DCL to the list of supported devices. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-21T13:53:01.000000Z K 7 svn:log V 443 Add mac_check_vnode_deleteextattr() and mac_check_vnode_listextattr(): explicit access control checks to delete and list extended attributes on a vnode, rather than implicitly combining with the setextattr and getextattr checks. This reflects EA API changes in the kernel made recently, including the move to explicit VOP's for both of these operations. Obtained from: TrustedBSD PRoject Sponsored by: DARPA, Network Associates Laboratories END