5530 Commits

Author SHA1 Message Date
jkh
d07546f6ba Catch the one I missed. 1995-01-15 11:21:47 +00:00
dg
5a3650b978 Attempt to close a hole using splhigh/splx. There still appears to be a
serious one in the same area that I don't have time to fix.
1995-01-15 09:35:58 +00:00
pst
915accf24f One last one... 1995-01-15 09:12:29 +00:00
pst
d67abf9e7f Last of the FreeBSD changes 1995-01-15 09:06:50 +00:00
dg
3a5df73fbd Fixed some page table reference count problems; these changes may not be
complete, but should be closer to correct than before.
1995-01-15 09:06:23 +00:00
pst
846706f103 Layer in FreeBSD changes 1995-01-15 08:36:35 +00:00
pst
ecb5f40293 Layer in all FreeBSD patches 1995-01-15 08:30:25 +00:00
pst
435c3c0d28 This commit was generated by cvs2svn to compensate for changes in r5637,
which included commits to RCS files with non-trunk default branches.
1995-01-15 08:10:00 +00:00
pst
b4b083cfbe groff-1.09 1995-01-15 08:10:00 +00:00
pst
cce628f886 groff-1.09 1995-01-15 08:10:00 +00:00
pst
6eb7dd5407 groff-1.09 1995-01-15 08:10:00 +00:00
dg
d2294d38b1 Moved some splx's down a few lines in vm_page_insert and vm_page_remove
to make the locking a bit more clear - this change is currently a NOP
as the calls to those routines are already at splhigh().
1995-01-15 07:31:34 +00:00
jkh
5cb211d8bc Submit srcdist changes 1995-01-15 06:31:50 +00:00
ache
054ccd4856 Remove duplicated ec capability 1995-01-15 06:31:14 +00:00
ache
4e910416fd Sync with base termcap.src 1995-01-15 06:29:22 +00:00
ache
b1d47901b5 Fix cv & ch to increment pos by one 1995-01-15 06:26:58 +00:00
jkh
26a9ef51ab The Makefile contained in usr.bin/tconv contains a bogus
reference to the absolute path /usr/src/lib/libmytinfo.  The enclosed
patch fixes this.

Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-15 06:19:01 +00:00
jkh
0fcc7b937d Make one last stab at making this work before I go. 1995-01-15 06:13:46 +00:00
wollman
9fe40fb5dd Some fixes to device configuration, now that I've had a chance to do it
properly from the beginning:

	1) The `kern_devconf' struct should be a part of the driver's
	   `softc' structure (now it is).
	2) The `description' should say what the device actually is,
	   rather than just giving a model number (now it does).
	3) The device should be registered even if the probe fails, so
	   that it can be reconfigured later.
	4) For netifs, the device state should follow the IFF_UP flag.

Other network interfaces should follow this example.  (Please?)  Eventually
there should be a rundown routine doing the equivalent of setting IFF_UP
off, and perhaps more if warranted.
1995-01-15 00:18:17 +00:00
wollman
dd6e6de529 Add a `-p' option, allowing the super-user to directly set a user's
encrypted password.  Kerberized `login' might use this, if I get around
to implementing the complete Allspice System behavior.
1995-01-14 23:14:25 +00:00
wollman
20054cbaa0 Modify klogin to:
1) Don't spit out an error message if Kerberos is installed but not yet
   set up.

2) Don't attempt to verify the ticket you got back, as workstations
   are not intended to have srvtab files of their own.

Both behaviors can be re-enabled with KLOGIN_PARANOID.
1995-01-14 22:57:41 +00:00
wollman
589544ea3b Remove obsolete `-n' flag from compile_et command line. 1995-01-14 22:32:48 +00:00
wollman
ba3292be1a Fix include directive bobble. 1995-01-14 22:30:32 +00:00
wollman
479760c2d1 Upgrade to latest released SIPB version I can find. (Unfortunately, the
original releases were not numbered.)
1995-01-14 22:29:34 +00:00
wollman
93bd3ddd3c This commit was generated by cvs2svn to compensate for changes in r5622,
which included commits to RCS files with non-trunk default branches.
1995-01-14 22:23:41 +00:00
wollman
0916b5648b The Common Error Description Library, developed by MIT SIPB and used by
a number of (ex-)Athena programs.  Breaking my own rules for importing
somewhat, as this code does not appear to be actively maintained by anyone
(not that it really needs it).
1995-01-14 22:23:41 +00:00
wollman
867341c82f Slightly more complete implementation of SUBDIR for libraries. 1995-01-14 22:18:15 +00:00
wollman
8d8fef4caf Add SUBDIR facility to bsd.lib.mk like in bsd.prog.mk. 1995-01-14 22:14:54 +00:00
jkh
be29d65922 Add some helpful text about send-pr. 1995-01-14 21:08:05 +00:00
wollman
58bca5b7cb Added compile_et. 1995-01-14 20:58:58 +00:00
wollman
0c9f17934c Slight makefile cleanup. 1995-01-14 20:58:00 +00:00
wollman
e3a72f4e75 Reflect the fact that compile_et is now a `system' utility. 1995-01-14 20:51:05 +00:00
wollman
0df77aafe1 Reflect the fact that compile_et has been moved and is now a `system'
utility.
1995-01-14 20:50:37 +00:00
wollman
6c5a798a0c Fix Sharnoff complain bin/136 (-e flag doesn't work). 1995-01-14 20:36:22 +00:00
wollman
ad9893838a Fix Sharnoff complaint #121 (cross-reference to config.new which does not
exist on the i386 platform).
1995-01-14 20:25:02 +00:00
jkh
e4cc082f5f Add my own custom target for now. 1995-01-14 20:15:38 +00:00
wollman
27668cffd2 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
jkh
d54ba64c78 The enclosed patch fixes the Makefile contained in
share/doc/usd/{30.rogue,31.trek}: make fails if the games source
tree is not present (see the mail that I have sent yesterday).

        This patch makes the Makefiles test if the games source
