Commit Graph

20150 Commits

Author SHA1 Message Date
peter
a7651ae03f This commit was generated by cvs2svn to compensate for changes in r23650,
which included commits to RCS files with non-trunk default branches.
1997-03-11 11:11:37 +00:00
peter
782f09f3a3 Import CSRG 4.4BSD-Lite2 includes onto vendor branch 1997-03-11 11:11:37 +00:00
peter
1c9bc538cc Import CSRG 4.4BSD-Lite2 includes onto vendor branch 1997-03-11 11:11:37 +00:00
peter
d1dbdd4775 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
6a59e9874c 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
c7f5e93fb6 Avoid double-s when #conflicts drops from 10 to 9. 1997-03-11 07:11:46 +00:00
jkh
18336a5c87 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
5a46e2d999 YAMF22 1997-03-11 06:40:38 +00:00
hanai
b1768676c5 Catch up with the original. 1997-03-11 03:04:03 +00:00
jkh
55e57b5c38 Use correct email address for registration. 1997-03-11 00:07:59 +00:00
jkh
5fde97e614 Add support for ports collection distribution. 1997-03-11 00:07:11 +00:00
ache
a26433653d Add <ss> and ss ordering 1997-03-10 21:59:53 +00:00
jkh
0d6f924c83 Sync with 2.2. 1997-03-10 21:11:57 +00:00
joerg
c6c597d77c 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
70d9256034 Add char#80 xdcp, assigned to Chris Ficklin <chris@serengeti.com> 1997-03-10 20:25:45 +00:00
guido
6424c35fe5 Fix buffer overflow 1997-03-10 19:52:12 +00:00
guido
301e38a7c7 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
58d0de0af2 Update russian mirrors. 1997-03-10 19:38:14 +00:00
guido
360d0288af Check for overflow of FD_SET 1997-03-10 19:32:46 +00:00
joerg
e04a1d3dae 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
7ce108fa44 Fix a logico in my last (commented out) commit. 1997-03-10 19:18:23 +00:00
guido
ee328d1053 Fix buffer overflow (probably unexploitable). 1997-03-10 19:10:08 +00:00
markm
b9bbdddaef Move this files* entry for the Brooktree TV driver toi the right 'files*'. 1997-03-10 17:55:49 +00:00
wpaul
fa103161aa 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
2c0b9d3e09 Fixed the Cyclades and Digiboard port numbers. 1997-03-10 14:17:49 +00:00
asami
41b38f90e7 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
c451bc1963 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
f3a1d2d10b 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
e42279e3a4 Add ^ getpid() for better srandom results 1997-03-10 07:46:03 +00:00
ache
6b876318f9 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
3cedb15d26 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
72ad5433ec 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
090d63c638 Catch up with the original. 1997-03-10 03:04:05 +00:00
danny
d560eb48f9 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
70f1a846e8 Catch up with the original. 1997-03-10 01:09:48 +00:00
wosch
83120b3a6e Add comments. 1997-03-09 23:10:56 +00:00
wosch
aeef98f54f Sync with /etc/mtree/BSD.*.dist 1997-03-09 22:39:56 +00:00
jkh
0ad2141985 Add registration help screen. 1997-03-09 22:35:12 +00:00
jkh
64a4ef26e3 Add a registration screen so we can finally start counting our little user
puppies.
1997-03-09 22:25:49 +00:00
jmg
065dd6e878 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
c57ef8a4b8 cdefs cleanup 1997-03-09 20:09:17 +00:00
ache
cbf11028b7 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
e35e9b7893 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
f8f023c67d 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
21e28b2bc8 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
ffbea2b4fb Add reference to `PMake - A Tutorial' 1997-03-09 15:51:07 +00:00
bde
98c56723a1 Include <machine/asm.h> instead of kernel-only <machine/asmacros.h>. 1997-03-09 14:01:11 +00:00
bde
18b105d2d0 Moved userland assembler macros from <machine/asmacros.h> to
<machine/asm.h>.
1997-03-09 13:57:33 +00:00
mckay
83fe9d345c 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
14b70bde05 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