Го`12665 195 199 242 121 255 228 128 250 372 294 179 1072 156 2098 144 420 234 160 373 182 257 621 114 127 184 296 389 2070 233 437 143 163 339 233 311 172 103 130 138 210 103 138 115 193 255 202 732 462 144 154 155 109 218 148 113 609 115 157 155 181 115 232 136 189 283 154 184 359 235 421 126 169 282 282 134 179 129 160 190 405 160 209 242 167 274 195 632 238 630 238 137 150 227 277 238 138 184 311 233 303 154 361 149 209 171 103 102 146 1249 274 575 329 1142 136 223 270 289 126 220 200 180 266 143 399 166 374 147 483 144 958 202 204 238 163 1196 404 191 279 184 103 262 178 215 197 394 105 251 297 143 418 147 165 735 121 238 256 133 172 111 145 568 361 164 614 118 121 235 182 118 133 174 201 110 172 203 134 583 206 116 257 130 142 111 166 164 111 136 166 137 118 190 330 1546 192 264 348 K 10 svn:author V 3 jkh K 8 svn:date V 27 1995-12-07T14:11:29.000000Z K 7 svn:log V 106 Add support for ALL_HOOK feature. Lets you replace the `all' target with something of your own devising. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-07T14:17:14.000000Z K 7 svn:log V 149 Don't #define NO_CONST. Defining it caused type mismatches for qsort()'s compare arg and the problem fixed by defining it has apparently gone away. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-07T14:33:33.000000Z K 7 svn:log V 29 Fixed the type of time_type. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-07T14:41:22.000000Z K 7 svn:log V 162 Added missing data to a struct initializer by copying it from similar initializers. This may not be correct, but the initializer shouldn't have compiled before. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-07T14:46:07.000000Z K 7 svn:log V 135 Moved a test for HAVE_GETBOOTFILE to after the #include of the configuration header that may define it. Fixed the resulting warnings. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-07T14:47:36.000000Z K 7 svn:log V 36 Fixed the type of a signal handler. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-07T16:38:34.000000Z K 7 svn:log V 155 Specify Timeout.queuewarn.normal at 1day as well as Timeout.queuewarn. For some reason, the documentation does not appear to be in sync with reality.. :-) END K 10 svn:author V 7 wollman K 8 svn:date V 27 1995-12-07T19:21:53.000000Z K 7 svn:log V 275 Use a dynamically-sized buffer for SIOCGIFCONF so that `ifconfig -a' actually retrieves all the information no matter how many interfaces there are. (Probably there are other utilities which need similar modification.) Submitted by: Andrew Webster END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-07T20:31:02.000000Z K 7 svn:log V 199 The static prototype for setroot() was apparently accidently moved into a block of code that was #ifdef CD9660, meaning you got a compile failure if you didn't have the CD9660 filesystem configured. END K 10 svn:author V 2 dg K 8 svn:date V 27 1995-12-08T08:47:41.000000Z K 7 svn:log V 88 Include sys/time.h, not sys/user.h. Submitted by: "Marc G. Fournier" END K 10 svn:author V 6 julian K 8 svn:date V 27 1995-12-08T11:19:42.000000Z K 7 svn:log V 976 Pass 3 of the great devsw changes most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :) END K 10 svn:author V 7 wollman K 8 svn:date V 27 1995-12-08T16:46:06.000000Z K 7 svn:log V 60 Added a conditionalized printf for debugging MTU discovery. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-08T17:58:50.000000Z K 7 svn:log V 2002 "What? He's modifying the NIS protocol definition!?" No, not really. There are just a couple of long-standing bogosities here that I feel compelled to fix. :) There are two small changes here: 1) yp.x actually contains _three_ protocol definitions: YPPROG (standard NIS client/server procedures), YPPUSH_XFRRESPPROG (callback handler for the YPPROC_XFR service, aka ypxfr/yppush) and YPBINDPROG (for ypbind, ypset & friends). The problem is that when you run yp.x through rpcgen(1), it generates client and server stubs with hooks for all three services. This makes it impossible to actually use the rpcgen-erated code in a program that only deals with _one_ of these services (ypserv, ypbind, etc...) without manually removing the unneeded stubs (either by hand editing or by committing unspeakable horrors with sed). This defeats the whole purpose of using rpcgen and is generally annoying. What I've done is to insert a few #ifndefs and #endifs to allow a programmer to selectively blot out those functions that aren't needed for a particular program. For instance, if you do 'rpcgen -DYPSERV_ONLY', you'll get only the necessary client/server stubs to implement the standard yp client and server functions. If you do 'rpcgen -DYPBIND_ONLY', you get only what you need for ypbind. If you don't #define anything, you get the whole mess, just like before, so existing programs won't notice the difference. (Note that the -D flag is not supported by our existing crufty version of rpcgen, but I intend to update it soon.) 2) The definition for the ypresp_key_val structure is actually incorrect with respect to reality: the key and val members are specified in the wrong order. It should be val/key rather than key/val. For whatever the reason, Sun's actual NIS implementation contradicts the protocol definition in this case. Again, accounting for this bogosity here is cleaner and easier than mangling the output from rpcgen. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-08T23:23:00.000000Z K 7 svn:log V 52 Julian forgot to make the *devsw structures static. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T04:29:11.000000Z K 7 svn:log V 325 Reorganise ps_strings in order to gain BSD/OS 2.0 binary compatability. This is now in line with NetBSD as well.. Note that once this series of commits is finished, you must recompile libkvm, then ps and maybe 'w'. If you are running the recently imported sendmail-8.7, you should recompile that too (src/conf.c at least). END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T04:31:47.000000Z K 7 svn:log V 139 Update the Linux LKM to use the new ps_strings and stack gap arrangements. (note you should recompile the linux and ibcs2 lkms after this) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T04:33:27.000000Z K 7 svn:log V 66 Update ibcs2 to use the new ps_strings / stack gap arrangements.. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T04:42:51.000000Z K 7 svn:log V 278 Updates to read the extra indirection in ps_strings. Note that any static executables that depend on this will need to be relinked (ie: do this before 'ps'), but the dynamic linked stuff should be OK (ie: 'w') Obtained from: NetBSD (not much point reinventing the wheel.. :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T04:45:50.000000Z K 7 svn:log V 88 phkmalloc strikes again! :-) Another use of un-cleared returns from malloc squashed... END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T05:01:24.000000Z K 7 svn:log V 162 Update sendmail's "knowledge" of the ps_strings structure. This really is ugly, we need setproctitle() in a shared lib somewhere to make these more transparent. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T05:10:55.000000Z K 7 svn:log V 526 A really gross hack to make more of the source tree compile again. #include used to be self contained, but now it needs either half a dozen VM specific includes beforehand (yuck, so much for portability), or some horrible hack like this for user-mode only applications.. The kind of stuff that needs this is the libkvm stuff, w, ps, etc... I would welcome a better fix for this BTW.. :-) (note: this is #ifndef KERNEL, so it shouldn't be re-polluting the kernel space after it's been so painfully cleaned up...) END K 10 svn:author V 4 ache K 8 svn:date V 27 1995-12-09T05:11:02.000000Z K 7 svn:log V 21 Yet one conf example END K 10 svn:author V 4 ache K 8 svn:date V 27 1995-12-09T05:13:27.000000Z K 7 svn:log V 34 Fix error: startslip -> sliplogin END K 10 svn:author V 4 ache K 8 svn:date V 27 1995-12-09T06:32:24.000000Z K 7 svn:log V 91 Fix SIGHUP restarting bug: sendmail can't find itself, it uses argv[0] but don't uses PATH END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-09T08:17:24.000000Z K 7 svn:log V 201 Attempt to make the Linux LKM compile again after the recent VM include de-nesting changes... (I figured this might be usefulif it actually built, since I've told everybody to rebuild it or die.. :-) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-09T08:34:04.000000Z K 7 svn:log V 294 *sigh* Yet another bogosity: the YPPROC_FIRST procedure is listed as taking an argument of type ypresp_key. This is incorrect: it should be ypresp_nokey. (yp_first() is supposed to return the first key in a given map; the server doesn't need any client-specified key to handle such a request.) END K 10 svn:author V 6 julian K 8 svn:date V 27 1995-12-09T09:11:25.000000Z K 7 svn:log V 1973 clean a few DEVFS things.. fix a bug where you couldn't place devices in the root directory of devfs remove deprecated routines On my machine devfs now shows: julian@erf.tfs.com: julian@erf.tfs.com: ls -RF bpf0 mem ptypb spkr ttyp8 bpf1 null ptypc stderr ttyp9 bpf2 pcaudio ptypd stdin ttypa bpf3 pcaudioctl ptype stdout ttypb console pt ptypf tty ttypc cuaa0 ptyp0 random ttyd0 ttypd cuaia0 ptyp1 rsd0 ttyid0 ttype cuala0 ptyp2 rsd1 ttyld0 ttypf fd/ ptyp3 rvn ttyp0 tun0 fd0.1440 ptyp4 rworm ttyp1 urandom fd1.1200 ptyp5 scsi/ ttyp2 vn io ptyp6 sd0 ttyp3 zero kmem ptyp7 sd1 ttyp4 lkm ptyp8 snp0 ttyp5 log ptyp9 snp1 ttyp6 lpt0 ptypa snp2 ttyp7 ./fd: 0 15 21 28 34 40 47 53 6 9 1 16 22 29 35 41 48 54 60 10 17 23 3 36 42 49 55 61 11 18 24 30 37 43 5 56 62 12 19 25 31 38 44 50 57 63 13 2 26 32 39 45 51 58 7 14 20 27 33 4 46 52 59 8 ./scsi: sctarg ssc julian@erf.tfs.com: which is all devices really there except for disk slices/partitions.. (if I don't have it it's not there, which has GOT to be an improvement..) no DEVFS fixes from device maintainers yet? END K 10 svn:author V 6 julian K 8 svn:date V 27 1995-12-09T09:42:03.000000Z K 7 svn:log V 137 Submitted by: John Hay Ok, I shouldn't have said it was the last one previously. :-)) This fix a stupid bug in the select code. John END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T16:06:54.000000Z K 7 svn:log V 344 Remove old ballast, clean up a little bit, staticize. Add five sysctl variables that you should probably never tweak. net.arp.t_prune: 300 net.arp.t_keep: 1200 net.arp.t_down: 20 net.arp.maxtries: 5 net.arp.useloopback: 1 net.arp.proxyall: 0 (It's net.arp because arp isn't limited to inet, though our present implementation surely is). END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T16:10:20.000000Z K 7 svn:log V 51 Remove option ARP_PROXYALL, it's now a sysctl var. END K 10 svn:author V 3 jmz K 8 svn:date V 27 1995-12-09T17:31:08.000000Z K 7 svn:log V 71 ioctl() args are JOY_SETTIMEOUT and JOY_GETTIMEOUT (only 1 underscore) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-09T19:10:20.000000Z K 7 svn:log V 244 Small tweak: the 'is exisating password an empty string' check isn't quite right. (Thic causes you to get prompted for an 'Old Password' when changing someone's NIS password even if your password isn't set yet.) Do it like local_passwd.c does. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-09T19:25:00.000000Z K 7 svn:log V 138 Close PR #853. The services.byname case needs to greate keys in the form 'service/transport' (i.e. telnet/tcp) instead of just 'service.' END K 10 svn:author V 4 ache K 8 svn:date V 27 1995-12-09T19:36:49.000000Z K 7 svn:log V 217 Back out "find itself" fix for security purist reasons from sendmail mailing list. Our /etc/rc will be fixed instead. It seems sendmail becomes more and more incompatible, f.e. Return-Receipt-To not works anymore :-( END K 10 svn:author V 4 ache K 8 svn:date V 27 1995-12-09T19:40:12.000000Z K 7 svn:log V 79 Use absolute path for sendmail daemon or sendmail can't find itself on SIGHUP. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T20:34:16.000000Z K 7 svn:log V 11 Staticize. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T20:39:47.000000Z K 7 svn:log V 38 Move sysctl machdep.consdev to cons.c END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T20:40:43.000000Z K 7 svn:log V 46 Remove various unused symbols and procedures. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T20:42:38.000000Z K 7 svn:log V 117 scsi_tape.h had some old cruft that looked like missing typedefs or something. Cleanup some lint in sd.c and st.c. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T20:43:53.000000Z K 7 svn:log V 11 Staticize. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T20:46:06.000000Z K 7 svn:log V 46 Change SYSCTL_OPAQUE to take a format string. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-09T20:47:15.000000Z K 7 svn:log V 23 Staticize, clean lint. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T01:12:20.000000Z K 7 svn:log V 100 Updated #includes to the 1980's so that this compiles when doesn't include . END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T01:20:17.000000Z K 7 svn:log V 162 Restored used variable `name[32]' (used by DEVFS). Removed an `#ifdef __FreeBSD__'. Hundreds, if not thousands of other FreeBSD-specific things aren't ifdefed. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T01:47:34.000000Z K 7 svn:log V 109 Restored used variable `name[32]' (used by DEVFS). Completed function declarations and/or added prototypes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T02:34:29.000000Z K 7 svn:log V 639 Moved the declaration of boolean_t from to (if KERNEL is defined). This allows removing bogus dependencies on vm stuff in several places (e.g., ddb) and stops from depending on Added declaration of boolean_t to (if KERNEL is not defined). It never belonged in . Unfortunately, it is required for some vm headers that are included by applications. Deleted declarations of TRUE and FALSE from . They are defined in if KERNEL is defined and we'll soon find out if any applications depend on them being defined in a vm header. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-10T02:39:24.000000Z K 7 svn:log V 367 Seeing as I was elected without nomination to being SUP meister, update these files a bit. The entries for the International secure collections don't match Freefall's naming conventions, but hopefully MarkM will fix that soon. Each file now has an extensive header describing what it is, how to use it, and how you may want to customize it for a particular system. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T02:53:07.000000Z K 7 svn:log V 52 Moved vm includes out of centralized headers again. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T03:11:32.000000Z K 7 svn:log V 62 Restored used function fusword() (used by GPL math emulator). END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-10T07:35:44.000000Z K 7 svn:log V 61 Official CVS supfile in preparation for opening of our tree. END K 10 svn:author V 5 asami K 8 svn:date V 27 1995-12-10T08:04:21.000000Z K 7 svn:log V 15 Add ports-www. END K 10 svn:author V 5 markm K 8 svn:date V 27 1995-12-10T08:08:16.000000Z K 7 svn:log V 123 Modify the supfile collection target names in accordance with Freefall's convention. My international site has been fixed! END K 10 svn:author V 3 jkh K 8 svn:date V 27 1995-12-10T09:09:49.000000Z K 7 svn:log V 56 Adjust David's email address. Add section on donations. END K 10 svn:author V 6 julian K 8 svn:date V 27 1995-12-10T10:50:32.000000Z K 7 svn:log V 18 Add DEVFS to LINT END K 10 svn:author V 6 julian K 8 svn:date V 27 1995-12-10T10:58:30.000000Z K 7 svn:log V 513 Make NEW_SCSICONF the default way of doing things It will need to be changed but it's the better starting point.. also add '?' to wildcarding in SCSI identification of devices.. so we can catch all PIONEER CD 6??* devices instead of having separate entries for the 600, 602, 604X, 624X etc.. it's getting so we should have a small regexp routine in the kernel maybe just a little one.. matching CDX-6[0-9][0-9][ A-Z] would be better there will be drastic changes in this but this is the best starting point.. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-10T13:32:43.000000Z K 7 svn:log V 23 Staticize and cleanup. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-10T13:33:49.000000Z K 7 svn:log V 65 Staticize and cleanup. Make debug variable sysctl aware in 1742. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-10T13:36:34.000000Z K 7 svn:log V 63 Staticize and cleanup. remove a TON of #includes from machdep. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-10T13:40:33.000000Z K 7 svn:log V 89 Staticize and cleanup. Ohh, forgot this bit: (covers sio.c too) recognize the 16650 too. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-10T13:40:44.000000Z K 7 svn:log V 23 Staticize and cleanup. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-10T13:45:30.000000Z K 7 svn:log V 139 Last commit this round: Staticize. we are now down to about 1146 symbols being global, of which I estimate that about 100 are validly so. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T14:52:10.000000Z K 7 svn:log V 44 Restored used includes of . END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T14:57:04.000000Z K 7 svn:log V 97 Removed unused functions sudump() and supsize(). Added `extern' to misplaced public prototypes. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T15:07:12.000000Z K 7 svn:log V 188 Fix the bug which allowed people to avoid the "-s" (secure) bug. Now, "finger" is invoked with "--" before the first network supplied argument, so the "--" and "-l" hacks will be stopped. END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-10T15:33:00.000000Z K 7 svn:log V 60 Check the # of arguments, instead of silently dumping core. END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-10T15:40:42.000000Z K 7 svn:log V 90 Move out some of the shell builtin bogosity from printf's source to sh's builtin/bltin.h. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T15:55:34.000000Z K 7 svn:log V 266 Removed new alias d_size_t for d_psize_t. Removed old aliases d_rdwr_t and d_ttycv_t for d_read_t/d_write_t and d_devtotty_t. Sorted declarations of switch functions into switch order. Removed duplicated comments and declarations of nonexistent switch functions. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-10T17:40:18.000000Z K 7 svn:log V 140 Fix minor annoyance: have clnt_perror(), clnt_perrno() and clnt_pcreateerror() emit strings with newlines appended like other platforms do. END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-10T17:59:23.000000Z K 7 svn:log V 326 The shell incorrectly gave & precedence over ;. This breaks the traditional behaviour, and it violates Posix.2. Fixes PR # bin/880: /bin/sh incorrectly parse... Fixes also an earlier problem report about the shell not evaluating loops correctly. (Not files via GNATS.) Submitted by: nnd@itfs.nsk.su (Nickolay N. Dudorov) END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T19:08:32.000000Z K 7 svn:log V 34 Reduced and cleaned up #includes. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-10T19:27:40.000000Z K 7 svn:log V 75 Fix spelling errors. Submitted by: Faried Nawaz END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T19:44:58.000000Z K 7 svn:log V 189 Replaced nxdump by nodump (if the dump function gets called, then the device must be configured, so ENXIO is a bogus errno). Replaced zerosize by nopsize. zerosize was a temporary alias. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T19:53:42.000000Z K 7 svn:log V 189 Replaced nxdump by nodump (if the dump function gets called, then the device must be configured, so ENXIO is a bogus errno). Replaced zerosize by nopsize. zerosize was a temporary alias. END K 10 svn:author V 3 pst K 8 svn:date V 27 1995-12-10T19:54:49.000000Z K 7 svn:log V 42 Add support for high-range FTP data ports END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T20:02:47.000000Z K 7 svn:log V 87 Replaced cdsize by generic nopsize. Added prototypes. Declared statics consistently. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T20:10:23.000000Z K 7 svn:log V 37 Replaced scdsize by generic nopsize. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T20:19:32.000000Z K 7 svn:log V 68 Replaced odsize by generic nopsize. Staticized. Added prototypes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T20:34:53.000000Z K 7 svn:log V 98 Replaced nxmmap by nommap (if the mmap function gets called, then the device must be configured). END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T20:54:38.000000Z K 7 svn:log V 312 Replaced nxreset by noreset (if the reset function gets called, then the device must be configured. It's hard to tell whether a reset function should be noreset or nullreset since reset functions are never called. Most drivers use nullreset but noreset has the advantage of complaining if somehow gets called). END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T21:08:11.000000Z K 7 svn:log V 68 Unstaticized cx_cdevsw (it is used in if_cx.c). Added a prototype. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T21:35:19.000000Z K 7 svn:log V 114 Add "examples", "contrib" and "pcl-cvs" directories below share/examples/cvs in preperation for cvs-1.6.3 import. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T21:38:45.000000Z K 7 svn:log V 149 Restored variables that are used iff QUOTA is defined. ext2fs still uses #if in many cases where the rest of the kernel uses #ifdef (for QUOTA...). END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T21:50:02.000000Z K 7 svn:log V 73 Disconnect 'cvs' from SUBDIRS in preperation for import of new version.. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T22:09:14.000000Z K 7 svn:log V 181 Added undocumented option EXT2FS so that it gets tested. Enabled option GPL_MATH_EMULATE so it gets tested. This will cause linkage errors. Fixed comment about PCVT_VERSION=210. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-10T22:14:15.000000Z K 7 svn:log V 102 Added pcvt option FAT_CURSOR. Fixed comment about PCVT_VERSION=210. Fixed tabs and trailing blanks. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T22:31:43.000000Z K 7 svn:log V 537 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release plus a couple of minor changes.. Some highlights of the new stuff that was not in the old version: - remote access support.. full checkout/commit/log/etc.. - much improved dead file support.. - speed improvements - better $CVSROOT handling - $Name$ support - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o" - safer setuid/setgid support - many bugs fixed.. :-) - probably some new ones.. :-( - more that I cannot remember offhand.. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T22:31:43.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r12750, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T22:31:58.000000Z K 7 svn:log V 535 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release plus a couple of minor changes.. Some highlights of the new stuff that was not in the old version: - remote access support.. full checkout/commit/log/etc.. - much improved dead file support.. - speed improvements - better $CVSROOT handling - $Name$ support - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o" - safer setuid/setgid support - many bugs fixed.. :-) - probably some new ones.. :-( - more that I cannot remember offhand.. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T22:31:58.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r12752, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-10T23:10:40.000000Z K 7 svn:log V 43 First round of the post-import cleanups... END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T00:28:08.000000Z K 7 svn:log V 56 Clean out some files which are no longer part of CVS... END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T00:45:43.000000Z K 7 svn:log V 132 Attach easy-import.pl (repostory copied from easy-import.perl) and use the xPERL_PATHx substitution like the rest of the .pl stuff. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T00:48:21.000000Z K 7 svn:log V 182 Bring in two files that I missed.. These are of no real value unless you are developing CVS code, but they were already in the tree so we might as well have the right versions.. :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T00:48:21.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r12757, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T01:23:45.000000Z K 7 svn:log V 44 Fix a couple of build warts that I broke... END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T01:27:18.000000Z K 7 svn:log V 90 Argh! Botch alert! I dont *believe* I did this.... (I think I'll blame it on Tristan! :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T01:58:53.000000Z K 7 svn:log V 216 Tweak the install targets so that the installs are done in the right place relative to the SUBDIR recursion.. Otherwise, the results look really odd. (basically changed a couple of afterinstall's to beforeinstall's) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T02:18:22.000000Z K 7 svn:log V 138 Add a structure definition to the MD* Contexts, so that cvs can use the standard libmd version of MD5 instead of it's own seperate copy.. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T02:22:34.000000Z K 7 svn:log V 208 Make CVS use /usr/lib/libmd.a rather than supplying Yet Another Copy(TM) of md5.[ch]. Note that minor mods were made to md5.h to support this, so a reinstall of lib/libmd is needed before building this cvs. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T03:01:11.000000Z K 7 svn:log V 60 Update usr/share/examples layout to match current reality.. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T03:03:24.000000Z K 7 svn:log V 266 Dive in the deep end and change the examples installation method.. :-/ the 'rm -rf' and cpio was bugging me because rdist used to get false hits and also it installs the files with the wrong uid. I've tried this by running a find .. -exec ${INSTALL} ...; instead... END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T04:24:11.000000Z K 7 svn:log V 55 Whitespace cleanup, add forgotten file to CLEANFILES.. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1995-12-11T04:58:34.000000Z K 7 svn:log V 114 Changes to support 1Tb filesizes. Pages are now named by an (object,index) pair instead of (object,offset) pair. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1995-12-11T05:02:52.000000Z K 7 svn:log V 77 Undo a change that should not have been committed with the 1Tb enhancements. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-11T09:24:58.000000Z K 7 svn:log V 11 Staticize. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-11T09:26:18.000000Z K 7 svn:log V 10 Staticize END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-11T10:26:34.000000Z K 7 svn:log V 54 Back out this one, must have screwed up somewhere :-( END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T10:52:34.000000Z K 7 svn:log V 1153 Implement support for conf/options and i386/conf/options.i386 Note that this code is dormant unless the options files exist. Also, parsing of quoted options in the config files is improved. What this allows, is all the options in LINT to be specified to be configured as #defines in a file rather than on the CC command line at kernel build time. This means that 'make depend' will catch dependencies on actual *options*, meaning that you can run 'config' and 'make depend' in complete safety WITHOUT removing the compile directory each time. Unfortunately, this requires a pass over the source to get the individual files to #include the new .h files that would be generated by config. This has a small compile time penalty (appears up to about 2% slower) from a "fresh" build. Of course, you should not be needing to do complete rebuilds very often once this was completed, so it would be an overall win for most people. Since this code is dormant and we've got a lot of other things happening on the kernel tree at the moment (prototypes, devfs, static declarations etc) I am not planning on doing any changes to activate this feature just yet. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T13:24:58.000000Z K 7 svn:log V 179 Make FIONREAD return the actual that a read() would return, not just the amount of data in the first mbuf. Obtained from: Bob Smart (for NetBSD & SunOS) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T13:56:07.000000Z K 7 svn:log V 480 Fix yp_mkdb to do what the code suggests it's trying to do.. The code, as written, appears to load the new database data into a new hash file and renames the two. Due to a run of bugs and lack of error checking, it's going a whole mess of unlink() and rename() calls that are failing. It only worked in the first place because the data was being inserted into a "live" hash file. (I wonder how much stale data has assumulated?) Submitted by: Laurence Lopez END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T14:00:48.000000Z K 7 svn:log V 234 Fix a cosmetic null termination problem for completeness. The #ifdef NEWSALT code doesn't NULL terminate the salt string.. We dont appear to use this code anymore, but it shouldn't hurt Submitted by: Laurence Lopez END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-11T14:28:12.000000Z K 7 svn:log V 1046 Change phkmalloc so that the page directory is now floating and allocated via mmap() up around the shared library area. Previously the directory was allocated from space from it's own memory pool. Because of the way it was being extended on processes with large malloced data segments (ie: inn) once the page directory was extended for some reason, it was not possible to lower the heap size any more to return pages to the OS. (If my understanding is correct, page directory expansion occurs at 4MB, 12MB, 20MB, 28MB, etc.) I was seeing INN allocate a large amount of short term memory, pushing it over the 28MB mark, and once it's transient demands hit 28MB, it never freed it's pages and swap space again.) I've been running this in my libc for about a month... Also, seperate MALLOC_STATS from EXTRA_SANITY.. I found it useful to call malloc_dump() from within INN from a ctlinnd command to see where the hell all the memory was going.. :-) I've left MALLOC_STATS enabled, as it has no run-time or data storage cost. Reviewed by: phk END K 10 svn:author V 3 jkh K 8 svn:date V 27 1995-12-11T15:09:13.000000Z K 7 svn:log V 44 Information updates, typo patrol, rewrites. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1995-12-11T15:41:50.000000Z K 7 svn:log V 128 Some DIAGNOSTIC code was enabled all of the time in error. The diagnostic code is now conditional on #ifdef DIAGNOSTIC again. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1995-12-11T15:43:33.000000Z K 7 svn:log V 175 Some new anti-deadlock code ended up messing up the paging stats. A modified version of the code is now in place, and gausspage performance is back up to where it should be. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1995-12-11T16:30:25.000000Z K 7 svn:log V 196 Fix a subtle bug that *may* be responsible for the clobber-disk-zero bug. Also try to see if a device can still be `detected' by checking errno == EACCES even if the open fails (idea from Bruce). END K 10 svn:author V 3 jkh K 8 svn:date V 27 1995-12-11T16:32:33.000000Z K 7 svn:log V 34 Bring my changes forward from 2.1 END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-11T22:59:22.000000Z K 7 svn:log V 125 Finally fix expr in all respects, so it's now handling all numeric and string cases correctly. Moved over from 2.2-current. END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-11T23:00:36.000000Z K 7 svn:log V 105 Move over the fix from 2.2-current for nice(1) dumping core when faced with no command arguments at all. END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-11T23:01:41.000000Z K 7 svn:log V 86 Move over some /bin/sh-specific cruft to there. (Fix brought over from 2.2-current.) END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-11T23:05:26.000000Z K 7 svn:log V 171 Move all known fixes from 2.2-current into the 2.1 branch, with the minor exception of rev 1.10 of parser.c (where i'd like to see if any ill side-effects might show up). END K 10 svn:author V 5 joerg K 8 svn:date V 27 1995-12-11T23:06:12.000000Z K 7 svn:log V 49 Move over from 2.2-current: allow for ``su -c''. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1995-12-12T04:18:10.000000Z K 7 svn:log V 304 This should have fixed some conditions that could cause the "getblk" hang. The B_WANTED flag was being cleared gratuitously, also the optimization of gbincore for ignoring the B_INVAL flag was incorrect. There is no place in the code where buffers are on the hash list that are B_INVAL and not B_BUSY. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-12T08:44:38.000000Z K 7 svn:log V 72 Add pci/bt9xx.c - the new PCI probe module of the Buslogic SCSI driver. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-12T08:46:40.000000Z K 7 svn:log V 279 Have bt0 entry specify "bt_isa_intr" for its vector. This one entry will allow one EISA/ISA/PCI/VL Buslogic controller to be probed. The driver is almost fully dynamic. It just needs some kdc work and for the SCSI code to stop passing unit numbers up in the scsi_xfer struct. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-12T08:47:11.000000Z K 7 svn:log V 53 Eisa Probe portion of revamped Buslogic SCSI driver. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-12T08:50:15.000000Z K 7 svn:log V 388 Have Eisa and PCI probes occur before ISA probes. Buslogic EISA and PCI cards can be found in ISA compatibility mode by the ISA driver, but since the EISA and PCI probes are non-invasive, we prefer them to find the card first. Since both EISA and PCI probes can rely on interrupts, enable them before probing of any type is performed. All ISA probes are still "protected" by splhigh(). END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-12T08:50:54.000000Z K 7 svn:log V 50 Isa/VL probe portion of the Buslogic SCSI driver. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-12T08:57:22.000000Z K 7 svn:log V 863 The core of the Buslogic SCSI driver that is shared for all models on all buses. Known problems: -The PCI probe code has not been tested. Someone with a PCI Bt card will have to validate it, but even if it is broken all cards the earlier version of this driver found in ISA compatibility mode should still be found. -Still missing the BT956 PCI ID, so it will be found as an ISA card until someone suplies it. -PCI interrupts go through an interrupt stub that returns an int until we remove the edge-triggered PCI compatibiliity cruft. -ISA interrupts go through an interrupt stub until they pass in (void *). -The driver could support more mboxes and concurrent commands by allocating structures separately and hanging them off the bt_data struct to get around the 4K page limit. Someone with documentation should do this and also enable tagged queuing. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1995-12-12T08:58:04.000000Z K 7 svn:log V 107 PCI portion of the Buslogic SCSI driver. Needs to be tested and more PCI ids for Buslogic products added. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-13T03:21:09.000000Z K 7 svn:log V 109 Import a newer and more functional version of rpcgen. Obtained from: the Sun TI-RPC 2.3 source distribution END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-13T03:21:09.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r12795, 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 1995-12-13T03:21:10.000000Z K 7 svn:log V 67 This commit was manufactured by cvs2svn to create tag 'rpcgen_2_3'. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-13T03:31:10.000000Z K 7 svn:log V 1100 Clean up. (I hope I'm doing this right.) Update rpcgen with the one from the TI-RPC 2.3 distribution. Note that when built for FreeBSD, this version of rpcgen assumes backwards compatibility mode by default. This means that it will produce ONCRPC 4.0 compatible code unless otherwise instructed, instead of the other way around. One incompatibility has also been worked around: this rpcgen normally always emits an '#include ' directive whether you select backwards compatibility mode or not. We don't have STREAMS, so this behavior has been changed: now it will only emit this line if run in TI-RPC mode. The 'generate output files in current directory instead of the directory where the protocol definition file lives' hack from the original rpcgen has been preserved. Notable new features: - Can be used to generate RPC servers that can be launched from port monitors such as inetd(5). - Can generate ANSI C code. - Can generate sample client and server top-level programs and makefiles in addition to the usual client and server stubs. - Can generate inline XDR routines. END K 10 svn:author V 5 dyson K 8 svn:date V 27 1995-12-13T03:47:01.000000Z K 7 svn:log V 309 Fix a problem that was caused by new (partial) support for merged cache metadata and VBLK type devices. The code is currently mostly disabled, and a work-around has been added to disabled attempted clustered writes for VBLK type device buffers. Clustered write of meta-data is currently a work in progress. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-13T05:56:07.000000Z K 7 svn:log V 97 Change freefall's default mailer from smtp to smtp8 to try and avoid the 8 to 7 bit conversion.. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-13T06:20:22.000000Z K 7 svn:log V 184 These files are regeneratable and are making huge rcs deltas for no real need. Note that "op" and "intro" are already being built under share/doc/smm (08.sendmailop and 09.sendmail) END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-13T10:35:36.000000Z K 7 svn:log V 92 Remove MACH_KERNEL, ORIGINAL, and ZP_DEBUG, I should have done this before it was imported. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-13T10:36:03.000000Z K 7 svn:log V 11 Staticize. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-13T11:33:34.000000Z K 7 svn:log V 167 add a #include since we are using the vmmeter structures and this was once (but no longer it seems) included by It should now compile again. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-13T11:34:46.000000Z K 7 svn:log V 84 Add explicit #include of after the last round of changes. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-13T11:36:20.000000Z K 7 svn:log V 120 Add #include in order to make savecore compile again after the last round of include file changes. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-13T11:41:15.000000Z K 7 svn:log V 102 Add #include to make lsdev compile again after the last round of include file changes.... END K 10 svn:author V 5 dyson K 8 svn:date V 27 1995-12-13T12:28:39.000000Z K 7 svn:log V 299 There was a bug that the size for an msync'ed region was not rounded up. The effect of this was that msync with a size would generally sync 1 page less than it should. This problem was brought to my attention by Darrel Herbst and Ron Minnich . END K 10 svn:author V 4 ache K 8 svn:date V 27 1995-12-13T12:54:26.000000Z K 7 svn:log V 12 Localize it END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-13T14:32:59.000000Z K 7 svn:log V 158 Completed function declarations and added prototypes. Fixed 3 serious type mismatches that were introduced when the driver was split up. Reviewed by: gibbs END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-13T15:01:13.000000Z K 7 svn:log V 204 Reduced vm dependencies. Only `struct vmmeter.h' is required. Unfortunately, the sysctl number for reading this struct is bogusly placed in instead of with the declaration of the struct. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-13T15:10:56.000000Z K 7 svn:log V 51 Unspammed #includes. Fixed printf format strings. END K 10 svn:author V 6 julian K 8 svn:date V 27 1995-12-13T15:13:57.000000Z K 7 svn:log V 322 devsw tables are now arrays of POINTERS to struct [cb]devsw seems to work hre just fine though I can't check every file that changed due to limmited h/w, however I've checked enught to be petty happy withe hte code.. WARNING... struct lkm[mumble] has changed so it might be an idea to recompile any lkm related programs END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-13T15:33:10.000000Z K 7 svn:log V 55 Report common symbols with one reference as UNREF too. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-13T20:08:53.000000Z K 7 svn:log V 71 Check before dereferencing a possible null pointer (cdevsw[i]->d_open) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-14T05:16:45.000000Z K 7 svn:log V 640 Now that rpcgen is squared away, arrange to have all the NIS XDR routines rpcgen-erated on the fly (just like librpcsvc). Makefile: Add rule for generating yp_xdr.c and yp.h. xdryp.c: gut everything except the special ypresp_all XDR function needed to to handle yp_all() (this one can't be created on the fly), and xdr_datum(), which isn't used internally by libc, but which as documented as being there in yp_prot.h, so what the hell. We now get everything else from yp_xdr.c. yplib.c: change a few structure member names to match those found in yp.h instead of those declared in yp_prot.h. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-14T08:21:33.000000Z K 7 svn:log V 29 Make math_emulators LKMable. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-14T08:26:14.000000Z K 7 svn:log V 145 Two x87 emulators as LKMs. If somebody with the right HW would make the change to /etc/rc to use this, we could rip MATH_EMULATE from GENERIC... END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-14T08:32:45.000000Z K 7 svn:log V 163 A Major staticize sweep. Generates a couple of warnings that I'll deal with later. A number of unused vars removed. A number of unused procs removed or #ifdefed. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-14T09:55:16.000000Z K 7 svn:log V 41 Another mega commit to staticize things. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-14T10:08:31.000000Z K 7 svn:log V 80 Add a section 9 about the kernel to out man pages. Please help fill this out ! END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-14T10:11:24.000000Z K 7 svn:log V 19 Add man9 to trees. END K 10 svn:author V 3 phk K 8 svn:date V 27 1995-12-14T10:50:27.000000Z K 7 svn:log V 53 Add a slightly edited version of the style document. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-14T14:19:19.000000Z K 7 svn:log V 473 Change the generic "btintr" function's name to "bt_intr" - the same as all the other bt_XXX() functions in i386/scsi/bt*. This the important effect of forcing a link error if the user is still using the old "vector btintr" which is dangerously wrong after Justin's updates to the driver. The correct isa vector line for the bt driver is "vector bt_isa_intr". Justin mentioned this in the commit message and updated LINT and GENERIC. This change is to enforce that.. :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-14T14:25:03.000000Z K 7 svn:log V 266 *hack alert*! :-) This adds an option to the MFS_ROOT code so that it is possible to boot a kernel with an empty in-core MFS image, and have it load the image from floppy directly. This is admittedly a hack and would be better replaced by a self-loading ram-disk. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-14T14:29:10.000000Z K 7 svn:log V 70 Update the skeleton DEVFS code to match reality a little closer.. :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-14T14:35:36.000000Z K 7 svn:log V 519 GENERIC/LINT: Remove redundant quoting on some option lines. LINT: add a couple of new/missing/undocumented options files.i386: add linux code so that you can compile a kernel with static linux emulation ("options LINUX") i386/*: use #if defined(COMPAT_LINUX) || defined(LINUX) to enable static support of linux emulation (just like "IBCS2" makes ibcs2 static) The main thing this is going to make obvious, is that the LINUX code (when compiled from LINT) has a lot of warnings, some of which dont look too pleasant.. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T18:13:14.000000Z K 7 svn:log V 26 Added `9' to ${SECTIONS}. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T18:19:40.000000Z K 7 svn:log V 29 Fixed manual section number. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T18:26:31.000000Z K 7 svn:log V 142 Don't use the normal `.Sh' indentation of 5 for the style guide. It screws up the indentation and the style guide is half about indentation. END K 10 svn:author V 6 julian K 8 svn:date V 27 1995-12-14T18:26:55.000000Z K 7 svn:log V 87 another case where cdevsw becoming a pointer makes it neccesary to check if it's NULL END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T19:04:09.000000Z K 7 svn:log V 26 Restored lost prototypes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T19:13:36.000000Z K 7 svn:log V 41 The change of [cb]devsw was missed here. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T19:38:40.000000Z K 7 svn:log V 82 Declared functions as static in their definitions as well as in their prototypes. END K 10 svn:author V 7 jfieber K 8 svn:date V 27 1995-12-14T19:42:35.000000Z K 7 svn:log V 104 Small formatting glitch in basic.sgml. Removed ftp.cybernetics.net from mirrors, added ftp.cs.uncc.edu. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T19:44:29.000000Z K 7 svn:log V 18 Added prototypes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T19:51:15.000000Z K 7 svn:log V 80 Moved prototypes to better places. Fixed indentation of some function headers. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T20:16:15.000000Z K 7 svn:log V 110 Included and updated to indirect devswitches so that this compiles again, and added a prototype. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T20:21:58.000000Z K 7 svn:log V 42 Fixed the type of some sysinit functions. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T22:03:12.000000Z K 7 svn:log V 490 Removed my devsw access functions [un]register_cdev() and getmajorbyname() which were a better (sigh) temporary interface to the going-away devswitches. Note that SYSINIT()s to initialize the devswitches would be fatal in syscons.c and pcvt_drv.c (and are bogus elsewhere) because they get called independently of whether the device is attached; thus devices that share a major clobber each other's devswitch entries until the last one wins. conf.c: Removed stale #includes and comments. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T22:32:52.000000Z K 7 svn:log V 113 Restored unused function ttrstrt(). It would be used if the low level drivers supported inter-character delays. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T22:35:45.000000Z K 7 svn:log V 24 Restored a vm #include. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T22:51:13.000000Z K 7 svn:log V 164 Nuked ambiguous sleep message strings: old: new: netcls[] = "netcls" "soclos" netcon[] = "netcon" "accept", "connec" netio[] = "netio" "sblock", "sbwait" END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T23:01:51.000000Z K 7 svn:log V 38 Fixed staticization of DDB functions. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T23:19:36.000000Z K 7 svn:log V 50 Restored formatting from the old printf/printf.c. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T23:23:48.000000Z K 7 svn:log V 19 Added a prototype. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T23:26:53.000000Z K 7 svn:log V 74 Completed function declarations and added prototypes. Sorted prototypes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T23:35:17.000000Z K 7 svn:log V 72 Moved some more prototypes outside of ifdefs and grouped them together. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T23:50:54.000000Z K 7 svn:log V 19 Added a prototype. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-14T23:59:04.000000Z K 7 svn:log V 44 Added a prototype. Merged prototype lists. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-15T00:11:27.000000Z K 7 svn:log V 74 Completed function declarations and added prototypes. Sorted prototypes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-15T00:29:31.000000Z K 7 svn:log V 45 Removed duplicated #includes of END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-15T00:40:38.000000Z K 7 svn:log V 26 Removed unused #includes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-15T00:54:32.000000Z K 7 svn:log V 98 Completed function declarations and/or added prototypes and/or added #includes to get prototypes. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-15T01:01:00.000000Z K 7 svn:log V 237 Disabled the sleep in ttyflush(). It can't work in general because ttyflush() might be called from an interrupt handler. This fixes panics in IXOFF mode at the cost of more failures to send the START character to exit from IXOFF mode. END K 10 svn:author V 3 bde K 8 svn:date V 27 1995-12-15T02:18:06.000000Z K 7 svn:log V 1452 Changed the maximum output queue count from (TTMAXHIWAT + 200) to (TTMAXHIWAT + OBUFSIZ + 100) in case someone changes OBUFSIZ. 200 was to allow 100 above high water for ordinary writes and another 100 for kernel printfs. Increased the reserved output queue count from 512 to the maximum output queue count. This prevents exhaustion of clists and increases the output throughput for 8 cy lines by almost a factor of 2 (on a system where there aren't many other open ttys so clists become exhausted after about 4 active lines (or earlier if TTMAXHIWAT is increased :-]). ttwrite() behaves very badly when clists are exhausted: (1) it sleeps on lbolt instead of on TSA_OLOWAT(tp). This could be fixed adequately by sleeping on TSA_OLOWAT(tp). The nonzero reserved count guaratees that space will become available independent of other ttys, and a reserved count of 512 is barely enough for efficiency. (2) it drops output if space runs out in the middle of special output processing. This is too hard to fix without hardening the reserved count. The watermark processing guarantees that space doesn't run out only if the advertised space is guaranteed. Increasing the reserved output queue count defeats the point of dynamic allocation of clists. Previously, about 2K of memory per tty was reserved (the raw queue was already reserved). Now, about 3.5K is reserved. Reserving everything would take a whole 0.5K more. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-15T02:57:40.000000Z K 7 svn:log V 98 Oops. I forgot the change to this file for supporting static configuration of the linux emulator. END K 10 svn:author V 5 peter K 8 svn:date V 27 1995-12-15T03:06:57.000000Z K 7 svn:log V 169 Clean up some warnings by using the generated structures in for passing to the bsd system calls, rather than inveninting our own equivalent structures. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1995-12-15T03:26:40.000000Z K 7 svn:log V 253 Clean up a few things left dangling after the last commit. The new XDR routines auto-generated by rpcgen don't quite match the format of the original ones even though tey have the same names (that was one of the things wrong with the old XDR routines). END