Commit Graph

20322 Commits

Author SHA1 Message Date
Bill Paul
effbdb690f Document SCM_CREDS changes. 1997-03-21 16:52:05 +00:00
Bill Paul
0b788fa1da 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.
1997-03-21 16:12:32 +00:00
Hiroyuki Hanai
68491b9663 Catch up with the original. 1997-03-21 09:46:34 +00:00
Hiroyuki Hanai
aa3f06734f Catch up with the original. 1997-03-21 09:22:24 +00:00
David Greenman
6ebc315326 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

...needs a manual page.
1997-03-21 08:00:13 +00:00
Hiroyuki Hanai
8cd3868fee Change the release number and <date> to fit with the current release. 1997-03-21 06:57:50 +00:00
Jordan K. Hubbard
63cf099d1c Add Iceland. 1997-03-21 05:18:20 +00:00
David E. O'Brien
6200903a02 Very minor word change. 1997-03-21 01:36:18 +00:00
Mike Pritchard
df7f5d4de4 Fix a minor grammar problem. 1997-03-21 00:30:58 +00:00
Mike Pritchard
69a98adb93 I had to rename one additional file in the last file import, so
update this script to reflect that.
1997-03-20 23:34:11 +00:00
Mike Pritchard
35846a8163 Typo police. 1997-03-20 16:33:15 +00:00
John Polstra
cf49f43912 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.
1997-03-20 16:28:27 +00:00
Mike Pritchard
d00f4c321d Use the .An macro in the AUTHOR section. 1997-03-20 16:14:21 +00:00
Mike Pritchard
0728623156 Document the .An (author name) macro. Also cleanup some other problems
I noticed while editing these man pages.

Usage: .An Author_name

Example:

This manual page was written by
.An Mike Pritchard Aq mpp@FreeBSD.ORG .

Produces:

This manual page was written by Mike Pritchard <mpp@FreeBSD.ORG>.
1997-03-20 16:04:04 +00:00
Andrey A. Chernov
08d3f12ca2 Remove term=dumb from default entry: ovverrides TERM variable for login 1997-03-20 13:41:16 +00:00
Jordan K. Hubbard
4baaa399be Reinstating stuff that fell out after jeorg's update...
Submitted-By: pds
1997-03-20 13:15:41 +00:00
KATO Takenori
0908b6ff4a Added Allied Telesis CenterCOM LA100-PCI support. Currently, full
duplex mode doesn't work.
1997-03-20 07:25:22 +00:00
David Nugent
dc7eb240ea Fix possible (not stack) overflow from -d <dir> commandline option. 1997-03-20 03:35:06 +00:00
Mike Pritchard
d92630300f Mdoc cleanup. 1997-03-19 22:42:02 +00:00
Mike Pritchard
1bca868c73 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.
1997-03-19 22:09:08 +00:00
Mike Pritchard
a238c207df Update to use the .Rv macro now that I know it exists :-). 1997-03-19 21:08:48 +00:00
Bruce Evans
eb051a2cf8 Fixed missing #includes in synopsis.
Fixed stale reference to <sys/inode.h>.
1997-03-19 21:02:11 +00:00
Mike Pritchard
8889d6ac3a 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.
1997-03-19 21:01:45 +00:00
Bruce Evans
e0d9d675fb 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).

Fixed missing void arg types.
1997-03-19 20:42:18 +00:00
Mike Pritchard
5b945c8686 Update the table of contents such as it is to reflect my previous change. 1997-03-19 20:31:42 +00:00
Mike Pritchard
c41c97fab9 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.
1997-03-19 20:16:50 +00:00
Mike Pritchard
b8b9ef00b4 Update the usage message for the ".Bf" macro to match the actual
arguments that it takes.
1997-03-19 20:05:19 +00:00
Bruce Evans
7b46e774ec Fixed missing #include of <sys/types.h> in synopsis. 1997-03-19 19:48:24 +00:00
Bruce Evans
ddbd069887 Fixed missing #include(s) (mostly of <sys/types.h> in synopsis).
Reviewed by:	wollman
1997-03-19 19:47:43 +00:00
Bruce Evans
433671e348 Fixed missing #include of <sys/types.h> and wrong arg types in synopsis.
Reviewed by:	wollman
1997-03-19 19:41:20 +00:00
Steve Passe
0f4a397771 additions for table-driven frequency calculation.
addition of colorbar ioctl.
removed unneeded disable_intr()/enable_intr() wrappers in i2c code.
minor cleanup.
1997-03-19 19:10:45 +00:00
Steve Passe
535341aacb additions for table-driven frequency calculation.
addition of colorbar ioctl.
1997-03-19 19:08:31 +00:00
David E. O'Brien
8cd18b8efa Use the correct name for the HLT instruction.
Submitted by:	bde
1997-03-19 18:31:59 +00:00
David E. O'Brien
0b975dc48b FreeBSD uses the HALT instruction in its idle loop to save power.
Noticed by:	Stephen Roome <steve@visint.co.uk>
1997-03-19 17:17:59 +00:00
KATO Takenori
2f284f07f8 Synchronize with sys/i386/conf/files.i386 revision 1.156. 1997-03-19 16:14:25 +00:00
Jordan K. Hubbard
ee49f49829 YAMF22 1997-03-19 10:09:46 +00:00
Jordan K. Hubbard
eefc5acdc5 Some of my pending merge changes, Paul Traina's more flexible config
file loading code.
Submitted by:	pst
1997-03-19 10:09:28 +00:00
David E. O'Brien
2fbc710d2c Update the O'Reilly books that are now in the 2nd ed. 1997-03-19 07:59:19 +00:00
Bruce Evans
c85c53625d 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).
1997-03-19 04:58:33 +00:00
Bruce Evans
ac89160a93 Removed old bogus prerequisite <sys/select.h>. Cleaned up #include mess. 1997-03-19 04:44:07 +00:00
Bruce Evans
3628c5b631 Only export ioctl-related stuff to applications. Include prerequisite
headers (like most other ioctl-related headers).

Didn't fix spelling errors and other warts.
1997-03-19 04:37:26 +00:00
David E. O'Brien
a4589af254 The New Hacker's Dictionary (aka. the Jargon File) to the history section 1997-03-19 04:32:30 +00:00
David E. O'Brien
b024174570 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.  :-)
1997-03-19 04:23:12 +00:00
David E. O'Brien
38a0cce148 Fix Peter Salus's name. 1997-03-19 04:08:34 +00:00
David E. O'Brien
8d2a17dc58 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.
1997-03-19 03:54:15 +00:00
Bruce Evans
401caa1438 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.
1997-03-19 03:48:12 +00:00
David E. O'Brien
c124741b35 Added "Porting UNIX Software" by our own Greg Lehey.
This book has helped me more than once with the ports collection.
1997-03-19 03:45:13 +00:00
David E. O'Brien
29dfa374db Added UNIX Internals -- The New Frontiers by Uresh Vahalia 1997-03-19 03:40:47 +00:00
David E. O'Brien
4d9b583991 Update URL for Chinese "Using FreeBSD" 1997-03-19 03:32:12 +00:00
David E. O'Brien
d145253bfd FreeBSD-{stable,STABLE} ==> 2.1-STABLE 1997-03-19 03:24:50 +00:00