Commit Graph

19268 Commits

Author SHA1 Message Date
brian
eada59b88e Reset ip_divert_ignore to zero immediately after use - also,
set it in the first place, independent of whether sin->sin_port
is set.

The result is that diverted packets that are being forwarded
will be diverted once and only once on the way in (ip_input())
and again, once and only once on the way out (ip_output()) -
twice in total.  ICMP packets that don't contain a port will
now also be diverted.
1997-02-02 16:33:12 +00:00
davidn
f96247a130 Make username size dependant on MAXLOGNAME in sys/param.h. Was
previously hard-coded at 16 characters (and possibly overflowing
the field when NUL terminating a username of exactly 16 characters
in length).
1997-02-02 14:43:32 +00:00
wosch
55fe02abd1 ${DESTDIR}/usr/bin -> ${DESTDIR}${BINDIR} 1997-02-02 14:41:43 +00:00
wosch
a3a6062c6d Make ibcs2 a little bit saver. Add copyright. 1997-02-02 14:40:38 +00:00
davidn
c6f2c73939 Added:
ic=expect/send script    modem init script
    ac=expect/send script    modem answer script
    ct#val		     chat script timeout (seconds)
    rt#val		     recycle timeout (seconds) if 'ac' set
    dc#val		     debug bitmask for debugging chat scripts
    hw	(boolean)	     enable crtscts handshaking
    if=path		     'issue' file sent prior login prompt

chat.c is a simplistic expect/send chat module.
1997-02-02 14:24:57 +00:00
joerg
5e164803b6 Add a man page for the uio handling, after all the recent ramblings in
the hackers list.

Please correct me where i'm wrong.
1997-02-02 11:41:07 +00:00
joerg
83fd3890e2 Add a tools to get at the primary or grown defect list of a SCSI disk.
Submitted by:	dufault
1997-02-02 11:39:51 +00:00
kato
c836897672 Deleted i386_cpus[]. i386_cpus[] is a static variable in identcpu.c.
Found-by: lint
1997-02-02 10:43:35 +00:00
bde
ee7d1d310f Null-terminate the string in percent_decode() so that we don't depend on
malloc() returning zeroed storage or dump core while starting up.

Found-by:	/etc/malloc.conf ->AJ
1997-02-02 09:16:37 +00:00
kato
fb04f87834 Synchronize with sys/i386/isa/sio.c revision 1.158. 1997-02-02 08:09:41 +00:00
davidn
911bf57597 Fix bug in %s, %m, %r and %v macros not displaying data. 1997-02-02 07:38:26 +00:00
mpp
0e1fbde21d Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
julian
e6b42ddfe1 Description of what the files in this directory do..
(create sample device drivers on request)
1997-02-02 07:35:59 +00:00
davidn
5c0afad0d2 Added support for %s (sysname) %m (machine) %r (release) and %v (version)
prompt macros to agree with getty(8).
1997-02-02 07:33:50 +00:00
julian
bd62efe166 These two shell scripts will
create a skeleton device driver.
one for a real device and the other for a pseudo device.
they each take one argument which is the name (prefix) for the driver.

they add the new file to the /sys tree and add appropriate config files
etc for a build.

