joerg [Sun, 23 Mar 1997 18:51:21 +0000 (18:51 +0000)]
This is the long-awaited import of top into the base system (actually,
the src/contrib/top part right now). This tools is simply too system-
dependant to maintain it in the ports collection.
bde [Sun, 23 Mar 1997 04:40:00 +0000 (04:40 +0000)]
Removed nested #include of <sys/conf.h> from <scsi/scsi_driver.h>
and fixed everything that depended on getting it from the wrong
place. Most of the broken things actually only depended on getting
the declaration of their interrupt handler from "ioconf.h".
bde [Sun, 23 Mar 1997 03:49:00 +0000 (03:49 +0000)]
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
bde [Sun, 23 Mar 1997 03:37:54 +0000 (03:37 +0000)]
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
mpp [Sat, 22 Mar 1997 19:46:44 +0000 (19:46 +0000)]
Add inittodr(9) to document how the system clock is initialized.
Obtained from NetBSD and then modified to reflect how things work
in FreeBSD, along with some minor changes to make a few points
clearer.
mpp [Sat, 22 Mar 1997 19:09:31 +0000 (19:09 +0000)]
Add time(9) to document the kernel time variables. Obtained from
NetBSD and then modified by me to reflect some FreeBSD specific
things and to clarify some other pointed based on some old mail
from Bruce Evans about this man page.
kato [Sat, 22 Mar 1997 18:54:54 +0000 (18:54 +0000)]
Improved CPU identification and initialization routines. This
supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD)
Nx586 CPU, and initialize special registers of Cyrix CPU and msr of
IBM Blue Lightning CPU.
If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in
write-through mode. This can be disabled by kernel configuration
options.
Reviewed by: Bruce Evans <bde@freebsd.org> and
Jordan K. Hubbard <jkh@freebsd.org>
bde [Sat, 22 Mar 1997 08:03:51 +0000 (08:03 +0000)]
Removed `volatile' from declaration of `time', and removed the resulting
null casts. `time' is nonvolatile for accesses within a region locked
by splclock()/splx(). Accesses outside such a region are invalid, and
splx() must have the side effect of potentially changing all global
variables (since there are hundreds of sort of volatile variables like
`time'), so declaring `time' as volatile didn't have any real benefits.
bde [Sat, 22 Mar 1997 06:53:45 +0000 (06:53 +0000)]
Fixed some invalid (non-atomic) accesses to `time', mostly ones of the
form `tv = time'. Use a new function gettime(). The current version
just forces atomicicity without fixing precision or efficiency bugs.
Simplified some related valid accesses by using the central function.
bde [Sat, 22 Mar 1997 04:44:51 +0000 (04:44 +0000)]
Quick fix for section limits not being relocated. This has always been
broken for gdb -k, but the section limits weren't used much in previous
versions of gdb in FreeBSD. Now they are used for backtracing when full
symbols aren't available, and in some other new cases.
This should be fixed properly by someone who knows bfd.
mpp [Fri, 21 Mar 1997 20:14:15 +0000 (20:14 +0000)]
Use the .Fx macro for FreeBSD references for releases prior to 2.0.
Use the .Tn macro for generic FreeBSD references. Cleanup other
formatting problems noticed while making the above changes.
wosch [Fri, 21 Mar 1997 18:40:08 +0000 (18:40 +0000)]
Change X Inside to Xi Graphics
See http://www.xig.com/ci/pr/970219.xigraphics.html
Leading Software Company Changes Name to Avoid Confusion with Internet
Porn Denver -- A leading developer of high-performance graphical
software has changed its name from X Inside to Xi Graphics. The
reason: Ongoing confusion between the software developer and the
increasing number of X-rated pornography companies on the Internet
wosch [Fri, 21 Mar 1997 17:02:44 +0000 (17:02 +0000)]
Change domain name xinside.com to xig.com
http://www.xig.com/ci/pr/970219.xigraphics.html
Leading Software Company Changes Name to Avoid Confusion with Internet
Porn Denver -- A leading developer of high-performance graphical
software has changed its name from X Inside to Xi Graphics. The
reason: Ongoing confusion between the software developer and the
increasing number of X-rated pornography companies on the Internet
wpaul [Fri, 21 Mar 1997 16:12:32 +0000 (16:12 +0000)]
Add support to sendmsg()/recvmsg() for passing credentials between
processes using AF_LOCAL sockets. This hack is going to be used with
Secure RPC to duplicate a feature of STREAMS which has no real counterpart
in sockets (with STREAMS/TLI, you can apparently use t_getinfo() to learn
UID of a local process on the other side of a transport endpoint).
What happens is this: the client sets up a sendmsg() call with ancillary
data using the SCM_CREDS socket-level control message type. It does not
need to fill in the structure. When the kernel notices the data,
unp_internalize() fills in the cmesgcred structure with the sending
process' credentials (UID, EUID, GID, and ancillary groups). This data
is later delivered to the receiving process. The receiver can then
perform the follwing tests:
- Did the client send ancillary data?
o Yes, proceed.
o No, refuse to authenticate the client.
- The the client send data of type SCM_CREDS?
o Yes, proceed.
o No, refuse to authenticate the client.
- Is the cmsgcred structure the right size?
o Yes, proceed.
o No, signal a possible error.
The receiver can now inspect the credential information and use it to
authenticate the client.
dg [Fri, 21 Mar 1997 08:00:13 +0000 (08:00 +0000)]
Added support for newer cards that have the DP83840A PHY chip.
Fixed a bug in fxp_mdi_write - a hex number was missing a preceding 0x
and this was causing the routine to not wait for a PHY write to complete.
Added support for link0, link1, and link2 flags to toggle auto-
negotiation, 10/100, and half/full duplex:
link0 disable auto-negotiation
When set, these flags then have meaning:
-link1 10Mbps
link1 100Mbps
-link2 half duplex
link2 full duplex
jdp [Thu, 20 Mar 1997 16:28:27 +0000 (16:28 +0000)]
Add backward compatibility so that static executables built on
modern FreeBSD systems will syslog properly on older systems that
still name the logging socket "/dev/log". This includes pre-2.2
versions of FreeBSD as well as BSD/OS systems. If the connect to
"/var/run/log" fails, the function now tries to connect to
"/dev/log" as a fallback.
mpp [Wed, 19 Mar 1997 22:09:08 +0000 (22:09 +0000)]
Don't use the undocumented .Fr (function return value) macro for function
arguments. Use .Fa instead (the output is the same). Also fixed
a formatting error.
mpp [Wed, 19 Mar 1997 21:01:45 +0000 (21:01 +0000)]
Document the .Rv (return values) macro.
".Rv -std atexit" will generate the following text:
The atexit() function returns the value 0 if successful; otherwise the
value -1 is returned and the global variable errno is set to indicate the
error.
bde [Wed, 19 Mar 1997 20:42:18 +0000 (20:42 +0000)]
Fixed misuse of .Ft for enum members. (.Fa seems to be the best
available macro for enum, struct and union members. .Ft seems to
be the best available macro for enum, struct and union tags and
types).
mpp [Wed, 19 Mar 1997 20:16:50 +0000 (20:16 +0000)]
Document the previously undocumented .Bf (begin font mode) macro.
Moved the descriptions of the .Em, .Li and .Sy macros into
the new "Font Modes" sub-section along with .Bf, since they are
all related.
fsmp [Wed, 19 Mar 1997 19:10:45 +0000 (19:10 +0000)]
additions for table-driven frequency calculation.
addition of colorbar ioctl.
removed unneeded disable_intr()/enable_intr() wrappers in i2c code.
minor cleanup.
bde [Wed, 19 Mar 1997 04:58:33 +0000 (04:58 +0000)]
Fixed synopsis (after the cleanup of <sys/snoop.h>, there are no other
prerequisites; previously <sys/ioctl.h> was bogus and some prerequisites
weren't documented).
obrien [Wed, 19 Mar 1997 04:23:12 +0000 (04:23 +0000)]
Add "Lion's Commentary on UNIX, 6th Ed. w/source code".
Yep, you heard it, this book has survived since 1997 via the photocopier
underground. Well SCO decided it is now safe for us to see the 6th ed.
Kernel source. :-)
obrien [Wed, 19 Mar 1997 03:54:15 +0000 (03:54 +0000)]
Added UNIX System Architecture by Prabhat Andleigh.
This is a really nice small (274 pages) book on UNIX architecture.
It "reads" like K&R, has good straightforward explantions and nice diagrams
of structures and things, w/o unnessiary bulk. It covers both BSD and sysV.
I wish this had been the textbook for my undergrad OS class rather
than Tannenbam.
bde [Wed, 19 Mar 1997 03:48:12 +0000 (03:48 +0000)]
Fixed wrong #include in synopsis. <sys/dir.h> has been deprecated for
years.
Not fixed: stale, misformatted copy of <dirent.h>. I will be cleaning
up the dirent.h and dir.h headers soon (ufs stuff needs to be separated
better), so don't change the man page yet.