Commit Graph

17852 Commits

Author SHA1 Message Date
swallace
469f32f784 Soften range-check for LDTs.
Reviewed by:	bde
1996-12-12 17:57:50 +00:00
jkh
c69e47ec94 smart-alec error checking. 1996-12-12 16:55:37 +00:00
jkh
e9d9f1a03f The infamous IP aliasing code for ppp, modified to work as a runtime option
(otherwise ppp's behavior remains unchanged) and documented by myself,
Steve Sims, Nate Williams, Martin Renters and god-only-knows who else. :-)
Submitted by:	nate
Obtained from:	Charles Mott <cmott@srv.net>
1996-12-12 14:39:47 +00:00
kato
ea690c232d Synchronize with sys/i386/i386/machdep.c revision 1.219.
2.2 candidate.
1996-12-12 13:10:50 +00:00
jkh
6295d8ebdd Nuke extraneous section. 1996-12-12 11:12:42 +00:00
jkh
9c09bbeddd Line up some of these OK boxes properly again. 1996-12-12 11:05:59 +00:00
asami
76dcb34013 Add missing mann and catn directories.
2.2 candidate.
1996-12-12 10:06:38 +00:00
jkh
8a558d3585 Whups, remove relic from close method going away. 1996-12-12 08:36:25 +00:00
jkh
61be8f66cf Undo one of my memory optimization hacks - it actually made things more
complicated.
1996-12-12 08:33:38 +00:00
jkh
29d7f1c318 Fix some bogons in my close() handling. 1996-12-12 08:23:51 +00:00
asami
7f054c1fb9 Fix the "moving head" problem. 1996-12-12 04:37:35 +00:00
asami
f08c8082ad Change delimiter of substitution that uses MANLANG from .' to %', so
things like `ja_JP.EUC' will work.

Suggested by:	max
1996-12-12 04:32:25 +00:00
dg
954016a14b Fix allocation for exech_map to be 16*PAGE_SIZE rather than 32*PAGE_SIZE
so that it is scaled the same as exec_map (16 concurrent exec'ers).
1996-12-12 04:20:50 +00:00
max
ab5cd7da2c Merge the changes to en version (1.170 -> 1.171). 1996-12-12 02:05:30 +00:00
alex
2bbb988ec4 POSIX.4 defines MAP_FAILED to be the error return from mmap(). 1996-12-12 01:00:14 +00:00
obrien
cfc0f8607d Added Stefan Moeding <moeding@bn.DeTeMobil.de> for his port of LCLint. 1996-12-11 22:54:52 +00:00
max
7f340ebf13 Merge the changes made to the en version (1.18 -> 1.19). 1996-12-11 22:32:34 +00:00
max
0bcc8d55f7 Merge the changes made to en version (1.61 -> 1.63).
Submitted by:	Takashi Saeki <saeki@saskg.semicon.sony.co.jp>
1996-12-11 22:08:45 +00:00
wollman
879a7ef0ad Merge from vendor branch. 1996-12-11 21:04:17 +00:00
wollman
fb026d953f This commit was generated by cvs2svn to compensate for changes in r20339,
which included commits to RCS files with non-trunk default branches.
1996-12-11 20:59:33 +00:00
wollman
83f39a352f New version of Vern's routed. This includes more byte-order fixes,
some MD5 fixes, better tracing, configurable redirect processing,
and a fix to split-horizon/poisoned-reverse treatment.

Submitted by:	Vernon J. Schryver <vjs@mica.denver.sgi.com>
1996-12-11 20:59:33 +00:00
wollman
2bf6d9001a Understand queue-ized ifnet structures. 1996-12-11 20:39:43 +00:00
wollman
9b9067caec Use queue macros for the list of interfaces. Next stop: ifaddrs! 1996-12-11 20:38:25 +00:00
adam
46eb306a07 repair editor damage 1996-12-11 20:13:23 +00:00
jkh
85d529aa13 Cosmetic tweaks, initialize a few variables, fix a reversed conditional. 1996-12-11 19:35:26 +00:00
martin
04f954db47 Two fixes:
makerom checksum check calculation was a no-op
	nb8390.c had a bug which caused packet_len to be incorrect
	for packets which wrapped in the buffer.
Submitted by:	Linux developers (I lost the email with their names)
1996-12-11 19:33:38 +00:00
wollman
7ae38829d7 Convert this program to use sysctl rather than kvm for some of its
statistics.  Unfortunately, the coverage of sysctl isn't good enough to do
all of them :-( .
1996-12-11 19:11:52 +00:00
jkh
a08645acaf Stomp the 4MB boot floppy and punt on 1.2MB floppy images. It's a battle
we're constantly losing and will concede for now.  Brilliant ideas
taken at the front desk.
1996-12-11 18:26:19 +00:00
jkh
17cc23f578 Be more efficient in how we use memory (stumbled across while looking for
something else) for attributes and variables.

Remove stack-stomper in sstrncpy().
1996-12-11 18:23:19 +00:00
wollman
e1e9e3aa19 Include <net/if_arp.h> in the one header that requires it,
<netinet/if_ether.h>, rather than in <net/if.h>, most of whose callers
have no need of it.

Pointed-out-by:	bde
1996-12-11 17:46:33 +00:00
kato
35458b6b2f Sync with sys/i386/boot/biosboot/disk.c revision 1.23. 1996-12-11 16:58:01 +00:00
kato
eb78650b9d Sync with sys/i386/isa/if_ed.c revision 1.110.
It's not 2.2 candidate.
1996-12-11 16:55:27 +00:00
kato
140c1d6d19 Sync with sys/i386/i386/machdep.c revision 1.218.
It's not 2.2 candidate.
1996-12-11 16:51:15 +00:00
joerg
8b50c9b074 Update from David, reflecting Wolfram's wishes regarding limitation of
the allowable character set.

Submitted by:	David Nugent
1996-12-11 15:10:47 +00:00
jfieber
778dd416a5 The *current* release is 2.1.6, not 2.2. 1996-12-11 14:14:28 +00:00
joerg
2f3249e305 Add another matching algorithhm to do heuristics for international
language text files.

Should finally close PR # bin/1925: file does not consider cyrillic
text..., though i've never got any response from the originator about
my suggestion.

While i was at it, also move out the `magic' file to /usr/share/misc,
there's nothing that magic with this file to justify its life under
/etc.
1996-12-11 14:09:12 +00:00
asami
ee57f46ce0 Update to reflect new release (2.2, January 1997). 1996-12-11 11:41:35 +00:00
asami
2cb26ea561 Extend the manpage compression handling a bit.
(1) MANLANG is now a list (defaulting to ""), so if you have English
    and Japanese-EUC versions of the manpages, you can say something
    like `MANLANG= "" ja_JP.EUC' and manpage compression will DTRT.

(2) Add new variables MAN%cPREFIX (where %c=[1-9LN]) which default to
    MANPREFIX (which defaults to PREFIX), to specify per-section
    prefixes.  In particular, this handles the cases in many perl
    ports, which install man1pages into man/man1 and man3pages into
    lib/perl5/man/man3.

Note these modifications won't change the behavior of existing
variables used in previously-approved ways, so any Makefile that
worked before will still continue to work.
1996-12-11 10:17:44 +00:00
jkh
0450208ebc Whoops, add -lftpio 1996-12-11 10:13:31 +00:00
phk
5261c5cfd6 Don't look for encumbered objects, but encumbered sources. 1996-12-11 10:02:29 +00:00
jkh
25f273a087 The manual page of df called cd9660 file systems by the name
isofs while the df command itself used the name iso9660fs or
        cdfs. Both of these were inconsistent with the name cd9660 which
        is used by the mount command. I modified df to recognize all of
        the names cd9660, cdfs, isofs, and iso9660fs, and take them all
        to refer to the same thing. Naturally I added a note of this
        behaviour in the manual page too.

Submitted-By: Jukka Ukkonen <jau@jau.csc.fi>
1996-12-11 10:01:56 +00:00
phk
2b9e1346f3 Please shut up if asked to be quiet. 1996-12-11 09:38:18 +00:00
jkh
3727883bdd Do a few things I've been threatening to do for a long time:
1. Don't use the MSDOSFS code for accessing FreeBSD distribution data.
   Use Robert Nordier's stand-alone DOS I/O library for the purpose.
   It this works as well as Robert says it does, it should drastically reduce
   (or even eliminate) our "I can't install from my DOS partition!" calls.

2. As a result of the above, go to stdio file descriptors for all
   media types.

3. Taking advantage of #2, start using libftpio for FTP transfers instead
   of maintaining our own parallel version of the FTP transfer code.
   Yay!  I ripped something out for a change!

#1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
1996-12-11 09:35:06 +00:00
asami
90d182874d See Jordan, I told you we'll have more than 700 ports before the release. :) 1996-12-11 08:13:47 +00:00
dyson
a89cefdca9 One minor mod to set the limit of nbufs to 2048 from 1536. More important
fix to exech_map, it used 32*ARG_MAX, and it should use 32*PAGE_SIZE.
1996-12-11 05:52:15 +00:00
dyson
b0bde11dba When mmap is used, do an madvise(MADV_SEQUENTIAL) to make things
go much more quickly when file input is really done.  Of course, the
fully cached case will make no difference.
1996-12-11 05:20:20 +00:00
dyson
dc23aee2cc Significant performance improvement for mmap'ed files. This commit
makes MADV_SEQUENTIAL much more effective.  I suggest that
we start using MADV_SEQUENTIAL on system utilities that mmap
their input files, and the I/O is predominantely sequential.
Below is a test with 'cmp' on two relatively large binary files,
where the files are so large that the caching is ineffective:

+ ls -l t1.xxx t2.xxx
-rw-r--r--  1 root  wheel  65598384 Dec 10 12:13 t1.xxx
-rw-r--r--  1 root  wheel  65598384 Dec 10 12:14 t2.xxx

+ time cmp t1.xxx t2.xxx
3.78user 0.70system 1:33.43elapsed 4%CPU

+ time cmpmadv t1.xxx t2.xxx
4.21user 1.05system 0:30.93elapsed 17%CPU

This change is as a result of an observation made by BDE.
1996-12-11 05:17:23 +00:00
asami
52b62dd3c5 Add support for uncompressing manpages that are already installed
compressed.

Requested by: obrien
Change name of -D option (to pkg_create) file to MESSAGES.  (More
friendly to filename completion.)
1996-12-11 04:51:31 +00:00
dg
ca970b266b Only pay attention to the offset and the IP_MF flag in ip_off. Pointed
out by Nathaniel D. Daw (daw@panix.com), but fixed differently by me.
1996-12-11 03:26:36 +00:00
max
560cc4d01b Merge the changes made to en version (1.169 -> 1.170). 1996-12-11 01:52:38 +00:00