ƒ­u37269 227 126 223 187 736 145 196 224 202 117 185 136 139 156 239 154 163 137 167 221 271 226 2302 380 120 143 127 139 202 120 147 347 312 120 171 119 120 120 136 291 172 120 182 131 120 120 120 139 349 401 409 126 654 143 246 153 166 434 127 246 113 142 323 216 245 116 123 180 218 143 145 145 213 260 739 204 114 253 186 171 159 284 238 170 113 323 112 109 175 135 144 128 393 154 485 638 155 125 252 162 152 144 138 143 290 127 182 192 197 126 122 175 252 125 262 120 302 160 151 112 117 924 139 136 235 137 107 148 217 158 344 153 138 152 290 132 137 120 290 402 114 664 151 145 135 178 418 218 280 160 121 136 202 175 134 143 143 179 117 184 103 166 175 157 155 136 141 171 235 130 194 142 166 193 166 150 1738 313 263 241 119 162 120 143 142 120 604 164 343 335 314 185 141 480 204 185 185 466 153 142 141 142 587 141 122 1162 299 309 502 128 198 113 538 542 617 191 131 287 495 444 589 262 234 160 128 229 115 487 K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-29T18:15:21.000000Z K 7 svn:log V 34 Don't assume that time_t is long. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-29T18:52:33.000000Z K 7 svn:log V 130 Fixed bogus dependency on `beforedepend'. File targets should never depend on phony targets or they would always be out of date. END K 10 svn:author V 2 dt K 8 svn:date V 27 1998-06-29T19:18:17.000000Z K 7 svn:log V 96 MFC: Provide __error() in libc, to allow linking _THREAD_SAFE objects in non-threaded programs. END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T03:01:37.000000Z K 7 svn:log V 643 convert some nfs tunables to options, these are: NFS_MINATTRTIMO VREG attrib cache timeout in sec NFS_MAXATTRTIMO NFS_MINDIRATTRTIMO VDIR attrib cache timeout in sec NFS_MAXDIRATTRTIMO NFS_GATHERDELAY Default write gather delay (msec) NFS_UIDHASHSIZ Tune the size of nfssvc_sock with this NFS_WDELAYHASHSIZ and with this NFS_MUIDHASHSIZ Tune the size of nfsmount with this NFS_NOSERVER (already documented in LINT) NFS_DEBUG turn on NFS debugging also, because NFS_ROOT is used by very different files, it has been renamed to opt_nfsroot.h instead of the old opt_nfs.h.... END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-06-30T06:09:37.000000Z K 7 svn:log V 48 Add rcsid. Remove unused #includes. Use err(3). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-06-30T06:12:44.000000Z K 7 svn:log V 99 Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing #includes. Use err(3). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-06-30T06:18:44.000000Z K 7 svn:log V 126 Do not dot terminate SEE ALSO list. Add rcsid, remove unused #includes. Err(3) messages should start with a lowercase letter. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-06-30T06:22:08.000000Z K 7 svn:log V 104 Document -r flag, document use of TAPE env variable. Add rcsid. Use err(3). Remove unused vars (-Wall). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-06-30T06:23:42.000000Z K 7 svn:log V 20 Split usage string. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-06-30T06:28:18.000000Z K 7 svn:log V 88 Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganize man page. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-06-30T06:43:23.000000Z K 7 svn:log V 39 Various changes obtained from current. END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T07:36:33.000000Z K 7 svn:log V 47 document and make EXPORTMFS a new style option END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T07:47:44.000000Z K 7 svn:log V 64 make NO_SCSI_SENSE a proper option (already documented in LINT) END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T08:01:30.000000Z K 7 svn:log V 146 document some VM paging options for cache sizes: PQ_NOOPT no coloring PQ_LARGECACHE used for 512k/16k cache PQ_HUGECACHE used for 1024k/16k cache END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-06-30T08:08:05.000000Z K 7 svn:log V 62 Re-alphabetize and update the subdir descriptions. PR: 7116 END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T08:13:27.000000Z K 7 svn:log V 71 document PCI_QUIET that prevents pci from compiling in so many strings END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T08:24:02.000000Z K 7 svn:log V 45 document options to hardwire GUS irq/dmas... END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T08:32:51.000000Z K 7 svn:log V 75 move OVERRIDE_TUNER from i386 to general options... it's not i386 specific END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T08:40:33.000000Z K 7 svn:log V 128 remove option LINUX as it did nothing, add DEBUG_LINUX to debug the linux emulation... (actually moved LINUX to opt_dontuse.h) END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T10:56:31.000000Z K 7 svn:log V 178 Byte count statistics of multicast vifs are invalid. The problem is caused by a wrong endianess in the sum. PR: 7115 Submitted by: Joao Carlos Mendes Luis END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T11:05:11.000000Z K 7 svn:log V 133 #include sys/libkern.h instead of stdlib.h. PR: 7105 Reviewed by: phk Submitted by: Robert Watson END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T11:10:29.000000Z K 7 svn:log V 2208 These are a selection of small problems and annoyances with the netboot code. Apart from the first one, none really affect typical configurations but are nevertheless unnecessary limitations. We use netbooted PCs as student X-terminals and all of the below fixes have been useful. Apologies for including them all in one PR, but some are just too silly or trivial to send on their own! a) Newer SMC cards have hardware addresses starting with 00:E0. Netboot compares the MAC address with 00:00:C0 to determine if it is a WD/SMC card, so it fails to detect these. b) Netboot is unable to boot kzipped kernels, as it assumes that the kernel load address is 0x100000. c) Users can abort the booting process and enter arbitrary network addresses, or boot from a floppy disk. This can be a problem when netbooted machines are used in a student environment. d) It is not possible to set all options via bootp. For example there is no way to remotely force a client to boot from disk. With both SECURE_BOOT(patch below) and NO_TFTP defined, short of unplugging the eprom there is no way at all to get the client to boot locally. A generic solution is to allow complete netboot commands to be sent using bootp lines such as: :T132="diskboot": e) The last character of netboot command names is not checked. You can type 'iz 10.0.0.1' and it will be interpreted as 'ip'. This is only important if you try to add a new command which is the same as an existing one except for the last character. f) We have a configuration where multiple servers are willing to serve a diskless client. The tftp config file, or the bootptab entry on each server must specify the root and swap filesystems as 'ip:/fs' even though 'ip' will usually be the responding server's IP address. It would be nice if netboot could automatically prepend the server's IP address to an entry specified as just '/fs', so that multiple servers can use the same tftp or bootp configuration files. Admittedly this is hardly a major problem! PR: 7098 Submitted by: Ian Dowse END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T11:19:22.000000Z K 7 svn:log V 287 fix buildworld hopefully be3fore anyone complains... NFS_*TIMO should possibly be converted to sysctl vars (jkh's suggestion), but in some cases it looks like nfs keeps a copy of the value in a struct hash sizes are already ifdef'd KERNEL, so there aren't userland inpact from them... END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T11:20:19.000000Z K 7 svn:log V 28 Sigh, we need this one now. END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T11:28:06.000000Z K 7 svn:log V 51 fix more of my breakage... :( create opt_vmpage.h END K 10 svn:author V 3 jmg K 8 svn:date V 27 1998-06-30T11:29:01.000000Z K 7 svn:log V 35 add new opt_nfs.h to cleanfiles... END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 1998-06-30T14:38:05.000000Z K 7 svn:log V 42 MFC: Sync PATH variable with 'dot.login'. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T14:43:04.000000Z K 7 svn:log V 109 Nuked opt_defunct.h and kern_opt.c. config(8) now generates good enough warnings about all unknown options. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T15:19:51.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 sos K 8 svn:date V 27 1998-06-30T16:09:28.000000Z K 7 svn:log V 55 Leading whitespace in Makefile are TABS not spaces.... END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T16:49:47.000000Z K 7 svn:log V 254 Fixed printf format errors. Don't assume so many things about time_t. Obtained from: partial merge of ADO version tzcode96h (was fully merged in 1.10 but backed out in 1.11; the FreeBSD code for %s was earlier, prettier but buggier). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T17:21:48.000000Z K 7 svn:log V 219 Fixed scanf format errors. The error handling is not quite bug for bug compatible. I think small negative uids are handled compatibly but other out of bounds ones are truncated differently for certain sizes of uid_t. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T17:30:22.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T18:00:11.000000Z K 7 svn:log V 79 Fixed a printf format error. Didn't fix assumption that sigset_t is integral. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T18:03:05.000000Z K 7 svn:log V 27 Fixed print format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T18:06:23.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T18:12:26.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T18:31:17.000000Z K 7 svn:log V 44 Fixed the type of yyerror() (1970's style). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T18:58:28.000000Z K 7 svn:log V 198 Fixed printf format errors. Didn't fix gross homemade varargs function Write(). Pointers are passed to it as longs, but it expects them to be passed as ints. The alpha non-fixes made this worse. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T19:08:19.000000Z K 7 svn:log V 80 Fixed (1970's style) missing declaration of a function that doesn't return int. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T19:10:49.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T19:19:10.000000Z K 7 svn:log V 90 Fixed (1970's/old-GNU style) a missing declaration of a function that doesn't return int. END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T19:41:21.000000Z K 7 svn:log V 39 Add PSE36 to the bits we know by name. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T19:53:09.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T20:14:13.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-06-30T20:48:45.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T21:25:58.000000Z K 7 svn:log V 47 Add 3 sysctl variables for future use by ps)1_ END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T21:29:44.000000Z K 7 svn:log V 256 Allow /dev/null as path for the "/dev/mem" file, and assume that people know what they're doing if they do that. This will allow ps to use the kvm_proc.c bits without having access to /dev/mem. Fix kvm_proc.c to not need /dev/mem for access to argv/envp END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-06-30T21:34:14.000000Z K 7 svn:log V 308 Pick up kernel variables/constants using sysctl rather than through /dev/mem Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root. END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-06-30T22:23:06.000000Z K 7 svn:log V 316 Implement int 2f ax=1600, which is, according to the Interrupt List, used to check to see if windows 3.x if running. We always return 0, which means that neither Windows 3.x nor Windows/386 2.x is running. It also means, btw, that XMS version 1 isn't installed, which is true since we don't implement that either. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1998-06-30T22:56:39.000000Z K 7 svn:log V 31 Cross-reference to sysconf(3). END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-06-30T23:04:17.000000Z K 7 svn:log V 559 The CCP layer now behaves as follows: o If we've denied and disabled all compression protocols, stay in ST_INITIAL and do an LCP protocol reject if we receive any CCP packets. o If we've disabled all compression protocols, go to ST_STOPPED and wait for the other side to ask for something. o If we've got anything enabled, start REQing as soon as the auth layer is up. o If we're in multilink mode, than the link level CCP goes straight to ST_STOPPED irrespective of what's configured so that we never try to compress compressed stuff by default. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-01T01:38:38.000000Z K 7 svn:log V 48 MFC: merge in some minor cleanups for IP divert END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 1998-07-01T05:47:58.000000Z K 7 svn:log V 150 Clean up grammar. Provide proper pathnames for spool directories. Document dependency on current load average for starting new batch jobs. PR: 7109 END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-01T17:02:57.000000Z K 7 svn:log V 61 Added opt_vmpage.h to SRCS so that it actually gets created. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-01T17:10:00.000000Z K 7 svn:log V 74 Fixed missing options headers. Options that affect LKMs shouldn't exist. END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-07-01T19:56:17.000000Z K 7 svn:log V 341 Make sourcer's main program execute in X mode. o Make the dos emulation treat c: and C: the same way. Sourcer was doing a chdir("c:\\") rather than a chdir("C:\\"); o use drlton() in all places where we used to use -'A' so that we're always case independent. o use drntol() in all places where we used to use + 'A' for similar reasons END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-07-01T23:31:53.000000Z K 7 svn:log V 35 Kill printf accidentally committed END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-07-02T05:12:53.000000Z K 7 svn:log V 153 o fix bug in conversion of DOS 32-bit signed number to FreeBSD's 64-bit off_t. This fixed the primitive 'copy protection' that the program I'm using. END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-07-02T05:21:36.000000Z K 7 svn:log V 21 o typo: will -> with END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-07-02T05:23:55.000000Z K 7 svn:log V 50 o Be more careful about using sprintf and strcpy. END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-07-02T05:34:08.000000Z K 7 svn:log V 230 /var/log/wtmp entries for ptys are treated differently in ac, since they may not be logins. The code for determining whether it is a pty entry is broken. PR: 7137 Reviewed by: phk Submitted by: Tom Rush END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-07-02T05:37:33.000000Z K 7 svn:log V 123 Fix argument reversal in example. PR: 7138 Reviewed by: phk Submitted by: Robert Watson END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-02T05:49:12.000000Z K 7 svn:log V 149 Remove the option to keep IPFW diversion backwards compatible WRT diversion reinjection. No-one has been bitten by the new behaviour that I know of. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-02T05:50:57.000000Z K 7 svn:log V 21 Remove unused option END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-02T06:31:25.000000Z K 7 svn:log V 28 Remove out of date comment. END K 10 svn:author V 3 des K 8 svn:date V 27 1998-07-02T07:39:01.000000Z K 7 svn:log V 88 Make sure the node count is an integer when mknod'ing pty, tty and vty. PR: misc/7124 END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-07-02T12:37:36.000000Z K 7 svn:log V 124 Sync with sys/i386/boot/netboot/Makefile, bootmenu.c, main.c and ns8390.c revisions 1.18, 1.15, 1.22 and 1.13, respectiely. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-07-02T12:39:32.000000Z K 7 svn:log V 50 Sync with sys/i386/i386/machdep.c revision 1.302. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-07-02T12:40:01.000000Z K 7 svn:log V 52 Sync with sys/i386/conf/options.i386 revision 1.82. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-07-02T12:41:42.000000Z K 7 svn:log V 52 Moved `#ifndef NFS_NOSERVER' after including nfs.h. END K 10 svn:author V 3 sos K 8 svn:date V 27 1998-07-02T14:07:31.000000Z K 7 svn:log V 120 Add missing ')'.. Doesn't anybody TEST code before committing.... This is the X'th time these laste couble of days... END K 10 svn:author V 3 sos K 8 svn:date V 27 1998-07-02T14:09:44.000000Z K 7 svn:log V 167 Fix the N'th occurance of missed bits due to opt_???? mucking. Doesn't anybody TEST code before committing.... This is the N+1'th time these laste couble of days... END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1998-07-02T15:36:35.000000Z K 7 svn:log V 644 Add workaround to allow the FreeBSD boot block to work on Kapok Computer Co. notebook with AMI 'WinBIOS' which seems to insist on having a short jump and nop as the first instructions in the boot sector code. The prevailing theory is that the BIOS is doing some sort of boot sector virus detection and refusing to run any boot block that doesn't start with the same instruction sequence as MS-DOG boot sector code. If this is the case, it would be nice if it actually printed an error message to this effect instead of just saying 'FAILED.' This workaround has no effect on the boot sector code other than to increase its size by three bytes. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1998-07-02T15:45:24.000000Z K 7 svn:log V 109 MFC: add workaround to allow FreeBSD boot block to load and run on brain-damaged Taiwanese notebook machine. END K 10 svn:author V 5 guido K 8 svn:date V 27 1998-07-02T19:35:40.000000Z K 7 svn:log V 20 Fix off by 1 error. END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-07-02T21:35:02.000000Z K 7 svn:log V 160 When we transfer time from one timecounter to the next, use nanouptime(), not nanotime(); Otherwise we end up in 2026... Fix the arg to dummy_get_timecount() END K 10 svn:author V 2 dg K 8 svn:date V 27 1998-07-03T03:47:24.000000Z K 7 svn:log V 95 Reset MNT_ASYNC flag if needed if unmount() should fail. Submitted by: Paul Saab END K 10 svn:author V 2 dg K 8 svn:date V 27 1998-07-03T03:50:31.000000Z K 7 svn:log V 80 Brought in changes from rev 1.104: preserve MNT_ASYNC across failed unmount()s. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T07:48:14.000000Z K 7 svn:log V 67 MFC: Byte count statistics of multicast vifs are invalid. PR: 7115 END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-07-03T08:21:05.000000Z K 7 svn:log V 191 fts_close calls free(sp), the ISSET(FTS_NOCHDIR) which is a macro that references sp. The free needs to follow ISSET PR: 7148 Reviewed by: phk Submitted by: Ken Mayer END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-07-03T08:36:48.000000Z K 7 svn:log V 145 Update M_EXT support in m_copypacket(). PR: 7122 Reviewed by: phk Submitted by: Castor Fu Originally forgotten by: julian END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T14:04:32.000000Z K 7 svn:log V 78 Add entry for Dell Poweredge XE. Submitted by: Vadim Mikhailov END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T14:06:17.000000Z K 7 svn:log V 21 MFC: entry for Dell. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T14:21:49.000000Z K 7 svn:log V 230 lpd tries to be clever and checks if RM == my_hostname. However, it doesn't check if the remote printer name it is sending it to is the same as the local printer name. Submitted by: David Malone PR: 7081 END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T14:28:32.000000Z K 7 svn:log V 20 MFC: remove ALLLANG END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T14:29:09.000000Z K 7 svn:log V 17 MFC: Add ALLLANG END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T14:34:28.000000Z K 7 svn:log V 83 Check for missing keyboard. PR: 7108 Submitted by: Hellmuth Michaelis END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-03T14:35:25.000000Z K 7 svn:log V 43 MFC: Check for missing keyboard (PR#7108). END K 10 svn:author V 3 des K 8 svn:date V 27 1998-07-03T15:43:20.000000Z K 7 svn:log V 52 Not so fast, that was one '0+' too many. PR: 7124 END K 10 svn:author V 4 hoek K 8 svn:date V 27 1998-07-03T17:12:10.000000Z K 7 svn:log V 35 Prevent recursive help)elp)elping. END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-03T17:24:38.000000Z K 7 svn:log V 298 Only start checking carrier when the datalink state machine exceeds DATALINK_READY. When we go back to READY or less (eg. ``close lcp''), switch the carrier-checking-timer off again. This fixes the callback example in ppp.conf.sample. Noted as broken by: Damian Kuczynski END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-03T17:30:30.000000Z K 7 svn:log V 60 MFC: Fix assorted problems with the history edit functions. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-03T18:46:52.000000Z K 7 svn:log V 392 Centralized in-core inode update. Update the in-core inode directly in ufs_setattr() so that there is no need to pass timestamps to UFS_UPDATE() (everything else just needs the current time). Ignore the passed-in timestamps in UFS_UPDATE() and always call ufs_itimes() (was: itimes()) to do the update. The timestamps are still passed so that all the callers don't need to be changed yet. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-03T22:17:03.000000Z K 7 svn:log V 545 Sync timestamp changes for inodes of special files to disk as late as possible (when the inode is reclaimed). Temporarily only do this if option UFS_LAZYMOD configured and softupdates aren't enabled. UFS_LAZYMOD is intentionally left out of /sys/conf/options. This is mainly to avoid almost useless disk i/o on battery powered machines. It's silly to write to disk (on the next sync or when the inode becomes inactive) just because someone hit a key or something wrote to the screen or /dev/null. PR: 5577 Previous version reviewed by: phk END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-03T22:37:43.000000Z K 7 svn:log V 63 Restored revs.1.89-1.90 which I somehow clobbered in rev.1.91. END K 10 svn:author V 4 hoek K 8 svn:date V 27 1998-07-03T23:01:33.000000Z K 7 svn:log V 32 Use '-e' when viewing helpfile. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-04T00:27:48.000000Z K 7 svn:log V 156 Don't use a struct buf (malloc'd) without first initialising all the fields to some known value! (probable cause of soft updates exploding with vn devices) END K 10 svn:author V 4 hoek K 8 svn:date V 27 1998-07-04T01:22:07.000000Z K 7 svn:log V 69 Fix bug from last commit: don't SEGV when reading as part of a pipe. END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T01:53:54.000000Z K 7 svn:log V 58 Suggest port 8668 rather than 6668 for natd. 6668 is IRC. END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T01:54:51.000000Z K 7 svn:log V 50 MFC: Suggest port 8668 rather than 6668 for natd. END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T01:57:15.000000Z K 7 svn:log V 44 6668/divert -> 8668/divert. IRC uses 6668. END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T01:58:14.000000Z K 7 svn:log V 49 MFC: 6668/divert -> 8668/divert. IRC uses 6668. END K 10 svn:author V 6 semenu K 8 svn:date V 27 1998-07-04T08:02:46.000000Z K 7 svn:log V 194 Fix some strange errors of shutting transmitter up when start transmition after software reset with no link estabilished yet. Fix TX DMA stop method (queue last packet to stop). PR: i386/6578 END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T10:24:49.000000Z K 7 svn:log V 33 Version 2.0-beta becomes 2.0 :-) END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T12:07:03.000000Z K 7 svn:log V 88 Make things clearer. Submitted (some time ago) by: Ted Mittelstaedt END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T12:07:45.000000Z K 7 svn:log V 98 MFC: Make things clearer. Submitted (some time ago) by: Ted Mittelstaedt END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-04T14:10:56.000000Z K 7 svn:log V 104 Check for null pointer bogosity in PUSHOUT(). Noticed by: Robert Baron END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-04T14:12:19.000000Z K 7 svn:log V 34 Whoops, commit the right version. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-04T14:13:01.000000Z K 7 svn:log V 30 MF22: check for null pointer. END K 10 svn:author V 4 alex K 8 svn:date V 27 1998-07-04T17:03:36.000000Z K 7 svn:log V 82 MFC (rev 1.12): Permit double digit year values to be used in the next millenium. END K 10 svn:author V 5 steve K 8 svn:date V 27 1998-07-04T19:00:47.000000Z K 7 svn:log V 157 Remove '???' because it generates an annoying message about a trigraph being encountered when included. PR: 7123 Submitted by: Greg Lehey END K 10 svn:author V 5 steve K 8 svn:date V 27 1998-07-04T19:01:56.000000Z K 7 svn:log V 31 MFC: remove trigraph (PR#7123) END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-07-04T19:12:21.000000Z K 7 svn:log V 169 Change the sign on a race-condition, so that instead of ending up several tens of milliseconds out in the future we end up the right place with a subweeniesecond error. END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-07-04T19:29:15.000000Z K 7 svn:log V 28 Hmm, braino in last commit. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-04T20:45:42.000000Z K 7 svn:log V 206 VOP_STRATEGY grows an (struct vnode *) argument as the value in b_vp is often not really what you want. (and needs to be frobbed). more cleanups will follow this. Reviewed by: Bruce Evans END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T22:03:56.000000Z K 7 svn:log V 66 Don't require context when there's only one link for ``open lcp'' END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-04T22:04:12.000000Z K 7 svn:log V 57 Don't disable ^D in interactive mode. Wished for by: pkh END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-07-04T22:10:20.000000Z K 7 svn:log V 20 Fix spelling error. END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-07-04T22:13:30.000000Z K 7 svn:log V 25 MFC: Fix spelling error. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-04T22:30:26.000000Z K 7 svn:log V 828 There is no such thing any more as "struct bdevsw". There is only cdevsw (which should be renamed in a later edit to deventry or something). cdevsw contains the union of what were in both bdevsw an cdevsw entries. The bdevsw[] table stiff exists and is a second pointer to the cdevsw entry of the device. it's major is in d_bmaj rather than d_maj. some cleanup still to happen (e.g. dsopen now gets two pointers to the same cdevsw struct instead of one to a bdevsw and one to a cdevsw). rawread()/rawwrite() went away as part of this though it's not strictly the same patch, just that it involves all the same lines in the drivers. cdroms no longer have write() entries (they did have rawwrite (?)). tapes no longer have support for bdev operations. Reviewed by: Eivind Eklund and Mike Smith Changes suggested by eivind. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T10:10:33.000000Z K 7 svn:log V 47 Support 'g' format for printing 8 byte values. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T10:11:20.000000Z K 7 svn:log V 44 Add symtab parameter to X_db_symbol_values. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T10:12:18.000000Z K 7 svn:log V 142 Remove the two single step breakpoints in the reverse order of setting to ensure that single stepping a branch to the next instruction works. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T10:13:22.000000Z K 7 svn:log V 45 Use u_int32_t in NQFHHASH instead of u_long. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T10:14:32.000000Z K 7 svn:log V 15 Minor tidying. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T11:56:52.000000Z K 7 svn:log V 56 Don't truncate the return value of mmap to sizeof(int). END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T11:58:35.000000Z K 7 svn:log V 124 Make sure hold_count for level 2 maps is maintained properly. Simplify pmap_mapdev (its still totally wrong for the alpha). END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T11:59:44.000000Z K 7 svn:log V 66 Make the prom console work as a real device as well as a console. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:08:59.000000Z K 7 svn:log V 251 Define bio_imask to allow the ncr driver to compile. The idea of passing mask address around when registering interrupts is wrong IMHO. We should use a priority level like IPL_BIO and the lower levels can then translate it into a mask if they want. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:10:10.000000Z K 7 svn:log V 61 First steps at supporting EB164 (AlphaPC 164, 164LX, 164SX). END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:13:18.000000Z K 7 svn:log V 46 Add declaration of the NetBSD/alpha bootinfo. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:14:15.000000Z K 7 svn:log V 60 Add macros for byte/word sized load and store instructions. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:16:15.000000Z K 7 svn:log V 197 Add basic support for 2117x pci chipsets. Currently only pyxis (21174) is supported. Older chipsets will be easy to support later but right now, I just want to boot my 164LX scratch machine :-). END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:16:55.000000Z K 7 svn:log V 40 Support channel B as well as channel A. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:22:56.000000Z K 7 svn:log V 45 Use byte/word access in badaddr if relevant. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-07-05T12:24:18.000000Z K 7 svn:log V 28 Add support for kernel gdb. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-05T20:33:18.000000Z K 7 svn:log V 194 fix braino from yesterdays' megacommit Not sure of the result of it.. (may or may not effect anything) but it's fixed now. (found by: comparing what cvsup sent back to me with what I tested..) END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-05T23:10:22.000000Z K 7 svn:log V 306 DEVFS completely bypasses the cdevsw and bdevsw tables now. Each devfs node has (and has had fro a while) a pointer directly to the correct cdefsw entry so just use it instead of doing the lookup. There are several other places in the kernel that still use the tables however, so they can't go away yet.. END K 10 svn:author V 5 brian K 8 svn:date V 27 1998-07-06T02:07:29.000000Z K 7 svn:log V 20 Version 1.65 -> 1.7 END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T03:20:19.000000Z K 7 svn:log V 568 Support for IPFW based transparent forwarding. Any packet that can be matched by a ipfw rule can be redirected transparently to another port or machine. Redirection to another port mostly makes sense with tcp, where a session can be set up between a proxy and an unsuspecting client. Redirection to another machine requires that the other machine also be expecting to receive the forwarded packets, as their headers will not have been modified. /sbin/ipfw must be recompiled!!! Reviewed by: Peter Wemm Submitted by: Chrisy Luke END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 1998-07-06T04:39:20.000000Z K 7 svn:log V 56 Document `-I' and `-R' options to `pkg_info'. PR: 7155 END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T04:55:22.000000Z K 7 svn:log V 50 Forgot to register the IPFIREWALL_FORWARD option. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T05:00:53.000000Z K 7 svn:log V 40 Fix braino in switching to TAILQ macro. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T05:04:33.000000Z K 7 svn:log V 83 Don't expect the new code to be used without the right option file being included. END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-07-06T06:29:07.000000Z K 7 svn:log V 325 Add the ability to suspend as well as hibernate to the system. This is the kernel part of my commits, the userlevel stuff will be done in a separate commit. Add the ability to suspend as well as hibernate to syscons. Create a new virtual key like hibernate for suspend. Update apm_bios.h to define more apm bios goodies. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T06:44:36.000000Z K 7 svn:log V 120 Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused #includes. Spelling. Use err(3) and add usage(). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T06:53:43.000000Z K 7 svn:log V 182 Update man page to allow adding address_family when -l is used (this is a no op for now). Correct use of .Nm. Short usage string (see man page for full list). Spelling. Use err(3). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T06:56:08.000000Z K 7 svn:log V 63 Correct .Nm use. Add rcsid. Use min for minutes instead of mn. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T06:58:32.000000Z K 7 svn:log V 24 remoce unused #include. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T06:59:52.000000Z K 7 svn:log V 39 Lowercase 1st char. in err(3) strings. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:02:26.000000Z K 7 svn:log V 104 Add rcsid. remove unused #includes. Getopt returns -1 not EOF. Add usage(). Cosmetics in err(3) string. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:04:50.000000Z K 7 svn:log V 78 Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:06:15.000000Z K 7 svn:log V 37 Remove unused #include. Add usage(). END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:07:41.000000Z K 7 svn:log V 46 Add rcsid, remove unused #includes, spelling. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:09:13.000000Z K 7 svn:log V 46 Add rcsid. Remove unused #includes. Spelling. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:12:38.000000Z K 7 svn:log V 82 Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err() strings. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:13:31.000000Z K 7 svn:log V 20 Correct use of .Nm. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:15:53.000000Z K 7 svn:log V 87 Sync usage string and man page. Correct use of .Nm. Spelling. Remove unused #includes. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:17:27.000000Z K 7 svn:log V 7 -Wall. END K 10 svn:author V 8 charnier K 8 svn:date V 27 1998-07-06T07:19:27.000000Z K 7 svn:log V 69 Correct use of .Nm. Spelling. Add rcsid and remove unused #includes. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T08:29:48.000000Z K 7 svn:log V 80 clean up some oversights on the last commits hopefully catches the corner cases END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T08:48:38.000000Z K 7 svn:log V 62 Spotted and fixed a few more bogons not relevant to -current. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T09:05:32.000000Z K 7 svn:log V 60 I now understand one minor detail better, so fix a bad fix. END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T09:06:58.000000Z K 7 svn:log V 41 Bring back some slight cleanups from 2.2 END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-06T09:10:56.000000Z K 7 svn:log V 46 oops ended comment before the comment ended.. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-07-06T10:09:42.000000Z K 7 svn:log V 78 Sync with sys/i386/isa/fd.c and wd.c revisions 1.115 and 1.170, respectively. END K 10 svn:author V 3 des K 8 svn:date V 27 1998-07-06T10:59:17.000000Z K 7 svn:log V 142 MFC: force conversion of unit count from string to integer to avoid endless loop. PR: misc/7124 Reviewed by: Well, bde bickered a little :) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 1998-07-06T12:01:34.000000Z K 7 svn:log V 35 MFC: {rev 1.11} fixes for PR 2850. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 1998-07-06T12:15:22.000000Z K 7 svn:log V 99 MFC: fixes for PR docs/7064 {rev 1.25 "pkg_add.1"; rev 1.26 "pkg_create.1"; rev 1.16 "pkg_info.1"} END K 10 svn:author V 6 eivind K 8 svn:date V 27 1998-07-06T16:07:43.000000Z K 7 svn:log V 47 Shorten line. Prodded (long time ago) by: bde END K 10 svn:author V 6 eivind K 8 svn:date V 27 1998-07-06T16:10:06.000000Z K 7 svn:log V 71 "vender" -> "vendor" Requested by: Aage Røbekk END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-07-06T18:38:57.000000Z K 7 svn:log V 99 Attempt to load serial eeprom contents in both 93c46 and 93c56/66 mode before giving up. PR: 6966 END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-07-06T18:39:56.000000Z K 7 svn:log V 72 MFC: Attempt to read SEEPROM contents in both 93c46 and 93c56/66 modes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T19:11:35.000000Z K 7 svn:log V 58 Restored rev.1.11, which I somehow clobbered in rev.1.12. END K 10 svn:author V 6 fenner K 8 svn:date V 27 1998-07-06T19:27:14.000000Z K 7 svn:log V 1641 Introduce (fairly hacky) workaround for odd TCP behavior with application writes of size (100,208]+N*MCLBYTES. The bug: sosend() hands each mbuf off to the protocol output routine as soon as it has copied it, in the hopes of increasing parallelism (see http://www.kohala.com/~rstevens/vanj.88jul20.txt ). This works well for TCP as long as the first mbuf handed off is at least the MSS. However, when doing small writes (between MHLEN and MINCLSIZE), the transaction is split into 2 small MBUF's and each is individually handed off to TCP. TCP assumes that the first small mbuf is the whole transaction, so sends a small packet. When the second small mbuf arrives, Nagle prevents TCP from sending it so it must wait for a (potentially delayed) ACK. This sends throughput down the toilet. The workaround: Set the "atomic" flag when we're doing small writes. The "atomic" flag has two meanings: 1. Copy all of the data into a chain of mbufs before handing off to the protocol. 2. Leave room for a datagram header in said mbuf chain. TCP wants the first but doesn't want the second. However, the second simply results in some memory wastage (but is why the workaround is a hack and not a fix). The real fix: The real fix for this problem is to introduce something like a "requested transfer size" variable in the socket->protocol interface. sosend() would then accumulate an mbuf chain until it exceeded the "requested transfer size". TCP could set it to the TCP MSS (note that the current interface causes strange TCP behaviors when the MSS > MCLBYTES; nobody notices because MCLBYTES > ethernet's MTU). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T19:54:39.000000Z K 7 svn:log V 220 ioctl() request args are unsigned longs, so don't attempt to store them as ints. Among other bugs, doing so at best caused benign overflow followed by fatal sign extension on machines with 32-bit ints and 64-bit longs. END K 10 svn:author V 8 rnordier K 8 svn:date V 27 1998-07-06T20:01:34.000000Z K 7 svn:log V 165 Add newfs_msdos: extensive newfs-style support for creating FAT12, FAT16, and FAT32 file systems in all their various horriblenesses. Approved-in-concept by: joerg END K 10 svn:author V 8 rnordier K 8 svn:date V 27 1998-07-06T20:01:34.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r37446, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 8 rnordier K 8 svn:date V 27 1998-07-06T20:05:41.000000Z K 7 svn:log V 22 Activate newfs_msdos. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T20:09:36.000000Z K 7 svn:log V 70 Removed bogus #ifdef INET - no longer depends on it. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T20:28:08.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T20:40:57.000000Z K 7 svn:log V 51 Declared version_string() properly (1970's style). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T20:52:08.000000Z K 7 svn:log V 50 Fixed type mismatches and style bugs in rev.1.30. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T21:01:54.000000Z K 7 svn:log V 28 Fixed printf format errors. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T21:45:12.000000Z K 7 svn:log V 511 Fixed classic sign extension bug `-(long)sizeof(foo)'. Fixed the type of the string table size variable to match its use (assuming that int32_t is 4 bytes and other unportable things). bfd uses `unsigned char string_chars[BYTES_IN_WORD]', where BYTES_IN_WORD can be 4, 8, or perhaps even 2 or 3, but it is assumed to be precisely 4 bytes here. Fixed printf format errors (don't assume that n_value in struct n_list has type u_long, since it should have size BYTES_IN_WORD and longs may be longer than words). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-06T22:08:00.000000Z K 7 svn:log V 72 Fixed type mismatches which were fatal when sizeof(long) > sizeof(int). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T01:06:58.000000Z K 7 svn:log V 250 Added a `build-tools' target for internal tools. Removed explicit dependencies of foo.o on foo.c. These were mainly placeholders for comments about missing dependencies of tools objects on headers. This problem needs to be handled more generally. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T01:25:37.000000Z K 7 svn:log V 242 Added a `build-tools' target for internal tools. Restored a variant of explicit rule for `setup', with modifications to always build setup.o so that `setup' doesn't change every time it is rebuilt because it has a temporary file name in it. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T01:41:58.000000Z K 7 svn:log V 221 Added a `build-tools' target for internal tools. Honor LDFLAGS for building internal tools. Always build intermediate object files explicitly so that binaries don't change when they are rebuilt. Fixed some style bugs. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T01:43:54.000000Z K 7 svn:log V 93 Added a `build-tools' target for internal tools. Honor LDFLAGS for building internal tools. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T01:51:18.000000Z K 7 svn:log V 49 Added a `build-tools' target for internal tools. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T02:04:20.000000Z K 7 svn:log V 387 Added a `build-tools' target for internal tools. (linux_genassym may not actually work for cross compiling, but that is another problem.) Honor LDFLAGS for building internal tools. (Tools should normally be built static to avoid problems with picking up target shared libraries. bsd.kmod doesn't set -static yet, and has some problems with `LDFLAGS=-static ...' in the environment.) END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T02:27:09.000000Z K 7 svn:log V 111 Finished previous fix - don't forget to add one dummy options header to CLEANFILES. Fixed lots of style bugs. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T02:30:45.000000Z K 7 svn:log V 93 Added a `build-tools' target for internal tools. Honor LDFLAGS for building internal tools. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T02:43:26.000000Z K 7 svn:log V 93 Added a `build-tools' target for internal tools. Honor LDFLAGS for building internal tools. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T04:08:44.000000Z K 7 svn:log V 373 Quick fix for type mismatches which were fatal if longs aren't 32 bits. We used a private, wrong, version of `struct dirent' to help break getdirentries(), and we use a silly check that the size of this struct is a power of 2 to help break mount() if getdirentries() would not work. This fix just changes the struct to match `struct dirent' (except for the name length). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T04:19:25.000000Z K 7 svn:log V 61 Don't assume that longs are 32 bits in struct dos_partition. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T04:36:23.000000Z K 7 svn:log V 50 Don't depend on gcc's feature of casting lvalues. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 1998-07-07T04:49:55.000000Z K 7 svn:log V 46 MFC: {rev 1.5 "atrun.man"} fixes for PR 7109. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 1998-07-07T04:52:54.000000Z K 7 svn:log V 47 MFC: {rev 1.13 "mount_nfs.8"} fix for PR 6905. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T05:00:09.000000Z K 7 svn:log V 494 Changed `#if defined(i386)' to `#ifdef __i386__'. `#if defined(ONE_THING)' is a style bug, and i386 instead of __i386__ is a bug, since i386 is never defined when the kernel is compiled by with the default flags (`gcc -ansi ...'). Here the bug disabled the call to pmap_setvidram(), so ISA video memory was not mapped WC on 686's. The bug may have been masked by bugs in the committer's version of gcc - `gcc -ansi' incorrectly defines i386 for gcc = the version of egcs on the 2.2.6 cdrom. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 1998-07-07T05:13:36.000000Z K 7 svn:log V 46 MFC: {rev 1.17 "pkg_info.1"} fix for PR 7155. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-07-07T05:24:41.000000Z K 7 svn:log V 28 asm->__asm inline->__inline END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T05:37:34.000000Z K 7 svn:log V 1068 Build internal tools in build-tools so that they have some chance of working when the target system is not binary compatible. Use various hacks to work around minor problems in the source and binary tree layouts: - caesar and strfile are built normally (the source layout is good), then installed by copying them to ${WORLDTMP}/usr/bin (they are installed in ${WORLDTMP}/usr/games, but I don't want to put that in $PATH). - colldef and mklocale are built and installed normally. Messy and incomplete relative path searches for them and caesar and strfile can now go away. - internal tools that aren't installed are now built and left lying around for the `make all' pass to use. If the target system is not binary compatible, it is critical that these tools don't get rebuilt. Cleaning of the obj tree before building the internal tools should ensure this. - most internal tools are built using internal build-tools targets, but tn3270 is simpler for a change - it has all the tools in a separate tree, so they can be built using `make all'. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T06:22:23.000000Z K 7 svn:log V 206 Use the installed versions of caesar and strfile. They are now bootstrapped by `make world', and the installed versions are just as likely to work as the installed version of cc if `make' is run directly. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T09:59:48.000000Z K 7 svn:log V 216 Oops, don't build tools for building games, etc. when we're not building games, etc. Define _BUILD_TOOLS in sub-makes for building tools. This will be used to avoid using uninstalled tools in colldef and mklocale. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-07T12:02:59.000000Z K 7 svn:log V 409 msgs -p (and maybe other flags, too) gives misleading error messages, especially on a new install, where /var/msgs/bounds doesn't exist. I moved my bounds file out of the way to create this before and after on a quick 'n' dirty hack, which is probably the 23rd best way to do it, but it works: PR: 6963 Submitted by: Matthew Fuller END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-07T12:09:52.000000Z K 7 svn:log V 36 MFC: check for non-existant bounds. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-07T22:20:50.000000Z K 7 svn:log V 105 Previous fix didn't make it past the Bruce filter. Clean up non-KNF indentation and use err() properly. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-07-07T22:21:12.000000Z K 7 svn:log V 21 MFC: Bruceification. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T23:04:25.000000Z K 7 svn:log V 445 Use the installed version of colldef for `make all'. It is now bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. Don't build or install anything if _BUILD_TOOLS is defined. Then we only want to build and install the colldef binary, but the layout of the colldef tree forces recursing to colldef/data for at least the obj target even when _BUILD_TOOLS is defined. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T23:05:59.000000Z K 7 svn:log V 449 Use the installed version of mklocale for `make all'. It is now bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. Don't build or install anything if _BUILD_TOOLS is defined. Then we only want to build and install the mklocale binary, but the layout of the mklocale tree forces recursing to mklocale/data for at least the obj target even when _BUILD_TOOLS is defined. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T23:32:39.000000Z K 7 svn:log V 524 Use the installed version of perl for `make depend'. It is now bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. The bootstrapped version has a better chance of working. This makes the fixes and bugs in the previous 3 commits irrelevant. Rev.1.11 was just wrong and rev.1.10 became unnecessary when perl/perl was added to build-tools. Don't expect to build perl/usub without using `make world' or equivalent if you don't have perl installed. END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-07-07T23:32:57.000000Z K 7 svn:log V 99 Add definitions for PT_LOPROC and PT_HIPROC. Submitted by: Kapil Chowksey END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-07-07T23:36:23.000000Z K 7 svn:log V 39 MFC 1.2 -> 1.3: define PT_{LO,HI}PROC. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-07T23:44:43.000000Z K 7 svn:log V 194 Use the installed version of perl for `make install'. It is now bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-08T00:14:15.000000Z K 7 svn:log V 402 Use the installed versions of cc, cc1 and cpp for building underscore. They have been bootstrapped by `make world' since long before the hacks here were cloned from ../libgcc/Makefile. The versions just built in "../*" normally won't work if the target system is not binary compatible. Don't use OBJS to defeat `make depend'; just put generated sources in SRCS. Added temporary files to CLEANFILES. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-07-08T00:44:56.000000Z K 7 svn:log V 349 Replace my original asprintf() and vasprintf() hacks with something more cleanly integrated with stdio. This should be faster and cleaner since it doesn't memcpy() the data into a seperate buffer. This lets stdio allocate and manage the buffer and then hand it over to the user. Obtained from: Todd Miller via OpenBSD END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-08T00:45:50.000000Z K 7 svn:log V 496 Use a different hack for building libgcc2: `XCC= ${CC}' instead of `XCC= -B ...'. This is equivalent when cc and cc1, etc. have just been bootstrapped by `make world'. The relative versions normally won't work if the target system is not binary compatible. Bootstrapping different versions of gcc without going through `make world' is slightly more broken than before. Uniformized macro names (P1OBJS -> LIB1POBJS, etc.). Don't give full paths to sources. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-07-08T00:52:40.000000Z K 7 svn:log V 167 New flag for internal stdio use to enable dynamic string allocation for asprintf() implementation. Obtained from: Todd Miller via OpenBSD END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-07-08T01:04:33.000000Z K 7 svn:log V 138 Catch a few corner cases where FreeBSD differs enough from BSD 4.4 to confuse Soft updates.. Should solve several "dangling deps" panics. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-07-08T01:16:05.000000Z K 7 svn:log V 66 Import NetBSD-current version of if_de driver onto vendor branch. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-07-08T01:24:37.000000Z K 7 svn:log V 34 Merge changes from vendor branch. END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-07-08T05:29:05.000000Z K 7 svn:log V 136 Add a "-k" option, to specify that the lock file should be kept rather than removed. Submitted by: Nick Barnes END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-07-08T05:33:46.000000Z K 7 svn:log V 23 Sync with main branch. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-07-08T06:27:22.000000Z K 7 svn:log V 394 Fixed db_printf format errors (except for ones using broken extensions (nonstandard %n and '+' with %x), and ones not found by -Wformat on 386's (some db_expr_t's are still printed as ints). I decided not to change the arg type for %n from [unsigned] int to register_t, since about half of the uses of %n are to print plain ints and casting to [unsigned] long for %n is no harder than for %x. END