Commit Graph

20399 Commits

Author SHA1 Message Date
peter
f1a22bd4be Kill sup from the main sources now that the ports version is updated.
This puts it on the same footing as cvsup.  It's been suggested on
numerous occasions that I shouldn't have imported it in the first place,
and now that sup has outlived it's usefulness.....  Boom!
1997-03-11 10:52:21 +00:00
jkh
266d7fba02 Merge all my sysinstall changes over to the 2.1 branch.
I just have this feeling... :)
1997-03-11 09:29:42 +00:00
msmith
af5e57db7f Avoid double-s when #conflicts drops from 10 to 9. 1997-03-11 07:11:46 +00:00
jkh
380e25592f close PR#2942 - add src/contrib to list of src components.
Submitted by:	sjr1@flash.net
1997-03-11 06:42:03 +00:00
jkh
4baf33872c YAMF22 1997-03-11 06:40:38 +00:00
hanai
6a994ea73d Catch up with the original. 1997-03-11 03:04:03 +00:00
jkh
d90c077504 Use correct email address for registration. 1997-03-11 00:07:59 +00:00
jkh
b52bec53e1 Add support for ports collection distribution. 1997-03-11 00:07:11 +00:00
ache
e7a6197177 Add <ss> and ss ordering 1997-03-10 21:59:53 +00:00
jkh
d293740501 Sync with 2.2. 1997-03-10 21:11:57 +00:00
joerg
130c16d5a4 Add a quirk entry for the HP6020i, after John has just confirmed that
it works now.

Submitted by:	jhay@zibbi.mikom.csir.co.za (John Hay)
1997-03-10 20:51:17 +00:00
phk
a340bafab5 Add char#80 xdcp, assigned to Chris Ficklin <chris@serengeti.com> 1997-03-10 20:25:45 +00:00
guido
bb4c208876 Fix buffer overflow 1997-03-10 19:52:12 +00:00
guido
2f74bc969e This is a funny one: df for a device that was not mounted used to fail
for root only.
1997-03-10 19:39:43 +00:00
jkh
29bc8223a6 Update russian mirrors. 1997-03-10 19:38:14 +00:00
guido
39c96d6474 Check for overflow of FD_SET 1997-03-10 19:32:46 +00:00
joerg
09f1f2a58b Fix a gross bug in the ! operator optimization code. The following
kind of expressions caused a dereferencation of an uninitialized malloc
area, yielding wrong expression evaluation at best, and core dumps at
worst (malloc.conf -> AJ):

	find ... ! \( expr1 ! expr2 \) ...
1997-03-10 19:20:39 +00:00
joerg
d385496034 Fix a logico in my last (commented out) commit. 1997-03-10 19:18:23 +00:00
guido
b27e3f2aef Fix buffer overflow (probably unexploitable). 1997-03-10 19:10:08 +00:00
markm
a104d2dec7 Move this files* entry for the Brooktree TV driver toi the right 'files*'. 1997-03-10 17:55:49 +00:00
wpaul
7ff7ea9cd1 Fix brain-o in SunOS passwd.adjunct stuff: !strstr(s, "##") is a) bad
style and b) the wrong logic. Should be strstr(s, "##") != NULL. (Note
that the passwd.adjunct stuff has not been merged into 2.2 so this bug
is not in that branch.)
1997-03-10 16:47:19 +00:00
bde
ad874422e4 Fixed the Cyclades and Digiboard port numbers. 1997-03-10 14:17:49 +00:00
asami
ebb6ff3c7e Ask user to carefully examine changes when sending an upgrade. (Actually,
this is the main reason why we want them as diffs.)  Also, ask them to
explicitly state files that are added or deleted (lazy committers like me
often forget to "cvs add" or "cvs remove").
1997-03-10 11:55:17 +00:00
asami
303b625563 Remove part about sending in complete ports for an upgrade, we prefer
recursive diffs in any case.
1997-03-10 09:55:20 +00:00
ache
78da0d5742 Do not re-initialize random numbers generator several times.
Use ^ getpid() to produce better initial state.
1997-03-10 08:04:15 +00:00
ache
a340e72bff Add ^ getpid() for better srandom results 1997-03-10 07:46:03 +00:00
ache
8a8c723f8e Detect failure open condition for direct mode now
Don't assume that modem descriptor must be >=3 in CloseModem,
just assume it is any valid descriptor >=0
1997-03-10 06:54:58 +00:00
markm
075d27ba8e Initial import of the Brooktree PCI-TV drivers. I have not tested
these, they may not even compile. I am importing them on behalf
of the submitters.
Submitted by:	amancio, smp
1997-03-10 06:38:26 +00:00
ache
e9a946ef3e Don't waste time scanning tun_in+10 descriptors, scan exactly what
we need now.
Don't assume that file descriptor can't be 0 (many places)
Protect FD_* macros from being used with negative descriptors
Shorten MS EXT show help to fit 80 cols
1997-03-10 06:21:02 +00:00
hanai
262892c212 Catch up with the original. 1997-03-10 03:04:05 +00:00
danny
98fd8974f6 Update MAKEDEV to handle lots of tun devices, consistent with the tun device
selection code in usr.sbin/ppp/os.c (tun0-tun127, rather than tuna and tunb).
Also, make it make all devices up to and including the requested one.
1997-03-10 02:10:58 +00:00
hanai
477ae9e7a3 Catch up with the original. 1997-03-10 01:09:48 +00:00
wosch
c9975cee77 Add comments. 1997-03-09 23:10:56 +00:00
wosch
88b3e6188d Sync with /etc/mtree/BSD.*.dist 1997-03-09 22:39:56 +00:00
jkh
ba9be1f1bb Add registration help screen. 1997-03-09 22:35:12 +00:00
jkh
636598f561 Add a registration screen so we can finally start counting our little user
puppies.
1997-03-09 22:25:49 +00:00
jmg
1be4650826 replace non-existant ioctl [GP]IO_STRMAP with what really does exist,
[GS]ETFKEY...

