Commit Graph

5533 Commits

Author SHA1 Message Date
Bruce Evans
cee6d3700d Remove unused definitions of vm statistics counters. Most of the
counting is now done in C.  There are still about 100 unused
definitions for other things.
1995-01-21 15:22:28 +00:00
Bruce Evans
e6891db8c5 Don't count context switches here, they are already counted in mi_switch(). 1995-01-21 15:20:23 +00:00
Bruce Evans
d7e3a89f1f Don't count the parent's previous timeslice in the child's resource usage
(it was counted twice).

Set the start time more accurately.
1995-01-21 15:08:57 +00:00
Bruce Evans
54c2af254d #Include <sys/types.h> so that <sys/resource.h> can be #included without
explicitly #including <sys/types.h>.  Some gnu software (?gdb) depends on
this and broke when I fixed <stdio.h> to not include <sys/types.h>.

Bruce
1995-01-21 14:58:25 +00:00
Bruce Evans
dd3d164f9e Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
Bruce Evans
46d8d93500 Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'
for debugging.  The default ${CFLAGS} still clobbers the system default
of -O2 to -O.
1995-01-21 14:41:45 +00:00
Bruce Evans
a2562ad917 Keep track of open devices better to avoid closing the console device when
the physical device is closed.  Previously only the reverse case was handled.
Abuse the cdevsw interface instead of the vfs interface to do this.

Remove unnecessary #includes.
1995-01-21 14:12:15 +00:00
Bruce Evans
742c88a03a Use exactly the same checks in excluded() as in inlist(): ignore stabs and
stringless symbols in excluded(); check for too-small (nonzero) string table
offsets in inlist().
1995-01-21 10:24:18 +00:00
Andrey A. Chernov
60efec1dab Restore original fix from ohki, not check m for NULL it is already done
in the code above.
Submitted by: ohki@gssm.otsuka.tsukuba.ac.jp
1995-01-21 06:32:26 +00:00
Andrey A. Chernov
2fdd39d28d Better protection against too long pathes and 8bit controls in file
names, locate dumps core instead
1995-01-21 05:50:50 +00:00
Andrey A. Chernov
f3b2d1fae4 Not go to interactive mode, if login failed for URLs, just
exit(1). Dedicated to Jordan.
1995-01-21 01:37:22 +00:00
Andrey A. Chernov
f76c8e8cc3 Change if (m->valid == 0) to if (m && m->valid == 0) 1995-01-20 23:30:42 +00:00
Garrett Wollman
2ade60ce3c In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c
doesn't complain.
1995-01-20 23:07:10 +00:00
Garrett Wollman
422c275a72 Add ksrvutil. 1995-01-20 22:40:02 +00:00
Garrett Wollman
8c5c9f2577 Add last piece in fully-functional Kerberos implementation: ksrvutil,
a program to manage /etc/srvtab.
1995-01-20 22:38:30 +00:00
Garrett Wollman
218a5dcf33 Added Kerberized passwd. 1995-01-20 22:16:47 +00:00
Garrett Wollman
788c8e2ea4 Password-changing program with Kerberos support via the `kadmin'
protocol.  Replaces passwd(1) when eBones is installed.  As before, HOW-TO
explains the gory details.
1995-01-20 22:14:14 +00:00
Garrett Wollman
01ae44681d Fix bonehead /usr/lib -> /usr/bin. 1995-01-20 22:08:14 +00:00
Garrett Wollman
925704439a Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
Garrett Wollman
aaa101d222 Added kadmin protocol port 1995-01-20 22:00:26 +00:00
Garrett Wollman
039b79a960 Allow NIS maps, noconn mounts .
Sumbitted by: Boyd Faulkner <faulkner@mpd.tandem.com>
1995-01-20 20:58:54 +00:00
Garrett Wollman
401de747b8 Add libcom_err to `includes' target so CLOBBERing the world works again (we
hope).
1995-01-20 20:28:31 +00:00
Bill Paul
fc042b6935 Submitted by: ohki@gssm.otsuka.tsukuba.ac.jp
When using cp to copy a file under the following circumstanes:

- original file in on an NFS filesystem
- destination file is on the same NFS filesystem
- the file is less than 8Mbytes in size
- the file is larger than 65536 bytes in size

