Commit graph

13518 commits

Author SHA1 Message Date
Joerg Wunsch 8905131422 Implement keyinfo(1) as a setuid Perl script, so /etc/skeykeys can
be made mode 0600.

Pointed out by: kieber@sax.de (Ulf Kieber)
Reviewed by:	pst
1996-04-26 21:35:11 +00:00
Joerg Wunsch 711e38f8ed /etc/skeykeys was basically suffering from the same vulnerability
as any non-shadowed /etc/passwd.  Ironically, all programs using S/Key
have already been setuid root except keyinfo(1).

This modification creates /etc/skeykeys with mode 0600 to prevent it
from being examined by ordinary users.
1996-04-26 21:33:18 +00:00
Mike Pritchard 68ba25409f Remove the comments that suggest people not turn
on accounting and quotas because they don't work.
They seem to work just fine, and the comments generate
too many questions.
1996-04-26 20:18:58 +00:00
Jordan K. Hubbard d93b514f1a Remove libdisk from the old location. 1996-04-26 19:27:47 +00:00
Eric L. Hernes 8a8fb1236d changed a strchr to a strrchr so that modules with a `.' in the path
can be loaded (e.g. ./mymod.o)
1996-04-26 18:39:48 +00:00
Garrett Wollman a2352fc148 Delete #ifdef notdef blocks containing old method of srtt calculation.
Requested by: davidg
1996-04-26 18:32:58 +00:00
Garrett Wollman 93902408b8 Delete #if 0 block containing remnants of pre-MTU discovery rmx_mtu
initialization.
1996-04-26 18:31:41 +00:00
Garrett Wollman 7c1c2d7ebd Delete #if 0 block containing unused definitions for ARPANET/DDN IMP
and HYPERchannel link layers.
1996-04-26 18:30:52 +00:00
Jordan K. Hubbard 35ee5f3e57 Fix display refresh bug in displayHelp()
Go back to Normal menus for Media and FTP menus rather than
radio menus - the difference in behavior is confusing and sort
of detracts from the added (small) advantage of seeing what you last
picked.
1996-04-26 18:19:38 +00:00
Poul-Henning Kamp 1a0e8e31c6 A significant debogofication of locore.s. I havn't found any actualy
bugs, but it is a lot easier to navigate this twisted code now.
1996-04-26 13:47:39 +00:00
Satoshi Asami 1844587c79 Add CFLAGS=${CFLAGS} to MAKE_ENV, otherwise gmake won't pick it up. 1996-04-26 10:09:06 +00:00
Søren Schmidt 03475c250b Removed options MAXCONS & HARDFONT, they are no longer in use
(and havn't been for long, sigh)
1996-04-26 06:45:41 +00:00
Jordan K. Hubbard 5da0cf3eec All hail Mike Pritchard - the new Docmaster!
Nominated by:	jfieber
Dragooned by:	jkh
Foolishly Accepted by:	mpp
1996-04-25 20:07:28 +00:00
Jordan K. Hubbard 6e45679280 Might as well update the release notes while I'm here! 1996-04-25 19:04:45 +00:00
Jordan K. Hubbard 689aa5ca2b These docs were in fair need of updating. 1996-04-25 18:40:02 +00:00
Andrey A. Chernov 9137242c2c Oops, restore missing piece of previous commit. 1996-04-25 18:14:11 +00:00
Jordan K. Hubbard a0b037c2c7 Add a place-holder message for the CDROM fixit feature (which I'm not going
to add in time for the next SNAP).
1996-04-25 18:00:28 +00:00
Jordan K. Hubbard 18b1c03d52 Quite a few changes:
1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic
   points.
2. Clean up the distributions menus so that everybody (that's reasonable)
   has All and Clear options for setting/clearing things en-masse.
3. Various attempts at display optimization.
4. Change the wording of the `Don't use Write!' dialogs to make them more
   explicitly define when and when not to use the option.
1996-04-25 17:31:27 +00:00
Jordan K. Hubbard 7af0a5dbaf More custom hackery to deal with issues discovered in sysinstall. 1996-04-25 17:27:18 +00:00
Andrey A. Chernov cc8c038449 Treat ^end<EOF> as valid terminator (like ^end\n), some encoders (f.e. Eudora)
produce such things.
1996-04-25 14:49:40 +00:00
Jordan K. Hubbard ab112e9f34 Allow some post-fire actions to be combined in ways that weren't
possible before.
1996-04-25 13:34:37 +00:00
Poul-Henning Kamp 68832d3037 Fix cpu_fork for real.
Suggested by:	 bde
1996-04-25 06:20:19 +00:00
Satoshi Asami f8176d838c Fix logic bug in pci bridge code. For a PCI-PCI bridge, secondary
should be <= than subordinate, not the other way around.

