ƒ¯31670 214 244 149 261 179 376 377 177 135 172 146 184 133 868 187 319 179 235 170 252 164 890 469 224 113 160 287 239 108 324 331 469 884 177 172 118 220 218 154 200 612 402 508 182 144 142 105 143 116 309 222 193 501 410 510 288 235 173 852 122 165 401 209 130 177 171 158 137 123 144 627 176 111 358 163 117 239 190 117 161 162 131 236 173 123 157 206 137 177 297 152 138 151 475 123 181 178 161 133 140 113 364 144 200 105 344 159 893 376 146 105 105 282 563 137 186 183 120 138 181 130 138 339 134 124 112 3940 134 155 176 153 166 149 297 137 215 392 145 460 223 344 265 270 144 130 149 130 161 99 324 234 243 234 597 330 121 337 200 191 160 239 308 168 182 136 158 168 255 102 275 126 138 170 130 183 147 209 232 233 359 324 229 168 162 217 129 161 177 183 271 906 204 126 934 429 285 199 151 446 140 167 159 170 170 388 185 166 203 167 261 118 162 282 151 156 K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-11T07:27:06.000000Z K 7 svn:log V 151 Fixed the usual multiplication overflow bug in an lseek() offset calculation. The scan for bad sectors was broken for offsets >= 4G on 32-bit systems. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-11T07:32:25.000000Z K 7 svn:log V 57 YAMFC (fixed large offsets in the scan for bad sectors). END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-11T09:17:20.000000Z K 7 svn:log V 168 Changed lots of %ld's in format strings back to %d. %ld was right when daddr_t was long, but Lite2 changed daddr_t to int32_t which is implemented as `int' on i386's. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-11T09:32:35.000000Z K 7 svn:log V 87 Fixed printing of and comparison with d_typename[]. It is not always null terminated. END K 10 svn:author V 3 sef K 8 svn:date V 27 1997-12-12T03:33:43.000000Z K 7 svn:log V 283 Fix a problem with procfs_exit() that resulted in missing some procfs nodes; this also apparantly caused a panic in some circumstances. Also, since procfs_exit() is getting rid of the nodes when a process exits, don't bother checking for the process' existance in procfs_inactive(). END K 10 svn:author V 5 dyson K 8 svn:date V 27 1997-12-12T04:00:59.000000Z K 7 svn:log V 282 We have had support for running the kernel daemons as threads for quite a while, but forgot to do so. For now, this code supports most daemons running as kernel threads in UP kernels, and as full processes in SMP. We will soon be able to run them as threads in SMP, but not yet. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-12T07:15:37.000000Z K 7 svn:log V 80 MFC: Cosmetic in error strings. Sort Xrefs. Add usage (with syslog capability). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-12T07:16:56.000000Z K 7 svn:log V 38 MFC: Use err(3). exit(-1) -> exit(1). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-12T07:18:21.000000Z K 7 svn:log V 75 MFC: Add const to copyright string. Put sccsid under #if 0/#endif control. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-12T07:20:40.000000Z K 7 svn:log V 49 MFC: Cosmetics in man page. Exit(-1) -> exit(1). END K 10 svn:author V 6 helbig K 8 svn:date V 27 1997-12-12T10:25:19.000000Z K 7 svn:log V 89 Eleven days were eliminated by the Gregorian Reformation in 1752, not ten. Submittee by: END K 10 svn:author V 4 ache K 8 svn:date V 27 1997-12-12T11:47:28.000000Z K 7 svn:log V 40 Change select(0, NULL, ...) to usleep() END K 10 svn:author V 5 peter K 8 svn:date V 27 1997-12-12T14:08:50.000000Z K 7 svn:log V 773 I've been using these tweaks to enable the sound driver to talk to the (mutant) Crystal CSS4236 chip on the Intel PR440FX SMP motherboard. XXX this uses some rather ugly PnP bootstrap code that is *NOT* compatable with 'controller pnp0' or *ANY* other PnP devices. If you use some other PnP devices, enabling css0 will burn your house down. :-] The "simplified" PnP init sequence directly blats your config(8) settings onto the chip. I'm pretty sure 'css0' will conflict with 'mss0', this whole area desperately needs a cleanup. I have been using the following with some success on the PR440FX: controller snd0 device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 vector adintr device opl0 at isa? port 0x388 device mpu0 at isa? port 0x330 irq 10 vector mpuintr END K 10 svn:author V 5 peter K 8 svn:date V 27 1997-12-12T14:14:44.000000Z K 7 svn:log V 93 Fix(?) some style consistancy breakage and do some other nit-picking on the SUIDDIR changes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-12T17:58:31.000000Z K 7 svn:log V 226 MF22 (oops, I committed it to the wrong tree yesterday). Changed lots of %ld's in format strings back to %d. %ld was right when daddr_t was long, but Lite2 changed daddr_t to int32_t which is implemented as `int' on i386's. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-12T18:01:57.000000Z K 7 svn:log V 87 Fixed printing of and comparison with d_typename[]. It is not always null terminated. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-12T18:11:29.000000Z K 7 svn:log V 139 Merge from OpenBSD: >sprintf -> snprintf paranoia Obtainted from: OpenBSD src/bin/stty/print.c v1.5 by Todd Miller END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-12T18:24:17.000000Z K 7 svn:log V 75 Make this lint more cleanly Obtained from: OpenBSD file rev 1.4 by mickey END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-12T18:38:22.000000Z K 7 svn:log V 156 Make code slightly more robust towards change by calculating size in-place. Obtained from: OpenBSD ar_subs.c rev 1.7 by Tood Miller END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-13T02:37:33.000000Z K 7 svn:log V 795 Allow random IP number allocation to peer. Validate the peers suggested IP by attempting to make a routing table entry. Give up IPCP negotiation if the peer NAKs us with an unusable IP. Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device. Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't want)!!! Allow up to 200 interface names (was 50) (now that ppp can play server properly). Up the version number (1.5 -> 1.6). Cosmetic: Log unexpected CCP packets in the CCP log rather than the ERROR log. Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather than the ERROR log. Log failed route additions and deletions with WARN, not TCPIP. Log the option id and length for unrecognised IPCP options. Change some .Sq to .Ar in the man page. END K 10 svn:author V 3 sef K 8 svn:date V 27 1997-12-13T03:13:49.000000Z K 7 svn:log V 376 Change the ioctls for procfs around a bit; in particular, whever possible, change from ioctl(fd, PIOC, &i); to ioctl(fd, PIOC, i); This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and truss must be in synch for it all to work (not doing so will get errors about inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :). END K 10 svn:author V 3 jdp K 8 svn:date V 27 1997-12-13T05:27:29.000000Z K 7 svn:log V 131 Fix a segmentation violation that happened if "auth" was in the options file but there was no suitable secret in the secrets file. END K 10 svn:author V 5 asami K 8 svn:date V 27 1997-12-13T05:59:44.000000Z K 7 svn:log V 19 Add ports-biology. END K 10 svn:author V 5 danny K 8 svn:date V 27 1997-12-13T06:34:47.000000Z K 7 svn:log V 66 Submitted by: Peter Hawkins Spelling police. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-13T09:57:48.000000Z K 7 svn:log V 191 This framework builds the 'minigzip' sample program supplied with libz. It is a non-GPL-polluted minimal implementation of the 'gzip' command, yielding a 12k executable (vs ~100k for gzip). END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-13T09:57:48.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r31695, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-13T09:59:32.000000Z K 7 svn:log V 13 Add minigzip END K 10 svn:author V 6 helbig K 8 svn:date V 27 1997-12-13T11:51:16.000000Z K 7 svn:log V 228 Delete "typedef ... date" (see style(9)). In the man page Use ".Pp" instead of blank lines, adopt English and stress that the Julian->Gregorian switch took place at different dates in different countries. Suggested by: Garrett. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-13T12:30:34.000000Z K 7 svn:log V 238 Restored ufs_pathconf() from rev.1.61. vop_stdpathconf() is too general to be of much use. Using it here broke the _PC_NAME_MAX, _PC_NO_TRUNC and _PC_PATH_MAX cases, and weakened the _PC_MAX_CANON, _PC_MAX_INPUT and _PC_VDISABLE cases. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-13T12:58:09.000000Z K 7 svn:log V 376 Restored fifo_pathconf() from rev.1.32. vop_stdpathconf() is too general to be of much use. Using it here weakened the _PC_MAX_CANON, _PC_MAX_INPUT and _PC_VDISABLE cases. fifo_pathconf() is not quite correct either. _PC_CHOWN_RESTRICTED and _PC_LINK_MAX should be handled by the host file system. For directories, the host file system should let us handle _PC_PIPE_BUF. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-13T13:49:59.000000Z K 7 svn:log V 791 Fixed EOF handing. 1. SS_CANTRCVMORE was initially set on the wrong socket, so reads when there has never been a writer on the socket did not return 0. Note that such reads are only possible if the fifo was opened in (O_RDONLY | O_NONBLOCK) mode. 2. SS_CANTSENDMORE was initially set on the wrong socket, but this was harmless because the wrong socket is never sent from and there is no need to set the flag initially on the right socket (since open in (O_WRONLY | O_NONBLOCK) mode fails if there is no reader...). 3. SS_CANTRCVMORE was cleared when read() returns. This broke the case where read() returns 0 - subsequent reads are supposed to return 0 until a writer appears. There is no need to clear the flag when read() returns, since it is cleared correctly when a writer appears. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-13T15:57:55.000000Z K 7 svn:log V 85 Fixed .PATH statement so that minigzip.c can be found when ${.OBJDIR} != ${.CURDIR}. END K 10 svn:author V 3 sef K 8 svn:date V 27 1997-12-13T18:18:12.000000Z K 7 svn:log V 80 Allow TMPDIR to be set and actually *used*; if it not set, it defaults to /tmp. END K 10 svn:author V 3 sef K 8 svn:date V 27 1997-12-13T18:21:05.000000Z K 7 svn:log V 26 MFC: use $TMPDIR if set. END K 10 svn:author V 5 guido K 8 svn:date V 27 1997-12-13T19:50:14.000000Z K 7 svn:log V 125 Oops..The default behaviour should be *not* to log all succeeded requests. If you want this extra loggin, add the -l option. END K 10 svn:author V 3 pst K 8 svn:date V 27 1997-12-13T20:38:21.000000Z K 7 svn:log V 125 Sync with NetBSD v1.3. Keep I8N1 and quarantine port code. Replace our security fix with NetBSD's (their idea was better). END K 10 svn:author V 3 pst K 8 svn:date V 27 1997-12-13T20:39:14.000000Z K 7 svn:log V 62 Bring in NetBSD compatible & augmented RCSID/COPYRIGHT macros END K 10 svn:author V 8 jraynard K 8 svn:date V 27 1997-12-14T00:32:33.000000Z K 7 svn:log V 102 Allow slow SCSI CDROMs more time to start up. PR: 5181 Submitted by: Wilko Bulte END K 10 svn:author V 5 dyson K 8 svn:date V 27 1997-12-14T02:11:23.000000Z K 7 svn:log V 517 After one of my analysis passes to evaluate methods for SMP TLB mgmt, I noticed some major enhancements available for UP situations. The number of UP TLB flushes is decreased much more than significantly with these changes. Since a TLB flush appears to cost minimally approx 80 cycles, this is a "nice" enhancement, equiv to eliminating between 40 and 160 instructions per TLB flush. Changes include making sure that kernel threads all use the same PTD, and eliminate unneeded PTD switches at context switch time. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-14T03:15:21.000000Z K 7 svn:log V 306 As described by the submitter: ... fix a bug with orecvfrom() or recvfrom() called with the MSG_COMPAT flag on kernels compiled with the COMPAT_43 option. The symptom is that the fromaddr is not correctly returned. This affects the Linux emulator. Submitted by: pb@fasterix.freenix.org (Pierre Beyssac) END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-14T03:17:54.000000Z K 7 svn:log V 412 As described by the submitter: - emulate Linux IP_HDRINCL behaviour in sendto(): byte order fixed Note that we do an extra getsockopt() on every sendto() to check if the option is set because we don't keep state in the emulator code. Is there a better way to implement this? - correct a bug (value of "name" not passed) with getsockopt() Submitted by: pb@fasterix.freenix.org (Pierre Beyssac) END K 10 svn:author V 5 dyson K 8 svn:date V 27 1997-12-14T05:17:44.000000Z K 7 svn:log V 88 Slight improvement to the vm_zone stats output. Also, some other superficial cleanups. END K 10 svn:author V 4 kato K 8 svn:date V 27 1997-12-14T12:30:54.000000Z K 7 svn:log V 51 Sync with sys/i386/conf/files.i386 revision 1.182. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1997-12-14T12:30:59.000000Z K 7 svn:log V 50 typo fix. PR: 5289 Submitted by: Studded@dal.net END K 10 svn:author V 3 jkh K 8 svn:date V 27 1997-12-14T12:31:13.000000Z K 7 svn:log V 13 MFC: PR#5289 END K 10 svn:author V 4 kato K 8 svn:date V 27 1997-12-14T12:31:44.000000Z K 7 svn:log V 50 Sync with sys/i386/i386/machdep.c revision 1.279. END K 10 svn:author V 5 wosch K 8 svn:date V 27 1997-12-14T15:38:47.000000Z K 7 svn:log V 22 Optimize rm(1) usage. END K 10 svn:author V 3 jdp K 8 svn:date V 27 1997-12-14T19:36:24.000000Z K 7 svn:log V 216 Make gzipped dynamically linked executables work again. There was an old bug here that failed to copy the a.out header into memory properly. It didn't matter until changes were made recently to the dynamic linker. END K 10 svn:author V 3 sef K 8 svn:date V 27 1997-12-15T00:29:41.000000Z K 7 svn:log V 129 Explicitly use the _IOC macro directly. This changes the ioctl command numbers, so any programs using it need to be recompiled. END K 10 svn:author V 5 tegge K 8 svn:date V 27 1997-12-15T01:14:10.000000Z K 7 svn:log V 99 Don't forward hardclock or statclock to stopped cpus. Disable forwarding when a panic has occured. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-15T02:10:38.000000Z K 7 svn:log V 405 Functional merge from current; as described by the contributor: - emulate Linux IP_HDRINCL behaviour in sendto(): byte order fixed Note that we do an extra getsockopt() on every sendto() to check if the option is set because we don't keep state in the emulator code. Is there a better way to implement this? - correct a bug (value of "name" not passed) with getsockopt() (see last hunk) END K 10 svn:author V 2 jb K 8 svn:date V 27 1997-12-15T02:12:42.000000Z K 7 svn:log V 318 Fix recursion problem which occurs when a signal is received during a malloc. The signal handler creates a thread which requires a malloc... For now, the only thing to do is to block signals. When we move user pthreads to use the kernel threads, mutexes will be implemented in kernel space and then malloc can revert. END K 10 svn:author V 5 tegge K 8 svn:date V 27 1997-12-15T02:18:35.000000Z K 7 svn:log V 415 Add support for low resolution SMP kernel profiling. - A nonprofiling version of s_lock (called s_lock_np) is used by mcount. - When profiling is active, more registers are clobbered in seemingly simple assembly routines. This means that some callers needed to save/restore extra registers. - The stack pointer must have space for a 'fake' return address in idle, to avoid stack underflow. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-15T02:24:08.000000Z K 7 svn:log V 192 MFS: fixes to avoid trampling sa_len fields in the presence of MSG_COMPAT with COMPAT_OLDSOCK defined (ie. COMPAT_43 in kernel config). Submitted by: pb@fasterix.freenix.org (Pierre Beyssac) END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-15T02:29:11.000000Z K 7 svn:log V 139 Consult sa_len before trampling it with MSG_COMPAT set. PR: kern/5291 Submitted by: pb@fasterix.freenix.org (Pierre Beyssac) END K 10 svn:author V 6 yokota K 8 svn:date V 27 1997-12-15T02:57:45.000000Z K 7 svn:log V 78 Oops, I forgot to set `cflag' in some cases when initializing the mouse port. END K 10 svn:author V 7 wollman K 8 svn:date V 27 1997-12-15T03:09:59.000000Z K 7 svn:log V 755 Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL if one of the new poll types is requested; hopefully this will not break any existing code. (This is done so that programs have a dependable way of determining whether a filesystem supports the extended poll types or not.) The new poll types added are: POLLWRITE - file contents may have been modified POLLNLINK - file was linked, unlinked, or renamed POLLATTRIB - file's attributes may have been changed POLLEXTEND - file was extended Note that the internal operation of poll() means that it is impossible for two processes to reliably poll for the same event (this could be fixed but may not be worth it), so it is not possible to rewrite `tail -f' to use poll at this time. END K 10 svn:author V 4 nate K 8 svn:date V 27 1997-12-15T04:38:15.000000Z K 7 svn:log V 29 - Fix some very minor typos. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1997-12-15T05:16:09.000000Z K 7 svn:log V 71 Fix a recursive kernel_map lock problem in vm_zone allocator. PR: 5298 END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-15T06:09:11.000000Z K 7 svn:log V 305 As described by the submitter: These patches enables us to play quake2 . Support linux keyboard ioctl for setting RAW, MEDIUMRAW and XLATE. Support linux virtual terminal operations: OPENQRY, GETMODE, SETMODE, GETSTATE, ACTIVATE, and WAITACTIVE. Submitted by: Amancio Hasty END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-15T06:11:34.000000Z K 7 svn:log V 113 MFC: emulation of Linux keyboard ioctls and vt operations. Submitted by: Amancio Hasty END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-15T07:09:41.000000Z K 7 svn:log V 33 MFC: Use err(3). -Wall cleaning. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-15T07:10:54.000000Z K 7 svn:log V 80 MFC: Correct incompletes .Xrs. Remove duplicate #includes and unused variables. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-15T07:11:54.000000Z K 7 svn:log V 74 MFC: Use err(3) instead of local redefinition. Add usage. -Wall cleaning. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-15T07:13:46.000000Z K 7 svn:log V 61 MFC: Key is 8 bytes not 10 as stated in man page. Add rcsid. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-15T07:16:19.000000Z K 7 svn:log V 40 MFC: Cosmetics in usage() and man page. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-15T07:19:41.000000Z K 7 svn:log V 26 Cosmetic in usage string. END K 10 svn:author V 4 kato K 8 svn:date V 27 1997-12-15T08:37:13.000000Z K 7 svn:log V 51 Sync with sys/i386/i386/microtime.s revision 1.35. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-15T20:21:15.000000Z K 7 svn:log V 532 Do 2 passes when "delete all"ing. The first pass removes all RTF_WASCLONED routes, and the second removes the others. This avoids the situation where we've added an RTF_CLONING route (such as ``default''), created some clones, then deleted the CLONING route before the WASCLONED route(s). Without the two passes, we get errno (not rtm_errno) set to ESRCH when deleting the WASCLONED route, despite the deletion succeeding ! Also: Enhance the route operation failure diagnostics. Make portability #ifdefs a bit more generic. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-15T20:21:47.000000Z K 7 svn:log V 82 Use LogWARN for command usage messages and unrecognised commands, not LogCOMMAND. END K 10 svn:author V 6 helbig K 8 svn:date V 27 1997-12-15T20:30:38.000000Z K 7 svn:log V 16 Add libcalendar END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-15T20:31:25.000000Z K 7 svn:log V 262 Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h. The #ifdef IPXIP in netipx/ipx_if.h is OK (used from ipx_usrreq.c and ifconfig.c only). I also fixed a typo IPXTUNNEL -> IPTUNNEL (and #ifdef'ed out the code inside, as it never could have compiled - doh.) END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-15T20:34:52.000000Z K 7 svn:log V 68 Revert 1.15 - duplicate code (initialization). Pointed-out-by: bde END K 10 svn:author V 6 helbig K 8 svn:date V 27 1997-12-15T20:35:22.000000Z K 7 svn:log V 22 Add new command ncal. END K 10 svn:author V 6 helbig K 8 svn:date V 27 1997-12-15T20:35:22.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r31744, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-15T20:37:43.000000Z K 7 svn:log V 95 It's more portable to use than Pointed-out-by: bde (a long while ago) END K 10 svn:author V 6 helbig K 8 svn:date V 27 1997-12-15T20:52:24.000000Z K 7 svn:log V 22 Remove cal, add ncal. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1997-12-15T21:36:41.000000Z K 7 svn:log V 66 Whoops, add 'retval' arg to new console ioctls. Submitted by: jkh END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-15T21:51:45.000000Z K 7 svn:log V 67 Convert SUIDDIR fully to a new-style option. Forgotten by: julian END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-15T23:08:46.000000Z K 7 svn:log V 39 Import of virgin Global v2_2_1 sources END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-15T23:08:46.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r31750, 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 1997-12-15T23:08:47.000000Z K 7 svn:log V 77 This commit was manufactured by cvs2svn to create tag 'global-vendor-v2_2_1'. END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-15T23:13:53.000000Z K 7 svn:log V 31 Merge and resolve conflicts... END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-15T23:23:35.000000Z K 7 svn:log V 65 Resolve -Wall issues and be stylistic about #include directives. END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-15T23:27:04.000000Z K 7 svn:log V 113 Remove extra cruft. The previouos commit silently removed source ifles no longer required as of v2.2.1 as well. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-15T23:34:05.000000Z K 7 svn:log V 43 Correct return values from alias routines. END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-15T23:34:57.000000Z K 7 svn:log V 85 Add lib/Makefile and adjust as necessary to build global 2.2.1 from contrib sources. END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-15T23:40:54.000000Z K 7 svn:log V 204 I'd swore I added this on my prior mega-commit. Any chance adds aren't processed during the recursive swoop? Makefile for global's private library, complete with null install rule to keep this private. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-16T00:32:35.000000Z K 7 svn:log V 58 Wrap long lines Submitted by: Greg Lehey END K 10 svn:author V 3 pst K 8 svn:date V 27 1997-12-16T02:25:36.000000Z K 7 svn:log V 46 Support ISC-DHCP if the package is available. END K 10 svn:author V 3 pst K 8 svn:date V 27 1997-12-16T02:43:26.000000Z K 7 svn:log V 59 Add support for explicit 3C589D varients and XJ1336 modems END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-16T04:05:14.000000Z K 7 svn:log V 380 Remove the UK phone codes from inter.phone and create uk.phone (in line with na.phone). This is a more detailed list than the one in inter.phone. Add uk.postcodes. I've prefixed it with `uk' to leave room for (maybe) au.postcodes etc. (if someone feels so inclined). Obtained from: http://www.brainstorm.co.uk/public/utils Ok'd to use by: steve@brainstorm.co.uk (Steve Crook) END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-16T07:17:53.000000Z K 7 svn:log V 26 MFC: Add usage(), rcsids. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-16T07:20:19.000000Z K 7 svn:log V 84 MFC: Use warn(3). Hardcode progname instead of using argv[0]. Use Pa for file name. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-16T07:22:08.000000Z K 7 svn:log V 81 MFC: Use err(3). -Wall cleaning. Use Pa for file names and add section in Xrefs. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-16T07:23:41.000000Z K 7 svn:log V 64 MFc: Sort #includes. Add rcsid. Add man page section in .Xrefs. END K 10 svn:author V 4 ache K 8 svn:date V 27 1997-12-16T08:17:26.000000Z K 7 svn:log V 40 Add (unsigned char) cast to ctype macro END K 10 svn:author V 4 ache K 8 svn:date V 27 1997-12-16T08:22:37.000000Z K 7 svn:log V 47 Add more (unsigned char) casts to ctype macros END K 10 svn:author V 4 ache K 8 svn:date V 27 1997-12-16T08:58:15.000000Z K 7 svn:log V 20 One more ctype cast END K 10 svn:author V 4 kato K 8 svn:date V 27 1997-12-16T10:22:49.000000Z K 7 svn:log V 270 Don't use PG_N if EPSON PC-486HX/HG/HA (PC-9801 compatible) are detected. These machine cannot make L2 cache write-through by PG_N, and only I/O access (undocumented) can do that. If PG_N is used, system hangs. Reviewed by: tos@fa2.so-net.or.jp (Toshiyuki Kawashima) END K 10 svn:author V 4 kato K 8 svn:date V 27 1997-12-16T10:34:02.000000Z K 7 svn:log V 51 MFC (revision 1.66; fix for EPSON PC-486HX/HG/HA). END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-16T14:42:08.000000Z K 7 svn:log V 107 Fixed missing DPADD. Fixed some style bugs while I'm here (don't override the (correct) default for MAN1). END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-16T15:03:14.000000Z K 7 svn:log V 13 Fixed DPADD. END K 10 svn:author V 2 dg K 8 svn:date V 27 1997-12-16T15:40:29.000000Z K 7 svn:log V 252 Fix bug where a struct buf was free()'d back to the system malloc pool. Quite amazing that the system runs at all with this bug. Also present in 2.2.5. The bug appears to have come in with changes in rev 1.53. PR: might fix PR#5313 Submitted by: bde END K 10 svn:author V 2 dg K 8 svn:date V 27 1997-12-16T15:47:03.000000Z K 7 svn:log V 68 Brought in fix from rev 1.70: don't accidently free() struct buf's. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-16T16:36:43.000000Z K 7 svn:log V 800 Fixed DPADD. ${LIBGCC} must be added explicitly since the default linkage rule is overridden. The -L option must be in ${DPADD} so that `make checkdpadd' works. Actually use ${DPADD}. FIxed missing dependencies for doscmd. Use ${LIBCRT0} instead of a hard-coded path in the rule for doscmd. Added comments about the kludges used to build 2 binaries and 2 data files in one directory. It shouldn't be done this way. The dependencies on sources took extra work to get right, and the dependencies on objects are still broken (one set is missing and the other has the wrong libs). Fixed some style bugs while I'm here: - don't override the (correct) default for MAN1. - use `beforeinstall', not `afterinstall' to install auxiliary files. `afterinstall' is for fixing messes made by `install'. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-16T17:37:23.000000Z K 7 svn:log V 283 Fixed DPADD. Don't override the (correct) default for SRCS or MAN1. Replaced bogus Lite1 (?) Id by $Id$. The key server files were mis-imported so it is hard to tell where they came from, but at least in Lite2 they don't have useful Makefiles, and I rewrote most of the Makefile. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T17:40:42.000000Z K 7 svn:log V 51 Make COMPAT_43 and COMPAT_SUNOS new-style options. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-16T17:43:33.000000Z K 7 svn:log V 13 Fixed DPADD. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-16T17:53:39.000000Z K 7 svn:log V 13 Fixed DPADD. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T18:28:07.000000Z K 7 svn:log V 186 Whoops - fix this after yesterday's IPX option changes. Also fix minor buglet when neither bsdcomp, deflate or filter is used. Pointed out by: Chris Timmons END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-16T18:29:48.000000Z K 7 svn:log V 470 Removed gross dir file bootstrap rule again. It would break building when there is no /usr/src/share/info if it were actually used. Added comments to explain duplicated tex commands. Use substitution in IFILENS to simplify some things. Removed /g from many substitutions. It is bogus for anchored matches. Don't echo nothing. Don't add things that wouldn't be built with the current options to CLEANFILES (except for some cases involving tex). Reviewed by: wosch END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T18:45:50.000000Z K 7 svn:log V 42 Handle COMPAT_43 define -> option change. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T18:49:23.000000Z K 7 svn:log V 91 Make hidden COMPAT_43 dependencies explict. Options in headers is a pain in the backside. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T18:51:45.000000Z K 7 svn:log V 88 Move around opt_compat include to accomodate Linulator brokenness (for the time being). END K 10 svn:author V 8 jraynard K 8 svn:date V 27 1997-12-16T22:23:52.000000Z K 7 svn:log V 23 Typo alert (cosmetic). END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T22:27:22.000000Z K 7 svn:log V 43 Regenerate after changing makesyscalls.sh. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T22:28:26.000000Z K 7 svn:log V 86 Make LINT compile again after wollman introduced poll() here. Overlooked by: wollman END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T22:50:18.000000Z K 7 svn:log V 35 Fix my typo. Submitted by: helbig END K 10 svn:author V 6 eivind K 8 svn:date V 27 1997-12-16T23:59:37.000000Z K 7 svn:log V 43 EXT2FS and MSDOSFS to the opt_dontuse bin. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T00:19:25.000000Z K 7 svn:log V 244 Fix a potential overflow where, if the label passed on the command line is > LINE_LEN (512 bytes), we scribble (*blush*). Hinted at by: Theo de Raadt Change sprintf(buf, "fixedstring") to strcpy(buf, "fixedstring"). END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T00:26:58.000000Z K 7 svn:log V 40 Remove an unnecessary (and wrong) cast. END K 10 svn:author V 3 pst K 8 svn:date V 27 1997-12-17T01:57:18.000000Z K 7 svn:log V 32 Warn if ISC-DHCP not available. END K 10 svn:author V 3 pst K 8 svn:date V 27 1997-12-17T01:57:57.000000Z K 7 svn:log V 20 Merge from -current END K 10 svn:author V 4 kato K 8 svn:date V 27 1997-12-17T03:12:35.000000Z K 7 svn:log V 3845 I should not edit linux_prot.h directly. Fix the argument of linux_nice. Pointed out by: Eivind Eklund NOPROTO LINUX { int getpgrp(void); } 66 NOPROTO LINUX { int setsid(void); } 67 STD LINUX { int linux_sigaction(int sig, \ struct linux_sigaction *nsa, \ struct linux_sigaction *osa); } 68 STD LINUX { int linux_siggetmask(void); } 69 STD LINUX { int linux_sigsetmask(linux_sigset_t mask); } 70 NOPROTO LINUX { int setreuid(int ruid, int euid); } 71 NOPROTO LINUX { int setregid(int rgid, int egid); } 72 STD LINUX { int linux_sigsuspend(int restart, \ linux_sigset_t oldmask, linux_sigset_t mask); } 73 STD LINUX { int linux_sigpending(linux_sigset_t *mask); } 74 NOPROTO LINUX { int osethostname(char *hostname, \ u_int len);} 75 NOPROTO LINUX { int osetrlimit(u_int which, \ struct ogetrlimit *rlp); } 76 NOPROTO LINUX { int ogetrlimit(u_int which, \ struct ogetrlimit *rlp); } 77 NOPROTO LINUX { int getrusage(int who, struct rusage *rusage); } 78 NOPROTO LINUX { int gettimeofday(struct timeval *tp, \ struct timezone *tzp); } 79 NOPROTO LINUX { int settimeofday(struct timeval *tp, \ struct timezone *tzp); } 80 NOPROTO LINUX { int getgroups(u_int gidsetsize, gid_t *gidset); } 81 NOPROTO LINUX { int setgroups(u_int gidsetsize, gid_t *gidset); } 82 STD LINUX { int linux_select(struct linux_select_argv *ptr); } 83 STD LINUX { int linux_symlink(char *path, char *to); } 84 NOPROTO LINUX { int ostat(char *path, struct ostat *up); } 85 STD LINUX { int linux_readlink(char *name, char *buf, \ int count); } 86 STD LINUX { int linux_uselib(char *library); } 87 NOPROTO LINUX { int swapon(char *name); } 88 NOPROTO LINUX { int reboot(int opt); } 89 STD LINUX { int linux_readdir(int fd, struct linux_dirent *dent, \ unsigned int count); } 90 STD LINUX { int linux_mmap(struct linux_mmap_argv *ptr); } 91 NOPROTO LINUX { int munmap(caddr_t addr, int len); } 92 STD LINUX { int linux_truncate(char *path, long length); } 93 NOPROTO LINUX { int oftruncate(int fd, long length); } 94 NOPROTO LINUX { int fchmod(int fd, int mode); } 95 NOPROTO LINUX { int fchown(int fd, int uid, int gid); } 96 NOPROTO LINUX { int getpriority(int which, int who); } 97 NOPROTO LINUX { int setpriority(int which, int who, int prio); } 98 NOPROTO LINUX { int profil(caddr_t samples, u_int size, \ u_int offset, u_int scale); } 99 STD LINUX { int linux_statfs(char *path, \ struct linux_statfs_buf *buf); } 100 STD LINUX { int linux_fstatfs(int fd, \ struct linux_statfs_buf *buf); } 101 STD LINUX { int linux_ioperm(unsigned int lo, \ unsigned int hi, int val); } 102 STD LINUX { int linux_socketcall(int what, void *args); } 103 STD LINUX { int linux_ksyslog(int what); } 104 STD LINUX { int linux_setitimer(u_int which, \ struct itimerval *itv, struct itimerval *oitv); } 105 STD LINUX { int linux_getitimer(u_int which, \ struct itimerval *itv); } 106 STD LINUX { int linux_newstat(char *path, \ struct linux_newstat *buf); } 107 STD LINUX { int linux_newlstat(char *path, \ struct linux_newstat *buf); } 108 STD LINUX { int linux_newfstat(int fd, struct linux_newstat *buf); } 109 STD LINUX { int linux_uname(struct linux_old_utsname *up); } 110 STD LINUX { int linux_iopl(int level); } 111 STD LINUX { int linux_vhangup(void); } 112 STD LINUX { int linux_idle(void); } 113 STD LINUX { int linux_vm86(void); } 114 STD LINUX { int linux_wait4(int pid, int *status, \ int options, struct rusage *rusage); } 115 STD LINUX { int linux_swapoff(void); } 116 STD LINUX { int linux_sysinfo(void); } 117 STD LINUX { int linux_ipc(int what, int arg1, int arg2, int arg3, \ caddr_t ptr); } 118 NOPROTO LINUX { int fsync(int fd); } 119 STD LINUX { int linux_sigreturn(struct linux_sigcontext *scp); } access END K 10 svn:author V 4 kato K 8 svn:date V 27 1997-12-17T03:16:11.000000Z K 7 svn:log V 41 Regenerate (fix argument of linux_nice). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-17T07:31:28.000000Z K 7 svn:log V 58 MFC: Cosmetics in man page. Add rcsid and sort #includes. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-17T07:33:09.000000Z K 7 svn:log V 79 MFC: Remove \n at end of syslog string. -Wall cleaning. Cosmetics in man page. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-17T07:34:42.000000Z K 7 svn:log V 56 MFC: Use err(3). -Wall cleaning. cosmetics in man page. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-17T07:36:28.000000Z K 7 svn:log V 69 MFC: Document -n flag. Use err(3). Add usage. Add syslog capability. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-17T07:38:17.000000Z K 7 svn:log V 52 MFC: Do not terminate syslog() messages with a dot. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T10:06:51.000000Z K 7 svn:log V 204 Fixed building with NOSHARED=YES. libncurses depends on libmytinfo but libmytinfo was not mentioned explicitly. The bug was hidden by the linkage of libncurses to libmytinfo in the shared library case. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T11:13:26.000000Z K 7 svn:log V 45 Fixed missing DPADD by removing empty LDADD. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T12:04:53.000000Z K 7 svn:log V 122 Use BINOWN, etc. instead of bin, etc. so that (this part of) `BINOWN=... make world' can be run by users other than root. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T12:31:58.000000Z K 7 svn:log V 299 Use the default LIBOWN, etc. instead of clobbering the defaults to bin, etc., so that (this part of) `LIBOWN=... make world' can be run by users other than root. Actually, BINOWN instead of LIBOWN, since fonts are not libraries. Only one owner of (non-setuid) installed files is really supported. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T12:38:42.000000Z K 7 svn:log V 53 LIBOWN -> BINOWN, etc. There are no libraries here. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T13:04:18.000000Z K 7 svn:log V 367 Use the default LIBOWN, etc. instead of clobbering the defaults to bin, etc., so that (this part of) `LIBOWN=... make world' can be run by users other than root. Actually, use BINOWN instead of LIBOWN, since the files that we install in /usr/libdata are not libraries, and LIBOWN is not used for anything else in /usr/libdata. Rewrote all the rules and cleaned up. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T13:23:51.000000Z K 7 svn:log V 130 Close some file descriptors on exec so that the inferior process gets a normal environment. Fd's 3 and 4 were usually left open. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T13:36:44.000000Z K 7 svn:log V 251 Normally don't include . Include it in the !aout case (as in bsd.prog.mk). Include it if `checkdpadd' is being made, so that it can be checked until it goes away. Don't clean files that we don't create. Fixed style of empty test. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T13:40:00.000000Z K 7 svn:log V 172 Don't clean files that we don't create. Fixed style of empty test. Include if `checkdpadd' is being made, so that it can :e checked until it goes away. END K 10 svn:author V 7 wollman K 8 svn:date V 27 1997-12-17T14:44:23.000000Z K 7 svn:log V 173 Revert poll() for UFS files to traditional behavior where polling for read- or writability always returns true. This works around bugs in netscape and squid, at a minimum. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T15:11:43.000000Z K 7 svn:log V 52 Don't use LDDESTDIR. Just put the -L arg in LDADD. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T15:18:53.000000Z K 7 svn:log V 38 Oops, rm -f can't handle empty lists. END K 10 svn:author V 3 cwt K 8 svn:date V 27 1997-12-17T15:18:54.000000Z K 7 svn:log V 57 DPADD repairs suggested by Bruce Evans END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T15:35:09.000000Z K 7 svn:log V 38 Oops, rm -f can't handle empty lists. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T19:26:07.000000Z K 7 svn:log V 69 now includes ../Makefile.inc, so don't include it here. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T19:32:54.000000Z K 7 svn:log V 8 BSDify. END K 10 svn:author V 7 wollman K 8 svn:date V 27 1997-12-17T19:38:33.000000Z K 7 svn:log V 227 Add -Wno-unused so that ``make world'' can complete successfully. GCC suppresses the warning for ``standard'' header files, but since the headers do not come from the ``standard'' place in a ``make world'', GCC doesn't get it. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T19:49:09.000000Z K 7 svn:log V 141 has always included ../Makefile.inc, and there are no complications involving .PATH or dependencies, so don't include it here. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T19:57:35.000000Z K 7 svn:log V 150 has included ../Makefile.inc for a long time, and there are no complications involving .PATH or dependencies, so don't include it here. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-17T20:22:34.000000Z K 7 svn:log V 141 has always included ../Makefile.inc, and there are no complications involving .PATH or dependencies, so don't include it here. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T21:21:42.000000Z K 7 svn:log V 502 o Log ******** instead of the actual password for "set authkey" when command logging is switched on. o Display ******** for the authkey for "show auth" o Document how \P should be used, and document the other chat escapes while I'm there. o Make sure the full command is displayed when a compound command fails - ie, "set novar rubbish" should say "set novar: Invalid command" rather than "novar: Invalid command" Problem pointed out by: Theo de Raadt (among others) END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T21:21:47.000000Z K 7 svn:log V 235 If we've got a descriptor table that's bigger than an fd_set, make sure that all descriptors >2 are closed when we start - otherwise we're asking for a dump in FD_SET(). Problem pointed out by: Theo de Raadt END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T21:21:53.000000Z K 7 svn:log V 27 Remove useless comparison. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T21:21:56.000000Z K 7 svn:log V 242 Log the source of client connections to the diagnostic port. Disallow connections from port numbers <1024 as low port numbers can only really mean trouble (ftp bounces etc.). Discussed at length with: Theo de Raadt END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T21:22:01.000000Z K 7 svn:log V 105 char filename[200] => char filename[MAXPATHLEN] Pointed out by: Theo de Raadt END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-17T21:22:05.000000Z K 7 svn:log V 97 Don't depend on a u_long being 32 bits. Pointed out by: Theo de Raadt END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-18T00:28:36.000000Z K 7 svn:log V 66 Don't log the actual password when command-logging "passwd xxxx". END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-18T00:29:56.000000Z K 7 svn:log V 144 "No reply from ppp" -> "Connection closed". "No reply" sounds like the message didn't get through (for example when you `pppctl xxxx quit all'. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-18T01:10:13.000000Z K 7 svn:log V 213 Replace strcpy(a, b); /* a and b are the same size */ with strncpy(a, b, sizeof(a)); a[sizeof(a)-1] = '\0'; Making the code `correct at a glance'. Suggested by: Theo de Raadt END K 10 svn:author V 5 peter K 8 svn:date V 27 1997-12-18T02:09:29.000000Z K 7 svn:log V 74 Add missing references to Xcpuast, get_isrlock and checkstate_probed_cpus END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-18T07:18:13.000000Z K 7 svn:log V 85 MFC: No \n in syslog() strings. Add man page to Xrefs. Change null byte to NUL byte. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-18T07:30:11.000000Z K 7 svn:log V 39 MFC: Use err(3). Add protos for -Wall. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-18T07:31:37.000000Z K 7 svn:log V 61 MFC: Use full path in synopsis. Syslog will add trailing \n. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-18T07:32:42.000000Z K 7 svn:log V 71 MFC: Sort #includes. Add rcsid. Use full pathname in SYNOPSIS section. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-18T07:37:47.000000Z K 7 svn:log V 157 MFC: Use err(3). Add prototypes. Document that startup scripts are rc.i386 and rc.conf (enable/disable) not rc.local. Use full pathname in SYNOPSIS section. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-18T07:39:27.000000Z K 7 svn:log V 6 Typo. END K 10 svn:author V 2 dg K 8 svn:date V 27 1997-12-18T09:13:39.000000Z K 7 svn:log V 183 Call in_pcballoc() at splnet(). As near as I can tell, this won't fix any instability problems, but it was wrong nonetheless and will be required in an upcoming round of PCB changes. END K 10 svn:author V 2 dg K 8 svn:date V 27 1997-12-18T09:42:41.000000Z K 7 svn:log V 35 MFC: call in_pcballoc() at splnet. END K 10 svn:author V 2 dg K 8 svn:date V 27 1997-12-18T09:50:38.000000Z K 7 svn:log V 47 Fixed a missing splx(s) bug in tcp_usr_send(). END K 10 svn:author V 2 dg K 8 svn:date V 27 1997-12-18T09:52:01.000000Z K 7 svn:log V 79 MFC rev 1.36: splnet was not released in an error condition in tcp_usr_send(). END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-18T12:56:52.000000Z K 7 svn:log V 38 Oops, the previous patch was botched. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-18T15:22:12.000000Z K 7 svn:log V 91 Fixed missing dependency on version.c. Fixed some style bugs ($@ is not recommended ...). END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-18T15:27:43.000000Z K 7 svn:log V 55 Removed extra (non-trailing) arg in a call to warnx(). END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-18T15:34:08.000000Z K 7 svn:log V 116 Install sysctl in /sbin. It is used in some cases in network_pass1(), before /usr is mounted if /usr has type nfs. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-18T21:03:04.000000Z K 7 svn:log V 139 Augment $PATH to ensure searching of /sbin and /usr/sbin for sysctl instead of using an absolute path to sysctl. Problem reported by: ache END K 10 svn:author V 5 dyson K 8 svn:date V 27 1997-12-19T02:25:51.000000Z K 7 svn:log V 138 Correct the check for multiword dma. It was incorrectly checking for multiword dma mode 4 (which doesn't exist.) Submitted by: John Hood END K 10 svn:author V 6 julian K 8 svn:date V 27 1997-12-19T03:36:15.000000Z K 7 svn:log V 263 Fix an incredibly horrible bug in the ipfw code where if you are using the "reset tcp" firewall command, the kernel would write ethernet headers onto random kernel stack locations. Fought to the death by: terry, julian, archie. fix valid for 2.2 series as well. END K 10 svn:author V 6 julian K 8 svn:date V 27 1997-12-19T03:50:49.000000Z K 7 svn:log V 228 Obtained from: Whistle production tree MFC: Fix horrendous kernel stack overwrite bug when ipwf was used to implement the ""reset tcp" firewall command. Add a comment in the tcp code to stop others ever making the same mistake. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-19T04:49:53.000000Z K 7 svn:log V 134 If the peer asks for IP 0.0.0.0, choose an IP ourselves without looking for it in our IP list (and if found, trying to ifconfig it!). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-19T07:33:33.000000Z K 7 svn:log V 71 MFC: Use err(3). Remove trailing \n in syslog strings. -Wall cleaning. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1997-12-19T07:35:35.000000Z K 7 svn:log V 65 MFC: Use full path in synopsis. Sort #includes. Use .Tn for NIS. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1997-12-19T09:03:37.000000Z K 7 svn:log V 122 Some performance improvements, and code cleanups (including changing our expensive OFF_TO_IDX to btoc whenever possible.) END K 10 svn:author V 4 ache K 8 svn:date V 27 1997-12-19T09:48:57.000000Z K 7 svn:log V 36 SUNIT: use MALLOC/FREE and M_NOWAIT END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T10:03:31.000000Z K 7 svn:log V 69 Fixed namespace pollution in previous commit. Merged KERNEL ifdefs. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-19T14:14:26.000000Z K 7 svn:log V 83 The ``super scsi'' device is /dev/scc. I'm not sure it's fully functional though ! END K 10 svn:author V 5 dyson K 8 svn:date V 27 1997-12-19T15:31:13.000000Z K 7 svn:log V 89 Change bogus usage of btoc to atop. The incorrect usage of btoc was pointed out by bde. END K 10 svn:author V 5 brian K 8 svn:date V 27 1997-12-19T18:11:05.000000Z K 7 svn:log V 176 Reset our "ifaddr" to zero if the "set ifaddr" fails in -auto mode. This makes ppp correctly exit if you kick it off twice in auto mode with the same label (read: interface). END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T18:48:45.000000Z K 7 svn:log V 813 Only remove ${CLEANFILES} in the default clean rule. In particular, don't remove a.out explicitly. a.out should only be generated for libraries and is removed in the non-default rule in bsd.lib.mk. Removed undocumented cleanfiles target. It was the same as the default clean target except it didn't descend into subdirs. It was different from special clean targets in other ways. This feature hasn't been missed for more important targets. Removed unused default cleandepend target. bsd.dep.mk has a better version which is always used. Use a better rule for checkdpadd in the BINFORMAT=aout case. This mainly checks that ld -f is working correctly. The old rule is still available via `make BINFORMAT=foo checkdpadd' and should be used to check for regressions under 2.2 where ld -f is not available. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T18:58:14.000000Z K 7 svn:log V 111 Set the sender's low watermark to match the maximum size for atomic writes that we advertise (PIPE_BUF = 512). END K 10 svn:author V 4 ache K 8 svn:date V 27 1997-12-19T19:39:01.000000Z K 7 svn:log V 33 MALLOC->malloc Suggested-by: bde END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T20:20:22.000000Z K 7 svn:log V 841 Don't strip trailing slashes (for the initial rmdir). It breaks following of the symlink for `rmdir symlink/' and is unnecessary for ordinary directories (POSIX doesn't require rmdir(1) to do anything for trailing slashes; it requires rmdir(2) to let them "refer to a directory", and following the symlink for symlink/ is what BSD does). This also fixes bugs in the slash-stripping code (for paths consisting entirely of slashes, the pointer into the string was decremented to "before" the beginning of the string, and the path was at best stripped to "". The behaviour is unchanged except for the final directory for `rmdir -p ...'. There is no alternative to stripping intermediate slashes since they must be specified. The sloppy slash-stripping code is adequate for intermediate directories, since the all-slashes case fails early. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T20:44:48.000000Z K 7 svn:log V 336 Made N_TXTADDR() work for kernels (assume that a ZMAGIC file with an out of bounds a_entry is a kernel and use the usual kludge to find the text address). If gdb had used this, it would have been able to find the kernel text address properly. Unfortunately, it uses its own a.out macros, so this is mainly an example for gdb to copy. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T21:08:54.000000Z K 7 svn:log V 192 Override gdb's version of N_TXTADDR() with the (new) system version so that gdb gets the text address right for kernels. Override some other macros to get a consistent set. Reviewed by: jdp END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T21:09:20.000000Z K 7 svn:log V 106 Backed out all FreeBSD changes. They are unnecessary now that bfd understands kernels. Reviewed by: jdp END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T21:20:07.000000Z K 7 svn:log V 59 Don't print "Making info file ...' except in verbose mode. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T21:37:18.000000Z K 7 svn:log V 353 Exec dmesg and awk to print everything in the message buffer following "panic:" or "Fatal trap". `panicstr' is still printed, although it is redundant if there is a valid message buffer and incomplete if it contains `%'s. I think the awk command belongs here and not in a script since a standard format with complete messages is good for bug reports. END K 10 svn:author V 6 helbig K 8 svn:date V 27 1997-12-19T21:41:21.000000Z K 7 svn:log V 45 Use '.\' and not '/* */' for troff-comments. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T21:53:35.000000Z K 7 svn:log V 75 Format the MLINKS statement the same as in most other libc Makefile.inc's. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T21:56:38.000000Z K 7 svn:log V 67 Put the .PATH statement first as in all other libc Makefile.inc's. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T21:59:22.000000Z K 7 svn:log V 78 Comment that long double is poorly implemented, not that it is unimplemented. END K 10 svn:author V 6 julian K 8 svn:date V 27 1997-12-19T22:03:25.000000Z K 7 svn:log V 75 Add an entry for SKIP, and update the pointer to the new reference source. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T22:11:29.000000Z K 7 svn:log V 295 Fixed the termcap 3.0 hacks. They were very broken in my configuration where shared libraries are in /lib and almost everything is linked shared. First, they removed the old shared library before installing the new one. Second, they attemped a cross-device link from /lib to /usr/lib/compat. END K 10 svn:author V 6 julian K 8 svn:date V 27 1997-12-19T22:46:23.000000Z K 7 svn:log V 90 Add Japanese EUC time definitions Submitted by: Nobuhiro Yasutomi END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 1997-12-19T22:46:24.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. END K 10 svn:author V 6 julian K 8 svn:date V 27 1997-12-19T22:50:44.000000Z K 7 svn:log V 107 MFC: Bring in japanese EUC encoded time definitions Submitted by: Nobuhiro Yasutomi END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T23:03:00.000000Z K 7 svn:log V 75 Fixed some FUD (don't blame current msdosfs for old msdosfs+vfs_bio bugs). END K 10 svn:author V 6 julian K 8 svn:date V 27 1997-12-19T23:10:04.000000Z K 7 svn:log V 165 Add a link to allow the ja_JP_SJIS locale to have the default collation capabilities. Submitted by: Nobuhiro Yasutomi Obtained from: current END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T23:18:37.000000Z K 7 svn:log V 26 Removed some bogus casts. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T23:25:16.000000Z K 7 svn:log V 70 Use __inline instead of inline to prevent pedantic compiler warnings. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T23:33:08.000000Z K 7 svn:log V 189 Removed a stale comment. (We don't declare ip_len and ip_offset as short. I guess we depend on bogus ANSI value-preserving extension of u_short to int to avoid unsigned comparison bugs.) END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T23:46:21.000000Z K 7 svn:log V 59 Don't use ANSI string concatenation to misformat a string. END K 10 svn:author V 3 bde K 8 svn:date V 27 1997-12-19T23:56:18.000000Z K 7 svn:log V 64 Handle the ``maintenance'' case better. Fixed some style bugs. END