the cp process can get frozen in device-wait and never wake up (cp uses
mmap() in this case).
A small change to allocbuf() fixes this.
1995-01-20 20:11:31 +00:00
Søren Schmidt
02fb646de1 Second round in syscons update:
Support for pseudo graphic mouse cursor (not complete yet)
Some cheap speed fixes.
More cleanups.
Call ourselves scxxxx finally.
1995-01-20 08:35:32 +00:00
Bill Paul
f06a45ddd7 Removed hardcoded definition for RB_SERIAL that I left in my accident
(had it there for testing purposes). RB_SERIAL should be found in
<sys/reboot.h>.
1995-01-20 07:52:42 +00:00
Bill Paul
f778c9da00 Submitted by: Bill Paul (wpaul@ctr.columbia.edu)
Obtained from:
bios boot block changed to allow booting from both the attached graphics
display and from a serial port. (A specially compiled serial boot block
is no longer necessary.) The boot block should detect the presence or
absence of a keyboard: if there is no keyboard, COM1 is turned into the
console. This simulates the behavior of the Sun boot PROMs. Unplug your
keyboard, attach a terminal to COM1 and you should be ready to go. :)
1995-01-20 07:48:27 +00:00
Bill Paul
2b237b4058 Submitted by: Bill Paul (wpaul@ctr.columbia.edu)
Obtained from:
sio.c and sioreg.c changed to allow autodetecting the RB_SERIAL flag
passed by the boot blocks so that the kernel can switch to 'serial
console' mode automagically. 'options COMCONSOLE' can still be specified
to force the kernel to always use the serial port as a console.
CONUNIT and CONADDR can also be specified in the kernel config file
if the user wants to shift the console to a different port.
1995-01-20 07:34:18 +00:00
Bill Paul
c665f1dabd Submitted by: Bill Paul (wpaul@ctr.columbia.edu)
Obtained from:
Added a new flag (RB_SERIAL) which is passed by the boot block to tell
the kernel that it should use a serial port as a console. (The kernel
can still be forced to boot in serial console mode if 'options COMCONSOLE'
is used.)
1995-01-20 07:28:47 +00:00
Jordan K. Hubbard
609c85875a Add the Packet Capture Library from Michael Reifenberger.
Submitted by:	mr
1995-01-20 04:13:07 +00:00
Garrett Wollman
4ed9828579 Add kadmind. 1995-01-20 03:13:48 +00:00
Garrett Wollman
acfdd75a53 Add kadmind. HOW-TO documents how to get here from raw eBones. 1995-01-20 03:13:00 +00:00
Garrett Wollman
703273c507 Add kadmin. 1995-01-20 02:49:47 +00:00
Garrett Wollman
516345750a The user side of the kadmin protocol. HOW-TO describes how to recreate
this based just on the eBones distribution.
1995-01-20 02:47:50 +00:00
Garrett Wollman
a15e22a637 Add the library used by kadmin' and kadmind'. Oddly enough, this
little library is actually exportable (we think) even though it's pretty
useless iwithout the (non-exportable) clients.
1995-01-20 02:02:54 +00:00
Garrett Wollman
1c8f305817 Don't install kadm.h from here; it's done by the libkadm directory. 1995-01-20 02:01:11 +00:00
Garrett Wollman
51c716bd1c Do all libraries first. Don't do `include' twice. 1995-01-20 02:00:34 +00:00
Garrett Wollman
35042b3093 Don't break existing users of libkrb.so.2.0 who aren't using libcom_err. 1995-01-20 01:44:47 +00:00
Garrett Wollman
bf836b9a51 Kill more bogus man pages. (The correct ones are with their programs.) 1995-01-20 01:26:53 +00:00
Garrett Wollman
3df56e5197 A more correct fix for the new compile_et. Also, add beforeinstall
rule to ensure that krb_err.h gets installed (some other programs need
it).
1995-01-20 01:12:19 +00:00
Garrett Wollman
562e312d13 Added compile_et' and mk_cmds' to lib-tools target, as they are needed
to build `libss'.  Also delete bogus old /usr/sbin/compile_et at this time
(sorry, it was the only way I could think of to make sure it died).
1995-01-19 22:41:25 +00:00
Garrett Wollman
8a256cf77b Add libss. 1995-01-19 22:32:05 +00:00
Garrett Wollman
8b359e3092 Added mk_cmds. 1995-01-19 22:31:17 +00:00
Garrett Wollman
2343225488 Port to FreeBSD. 1995-01-19 22:28:38 +00:00
Garrett Wollman
3665217fb4 Port to FreeBSD. (Sorry there's no man page yet.) 1995-01-19 22:27:58 +00:00
Garrett Wollman
9d9cb31cdb Add /usr/include/ss because libss expects its header files to live there. 1995-01-19 22:23:13 +00:00
Andreas Schulz
c82762a9c3 Submitted by: Bruce Evans
Put in the much shorter and cleaner version for the calibrate_cycle_counter
for the Pentium that Bruce suggested. Tested here on my Pentium  and
it works okay.
1995-01-19 22:05:27 +00:00
Garrett Wollman
ba20ecf423 Other part of SIPB subsystem library, the program to make command tables. 1995-01-19 21:30:25 +00:00
Garrett Wollman
282244c5b6 MIT SIPB subsystem' library, needed for kadmin' and some other MIT programs. 1995-01-19 21:28:01 +00:00
Garrett Wollman
0cd34073b2 Kill old Kerberos password-changing support:
1) It was export-controlled.
2) It used some ad-hoc protocol invented by Berkeley in ignorance of the
   standard MIT distribution's way of doing it (which makes it useless
   to most people).

This should be fixed once we have `kadmin'/`kadmind'.
1995-01-19 21:03:48 +00:00
Andreas Schulz
a4ef0a998a Add the missing forward declaration of chopen. Reported in the
mailinglists some time ago.
1995-01-19 21:02:54 +00:00