Commit Graph

20342 Commits

Author SHA1 Message Date
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
wosch
87c7314537 Document comments. 1997-03-09 12:20:48 +00:00
bde
0e6e90b583 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
183db9bd07 YAMInTheWrongDirectionF22 (part of rev.1.28.2.3: set B_CLUSTEROK for
commits).
1997-03-09 10:21:26 +00:00
bde
cd27250b3f Don't use a dot in the chown command. Fixed some minor style bugs.
Building things at install time under ${DESTDIR} was too hard to fix.

Bruce
1997-03-09 09:41:44 +00:00
bde
5a5de87815 Fixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Removed stale comment.
1997-03-09 07:27:18 +00:00
bde
7caf0a8569 Don't use a dot in the chown command. In fact, don't use a chown command.
Use mtree instead of mkdir+chown+chmod to build the subdirectory hierachy.
The corresponding mtree command in src/etc/Makefile can't be relied on
because the hierachy gets blown away in the default SHARED=symlinks case.
1997-03-09 07:12:37 +00:00
bde
416358e009 Added forgotten directories netns and pccard. The bug was masked by
bogons in /usr/src/include/Makefile.
1997-03-09 06:57:00 +00:00
mpp
337d5031df Update a number of routines to reflect the actual name
of the routine that caused the panic.
1997-03-09 06:10:36 +00:00
bde
b7c11be405 Don't use a dot in a chown command. In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Don't hide the build steps using @.  Install with mode ${NOBINMODE}
instead of 444.

Poor source layout made this harder than it should have been.  E.g.,
a suffix rule can't be used because of the subdirectories, and a
new makefile per subdirectory (i.e.m per data file) would be excessive.
See /usr/src/usr.bin/mklocale for a better organisation.
1997-03-09 06:08:22 +00:00