hopefully others will build on this so that we get
1/ these drivers improved and the shell scripts
improved in how/where that hook the new code in.
2/ similar tools for providing skeletons for other
modules (I'm tempted to do a VFS filesystem skeleton :)

please take a look and fix anything that maybe should be added.
they compile and link fine,
but I think I wouldn't trust them, as faar as RUNNING yet :)
(well they really wouldn't do very much being skeletons..

we need to add PCI  and EISA skeletons as well
followed by a SCSI driver skeleton.
1997-02-02 07:19:30 +00:00
mpp
a6c8953f94 Update some path references to reflect reality.
Submitted by:	max
1997-02-02 00:59:49 +00:00
joerg
2b3e3d7363 Add the a' option (`auto-size'') to bypass all tape length
considerations, and dump right to the end of medium.
1997-02-01 23:44:19 +00:00
max
b0c88e4d21 Instead of swapping ruid and euid before and after touching user's file,
simply drop the privilege right after the program is started.
Thanks to bde for giving me good suggestion about this problem.
1997-02-01 21:30:50 +00:00
ache
e254d33903 Don't use im/ei for xterm/dtterm/screen entries, use ic/IC instead.
Should go into 2.2
1997-02-01 21:02:53 +00:00
max
bfc02f8fbd Merge 1.202->1.203 changes. 1997-02-01 20:55:30 +00:00
ache
cdb88cb5f2 Remove empty im/ei/dm/ed entries
Don't use im/ei for vt200 because of conflict with ic,
pointed by bde. Shorten vt200-based entries as result.

Should go into 2.2
1997-02-01 20:47:30 +00:00
jdp
4aa42acf80 Fix a bug involving alias (N_INDR) symbols. When building a shared
library with a shared object dependency that contained alias symbols,
the linker incorrectly counted the number of symbols that would be
written, resulting in a fatal internal error.  Since our libc now
contains some alias symbols (in "net/res_stubs.c"), this was
sufficient to tickle the bug:  "ld -Bshareable foo.so -lc".  To
fix it, I moved the accounting of alias symbols to a later point
in the processing, where it is possible to count only those symbols
that will actually be written to the output file.

This fix is well-confined to affect alias symbols only.  I have
tested it with a full "make world".  I am going to merge it into
-2.2 after a few more days of living with it in -current.
1997-02-01 20:28:38 +00:00
joerg
1a26545f6f Correct the synopsis of some EISA or PCI drivers. They don't take
ISA-like arguments (anymore).
1997-02-01 19:54:23 +00:00
joerg
c470277cbf Correct the usage of fea0. It's an EISA driver now, so the ISA usage
is bogus.

Also, correct a stale comment about non-existing EISA support.
1997-02-01 19:53:12 +00:00
wosch
c38edbd738 Add Martin Cracauer to FreeBSD Developers list.
Forgotten by: JKH
1997-02-01 18:46:55 +00:00
jhay
1b1f322547 At the end it was much simpler than I thought. 26 * 26 = 676 and not 576.
South Africa and a few other countries exists again. This fix pr 2595.
This should go into 2.2.
1997-02-01 17:03:10 +00:00
bde
ae22a22184 Fixed the SMC fifo bug fix. sioopen() hung while input was streaming in
with <= 100 usec between each character arrival time.  This didn't happen
until rev.1.75 of clock.c because DELAY(100) used to delay for closer to
80 usec than 100 usec, and the minimum time between character arrivals is
87.8 usec at the maximum supported speed of 115200 bps 8N1.

Clear DCD timestamp flag on close (the input timestamp flag is already
cleared).
1997-02-01 16:04:16 +00:00
joerg
003c2e40f9 Make this texinfo file info-aware.
I notice info(1) has some problems moving back and forth through the
resulting info file, but emacs doesn't, so i figure it's rather a
problem with info(1) itself.  To the least, this file installs now
finally.
1997-02-01 11:25:49 +00:00
jdp
2ad3971515 Update the list of CVSup mirror sites. 1997-02-01 05:40:36 +00:00
max
0343f28794 Include string.h for prototype of strdup(). 1997-02-01 02:54:12 +00:00
jkh
219bca6ded Institute a fairly major format overhaul. 1997-02-01 01:08:35 +00:00
wollman
827e39354a Some fixes for HTTP:
1) Implement redirects (or try to, at least).
2) Implement automatic retry after 503 errors when Retry-After is given.
3) Implement a -a flag to enable both of these behaviors.
4) Recognize Transfer-Encoding headers and emit a warning that the file
  is likely to be damaged.
5) Bug fix: only write the amount of data we read.
6) Actually document some of these.
7) Fix the usage message to display flags in semi-alphabetical order.
1997-01-31 19:55:51 +00:00
kato
2a7214e7ab - KNFized pc98 specific files.
- Disabled unuseinit_cpu_accel_mem() which doesn't work now.
- Deleted extra space at the end of line.
1997-01-31 17:38:58 +00:00
max
bd5d098ad1 Style police:
- Indentation corrections
  - Spaces -> tabs.
  - func() -> func () (To be consistent with the original code.)
  - Check if getopt() returns -1, not EOF.

Suggested by:	bde
1997-01-31 15:04:23 +00:00
kato
1f160cfbad Synchronize with sys/i386/isa/syscons.c revision 1.200. 1997-01-31 11:24:01 +00:00
kato
9f56e26b51 Synchronize with sys/i386/i386/locore.s revision 1.80. 1997-01-31 11:23:18 +00:00
dyson
0ebe30bff0 Another fix to inheriting shared segments. Do the copy on write
thing if needed.
Submitted by:	Alan Cox <alc@cs.rice.edu>
1997-01-31 04:10:41 +00:00
uhclem
2b6aeca8b6 Submitted by: Frank Durda IV <uhclem@nemesis.lonestar.org>
Fixed some typos and improved a few descriptions over my first revision.
1997-01-31 04:05:41 +00:00
mpp
d292298ce7 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
mpp
e66676b3dd Don't use hardcoded *roff escape sequences. Use mdoc macros instead. 1997-01-31 01:14:16 +00:00
mpp
e4bf464ad3 Don't use hardcoded *roff font change requests. 1997-01-31 01:06:39 +00:00
mpp
6732dc3675 Don't use hardcoded *roff font change requests. Do it
via mdoc macros instead.
1997-01-31 01:00:12 +00:00
mpp
09b7521f96 Minor mdoc cleanup. 1997-01-31 00:38:18 +00:00
mpp
1511fd26d0 Very minor mdoc cleanup. 1997-01-31 00:25:12 +00:00
mpp
329d4e7056 Update to reflect current include files. 1997-01-31 00:05:08 +00:00
mpp
ac703727d2 Update to reflect current include files. 1997-01-30 23:57:31 +00:00
mpp
7baf285865 Actually remove the old netns/netiso man pages. They haven't
been installed for the last 9 months or so anyways.
1997-01-30 23:51:48 +00:00
mpp
2a174308fe Update to reflect current include files. 1997-01-30 23:49:46 +00:00
mpp
0037fcc3a0 Update to reflect current include files. 1997-01-30 23:10:32 +00:00
mpp
8cd7b6a670 Update to reflect current include files. 1997-01-30 23:01:49 +00:00