Commit Graph

4188 Commits

Author SHA1 Message Date
jkh
c3a24d3988 Cosmetic - the help screen didn't have its header properly formatted. Needed
an extra tab.
1994-11-08 02:25:20 +00:00
ache
3d9a758afc Add gnu/include to includes target 1994-11-08 00:55:08 +00:00
ache
bded064c6b Add include 1994-11-08 00:50:00 +00:00
ache
5b939ba324 Add missing values.h (it isn't part of libg++ anymore) but it
accords ANSI standard, provides backward 1.x compatibility and
used in many applications.
1994-11-08 00:47:04 +00:00
phk
3a6f130649 *** ATTENTION *** YOU MIGHT BE ABOUT TO BE HOSED *** ATTENTION ***
This effectively changes the non-DES password algoritm.

If you have the "securedist" installed you will have no problems with this.
(Though you might want to consider using this password-encryption instead
of the DES-based if your system is likely to be hacked)

If you are running a -current system without the "securedist" installed:
YOU WILL NEED TO CHANGE ALL PASSWORDS !!    There is no backwards mode.

Suggested procedure is:
	Update your sources
	cd /usr/src/lib/libcrypt
	make clean
	make all
	make install
	passwd root
		<set roots new password>
	change password for any other users on the system.

This algorithm is expected to be much better than the traditional DES-
based algorithm.  It uses the MD5 algorithm at what it is best at, as
opposed to the DES algorithm at something it isn't good at at all.  The
algorithm is designed such that it should very hard to shortcut the
calculations needed to build a dictionary, and to make partial knowledge
(Hmm, his password starts with a 'P'...) useless.  Of course if somebody
breaks the MD5 algorithm this looses too.

The salt is 48 bits (8 char @ base64).
The encrypted password is 128 bits.

And I am positively delighted to say that it takes 34 msec to crypt() a
password on a Pentium/60Mhz, so building a dictionary is not really an
option for hackers at the moment.
1994-11-07 21:07:09 +00:00
phk
64fd87abc6 Added "const" to the arguments here and there. 1994-11-07 20:48:35 +00:00
ache
5087bcc0e9 Set given term name exactly, not first name from termcap entry.
It helps for rlogin/telnet to another systems without our termcap
1994-11-07 20:26:35 +00:00
joerg
6286d596ef Avoid a division by zero if the actual sector size isn't known during the
device announcement; assume a sector size of 512 instead (likely to be
right at all).
This case happens when booting with a removable disk device attached
(e.g. an MOD), but no medium inserted.
1994-11-07 20:09:35 +00:00
wollman
0c83e6c366 Treat formfeeds like any other whitespace. 1994-11-07 19:57:20 +00:00
phk
32c6962fe3 A semicolon was lost. 1994-11-07 19:54:55 +00:00
jkh
5a82a8a315 My last cosmetic changes. 1994-11-07 13:48:54 +00:00
jkh
e97091b2f7 Commit latest working sources. Go to bed. 1994-11-07 13:43:27 +00:00
jkh
f040c5dd9a Fix a botch Poul introduced. 1994-11-07 11:30:15 +00:00
dg
04fd7cb15d Improved the user interface:
1) Added file list capability via '?'.
2) Arranged usage info to be more unix-like.
3) Fixed backspace over prompt annoyance.
1994-11-07 11:26:30 +00:00
jkh
696e7df5cb Add a little bit of documentation about how to use dialog boxes
and such.
1994-11-07 10:39:14 +00:00
jkh
ffc9c6109d Just a little last-minute stylistic cleanup. 1994-11-07 10:35:55 +00:00
jkh
a3e6da1ab2 2 11th-hour fixes from Ugen (not Uben, sorry!) J.S.Antsilevich.
I think it's time for Ugen to get a freefall account, just so I can
direct mail at him directly and let him drop off patches for us here.  Ugen?
Done!
Submitted by:	ugen
1994-11-07 10:01:32 +00:00
jkh
760c24b9cb Remove extract.sh from CPIO3 - there's no reason for it on the cpio dist.
It's supposed to come with a package or *dist.
1994-11-07 09:54:23 +00:00
jkh
ec153ececa Cosmetic. 1994-11-07 09:49:06 +00:00
jkh
55d31de697 From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com>
Given the right circumstances, a call to kvm_open can result in a core
dump.

The diff belows fixes this (note that this change is already in the
NetBSD code). Could somebody apply this?

Gary J.
Submitted by:	gj
1994-11-07 09:42:24 +00:00
dg
bac3f5da4f Enabled build/install of kgdb. 1994-11-07 08:22:17 +00:00
jkh
e140e76cce Beat this quite a bit more into shape. Almost there - time to test at
least one major install method.
1994-11-07 06:23:07 +00:00
phk
f936993f75 cleanup 1994-11-07 05:02:42 +00:00
phk
6cfefc90fc Always clear before we "TellEm()" 1994-11-07 04:53:23 +00:00
phk
4d3c992957 As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1. 1994-11-07 04:40:26 +00:00
phk
a5c82492bb Calling sync will panic you more often than not. 1994-11-07 04:23:58 +00:00
phk
c554ab278d Update make.conf and sys.mk to reflect the most recent advances in
civilization:  Use -O2 and MSUN as default, and X11 is in /usr/X11R6
1994-11-07 04:18:04 +00:00
phk
083ed2ed48 Only so savecore if people ask for it. 1994-11-07 04:02:26 +00:00
phk
704aaf3303 Get us back on fd1200 floppies. Fix extract.sh to right filenames. 1994-11-07 03:53:14 +00:00
phk
41a6f35e59 Added a kernel variable, "dodump" defaulting to zero, which disables dumps.
Somebody should make a mib variable for it.
Just now it is pointless to dump the kernel, since we have nothing which
can read the dump.
Furthermore is should never be the default to dump.
	options	DODUMP