tree is present.  If it is not present, the Makefiles default to
no operation.
1995-01-14 19:56:16 +00:00
jkh
a552213e44 The enclosed patch fixes the Makefile contained in
share/doc/usd/{30.rogue,31.trek}: make fails if the games source
tree is not present (see the mail that I have sent yesterday).

        This patch makes the Makefiles test if the games source
tree is present.  If it is not present, the Makefiles default to
no operation.

[Note:  I'm not sure if the Makefile changes might not be collapsable into
a shorter format, but I'll just leave it this way for now and be safe -jkh]

Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-14 19:55:40 +00:00
jkh
1b5946f267 The enclosed patch makes bsd.doc.mk consistent with bsd.prog.mk
when creating the obj link.  While bsd.prog.mk inconditionnaly creates
a link in /usr/obj, bsd.doc.mk tests if the source tree is contained in
/usr/src.  If so, it creates a link to /usr/obj.  If the source tree
is contained in another directory, bsd.doc.mk creates an obj subdirectory.
Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-14 19:49:54 +00:00
jkh
ece97fd6fb The enclosed patch is a cosmetic change to bsd.prog.mk. When
a program directory has subdirectories, make now prints "===> dir/subdir"
instead of "===> subdir".  This is modeled after the rules contained in
bsd.subdir.mk.

Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-14 19:48:49 +00:00
ats
c24e685c76 Submitted by: David Muir Sharnoff
domainame has referenced getdomainname(2) instead of getdomainname(3).
bug report docs/137.
1995-01-14 17:02:33 +00:00
jkh
e58b3d862c Add very crude beginnings of the setup script. 1995-01-14 13:34:37 +00:00
ats
f34d2f9c01 Fix a bug, that someone has introduced into /etc/security. It has no longer
found SUID files, only SGID files. The find has missed some parantheses.
1995-01-14 13:23:50 +00:00
bde
f864467045 Fix security holes in sigreturn(), ptrace() and procfs. sigreturn()
attempted to check for insecure and fatal eflags and segment
selectors, but missed many cases and got the IOPL check back to
front.  The other syscalls didn't check at all.

sys_process.c, machdep.c:
Only allow PT_WRITE_U to write to the registers (ordinary and FP).

psl.h, locore.s, machdep.c:
Eliminate PSL_MBZ, PSL_MBO and PSL_USERCLR.  We are not supposed
to assume anything about the reserved bits.  Use PSL_USERCHANGE
and PSL_KERNEL instead.  Rename PSL_USERSET to PSL_USER.

exception.s:
Define a private label for use by doreti when returning to user
mode fails.

machdep.c:
In syscalls, allow changing only the eflags that can be changed on
486's in user mode (no longer attempt to allow benign IOPL changes;
allow changing the nasty PSL_NT; don't allow changing the i586
bits).

Don't attempt to check all the cases involving invalid selectors
and %eip's.  Just check for privilege violations and let the invalid
things cause a trap.

procfs_machdep.c:
Call the ptrace register functions to do all the work for reading
and writing ordinary registers and for single stepping.

trap.c:
Ignore traps caused by PSL_NT being set.  Previously, users could
cause a fatal trap in user mode by setting PSL_NT and executing an
iret, and a fatal trap in kernel mode by setting PSL_NT and making
a syscall.  PSL_NT was cleared too late and not in enough modes to
fix the problem.

Make all traps in user mode (except T_NMI) nonfatal.

Recover from traps caused by attempting to load invalid user
registers in doreti by restarting the traps so that they appear to
occur in user mode.
---

Fix bogons that I noticed while fixing the above:

psl.h:
Fix some comments.

Uniformize idempotency ifdef.

exception.s, machdep.c:
Remove rsvd[0-14].  rsvd0 hasn't been reserved since the 486 came
out.  Replace rsvd0 by `align'.  rsvd[0-11] used wrong (magic
non-unique) trap numbers.  Replace rsvd[1-14] by rsvd.

locore.s:
Enable alignment check flag on 486's and 586's.

machdep.c:
Use a better type for kstack[].

Use TFREGP() to find the registers.

Reformat ptrace functions from SEF to something closer to KNF.

procfs_machdep.c:
The wrong pointer to the registers got fixed as a side effect.

Implement reading and writing of FP registers.

/proc/*/*regs now work (only) for processes that are in memory.

Clean up comments.

trap.c, trap.h:
Remove unused trap types.
1995-01-14 13:20:26 +00:00
jkh
92ea353442 Try out my new idea for making the srcdist.. 1995-01-14 12:51:40 +00:00
jkh
682add6a1c Actually, there's a better way to do this whole srcdist tarball business.
Take first steps toward implementing it.
1995-01-14 12:48:39 +00:00
jkh
29995a54fe Change the way the srcdist is generated. 1995-01-14 12:44:23 +00:00
jkh
5dd08626d1 Clean up src-tarball definition. 1995-01-14 12:29:38 +00:00
alm
a8457251d8 fixed `s' to set dot to last line affected, not the last line in
a substitution range.
1995-01-14 11:47:16 +00:00