Definately a 2.2 Candidate

a clean up of this page is to follow....  but I'm not sure I'll have it
before 2.2 is to be released...
1997-03-09 20:53:20 +00:00
ache
03e7c0c645 cdefs cleanup 1997-03-09 20:09:17 +00:00
ache
6a6c22b3a8 I remove pending signals completely, they are not useless, they are
dangerous! Signal handlers themself must be fixed to not call malloc,
but no pended handlers, it will be correct fix. In finite case each signal
handler can set some variable which will be analized later, but calling
handler functions manually is too dangerous (f.e. signals not blocked while
the handler or handlers switch executed in this case). Of course this
code can be fixed instead of removing, but it not worth fixing in any case.

Should go into 2.2

In addition sig.c code shows following dangerous fragments (there can be more,
but I stop after two):

This fragment

    if (fn == SIG_DFL || fn == SIG_IGN) {
	handler[sig-1] = (sig_type)0;
	<------------- here
        signal(sig,fn);
    } else {

cause NULL pointer reference when signal comes
"here", but more worse fragment is below:

void handle_signals() {
    int sig;

    if (caused)
       for (sig=0; sig<__MAXSIG; sig++, caused>>=1)
           if (caused&1)
               (*handler[sig])(sig+1);
}

caused is bitmask which set corresponding bit on each signal coming.
And now imagine, what happens when some signal comes (bit sets) while loop
is executed (see caused>>=1 !!!)

In this light carrier drop situation was (as gdb shows)
1. SIGSEGV in handle_signals because some junk called as *handler reference.
2. Since SIGSEGV was pended too (== never happens),
it can cause various range of disasters.
1997-03-09 20:03:51 +00:00
kato
429cd71790 Makefile generates boths IBM-PC and PC-98 version of object code in
apm_init.inc.  The PC-98 version of object is included in `#ifdef
PC98'.

Pointed-out by:	URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
1997-03-09 16:46:05 +00:00
kato
315d3a72e4 Added PC-98 specific function to get battery status.
Submitted by:	URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
1997-03-09 16:40:13 +00:00
bde
6dc700613a Use __ieee754_sqrt() instead of sqrt() internally. Similarly for the
float versions.  Using sqrt() was inefficient.

Obtained from:	NetBSD
1997-03-09 16:29:29 +00:00
wosch
154b7d3e6c Add reference to `PMake - A Tutorial' 1997-03-09 15:51:07 +00:00
bde
b964069da2 Include <machine/asm.h> instead of kernel-only <machine/asmacros.h>. 1997-03-09 14:01:11 +00:00
bde
323777f28d Moved userland assembler macros from <machine/asmacros.h> to
<machine/asm.h>.
1997-03-09 13:57:33 +00:00
mckay
0df49cb9cf Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid.
Safe for 2.2!
1997-03-09 13:16:48 +00:00
wosch
01b8721dc8 Support comments in password database (/etc/master.passwd).
Comments in group database (/etc/group) are currently not
supported - adduser silently delete blank lines and comments.
1997-03-09 12:21:45 +00:00
wosch
871486be75 Document comments. 1997-03-09 12:20:48 +00:00
bde
d0359498f7 Cloned src/lib/libc/i386/DEFS.h to create <machine/asm.h> for the i386.
The former file was too hard to get at from other parts of the src tree
and will go away.
1997-03-09 10:39:15 +00:00
bde
23d82fc079 YAMInTheWrongDirectionF22 (part of rev.1.28.2.3: set B_CLUSTEROK for
commits).
1997-03-09 10:21:26 +00:00