will enable dumps.
1994-11-07 03:51:32 +00:00
phk
18f146fbfb Only Mount relative to Written disklabel. 1994-11-07 00:41:38 +00:00
phk
8d295e0575 Add extract-script. 1994-11-06 23:47:06 +00:00
phk
015897edf1 Never have more than one active partition. 1994-11-06 23:33:20 +00:00
phk
743dc5609d Initialize %fs and %gs from %ds.
This seems to stabilize the APM-bios on my Gateway Handbook, and it makes
sense in general too.
1994-11-06 22:18:45 +00:00
ats
ab7f4ffbdb Put a small hack into a large hack named makeyscall.sh. Generate only
one lkmnosys() entry in init_sysent.c.
1994-11-06 21:57:16 +00:00
bde
413b4a9ce3 Restore my fixes to 2.6.0. The changes should not affect anything except
profiling and wchar_t.  Profiled libraries will shrink.

tm.h:
Our wchar_t is int, not unsigned short.
Always link statically if profiling.
Define all the SPECs together.

final.c, tm.h:
Don't emit unused profiling code and data.

aux-output.c:
Always preserve the PIC register if profiling.

aux-output.c, tm.h:
Implement FUNCTION_PROFILER_EPILOGUE (currently not used).

New:
tm.h:
Set the target defaults in the correct way.
1994-11-06 21:32:11 +00:00
phk
fcd393a845 Always make the salt a 8 char string (incl '\0') for algorithms that can use it 1994-11-06 21:08:19 +00:00
ache
15d2b8ac8b After fixing curses bugs use LINExCOLS in show file 1994-11-06 15:35:50 +00:00
ache
3be9b53777 This curses fix allows to print something in lower right corner
if insert_character is available or don't print, if not
1994-11-06 15:30:37 +00:00
jkh
ea70338bcc Default boot floppies are 1.44MB again - I ran out of space. HOWEVER,
there is an extra target now for creating a 1.2MB floppy at the cost
of a few of the doc files.  Just do a `make small.floppies' instead of
a `make floppies' to make a small set.
1994-11-06 11:24:58 +00:00
ache
96ff569207 Security nitpicking: don't make *.core world readable 1994-11-06 11:13:02 +00:00
jkh
128ec6d30d If a file is not present, it's not an error. This means you're using the
1.2MB floppy image.
1994-11-06 11:09:18 +00:00
dg
4f72c5dccd From Johannes Stille:
When we get an EN8 response while we're already sending the file using
the i protocol, this can happen:

In send.c, flocal_send_await_reply() is called. This function calls
flocal_send_fail() to process the aborted transfer. After this, we run
into the branch that calls ffileseekend() to force the end of the
actual transfer.

Now flocal_send_fail() frees qtrans, but qtrans is still used later!

I propose to fix this by moving the usfree_send(qtrans) out of
flocal_send_fail(), as in the patch I append to this mail.

...

I have found a race condition in the uucp 1.05 code. The typical result
is that the connections mysteriously fails with "conversation failed",
even while all files were transmitted. This is the problem:

At least for the i protocol, the code to send a packet can receive and
process packets after sending.
In several places in the code, we send a command and then prepare to
receive an answer.
Now the answer might already arrive during the call that sends the
command while we aren't ready to process it.

The general solution is IMHO first to do all preparations and only as a
last step to send out the command.

Reviewed by:	John Dyson
Submitted by:	Johannes Stille
1994-11-06 10:17:13 +00:00
dg
7eee0120af Fixed return status from pagers. Ahem...the previous method would manufacture
data when it couldn't get it legitimately. :-(

Submitted by:	John Dyson
1994-11-06 09:55:31 +00:00
ache
8c77d76dd8 Several fixes for 'back_color_erase' curses problem 1994-11-06 09:30:36 +00:00
ache
1134c6508e Fix curses bug with delete character and standout 1994-11-06 08:33:34 +00:00
pst
b9dbcfa82f Add end of line check so mkinit doesn't produce garbage if you have a
MKINIT line that doesn't have a comment on it (we have at least two).

This mkinit program was written by someone who obviously doesn't believe
in defensive programming. :-(  There's a LOT of work that needs to be done
on this thing. :-( :-( :-(
1994-11-06 06:27:04 +00:00
dg
7b67b01338 Added support for starting the experimental "vmdaemon" system process.
Enabled via REL2_1.

Added support for doing object collapses "on the fly". Enabled via REL2_1a.

Improved object collapses so that they can happen in more cases. Improved
sensing of modified pages to fix an apparant race condition and improve
clustered pageout opportunities. Fixed an "oops" with not restarting page
scan after a potential block in vm_pageout_clean() (not doing this can result
in strange behavior in some cases).

Submitted by:	John Dyson & David Greenman
1994-11-06 05:07:53 +00:00
dg
f59c98cc6a Added support for starting the experimental "vmdaemon" system process.
Enabled via REL2_1.

Submitted by:	John Dyson
1994-11-06 05:01:58 +00:00
dg
857384bcb8 Do a better job at preparing registers for the new process in setregs()
by setting them all to a known state.
1994-11-06 04:46:53 +00:00