Ĩ74826 174 230 519 145 115 160 175 296 185 201 228 362 182 161 296 5347 261 154 105 143 108 188 504 108 278 108 188 223 147 240 161 108 115 211 108 108 108 131 226 204 127 124 177 223 158 108 108 320 151 322 114 173 333 180 1101 435 212 129 121 191 323 157 162 174 686 279 488 199 469 200 228 204 462 247 147 1043 316 145 158 269 158 302 209 225 331 147 265 2092 175 228 266 157 140 284 179 210 325 203 168 176 237 127 163 186 528 271 228 212 206 207 147 491 467 130 235 147 285 206 883 501 149 157 182 230 420 157 247 294 223 144 234 490 155 161 163 173 250 114 335 239 158 254 116 264 217 183 204 4557 152 205 259 270 107 136 216 182 342 377 292 218 231 146 779 167 142 461 496 591 163 535 274 251 231 350 219 K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-03-26T18:10:58.000000Z K 7 svn:log V 136 MFC: timed(8) security fix (FreeBSD-SA-01:28), rwhod(8) security fix (FreeBSD-SA-01:29), FFS/EXT2FS security fixes (FreeBSD-SA-01:30). END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-03-26T19:29:49.000000Z K 7 svn:log V 425 rlines() checks: 1) really check for size overflow by checking negative value. 2) since mmap() not support files over INT_MAX size, add check for it until either mmap() will be fixed or tail will be rewritted to handle large files alternatively. 3) replace fseek(... file_size, SEEK_SET) with fseek(... 0L, SEEK_END) to avoid off_t -> long cast 4) Use exit() if file is too big instead of warning and wrong logic afterwards. END K 10 svn:author V 5 wosch K 8 svn:date V 27 2001-03-26T19:35:14.000000Z K 7 svn:log V 51 Adjust FreeBSD 4.3 release date. Approved by: jkh END K 10 svn:author V 5 wosch K 8 svn:date V 27 2001-03-26T19:36:25.000000Z K 7 svn:log V 21 merge up to rev 1.40 END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-03-26T19:36:27.000000Z K 7 svn:log V 67 Treat mmap() error as fatal too, i.e. do exit(1) instead of return END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-03-26T19:49:39.000000Z K 7 svn:log V 83 Added burncd to the SEE ALSO section. Idea by: "Akinori MUSHA" END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-03-26T19:55:35.000000Z K 7 svn:log V 199 o Update copyright date o Revise description in light of commits over last month including: - ACL editing library is now implemented - ACLs are now implemented Obtained from: TrustedBSD Project END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T01:06:58.000000Z K 7 svn:log V 90 Add ttyd0 which is needed on the Alpha when using the fix-it CDROM over a serial console. END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-03-27T01:16:44.000000Z K 7 svn:log V 107 Use SSIZE_MAX instead of INT_MAX, as kernel does ssize_t check Better explanation comment of FIXME section END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T01:23:07.000000Z K 7 svn:log V 132 Don't call the fictious `MAKEDEV' from the path "/sbin:/bin" when we recurse. Rather recurse on ourself (as we know our own name). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T01:34:58.000000Z K 7 svn:log V 266 The common wisdom is to use the largest number of cylinders per group. So bump the default from `16' to `22', which is the largest value allowed with the current default block size. This change increases the the group size from 32MB/g to 44MB/g on a 4GB SCSI disk. END K 10 svn:author V 5 green K 8 svn:date V 27 2001-03-27T03:58:12.000000Z K 7 svn:log V 88 At least install primes to the right place, for now. I suppose. Reminded by: everyone END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-03-27T05:03:49.000000Z K 7 svn:log V 66 limit the amount of retries when sending data to prevent lockups. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2001-03-27T05:28:30.000000Z K 7 svn:log V 198 Replace dyn_fin_lifetime with dyn_ack_lifetime for half-closed state. Half-closed state could last long for some connections and fin_lifetime (default 20sec) is too short for that. OK'ed by: luigi END K 10 svn:author V 3 ken K 8 svn:date V 27 2001-03-27T05:45:52.000000Z K 7 svn:log V 5253 Rewrite of the CAM error recovery code. Some of the major changes include: - The SCSI error handling portion of cam_periph_error() has been broken out into a number of subfunctions to better modularize the code that handles the hierarchy of SCSI errors. As a result, the code is now much easier to read. - String handling and error printing has been significantly revamped. We now use sbufs to do string formatting instead of using printfs (for the kernel) and snprintf/strncat (for userland) as before. There is a new catchall error printing routine, cam_error_print() and its string-based counterpart, cam_error_string() that allow the kernel and userland applications to pass in a CCB and have errors printed out properly, whether or not they're SCSI errors. Among other things, this helped eliminate a fair amount of duplicate code in camcontrol. We now print out more information than before, including the CAM status and SCSI status and the error recovery action taken to remedy the problem. - sbufs are now available in userland, via libsbuf. This change was necessary since most of the error printing code is shared between libcam and the kernel. - A new transfer settings interface is included in this checkin. This code is #ifdef'ed out, and is primarily intended to aid discussion with HBA driver authors on the final form the interface should take. There is example code in the ahc(4) driver that implements the HBA driver side of the new interface. The new transfer settings code won't be enabled until we're ready to switch all HBA drivers over to the new interface. src/Makefile.inc1, lib/Makefile: Add libsbuf. It must be built before libcam, since libcam uses sbuf routines. libcam/Makefile: libcam now depends on libsbuf. libsbuf/Makefile: Add a makefile for libsbuf. This pulls in the sbuf sources from sys/kern. bsd.libnames.mk: Add LIBSBUF. camcontrol/Makefile: Add -lsbuf. Since camcontrol is statically linked, we can't depend on the dynamic linker to pull in libsbuf. camcontrol.c: Use cam_error_print() instead of checking for CAM_SCSI_STATUS_ERROR on every failed CCB. sbuf.9: Change the prototypes for sbuf_cat() and sbuf_cpy() so that the source string is now a const char *. This is more in line wth the standard system string functions, and helps eliminate warnings when dealing with a const source buffer. Fix a typo. cam.c: Add description strings for the various CAM error status values, as well as routines to look up those strings. Add new cam_error_string() and cam_error_print() routines for userland and the kernel. cam.h: Add a new CAM flag, CAM_RETRY_SELTO. Add enumerated types for the various options available with cam_error_print() and cam_error_string(). cam_ccb.h: Add new transfer negotiation structures/types. Change inq_len in the ccb_getdev structure to be "reserved". This field has never been filled in, and will be removed when we next bump the CAM version. cam_debug.h: Fix typo. cam_periph.c: Modularize cam_periph_error(). The SCSI error handling part of cam_periph_error() is now in camperiphscsistatuserror() and camperiphscsisenseerror(). In cam_periph_lock(), increase the reference count on the periph while we wait for our lock attempt to succeed so that the periph won't go away while we're sleeping. cam_xpt.c: Add new transfer negotiation code. (ifdefed out) Add a new function, xpt_path_string(). This is a string/sbuf analog to xpt_print_path(). scsi_all.c: Revamp string handing and error printing code. We now use sbufs for much of the string formatting code. More of that code is shared between userland the kernel. scsi_all.h: Get rid of SS_TURSTART, it wasn't terribly useful in the first place. Add a new error action, SS_REQSENSE. (Send a request sense and then retry the command.) This is useful when the controller hasn't performed autosense for some reason. Change the default actions around a bit. scsi_cd.c, scsi_da.c, scsi_pt.c, scsi_ses.c: SF_RETRY_SELTO -> CAM_RETRY_SELTO. Selection timeouts shouldn't be covered by a sense flag. scsi_pass.[ch]: SF_RETRY_SELTO -> CAM_RETRY_SELTO. Get rid of the last vestiges of a read/write interface. libkern/bsearch.c, sys/libkern.h, conf/files: Add bsearch.c, which is needed for some of the new table lookup routines. aic7xxx_freebsd.c: Define AHC_NEW_TRAN_SETTINGS if CAM_NEW_TRAN_CODE is defined. sbuf.h, subr_sbuf.c: Add the appropriate #ifdefs so sbufs can compile and run in userland. Change sbuf_printf() to use vsnprintf() instead of kvprintf(), which is only available in the kernel. Change the source string for sbuf_cpy() and sbuf_cat() to be a const char *. Add __BEGIN_DECLS and __END_DECLS around function prototypes since they're now exported to userland. kdump/mkioctls: Include stdio.h before cam.h since cam.h now includes a function with a FILE * argument. Submitted by: gibbs (mostly) Reviewed by: jdp, marcel (libsbuf makefile changes) Reviewed by: des (sbuf changes) Reviewed by: ken END K 10 svn:author V 2 ps K 8 svn:date V 27 2001-03-27T06:24:08.000000Z K 7 svn:log V 169 Change the dump routines to only abort if control-c is pressed. If any other key is pressed, print a message stating that control-c is how to abort. Reviewed by: peter END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T08:43:28.000000Z K 7 svn:log V 63 Make it possible to build manpages for the entire source tree. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-03-27T09:43:09.000000Z K 7 svn:log V 10 const'ify END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-03-27T09:49:03.000000Z K 7 svn:log V 48 give the "netgrent" functions a home in netdb.h END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T10:03:10.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-27T10:21:26.000000Z K 7 svn:log V 96 Make cblock_alloc_cblocks() spell its own name correctly in its warning message. PR: kern/7693 END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-03-27T10:22:50.000000Z K 7 svn:log V 411 Use PLAY_MSF instead of PLAY_BIG when doing audio play. The fixes the problem of PLAY_BIG not being implemented on some modern drives. The problem now is that some old drives use BSD encoding in the MSF case, which they dont tell, and which is also not according to spec *sigh*. Hopefully there are not too many of those still alive, or I hereby grant license to kill the firmware writers that wrote the mess. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T10:52:19.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T11:50:44.000000Z K 7 svn:log V 186 Reflect recent bsd.man.mk changes here, but do not assign the default MAN=${KMOD}.4 value for now. This feature was broken before, and enabling it now would cause 92 Makefiles to fail. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T11:59:22.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-27T12:34:58.000000Z K 7 svn:log V 96 Add a missing m_pullup() before a mtod() in in_arpinput(). PR: kern/22177 Reviewed by: wollman END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-27T13:15:57.000000Z K 7 svn:log V 130 Don't bypass notifying a corresponding interface when leaving a link-layer multicast group. PR: kern/22176 Reviewed by: wollman END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-03-27T13:38:19.000000Z K 7 svn:log V 51 Virgin import of Hugh F. Mahon's EasyEditor 1.4.1. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-03-27T13:38:19.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r74853, 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 2001-03-27T13:38:20.000000Z K 7 svn:log V 65 This commit was manufactured by cvs2svn to create tag 'ee_1_4_1'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T13:48:25.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-03-27T13:51:18.000000Z K 7 svn:log V 19 Resolve conflicts. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-03-27T13:53:08.000000Z K 7 svn:log V 114 Update FreeBSD translations to match 1.4.1 (actually just copied Enslish messages as I don't know de, pl and fr). END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T13:58:21.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T14:07:31.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T14:59:06.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T15:14:49.000000Z K 7 svn:log V 40 Do not override the ``install'' target. END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-03-27T15:53:48.000000Z K 7 svn:log V 132 Add comment explaining why size not passed directly to mmap, i.e. not relay on its check. KNF multi-line comments (inspired by bde) END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T16:15:25.000000Z K 7 svn:log V 112 Traverse ${DESTDIR}/usr/include in lexographical order. This should fix problems reported recently on -current. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-03-27T16:27:31.000000Z K 7 svn:log V 31 Describe details of importing. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T16:45:16.000000Z K 7 svn:log V 33 Fix LDADD and add missing DPADD. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T16:49:58.000000Z K 7 svn:log V 82 MFC: rev 1.599 (add ttyd0 to MFSROOT's /dev for serial fix-its) Approved by: jkh END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T17:05:23.000000Z K 7 svn:log V 127 Mirror the newfs(8) defaults change I made in rev 1.33 of newfs.c where I made `22' the default number of cylinders per group. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T17:07:37.000000Z K 7 svn:log V 63 Formatting fix for rev 1.298 where I did not take enough care. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-27T17:27:19.000000Z K 7 svn:log V 17 MAN[1-9] -> MAN. END K 10 svn:author V 6 cokane K 8 svn:date V 27 2001-03-27T19:04:09.000000Z K 7 svn:log V 13 Remove NOMAN END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T19:28:00.000000Z K 7 svn:log V 224 Do not exit if unable to read /etc/dumpdates or create it. If one is trying to dump or repair an ill system, give the user a fighting chance. Refusing to operate w/o a very non-critical file (feature) is just plain stupid. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-03-27T19:38:34.000000Z K 7 svn:log V 56 Make rev 1.5 better match the rest of dump(8)'s output. END K 10 svn:author V 5 markm K 8 svn:date V 27 2001-03-27T19:40:51.000000Z K 7 svn:log V 227 Add full PAM support for account management and sessions. The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" END K 10 svn:author V 3 cwt K 8 svn:date V 27 2001-03-27T19:55:53.000000Z K 7 svn:log V 22 Document LOG_CONSOLE. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2001-03-27T20:37:34.000000Z K 7 svn:log V 76 Fix tail to work on files bigger than 2GB. PR: 14786 Reviewed by: iedowse END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2001-03-27T20:49:51.000000Z K 7 svn:log V 235 Don't leak the memory we've just malloced if we can't find the process we're looking for. (I don't think this can currently happen, but it depends how the function is called). PR: 25932 Submitted by: David Xu END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-03-27T21:17:18.000000Z K 7 svn:log V 87 New release notes: Filesystem ACLs, getfacl(1) and setfacl(1). Submitted by: rwatson END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-03-27T21:27:33.000000Z K 7 svn:log V 1005 Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transport to make asynchronous RPCs. This is needed to help fix ypbind, which can no longer override the clnt_dg_call() method (formerly the clntudp_call() method) due to all the internal descriptor locking code in TI-RPC. Turning on this flag allows us to send an RPC request, then return immediately, and handle a reply later, rather than being forced to do the request and reply in a single function call. Also fix a byte ordering bug: when clnt_dg_call() increments the XID prior to transmitting a request, it uses the raw value, which is wrong. The XID is stored in network byte order, i.e. big-endian. The CLSET_XID and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get the byte ordering right, but because clnt_dg_call() does not do this, using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap properly when doing the increment. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-03-27T21:29:31.000000Z K 7 svn:log V 340 Finally fix __yp_ping(). We can't use the old locally defined clntudp_call() method anymore since the code inside the RPC library has changed too much. Now that the clnt_dg module has the necessary code internally, we can yank out the local method code and turn on the ASYNC hack with clnt_control(). This will make the -m flag work again. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-03-27T21:42:51.000000Z K 7 svn:log V 117 MFC: rev 1.66, fix a blatant bug where a null password would always succeed in PAP authentication. Approved by: jkh END K 10 svn:author V 3 jkh K 8 svn:date V 27 2001-03-27T22:06:37.000000Z K 7 svn:log V 37 Update the acknowledgements section. END K 10 svn:author V 3 jkh K 8 svn:date V 27 2001-03-27T22:08:00.000000Z K 7 svn:log V 29 MFC: update acknowledgements END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-03-27T22:14:53.000000Z K 7 svn:log V 96 MFC rev 1.296 and 1.297, add the -f flag to ln when creating the afaN device. Approved by: jkh END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-03-27T23:24:25.000000Z K 7 svn:log V 229 Restore part of my fix spammed in v1.23: fseeko(file_size, SEEK_SET) -> fseek(0L, SEEK_END) 1) File may grows between operations, so fseeko to file_size may miss 2) 0L, SEEK_END is the same code using in tail in all other places END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-03-28T00:23:30.000000Z K 7 svn:log V 63 Add some comments to two examples and extend a ``set ifaddr''. END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-03-28T00:23:54.000000Z K 7 svn:log V 68 MFC: Add some comments to two examples and extend a ``set ifaddr''. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-03-28T01:03:33.000000Z K 7 svn:log V 78 o De-uglify IMPLEMENTATION NOTES section by removing unnecessary use of .Fx END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-03-28T01:19:41.000000Z K 7 svn:log V 588 Check whether we need to do a full restore after handling ASTs. If an AST results in a signal being delivered, we'll need to do a full register restore so as to properly setup the signal handler. This is somewhat of a pessimization, because ast() will be called twice in this case. This fixes several problems that have been reported where signal intensive userland apps (most notably dump) have been SEGV'ing for no fault of their own. Thanks to Peter Jeremy for presenting the AST scenario which led to me fiinally figuring this out. Reviewed by: jhb END K 10 svn:author V 2 ps K 8 svn:date V 27 2001-03-28T01:37:29.000000Z K 7 svn:log V 187 Last commit was broken.. It always prints '[CTRL-C to abort]'. Move duplicate code for printing the status of the dump and checking for abort into a separate function. Pointy hat to: me END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T01:54:06.000000Z K 7 svn:log V 395 - Include to get the prototype for prom_halt(). - If there is no gdb device, just return without trying to return any value since gdb_handle_exception() returns void. - When calling prom_halt(), pass in a value telling it to actually halt and not to randomly choose whether or not to halt or reboot depending on whatever value happened to be in a0 when the call was made. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T01:56:13.000000Z K 7 svn:log V 106 The previous commit message is bogus, this actually just removed an unused variable to silence a warning. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T01:59:40.000000Z K 7 svn:log V 376 Previous commit message was bogus, here's the real one: - Switch to using critical_enter/exit instead of save/disable/restore_intr. - Disable interrupts in Debugger(). This second change wasn't really supposed to go in, but since it's in there and is useful so that one doesn't get spammed with clock interrupts while in ddb, I'll leave it in unless people want it reverted. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T02:01:34.000000Z K 7 svn:log V 107 Previous commit message was bogus: - Catch up to rename of mtx_saveintr to mtx_savecrit within struct mtx. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T02:03:29.000000Z K 7 svn:log V 135 Revert previous commit which had a bogus message. It actually just disabled the somewhat annoying KTR log trace for clock interrupts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T02:07:28.000000Z K 7 svn:log V 111 Previous commit message was bogus: - Switch to using critical_enter/exit instead of save/disable/restore_intr. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T02:31:54.000000Z K 7 svn:log V 369 - Add the new critical_t type used to save state inside of critical sections. - Add implementations of the critical_enter() and critical_exit() functions and remove restore_intr() and save_intr(). - Remove the somewhat bogus disable_intr() and enable_intr() functions on the alpha as the alpha actually uses a priority level and not simple bit flag on the CPU. END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-03-28T02:32:10.000000Z K 7 svn:log V 155 Mention that the vga(4) driver supports 90-column video modes. PR: 26050 Submitted by: Alex Kapranoff Approved by: nik END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-03-28T02:33:47.000000Z K 7 svn:log V 50 MFC: fix linux_times() on alpha Approved by: jkh END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T02:40:47.000000Z K 7 svn:log V 950 - Switch from using save/disable/restore_intr to using critical_enter/exit and change the u_int mtx_saveintr member of struct mtx to a critical_t mtx_savecrit. - On the alpha we no longer need a custom _get_spin_lock() macro to avoid an extra PAL call, so remove it. - Partially fix using mutexes with WITNESS in modules. Change all the _mtx_{un,}lock_{spin,}_flags() macros to accept explicit file and line parameters and rename them to use a prefix of two underscores. Inside of kern_mutex.c, generate wrapper functions for _mtx_{un,}lock_{spin,}_flags() (only using a prefix of one underscore) that are called from modules. The macros mtx_{un,}lock_{spin,}_flags() are mapped to the __mtx_* macros inside of the kernel to inline the usual case of mutex operations and map to the internal _mtx_* functions in the module case so that modules will use WITNESS and KTR logging if the kernel is compiled with support for it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T02:44:11.000000Z K 7 svn:log V 223 Use mtx_intr_enable() on sched_lock to ensure child processes always start with interrupts enabled rather than calling the no-longer MI function enable_intr(). This is bogus anyways and in theory shouldn't even be needed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T02:46:21.000000Z K 7 svn:log V 53 Catch up to the mtx_saveintr -> mtx_savecrit change. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T03:06:10.000000Z K 7 svn:log V 66 Switch from save/disable/restore_intr() to critical_enter/exit(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T03:08:59.000000Z K 7 svn:log V 176 - Fix a whitespace bogon with p_blocked. - Move p_intr_nesting_level, p_aioinfo, and p_ithd into the zero'd area so that we don't have to explicitly zero them during fork(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T03:14:14.000000Z K 7 svn:log V 66 Don't explicitly zero p_intr_nesting_level and p_aioinfo in fork. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-03-28T05:05:05.000000Z K 7 svn:log V 206 Add support for the Addtron AWA100 PCI wireless card. The AWA100 is a PCI board with a PLX 9052 chip that's used to talk to the pccard inserted into the board. Remove a redundant $FreeBSD while I'm here. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2001-03-28T05:19:00.000000Z K 7 svn:log V 111 MFC: Replace dyn_fin_lifetime with dyn_ack_lifetime for half-closed state. (ip_fw.c rev.163) Approved by: jkh END K 10 svn:author V 5 markm K 8 svn:date V 27 2001-03-28T06:27:42.000000Z K 7 svn:log V 130 Fix nasty corruption problem where a 64bit variable was being used (overflowed) to catch a 256bit result. Hard work done by: jhb END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2001-03-28T07:01:45.000000Z K 7 svn:log V 235 Back out previous commit until I figure out a way to do it properly. We really want to be able to say "auto NWAY", "limited NWAY", and "no NWAY". Unfortunately, this does not appear to be possible with the current mediaopt structure. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T07:30:58.000000Z K 7 svn:log V 55 Add a manpage for the critical_enter/exit() functions. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T08:41:04.000000Z K 7 svn:log V 172 - Resort some includes to deal with the new witness code coming in shortly. - Make sure we have Giant locked before calling coredump() in sigexit(). Spotted by: peter (2) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T09:03:24.000000Z K 7 svn:log V 1998 Rework the witness code to work with sx locks as well as mutexes. - Introduce lock classes and lock objects. Each lock class specifies a name and set of flags (or properties) shared by all locks of a given type. Currently there are three lock classes: spin mutexes, sleep mutexes, and sx locks. A lock object specifies properties of an additional lock along with a lock name and all of the extra stuff needed to make witness work with a given lock. This abstract lock stuff is defined in sys/lock.h. The lockmgr constants, types, and prototypes have been moved to sys/lockmgr.h. For temporary backwards compatability, sys/lock.h includes sys/lockmgr.h. - Replace proc->p_spinlocks with a per-CPU list, PCPU(spinlocks), of spin locks held. By making this per-cpu, we do not have to jump through magic hoops to deal with sched_lock changing ownership during context switches. - Replace proc->p_heldmtx, formerly a list of held sleep mutexes, with proc->p_sleeplocks, which is a list of held sleep locks including sleep mutexes and sx locks. - Add helper macros for logging lock events via the KTR_LOCK KTR logging level so that the log messages are consistent. - Add some new flags that can be passed to mtx_init(): - MTX_NOWITNESS - specifies that this lock should be ignored by witness. This is used for the mutex that blocks a sx lock for example. - MTX_QUIET - this is not new, but you can pass this to mtx_init() now and no events will be logged for this lock, so that one doesn't have to change all the individual mtx_lock/unlock() operations. - All lock objects maintain an initialized flag. Use this flag to export a mtx_initialized() macro that can be safely called from drivers. Also, we on longer walk the all_mtx list if MUTEX_DEBUG is defined as witness performs the corresponding checks using the initialized flag. - The lock order reversal messages have been improved to output slightly more accurate file and line numbers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T09:04:25.000000Z K 7 svn:log V 83 Use mtx_initiaalized() rather than violating the internals of the mutex structure. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T09:17:56.000000Z K 7 svn:log V 135 Catch up to header include changes: - now requires - and now require END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-03-28T09:24:06.000000Z K 7 svn:log V 172 s/${_CFLAGS}/${_CPUCFLAGS}/, looks like I committed an earlier version of my patch from the wrong tree. Submitted by: Glenn Johnson Approved by: jkh END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-03-28T09:45:27.000000Z K 7 svn:log V 63 Bring the PPPoE interface UP if required Suggested by: archie END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-03-28T09:46:02.000000Z K 7 svn:log V 46 MFC: Bring the PPPoE interface UP if required END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-28T09:53:16.000000Z K 7 svn:log V 189 Fix g_Ctoc() interface, approximately based on OpenBSD's recent changes. Also, set gl_pathv to NULL after we free it, especially when dealing with realloc failures. Obtained from: OpenBSD END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-03-28T10:13:26.000000Z K 7 svn:log V 85 Remove sockets found in /var/run or /var/spool/lock at boot time (as well as files). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T10:41:15.000000Z K 7 svn:log V 117 Pass in a pointer to the mutex's lock_object as the second argument to WITNESS_SLEEP() rather than the mutex itself. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-28T10:56:11.000000Z K 7 svn:log V 230 OpenBSD's g_Ctoc() returned a false error when the target buffer was exactly the right size. Do it differently - pass a length rather than an end-of-string+1 pointer as this is more convenient anyway. Get rid of the bogus +1's. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T11:02:14.000000Z K 7 svn:log V 110 Remove a duplicate piece of chalk. PR: 23132 Submitted by: Alex Kapranoff END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T11:06:50.000000Z K 7 svn:log V 76 Remove duplicate. PR: 19670 Submitted by: Anton Berezin END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T11:08:32.000000Z K 7 svn:log V 84 Spelling fixes. PR: 20474 Submitted by: Christian Weisgerber END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T11:10:50.000000Z K 7 svn:log V 144 Axe out duplicate. Not to submitter: (I don't let Jordan use my axe) PR: 24782 Submitted by: Szilveszter Adam END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-03-28T11:50:15.000000Z K 7 svn:log V 31 Put a note about ee(1) update. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T11:52:56.000000Z K 7 svn:log V 71 Convert the allproc and proctree locks from lockmgr locks to sx locks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-28T12:08:22.000000Z K 7 svn:log V 95 Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness. Approved by: markm END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-28T12:15:22.000000Z K 7 svn:log V 436 Merged src/lib/libtelnet rev.1.9 (fixed removing of obsolete shared library: wrong library directory, wrong library extension and wrong comment). This is mainly of historical interest, if any. The library that gets removed is aout. Also, backout the beforeinstall -> afterinstall change in rev.1.20 that was required to install proper telnet.h into /usr/include/arpa. The actual problem is in , and I am going to fix it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T12:39:40.000000Z K 7 svn:log V 178 - s/mutexes/locks/g in appropriate comments. - Rename the 'show mutexes' ddb command to 'show locks' since it shows a list of all the lock objects held by the current process. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T12:44:30.000000Z K 7 svn:log V 135 Add a simple manpage describing the basic functionality of witness. It needs a diagonistics section added at some point in the future. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T12:45:41.000000Z K 7 svn:log V 119 - Both and depend on and . - depends on . END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-03-28T13:10:17.000000Z K 7 svn:log V 112 Back out my fseeko -> fseek(END) change - we need to position on what we displayed last, not to the end of file END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2001-03-28T13:41:19.000000Z K 7 svn:log V 109 Allow ident requests with trailing junk following the terminating "\n". Reviewed by: ben Approved by: green END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-03-28T13:42:42.000000Z K 7 svn:log V 52 Forgot to add pci_if.h to SRCS Pointed out by: phk END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-03-28T14:11:15.000000Z K 7 svn:log V 399 In case the driver runs on an HP NetRaid controller, attempt to properly decode the BIOS and firmware version and announce the board as HP NetRaid. This has been tested with a NetRaid 3si controller, the BIOS/firmware printout should also work for other NetRaid controllers but the type detection for other NetRaids (such as the 1si) will not work due to the lack of hardware. Reviewed by: msmith END K 10 svn:author V 6 jesper K 8 svn:date V 27 2001-03-28T14:13:19.000000Z K 7 svn:log V 371 MFC candidate. Change code from PRC_UNREACH_ADMIN_PROHIB to PRC_UNREACH_PORT for ICMP_UNREACH_PROTOCOL and ICMP_UNREACH_PORT And let TCP treat PRC_UNREACH_PORT like PRC_UNREACH_ADMIN_PROHIB This should fix the case where port unreachables for udp returned ENETRESET instead of ECONNREFUSED Problem found by: Bill Fenner Reviewed by: jlemon END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-28T14:54:28.000000Z K 7 svn:log V 36 Typo fix. s/criticale_t/critical_t/ END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-28T14:58:08.000000Z K 7 svn:log V 143 - Removed `n' from the list of manpage sections. - Only support the old syntax for manpage declarations (MAN1...MAN9) if no MAN is defined. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T15:04:22.000000Z K 7 svn:log V 55 Add missing includes of Reported by: peter END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-28T15:07:48.000000Z K 7 svn:log V 193 Define MAN to ${PROG}.1 if no manpages were specified, but still provide MAN1 for backwards compatibility. Third party software may still have dependancy lines of this form: ${MAN1}: foo.man END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-28T15:12:29.000000Z K 7 svn:log V 114 - Document recent MAN[1-9] -> MAN changes. - Backout part of revision 1.4 (../Makefile.inc -> bsd.inc.mk change). END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-28T15:52:12.000000Z K 7 svn:log V 790 Fix a number of minor bugs in the VLAN code: * Initialize the "struct sockaddr_dl sdl" correctly in vlan_setmulti(). PR: kern/22181 * The driver used to call malloc(..., M_NOWAIT), but to not check the return value. Change malloc(..., M_NOWAIT) to malloc(..., M_WAITOK) because the corresponding part of code is called from the upper half of the kernel only. PR: kern/22181 * Make sure a parent interface is up and running before invoking its if_start() routine in order to avoid system panic. PR: kern/22179 kern/24741 i386/25478 * Do not copy all the flags from a parent mindlessly. PR: kern/22179 * Do not call if_down() on a parent interface if it's already down. Call if_down() at splimp because if_down() needs that. PR: kern/22179 Reviewed by: wollman END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T16:11:51.000000Z K 7 svn:log V 408 Close a race condition where if we were obtaining a sleep lock and no spin locks were held, we could be preempted and switch CPU's in between the time that we set a variable to the list of spin locks on our CPU and the time that we checked that variable to ensure no spinlocks were held while grabbing a sleep lock. Losing the race resulted in checking some other CPU's spin lock list and bogusly panicing. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-28T16:34:13.000000Z K 7 svn:log V 55 MFC rev 1.15-1.16; fix g_Ctoc() etc. Approved by: jkh END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-28T16:40:11.000000Z K 7 svn:log V 63 MFC: sync all the way up to glob.c rev 1.16 and glob.h rev 1.4 END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-03-28T16:51:02.000000Z K 7 svn:log V 86 Add Ukrainian translation. Submitted by: Olexander Kunytsa END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T17:30:26.000000Z K 7 svn:log V 137 Allow specification of which source address to use for encapsulation. PR: 25847 Submitted by: Eugene Polovnikov END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T17:51:03.000000Z K 7 svn:log V 327 Change ntp_flags to "-b" to inspire people to set it right. Note that "right" in this case is not universally recognized, but NTP-practittioners as opposed to theoretians generally agree that getting "inside the window" using ntpdate is TRTTD on PC hardware. PR: 25514 Submitted by: Chris Johnson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-28T17:54:50.000000Z K 7 svn:log V 65 Update history to reflect that ktr first appeared in BSD/OS 3.0. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T17:58:31.000000Z K 7 svn:log V 154 Small patch is required to the USB susbsystem to include support for Epson Perfection 1240U scanner. PR: 25565 Submitted by: Martin Machacek END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T18:21:54.000000Z K 7 svn:log V 201 The f_syncreads and f_asyncreads entries are missing from the man page. This also tidies up the formatting a bit and omits all the padding entries. PR: 25834 Submitted by: Tony Finch END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-03-28T19:02:08.000000Z K 7 svn:log V 125 resurrect the declaration of order to unbreak kernel build. Put it inside the ifdef so as to avoid unused variable warnings END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-03-28T19:31:59.000000Z K 7 svn:log V 52 Add to BUGS section why tar can't dump large minors END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-03-28T19:47:52.000000Z K 7 svn:log V 141 Make per-address input packet counts for lo0 work. Reported by: bmah Submitted by: Noriyasu KATO (via itojun) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-03-28T20:50:15.000000Z K 7 svn:log V 393 o introduce u_cansee(), which performs access control checks between two subject ucreds. Unlike p_cansee(), u_cansee() doesn't have process lock requirements, only valid ucred reference requirements, so is prefered as process locking improves. For now, back p_cansee() into u_cansee(), but eventually p_cansee() will go away. Reviewed by: jhb, tmm Obtained from: TrustedBSD Project END K 10 svn:author V 3 des K 8 svn:date V 27 2001-03-28T21:01:07.000000Z K 7 svn:log V 63 Bring the usage message in synch with reality. PR: bin/26160 END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-03-28T21:02:56.000000Z K 7 svn:log V 67 There was only a single message to be translated into German here. END K 10 svn:author V 3 des K 8 svn:date V 27 2001-03-28T21:07:55.000000Z K 7 svn:log V 71 Back out part of previous commit - it doesn't even work on -CURRENT... END K 10 svn:author V 3 des K 8 svn:date V 27 2001-03-28T21:22:47.000000Z K 7 svn:log V 81 MFC: bring usage message in synch with reality. PR: bin/26160 Approved by: jkh END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-03-28T21:33:30.000000Z K 7 svn:log V 155 Update message #56. Maxim didn't merge the English version here since partially merging the line would have exceeded 80 characters. Reminded by: sobomax END K 10 svn:author V 3 des K 8 svn:date V 27 2001-03-28T22:21:07.000000Z K 7 svn:log V 22 Prepare for pseudofs. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-28T23:55:51.000000Z K 7 svn:log V 240 Mostly pick up OpenBSD's rev 1.14 by deraadt@ and millert@. I've left out a couple of unused args between internal functions. Use MAXPATHLEN, not MAXPATHLEN + 1 in a couple of places. Pass a pointer to the end of the target filename space. END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-03-28T23:58:32.000000Z K 7 svn:log V 144 Don't document the ``set socket'' features that haven't yet been MFC'd Pointed out by: George W. Dinolt Approved by: jkh END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-03-29T00:02:33.000000Z K 7 svn:log V 64 MFC: Bring the PPPoE interface UP if required Approved by: jkh END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-29T00:05:51.000000Z K 7 svn:log V 159 Hint: usbdevs_data.h and usbdevs.h are marked: * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. Put the Epson 1240 scanner device in the correct place. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-29T00:06:16.000000Z K 7 svn:log V 22 Regenerate correctly. END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-03-29T00:12:01.000000Z K 7 svn:log V 171 Fix some minor nits: IEEE802.11 -> IEEE 802.11 (infrastructure) mode. -> (infrastructure mode). place of ".". PR: 25985 Submitted by: SUZUKI Koichi END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-03-29T00:23:17.000000Z K 7 svn:log V 122 Mention that the Asante GigaNIX1000T Gigabit Ethernet Adapter is supported by the ti(4) driver. (Another OEM'ed Tigon 2.) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-03-29T00:25:58.000000Z K 7 svn:log V 89 Whoops, mention the Asante PCI 1000BASE-SX Gigabit Ethernet Adapter (fiber version) too. END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-03-29T00:29:00.000000Z K 7 svn:log V 111 Catch up with a comment that changed in rev1.73 of mount.h PR: 25836 Submitted by: Tony Finch END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2001-03-29T00:36:35.000000Z K 7 svn:log V 4461 aic7770.c: aic7xxx_pci.c: Enable board generation of interrupts only once our handler is in place and all other setup has occurred. aic7xxx.c: More conversion of data types to ahc_* names. tmode_tstate and tmode_lstate are the latest victims. Clean up the check condition path by branching early rather than indenting a giant block of code. Add support for target mode initiated sync negotiation. The code has been tested by forcing the feature on for all devices, but for the moment is left inaccesible until a decent mechanism for controlling the behavior is complete. Implementing this feature required the removal of the old "target message request" mechanism. The old method required setting one of the 16 bit fields to initiate negotiation with a particular target. This had the nice effect of being easy to change the request and have it effect the next command. We now set the MK_MESSAGE bit on any new command when negotiation is required. When the negotiation is successful, we walk through and clean up the bit on any pending commands. Since we have to walk the commands to reset the SCSI syncrate values so no additional work is required. The only drawback of this approach is that the negotiation is deferred until the next command is queued to the controller. On the plus side, we regain two bytes of sequencer scratch ram and 6 sequencer instructions. When cleaning up a target mode instance, never remove the "master" target mode state object. The master contains all of the saved SEEPROM settings that control things like transfer negotiations. This data will be cloned as the defaults if a target mode instance is re-instantiated. Correct a bug in ahc_set_width(). We neglected to update the pending scbs to reflect the new parameters. Since wide negotiation is almost always followed by sync negotiation it is doubtful that this had any real effect. When in the target role, don't complain about "Target Initiated" negotiation requests when an initiator negotiates with us. Defer enabling board interrupts until after ahc_intr_enable() is called. Pull all info that used to be in ahc_timeout for the FreeBSD OSM into ahc_dump_card_state(). This info should be printed out on all platforms. aic7xxx.h: Add the SCB_AUTO_NEGOITATE scb flag. This allows us to discern the reason the MK_MESSAGE flag is set in the hscb control byte. We only want to clear MK_MESSAGE in ahc_update_pending_scbs() if the MK_MESSAGE was set due to an auto transfer negotiation. Add the auto_negotiate bitfield for each tstate so that behavior can be controlled for each of our enabled SCSI IDs. Use a bus interrupt handler vector in our softc rather than hard coding the PCI interrupt handler. This makes it easier to build the different bus attachments to the aic7xxx driver as modules. aic7xxx.reg: Remove the TARGET_MSG_REQUEST definition for sequencer ram. aic7xxx.seq: Fix a few target mode bugs: o If MK_MESSAGE is set in an SCB, transition to message in phase and notify the kernel so that message delivery can occur. This is currently only used for target mode initiated transfer negotiation. o Allow a continue target I/O to compile without executing a status phase or disconnecting. If we have not been granted the disconnect privledge but this transfer is larger than MAXPHYS, it may take several CTIOs to get the job done. Remove the tests of the TARGET_MSG_REQUEST field in scratch ram. aic7xxx_freebsd.c: Add support for CTIOs that don't disconnect. We now defer the clearing of our pending target state until we see a CTIO for that device that has completed sucessfully. Be sure to return early if we are in a target only role and see an initiator only CCB type in our action routine. If a CTIO has the CAM_DIS_DISCONNECT flag set, propogate this flag to the SCB. This flag has no effect if we've been asked to deliver status as well. We will complete the command and release the bus in that case. Handle the new auto_negotiate field in the tstate correctly. Make sure that SCBs for "immediate" (i.e. to continue a non disconnected transaction) CTIO requests get a proper mapping in the SCB lookup table. Without this, we'll complain when the transaction completes. Update ahc_timeout() to reflect the changes to ahc_dump_card_state(). aic7xxx_inline.h: Use ahc->bus_intr rather than ahc_pci_intr. END K 10 svn:author V 6 jedgar K 8 svn:date V 27 2001-03-29T00:48:54.000000Z K 7 svn:log V 57 Correct function name: acl_clear_perm -> acl_clear_perms END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-03-29T01:00:42.000000Z K 7 svn:log V 112 Correct the description of the "low" (< 1024) port range. PR: 25500 Submitted by: Barry Irwin END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-03-29T01:25:06.000000Z K 7 svn:log V 166 Remove a comment which seemed to confuse makewhatis: ben@freefall:~$ whatis ed ed(1), -(1) - ed, red text editor PR: 25164 Submitted by: Rich Morin END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-03-29T01:46:20.000000Z K 7 svn:log V 178 Note that the -v option is not supported. Don't remove the actual text because the code is still in pstat.c, and may be reincarnated at some point. PR: 26054 Approved by: nik END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-03-29T01:46:57.000000Z K 7 svn:log V 13 MFC rev 1.17 END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-03-29T02:18:19.000000Z K 7 svn:log V 39 numdirtybuffers is an int, not a long. END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-29T09:45:04.000000Z K 7 svn:log V 123 MFC: (1.104) Don't bypass notifying a corresponding interface when leaving a link-layer multicast group. Approved by: jkh END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-29T09:51:16.000000Z K 7 svn:log V 90 MFC: (1.79) Add a missing m_pullup() before an mtod() in in_arpinput(). Approved by: jkh END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-29T10:06:16.000000Z K 7 svn:log V 249 Advance the output byte and multicast counters on a parent interface, since we mimic ether_output() in vlan_start(). Increment the output packet counter of a vlan interface in the right place. PR: kern/22178 Reviewed by: wollman Approved by: jkh END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-03-29T10:06:50.000000Z K 7 svn:log V 284 Fixed wrong include in synopsis. is a prerequisite for due to #include spam in . (More precisely, is the prerequisite, but that is provided by standard #include spam in .) Fixed bitrot in prototype for mtx_init(). END K 10 svn:author V 6 jesper K 8 svn:date V 27 2001-03-29T10:10:02.000000Z K 7 svn:log V 196 MFC src/sys/netinet/ip_icmp.c rev 1.56 src/sys/netinet/tcp_subr.c rev 1.96 This should fix the case where port unreachables for udp returned ENETRESET instead of ECONNREFUSED Approved by: jkh END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-03-29T10:18:54.000000Z K 7 svn:log V 125 Fixed missing and disorded includes in synopsis. Removed bogus quotes in .Fn invocations. Single words don't need quoting. END K 10 svn:author V 6 jesper K 8 svn:date V 27 2001-03-29T10:23:45.000000Z K 7 svn:log V 135 Fix building NEWCARD again, by including sys/types.h and sys/lock.h in pccbb.c, as jhb noted in rev 1.12 of src/share/man/man9/mutex.9 END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-03-29T10:29:37.000000Z K 7 svn:log V 54 Fixed bitrot in the prototypes for NDINIT and NDFREE. END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-03-29T10:33:00.000000Z K 7 svn:log V 686 MFC: (1.26) Fix a number of minor bugs in the VLAN code: * Initialize the "struct sockaddr_dl sdl" correctly in vlan_setmulti(). * The driver used to call malloc(..., M_NOWAIT), but to not check the return value. Change malloc(..., M_NOWAIT) to malloc(..., M_WAITOK) because the corresponding part of code is called from the upper half of the kernel only. * Make sure a parent interface is up and running before invoking its if_start() routine in order to avoid system panic. * Do not copy all the flags from a parent mindlessly. * Do not call if_down() on a parent interface if it's already down. Call if_down() at splimp because if_down() needs that. Approved by: jkh END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-03-29T11:36:46.000000Z K 7 svn:log V 75 Kill vn related manual pages, they're not used any more. Approved by: phk END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-03-29T13:03:23.000000Z K 7 svn:log V 51 mdoc(7) police: LIBRARY should be before SYNOPSIS. END K 10 svn:author V 7 asmodai K 8 svn:date V 27 2001-03-29T14:03:07.000000Z K 7 svn:log V 364 Change NO_MAKEDEV to a finer granularity method: NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter. The names imply what they do. The last commit by DES based on a PR defeated the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV challenge. END K 10 svn:author V 7 asmodai K 8 svn:date V 27 2001-03-29T14:03:29.000000Z K 7 svn:log V 399 Change NO_MAKEDEV to a finer granularity method: NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter. The names imply what they do. The last commit by DES based on a PR defeated the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV challenge. Reflect this in the documentation. END K 10 svn:author V 7 asmodai K 8 svn:date V 27 2001-03-29T14:04:19.000000Z K 7 svn:log V 494 Change NO_MAKEDEV to a finer granularity method: NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter. The names imply what they do. The last commit by DES based on a PR defeated the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV challenge. Reflect this in mergemaster, this might later on be decided to be set to NO_MAKEDEV_INSTALL, for now I kept to the old behaviour. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-03-29T15:05:08.000000Z K 7 svn:log V 66 fix a number of printf format string warnings inside DEBUG ifdefs END K 10 svn:author V 5 orion K 8 svn:date V 27 2001-03-29T15:36:31.000000Z K 7 svn:log V 440 - Added suspend/resume support. - Added 4 speaker enable to initialization sequence. - Removed delays between register pokes which appear to aggravate a problem this card has sampling at 44.1kHz. With any form of delay, skew relative to system clock at 44.1kHz is usually in range 0-25% (now 0-3%). No other rates exhibit this problem. - Changed structs cmi_* to sc_*. Approved by: Cameron Grant END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-03-29T17:11:58.000000Z K 7 svn:log V 180 New release notes: New CAM error recovery code, PAM support for account management and session, tail(1) support for large files. Updates: vn(4) removed, file(1) update to 3.34. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-03-29T18:10:46.000000Z K 7 svn:log V 158 - Various style fixes. - Fix a silly bug so that we return the actual error code if a procfs attach fails rather than always returning 0. Reported by: bde END K 10 svn:author V 5 green K 8 svn:date V 27 2001-03-29T18:14:55.000000Z K 7 svn:log V 136 Since -CURRENT requires module dependencies to actually be correct for linking to work, have cue(4) depend on usb so it actually works. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-03-29T19:11:45.000000Z K 7 svn:log V 255 Fix a couple style nits, no code changes. Turn one magic number into a #defined constant, wrap a few long lines, etc... Also remove stupid 'all your base are belong to us' joke from comment that I don't really care to see immortalized in the source tree. END K 10 svn:author V 3 jkh K 8 svn:date V 27 2001-03-29T19:56:20.000000Z K 7 svn:log V 126 Correct message to say "shutting down" rather than just "shutting" Noticed by: Joachim Str̦mbergson END