They are both true if the bridge is not cascaded (i.e., twin-channel
scsi/e-net adapters won't be affected by this bug), which is probably why
it was unnoticed until today.
1996-04-25 06:04:27 +00:00
David Greenman 2a8d579fc8 Regardless of whether or not the check for IPv4 is useful, we certainly
don't need to assign the "ip" pointer twice.
1996-04-25 02:34:37 +00:00
Jordan K. Hubbard 02836a445d alloca() was being called with highly bogus arguments due to brain
fade.  Fixed.
1996-04-25 01:50:18 +00:00
Jordan K. Hubbard fdd92ff346 The traceon and traceoff directives aren't in this version ncurses.
Guess nobody's built these tests for quite awhile!
1996-04-25 01:18:30 +00:00
John Polstra 55e214c197 When a local symbol that would normally be eliminated by "-x" or
"-X" must survive, because of references from relocations, don't
qualify the symbol name with the name of the input file.  This
saves some string space.  It makes libc_pic.a about 2.4% smaller.

Adapted from a suggestion by Bruce Evans.
1996-04-24 23:31:08 +00:00
Jordan K. Hubbard 4c043bb29e Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape.  Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
1996-04-24 21:20:17 +00:00
Paul Traina c64765e4cc Close a security hole in sliplogin.
If you use sliplogin as a user shell (in /etc/passwd) upgrade to this version.
Reviewed by:	bde, peter
Submitted by:	AUS CERT
Obtained from:	Linux sliplogin-2.02
1996-04-24 20:18:25 +00:00
Poul-Henning Kamp 3fb9e5a20b Reject all IP versions but 4. 1996-04-24 15:44:34 +00:00
Satoshi Asami 52faebb233 Add missing "int" to static var. 1996-04-24 09:42:22 +00:00
John Dyson 0891ef4c9a This fixes kmem_malloc/kmem_free (and malloc/free of objects of > 8K).
A page index was calculated incorrectly in vm_kern, and vm_object_page_remove
removed pages that should not have been.
1996-04-24 04:16:45 +00:00
Nate Williams 1f3a4e3ffa Fix reverse logic bug which caused the ethernet configuration to never work. 1996-04-24 00:04:10 +00:00
Nate Williams 2922666380 - This code adds some backwards compatability hacks for buggy APM BIOS
implementations, and synchronizes us with the Nomad's latest code.

This code is based on the Nomad code, but heavily hacked by me.

Reviewed by:	phk
Submitted by:	the 'Nomads'
1996-04-23 19:59:14 +00:00
Nate Williams e12ac36c96 Format the already applied PCCARD additions to use KNF form. No
functional changes.
1996-04-23 18:36:56 +00:00
Nate Williams 8410acf091 - Make pccardd release it's allocated io space and sets the mem.cardaddr
even if DEBUG is not set.
- #ifdef protect DEBUG printf's

Submitted by:	sos
1996-04-23 16:46:48 +00:00
Nate Williams ceff12b4c4 Adds the APM hooks into the generic pccard kernel files. With this code
in place device drivers can now register power-down/power-up routines so
that we can use common routines to power-up/power-down cards for
insert/removals, suspend/resume, etc..

Reviewed by:	phk
Submitted by:	the 'Nomads'
1996-04-23 16:03:08 +00:00
Paul Traina d9fd44dd79 Add support for SOCKS if enabled.
Remove a useless bind() call (why did that ever get in there?)
1996-04-23 06:01:10 +00:00
Paul Traina 33bb8564be Add support for socks 1996-04-23 05:18:43 +00:00
Justin T. Gibbs c0eccc00c8 Fix second instance of the inb type when getting the current sequencer address.
Submitted by:	Nate Williams <nate@sri.MT.net>
1996-04-23 04:47:02 +00:00
Justin T. Gibbs ff3f23849e Fix a typo in the RESTART_SEQUENCER macro that could have caused
strange results.  This  bug has been in here for a loooong time.
Many thanks to Pedro Salenbauch for finding this.

Submitted by:	pedrosal@nce.ufrj.br (Pedro Salenbauch)
1996-04-23 04:22:41 +00:00
Jordan K. Hubbard 2113a60c4b Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters.  I've tried restoring the screen, the cursor position, you name
it - same deal.  Grrrr!  This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!
1996-04-23 01:29:35 +00:00
Jordan K. Hubbard 5553e30b48 Cosmetic tweaks. 1996-04-23 01:25:04 +00:00
Wolfram Schneider 44d97e5b42 New variable NOOBJLINK
Create 'obj' directory in current directory instead
	a symbolic link to the 'obj' tree if defined. [not set]

Print a warning if 'obj' tree (/usr/obj) does not exist.

Change default 'obj' directory from ``obj.${MACHINE}'' back to
``obj'', unfortunately many Makefiles are wired with the name ``obj''.

Add some comments for variables and targets.
1996-04-22 23:31:39 +00:00
Nate Williams b34b86510b Updated the laptop 'kludge' file. Hopefully this can go away soon.
Submitted by:	The 'Nomads'
1996-04-22 22:29:40 +00:00
Paul Traina 4b2e1057cf typo shmrsh -> smrsh 1996-04-22 20:30:09 +00:00
John Polstra 7aa5215c03 Add a couple of needed X11 libraries. Discovered when trying to build a
static version.
1996-04-22 20:24:56 +00:00
Nate Williams e597b4972e - add apm to the GENERIC kernel (disabled by default), and add some comments
regarding apm to LINT
- Disabled the statistics clock on machines which have an APM BIOS and
  have the options "APM_BROKEN_STATCLOCK" enabled (which is default
  in GENERIC now)
- move around some of the code in clock.c dealing with the rtc to make
  it more obvios the effects of disabling the statistics clock

Reviewed by:	bde
1996-04-22 19:40:28 +00:00
Sujal Patel 003aaef883 Fix a segfault which occurs when it gets an empty input line.
Closes PR bin/1153

Reviewed by:	smpatel
Submitted by:	Matthew C. Mead (mmead@Glock.COM)
1996-04-22 18:37:22 +00:00
Justin T. Gibbs 91e2481238 The default number of tags in the SCB paging case was supposed to be
8 not the 18 I was using during some of my own testing.  Ooops.

For those that want to change the number for experimentation, you can
set the value on line 1553 of this file.
1996-04-22 13:21:40 +00:00