Compare commits

...
864 Commits
Author SHA1 Message Date
cvs2svn a3ab491d64 This commit was manufactured by cvs2svn to create tag
'RELENG_2_1_0_RELEASE'.
1996-01-01 11:01:15 +00:00
Jordan K. Hubbard 4e2d078f4f *really* shut this thing up. Debugging output was permanantly stapled
to "on". Fix that.
1995-11-18 10:02:10 +00:00
Jordan K. Hubbard 0727c66b4d Correct small typo. 1995-11-17 23:53:37 +00:00
Jordan K. Hubbard a226da7d5b Ack. How embarassing. The PCNFSD and GATED config items were essentially
no-ops up to now, and the samba configuration didn't bother to add the package
either.  Whoops!
1995-11-17 23:49:45 +00:00
Jordan K. Hubbard a9195c0c7b Shut this up for 2.1.1. 1995-11-17 23:04:04 +00:00
Jordan K. Hubbard b7da3fcd3f Remove tabs, argh! 1995-11-17 13:34:54 +00:00
Jordan K. Hubbard fd174d51e7 Fix a bogus paragraph fill. 1995-11-16 11:48:37 +00:00
Jordan K. Hubbard 72f3d3214f Whoops! Add the section 3.1 that's been missing all this time (weak,
but better than nothing).
1995-11-16 10:58:21 +00:00
Jordan K. Hubbard f07a676728 Whoops! Correct munge. 1995-11-16 08:35:16 +00:00
Jordan K. Hubbard 2e6c99e032 Set a reasonable geometry in the face of failure. 1995-11-16 08:10:14 +00:00
Gary Palmer b151402efe Merge change in from revision 1.8 1995-11-16 02:03:30 +00:00
Jordan K. Hubbard ab687ca146 Pull this in from the HEAD 1995-11-16 01:59:13 +00:00
Jordan K. Hubbard 4c3154d9fd Go through this with a chainsaw. I wrote this? Ye gods! 1995-11-15 10:28:14 +00:00
Jordan K. Hubbard 2489f72add Add Peter Wemm to core team.
Remove comment about IDE CDROMs
1995-11-15 08:32:34 +00:00
Jordan K. Hubbard 9180cf8eff Merge from HEAD 1995-11-15 07:58:12 +00:00
Jordan K. Hubbard 3841bc2679 Update from HEAD. 1995-11-15 07:51:46 +00:00
David Greenman 26f0d64ac2 Brought in changes from rev 1.85: fix broken probe for 8216/8416 cards. 1995-11-15 07:46:35 +00:00
Jordan K. Hubbard a0ca111e06 ft0 -> rft0 1995-11-15 07:17:18 +00:00
Jordan K. Hubbard 86f28c6f97 Whoops, ft0 -> rtf0 here too. 1995-11-15 06:59:52 +00:00
Jordan K. Hubbard d510f28b3e ft0 -> rft0 1995-11-15 06:57:02 +00:00
Jordan K. Hubbard 88055b7a9d Significant tweaks to this document. 1995-11-14 11:17:56 +00:00
Jordan K. Hubbard b1ccf6c634 Merge from HEAD. 1995-11-13 05:40:23 +00:00
Jordan K. Hubbard 774a3b188f Don't say that /cdrom is explicitly mounted anymore because it's
not - we've gone to the noauto flag.
1995-11-12 21:16:48 +00:00
Jordan K. Hubbard af78325b4e BUILDNAME=2.1.0-RELEASE 1995-11-12 20:48:43 +00:00
Jordan K. Hubbard dae66c317b Some additional cosmetic tweaks. 1995-11-12 11:12:25 +00:00
David Greenman 6a7f78e817 Brought in fixes from main branch: check properly for read-onlyness, and
provide correct error returns when attempting to set the file attributes.
1995-11-12 10:40:36 +00:00
Jordan K. Hubbard a90694e9ba Fixup some missing parameters (non-fatal). 1995-11-12 10:35:58 +00:00
David Greenman 6022327014 Brought in change from rev 1.26: moved vm_map_lock call to close window. 1995-11-12 08:59:56 +00:00
Jordan K. Hubbard 97a5d4a184 Make editor start on right screen for anonFTP setup.
Don't clobber mediaDevice if post-configuring networking from CDROM.
1995-11-12 07:27:58 +00:00
Jordan K. Hubbard e978caf32b Argh. Fix missing quote. 1995-11-11 12:01:46 +00:00
Jordan K. Hubbard 746adcb120 Make things a little easier to use based on my experiences with
the first 2.1 CDROM installation.
1995-11-11 11:44:29 +00:00
Jordan K. Hubbard 09b93d4292 Clean up a prompt that wrapped. 1995-11-11 11:20:45 +00:00
David Greenman b76c2888ed Brought in change from rev 1.17: set B_BUSY to avoid panic. 1995-11-10 15:08:05 +00:00
Jordan K. Hubbard 13c290d4df Bump RELDATE 1995-11-10 12:03:20 +00:00
Jordan K. Hubbard 59b6334caf Every time I swear I'll never touch this again, I end up touching it.
Bleah.  Now the chained dependency adds work from FTP sites.  This was
really totally broken before, despite my claims to the contrary.  Sorry
folks.  I guess nobody uses the pkg_add ftp://... feature or somebody
would have reported it by now! :-)
1995-11-10 06:44:53 +00:00
Jordan K. Hubbard f202e841d1 Make gusmax use the faster DSP. Also collapse some of the
`rm foo; ln -s bar foo' entries into the simpler `ln -fs bar foo'
1995-11-10 04:42:37 +00:00
Jordan K. Hubbard 028dd5fc32 Add:
cd ${.CURDIR}/eBones/lib/libkadm &&     ${MAKE} beforeinstall

To includes target.  Move the other one inside the eBones .ifdef too; must
have been really sleepy before!

[Mark, you really don't need a diff for this - it's pretty obvious! :-)]
1995-11-10 03:06:55 +00:00
Jordan K. Hubbard 0273ba731e Sigh. I didn't test it enough. A change to the beforeinstall target (same
idea as the other one) was necessary here too.
1995-11-10 03:03:16 +00:00
Jordan K. Hubbard 0db4b78cbc Add short-hand entries for gusmax, pas16 and sb sound cards.
Submitted by:	lowe
1995-11-09 15:53:38 +00:00
David Greenman bd83fced50 Brought in changes from rev 1.3: bugfix for >17 character names. 1995-11-09 11:06:44 +00:00
Jordan K. Hubbard ec991c1c74 Bring in change from the HEAD. 1995-11-09 10:57:04 +00:00
Jordan K. Hubbard 82215a9a23 Install krb_err.h properly in beforeinstall target. 1995-11-09 09:54:14 +00:00
Jordan K. Hubbard a191b7a504 o Now that Coranth has made the anonymous FTP configuration not use adduser,
bring it back.
o Simplify the vsystem() call by ripping out a good deal of the extraneous grot.
1995-11-09 02:32:05 +00:00
Jordan K. Hubbard 39ec8ac4c4 o Document dangers of `W' options in help screens also. 1995-11-08 07:13:10 +00:00
Jordan K. Hubbard 1280ea8c74 o Use correct device for Wangtek tapes.
o Caution against use of `W' options in label/partition screens (dangerous!)
o Make various types of debugging dreck conditionalize on DEBUG flag
o Make a fake /var/db/mountdbtab file so new system doesn't complain
o Apply uniform permissions to entire /usr/X11R6 tree.
o Set erase character to ^H for all interactive commands.
o Don't panic if user exits upgrade shell, reboot.
o Document dangers of `W' options in help screens also.
1995-11-08 07:09:36 +00:00
John Fieber c248536a70 Fix up some URLs. 1995-11-07 18:24:47 +00:00
Jordan K. Hubbard 2f357b75ae 1. If kerberos is selected but not DES, auto-select DES.
2. Fix a stupid bug that resulted in strange (but usable) looking entries in
   /etc/hosts.
3. Make sure /usr/X11R6/bin is executable by all (I really need an mtree
   script to run for the entire /usr/X11R6 hierarchy since cpio is scrambling
   the perms for some reason and I suspect that this is only a partial fix!)
1995-11-07 10:45:50 +00:00
David Greenman 0e86c6f975 Brought in fixes from rev 1.24: fix data corruption with wide drives. 1995-11-07 07:01:50 +00:00
Jordan K. Hubbard f820b338f1 Some general fixes for the package menu (still need to fix the "more than 10
items checked bug though).  Now allow user to specify a PKG_TMPDIR.  If
not selected, we try to make one.
1995-11-06 12:49:27 +00:00
Jordan K. Hubbard 3fcb396334 Correct some *serious* brain-o's in the upgrade procedure. Thanks for
your patience, Julian!
1995-11-06 08:28:12 +00:00
Jordan K. Hubbard f55af8e7e2 Slight correction to previous commit - it just occurred to me that
putting up a network device menu in multi-user mode is probably
superfluous.
1995-11-06 07:28:51 +00:00
Jordan K. Hubbard f303543a44 Add IDE CDROM device to default devs.
Fix a bug where sysinstall would crash when run post-config time to
load something over the network.
1995-11-06 07:27:31 +00:00
Jordan K. Hubbard 06d2d2e852 Merge from HEAD. 1995-11-05 23:05:26 +00:00
John Fieber a830863d4c Add sgmlfmt to the tools target so make world with 2.1 source
on a <= 2.0.5 machine doesn't fall over.
1995-11-05 18:38:16 +00:00
Jordan K. Hubbard e2b2235cb6 Add the apache help file. 1995-11-05 02:22:53 +00:00
Jordan K. Hubbard ebcdaf6079 Reverse the sort order to put swap devices at the very top of fstab. 1995-11-05 01:45:03 +00:00
Jordan K. Hubbard 5e0fa92438 More bug fixes noticed from last install. 1995-11-05 01:00:31 +00:00
Jordan K. Hubbard 95e5b9561d Remove the anonymous FTP configuration from menus and prompts. It appears
that the adduser command is just too broken to allow it to be used
in automated creation mode (it loops forever) and this option is therefore
retired until we get it fixed.
1995-11-05 00:16:36 +00:00
Jordan K. Hubbard 5f0dbed004 Be more brutal about writing out /etc/hosts (it's not like there's much
to preserve there initially anyway).
More tweaks to FTP.
1995-11-04 17:16:45 +00:00
Jordan K. Hubbard 1ff815f8c1 Deal with the case where an FTP connection has been left so long, it
times out.

Make sure that anon ftp's home directory exists before calling adduser
or it (adduser) will have kittens.
1995-11-04 17:00:10 +00:00
Jordan K. Hubbard 687defdca7 Avoid doing disk selection twice in novice install.
Finally sort the fstab file entries correctly!  qsort() either
doesn't work or isn't working as documented.
1995-11-04 15:45:28 +00:00
Jordan K. Hubbard 18512a9e2e Fix the anon ftp installation to use the correct init function (doh!).
Some more error message reform, since I'm here.
1995-11-04 15:08:23 +00:00
Jordan K. Hubbard 2a5266ec73 Whoops! It might help if I made the device node before swapping on it.. 1995-11-04 12:20:20 +00:00
Jordan K. Hubbard 9ebebdddf5 Always add swap space as soon as we can in an effort to save the occasional
4MB machine.
1995-11-04 12:02:16 +00:00
Jordan K. Hubbard 977c4fc479 Check for possible NULL value in command stack. 1995-11-04 11:42:32 +00:00
Jordan K. Hubbard 386f151b1e Cosmetic tweaks. 1995-11-04 11:21:24 +00:00
Jordan K. Hubbard 4a461b9185 Move MBR selection to write/quite stage of disk editor for a more logical
grouping.

Don't print geometry warning in "all disk" case.

Clean up some unnecessary newlines in confirmation messages.
1995-11-04 11:09:16 +00:00
Jordan K. Hubbard 4497f6e3b0 Clean up outdated options menu docs. 1995-11-04 09:58:43 +00:00
Jordan K. Hubbard bc9ddd8975 Correct a typo. 1995-11-04 09:33:17 +00:00
Jordan K. Hubbard c9d81e8d84 Finally read through all the docs again and found much I didn't like.
Tweak tweak.
1995-11-04 08:48:15 +00:00
Jordan K. Hubbard b4263d8b07 Various tweaks to adjust things more to my liking. Also bring in Rich's
changes to update XFree86 to 3.1.2-S.
1995-11-04 08:47:33 +00:00
Jordan K. Hubbard 76f6586e69 Document the Novice install 1995-11-03 12:10:14 +00:00
Jordan K. Hubbard 21ae094686 Small tweaks. 1995-11-03 12:03:14 +00:00
Jordan K. Hubbard 6161b8559f Lots-o-cleanup(tm):
1. Fix the bogon I introduced that made some root filesystems fail to be
   made with `unable to make filesystem on sd1s1a' or some such error
   message.

2. Latest installment in the never-ending chapter on making FTP do the right
   thing on a cruel internet.

3. Make `express install' a truly express install and split off what it used
   to do into a `novice install' that's even more geared to the novice
   by asking questions in order, rather than forcing them through the menu
   interface.

4. Make anonymous FTP setup truly DTRT.

5. Build lndir directly into sysinstall and make the novice install offer
   to set up the ports tree.  Also make the ports setup truly explanatory
   about what it's doing, and always link the ports destination to /usr/ports
   if necessary so that bsd.port.mk doesn't need to be tweaked.
1995-11-03 12:02:45 +00:00
David Greenman 50513e23ca Brought in changes from rev 1.33: add missing manual pages. 1995-11-03 08:57:19 +00:00
David Greenman d8da814585 Add a special case check to allow Acer PCI chipsets to work with FreeBSD.
Submitted by:	se
1995-11-03 08:07:20 +00:00
David Greenman 671029b2dc Brought in revs 1.15-1.17: lessen severity of no pre-allocated cblocks
for a tty to a printf rather than a panic.

Reviewed by:	bde, peter
1995-11-03 08:05:05 +00:00
David Greenman 23e22be33d Brought in fix from rev 1.71: initialize TS_CONNECTED and line discipline
properly.

Reviewed by:	bde
1995-11-03 08:01:04 +00:00
David Greenman b229c54cb0 Brought in fix from rev 1.26: autodelete a cloned route if it gets in the
way of adding a new route.

Reviewed by:	wollman
1995-11-03 07:59:19 +00:00
David Greenman 4d60289671 Brought in fix from rev 1.17: start 2MSL timer for FIN_WAIT_2. 1995-11-03 07:53:59 +00:00
Jordan K. Hubbard 0a99c650c1 Update Hensa site to point to new location.
Submitted by:	"N.G.Smith" <[email protected]>
1995-11-03 06:21:47 +00:00
Jordan K. Hubbard 9b5bec1214 These patches fix two problems :
1 ) Tar was being called to process the archive after chdir()ing into the
    playpen, but the pathname given to it was uncorrected for the chdir().
    This is corrected by converting _all_ pathname arguments using
    realpath() (fileFindByPath() is used as a last-ditch attempt if the
    argument can't be found)

2 ) min_free was being called on the saved invocation directory, not on
    the playpen at one point.  (There are currently two seperate space
    checks, one when the playpen is created, and one later.  This is
    harmless cruft)
Submitted by:	Michael Smith <[email protected]>
1995-11-03 02:54:57 +00:00
David Greenman 872602d715 Brought in revs 1.8-1.9: security fix. 1995-11-02 03:39:47 +00:00
David Greenman ef472a375e Brought in revs 1.10-1.11: security patch. 1995-11-02 03:27:39 +00:00
John Fieber b2355ca3df Changes submitted by the author. 1995-11-01 16:40:14 +00:00
John Fieber 643a0f73d5 Sync with head. 1995-11-01 03:15:14 +00:00
Jordan K. Hubbard cc59f844e6 Sync with HEAD. 1995-10-31 20:35:20 +00:00
Jordan K. Hubbard aa15d33031 Add new Korean site to mirrors. 1995-10-30 18:05:32 +00:00
John Fieber f31884e2bb 2.1-ification, round 2.
The contraction police will be throwing Jordan behind bars if
he does not clean up his act....      ]:>
1995-10-30 17:48:19 +00:00
John Fieber 9918ddf180 Start 2.1-ifying these. 1995-10-30 16:18:55 +00:00
John Fieber cd90f3a62a Fix incorrect url for the FAQ. 1995-10-30 15:44:32 +00:00
John Fieber 5f951a14ad Completely rewritten section on DMA.
Submitted by:	Frank Durda IV <[email protected]>

Revised section on SCSI
Submitted by:	Wilko Bulte <[email protected]>
1995-10-30 15:23:57 +00:00
David Greenman 53e3af9af5 Brought in changes from revs 1.74-1.75: fix for vi recovery files. 1995-10-30 08:30:31 +00:00
Jordan K. Hubbard 6d19661039 Merge in Coranth's latest Apache setup fixes.
Add support for wcd0 back in.
Incorporate some of Frank Durda's doc fixes.
Other miscellany.
Submitted by:	SNAP testers & myself.
1995-10-30 08:04:58 +00:00
Jordan K. Hubbard f8f0a3d25c Add wcd0 to `all' target. 1995-10-30 02:59:41 +00:00
David Greenman 72e63aaa62 Brought in Justin's recent fixes: Work correctly with aha-2940U, fix
timeout time (was 1 tick rather than 2 seconds).
1995-10-29 09:46:11 +00:00
David Greenman cd87a67087 Put telnet, telnetd, and libtelnet in the krb distribution where they
belong. They should be actually moved in the source tree to be under
eBones, but I don't want to mess with that now. This should hopefully
fix the main problem people were having when they selected the "des"
distribution and not krb, but got the Kerberos version of telnet and
friends as a side effect.

Submitted by:	Justin Gibbs <gibbs>
1995-10-29 06:55:03 +00:00
David Greenman 92f2d2bb06 Brought in fix from 1.37: fix for hang caused by missing vfs_unbusy(). 1995-10-28 10:11:40 +00:00
Jordan K. Hubbard 5b50e0cade Change the script-driven custom distribution selection mechanism. This is
a bit simpler.
1995-10-27 17:00:27 +00:00
Jordan K. Hubbard 5b511fef3b Suggested doc changes from Michael Smith. 1995-10-27 16:43:01 +00:00
Jordan K. Hubbard 8a029d69a0 Just when you thought it was safe to go back in the water... 1995-10-27 16:42:46 +00:00
Jordan K. Hubbard 300e6588c6 Add the power logo to the root floppy. 1995-10-27 05:03:26 +00:00
Jordan K. Hubbard 5e837c527f Be more aggressive about writing out configuration files. 1995-10-27 03:59:38 +00:00
Jordan K. Hubbard b8884b9121 Last minute nits. 1995-10-27 03:07:14 +00:00
Jordan K. Hubbard 29f5bc299d Clean up some last bogons with the WEB server setup (now that I'm far
enough along to worry about such things!).
1995-10-27 02:12:58 +00:00
Jordan K. Hubbard d50e2f92d3 Fix a slightly confusing (and concerning) dialog in the case of an
installation abort.
1995-10-27 01:36:45 +00:00
Jordan K. Hubbard e120d1ddb5 Fix the bug I introduced with /etc/sysconfig not being updated
properly.
Make some cosmetic doc changes here and there in response to user
feedback.
1995-10-27 01:22:58 +00:00
John Fieber 3ab82e7e23 2.0.5 -> 2.1 1995-10-26 21:40:20 +00:00
David Greenman 3122ff0b75 Sync with main branch. 1995-10-26 12:22:23 +00:00
David Greenman 82c4297cf9 Brought in changes from main branch: move FS readonly checks into the
filesystem layer to fix related panics from vgone()'d vnodes.
1995-10-26 09:17:50 +00:00
Jordan K. Hubbard fe0c641b74 Sync up for this snapshot. 1995-10-26 08:56:18 +00:00
David Greenman dc8ebd9f1b Brought in changes from main branch: fixes for pty data lossage. 1995-10-26 08:38:08 +00:00
Jordan K. Hubbard c846e4a635 Grrrr. Soon! 1995-10-26 08:23:28 +00:00
Jordan K. Hubbard 4c05c1a1eb o Lots of documentation fixes. 1995-10-26 08:11:50 +00:00
Jordan K. Hubbard c933ba870f o Fix installUpgrade to start the holographic shell as well.
o  Lots of documentation fixes.
o  Rename FTP active to "FTP" and explain passive mode better.
o  Make tcpip screen a bit more friendly.
o  Literally dozens of nits.
1995-10-26 08:11:24 +00:00
David Greenman 783d732941 Brought in 1.35: fix incorrect burstsize initialization. 1995-10-26 07:47:14 +00:00
John Fieber 73b3929c3f Change commented SUPFILE examples to reflect where the supfiles
actually are (share/examples/sup).
Obtained from: -current
1995-10-26 02:39:24 +00:00
Jordan K. Hubbard f288fa875f Don't make the failure to declare a /usr so fatal. 1995-10-25 21:18:00 +00:00
Jordan K. Hubbard cef0845a40 Bring in Nate's changes from the HEAD.
Submitted by:	nate
1995-10-25 20:28:18 +00:00
Jordan K. Hubbard 3751f00dda Merge from HEAD, also eliminate the now-useless ATAPI description. 1995-10-25 17:29:53 +00:00
Jordan K. Hubbard 2d9c5d4e6e Merge from HEAD 1995-10-25 17:26:31 +00:00
Jordan K. Hubbard fe1a8d83da Merge from HEAD. 1995-10-25 17:20:27 +00:00
David Greenman 7cfc804900 Brought in parts of rev 1.138 and 1.144: fix printing of BIOS disk geoms. 1995-10-25 11:14:38 +00:00
Jordan K. Hubbard 1ae2248d78 Merge with HEAD. Really Strange since I thought I already *did* this!
I must be getting way too little sleep or something.
1995-10-25 00:50:32 +00:00
Jordan K. Hubbard 2d15cfde64 Bring in changes from the HEAD. 2.1 slattach is not happy. 1995-10-24 21:27:07 +00:00
Jordan K. Hubbard 8507c9324f Bring in _PATH_UUCPLOCK from HEAD. 1995-10-24 21:23:10 +00:00
Jordan K. Hubbard 626de628e1 Merge bug fix from HEADMerge bug fix from HEAD 1995-10-24 13:47:34 +00:00
Jordan K. Hubbard 66fb04064c Move next SNAP to Wednesday in order to give David more time to bring
other fixes in (I'm sure I'll also put the extra day to good use).
1995-10-24 04:03:53 +00:00
Jordan K. Hubbard fedb8876f4 Fix a typo.
Submitted by:	Brad Krebs <[email protected]>
1995-10-24 02:21:29 +00:00
Jordan K. Hubbard 5c8b739893 Make upgrades actually work (thanks, Julian).
Many other bug fixes.
1995-10-24 02:18:23 +00:00
Jordan K. Hubbard a570532630 Update to tomorrow's SNAP date. 1995-10-24 02:17:05 +00:00
Jordan K. Hubbard 3beb445f4e Add startslip examples from HEAD. 1995-10-23 20:39:13 +00:00
Jordan K. Hubbard b530f5a69a Merge from HEAD. The 2.1 version was totally broken, as opposed to
this one which is just insufficient.. :-)
1995-10-23 19:40:47 +00:00
Jordan K. Hubbard 7d474bde7c Reshuffle the network config code a little so that it's actually
usable.  Also fix the package extraction code.
1995-10-23 13:19:51 +00:00
Jordan K. Hubbard 3d7ba19679 Prevent slave mode from collapsing under certain circumstances. 1995-10-23 12:33:43 +00:00
David Greenman 54fdce0677 Brought in rev 1.4: initialize pty name template properly - fixes a bug
that prevents multiple pty opens.
1995-10-23 11:13:31 +00:00
David Greenman 733dde2c1a Brought in rev 1.2: fix typo. 1995-10-23 00:52:17 +00:00
David Greenman b5e8fd85a6 Walk on egg shells by bringing in pieces of Serge's recent fixes. I've
tried to bring in just the most important fixes and leave out the
controversial "open reference counting" changes that appear to be mostly
wrong.
1995-10-22 23:14:38 +00:00
Jordan K. Hubbard c02309d460 Fixes and updates. 1995-10-22 21:38:26 +00:00
Jordan K. Hubbard 905acabff3 Add Poland. 1995-10-22 21:35:34 +00:00
Jordan K. Hubbard b1487c2a94 Put this into alphabetical order and update it a little. 1995-10-22 21:30:32 +00:00
Jordan K. Hubbard 58026a65f5 1. Add Coranth Gryphon's Apache WWW server setup screen.
2. Fix an infinite recursion bug in FTP retry.  Tricky, this FTP install!
3. Add messaging routines for scripts.
4. Fix yet more bogons.  I think I'm fixing them faster than they're growing,
   but it's hard to say.  I'm really glad we're throwing this code away for
   2.2!
1995-10-22 20:15:07 +00:00
Jordan K. Hubbard d311e970fe Second round of screen update changes. Now handle the yes/no dialogs
as well as the confirmation dialogs.
1995-10-22 17:39:29 +00:00
Jordan K. Hubbard afe3f3c126 Style changes. Clear the screen before a lot of error dialogs so that they
don't bogusly restore the screen to the message that was the cause of the
abort.  That resulted in lots of weird flickering dialog boxes that appeared
to be displayed out of sequence.
1995-10-22 17:18:36 +00:00
Jordan K. Hubbard d2f6feed0d Merge from HEAD:
Preserve the state of IEXTEN across raw()/noraw() calls, but turn off
IEXTEN while raw() is active.
Submitted by:	joerg
1995-10-22 14:19:25 +00:00
Jordan K. Hubbard 2a72309b63 Merge changes from HEAD. Also bring in the German message catalog. 1995-10-22 14:14:25 +00:00
Jordan K. Hubbard b9ed94abbf Make sure that $HOME is always set. Applications like ee shouldn't
blithly assume that HOME *is* set, but it's probably easier to just set
it to some reasonable default here rather than assuming that no other
apps will get similarly confused.
1995-10-22 14:06:38 +00:00
Jordan K. Hubbard 892429c15a Just fixin' them bugs as fast as they pop up.
Also add instrumentation for adding packages from scripts.
1995-10-22 12:04:12 +00:00
Jordan K. Hubbard 7594d483f7 Update from HEAD. 1995-10-22 11:45:34 +00:00
Jordan K. Hubbard b54958350d Fix a bug in dist extraction when a dist was missing.
Allow instrumentation for adding packages from scripts.
1995-10-22 11:32:58 +00:00
Jordan K. Hubbard 211331cf5b Add more knobs to the preconfiguration stuff. 1995-10-22 10:25:20 +00:00
Jordan K. Hubbard 06d8c430d4 Fix a stooooopid bug I introduced with the CPIO verbose flag that broke
the root floppy extract (d'oh!).  No doubt about it, gotta stop programming
without sleep! (yeah, right!)
1995-10-22 08:33:22 +00:00
Jordan K. Hubbard bcaa900d72 The day that all the bugs are out of the FTP code is the day I retire
to Fiji..
1995-10-22 02:15:42 +00:00
Jordan K. Hubbard 2dbf4dcf4b Style police throughout.
Fix the ppp startup code.
Make the disklabel and fdisk screens "automatable"
1995-10-22 01:33:02 +00:00
John Fieber 26d60e82b9 Sync with head. 1995-10-22 00:50:33 +00:00
cvs2svn c95f4bc5fb This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-10-21 23:47:44 +00:00
Jordan K. Hubbard b08409b051 Error message reform. Make an unnecessarily fatal error a warning. 1995-10-21 20:03:07 +00:00
Jordan K. Hubbard 8bb20c3016 Every time I think I have the FTP reselection code working, I find another
case to check for.  SIGH!
1995-10-21 19:44:02 +00:00
Jordan K. Hubbard 7a1199fa36 Make all FTP failures "bounce" the connection properly. 1995-10-21 18:28:08 +00:00
Jordan K. Hubbard 93f70f753d Fix a couple of things I broke while fixing them. 1995-10-21 16:44:24 +00:00
Jordan K. Hubbard 23857c0d99 Missed a gus max reference. 1995-10-21 15:03:22 +00:00
Jordan K. Hubbard 5c63c6c628 Fix a few bogitties in this doc. 1995-10-21 14:07:48 +00:00
Jordan K. Hubbard f7096d0387 1. Of course, the day after you roll the snapshots is the day you realize
that the FTP install doesn't deal with timeouts and hasn't since it was
   written.  Fixed.

2. Totally eliminate the OptionFlags.  I only had to work harder to
   sync them with configuration variables, so why not simply always use
   configuration variables?  This has actually greatly simplified areas
   of the code.
1995-10-21 14:07:02 +00:00
Jordan K. Hubbard 52e389472d remove now-bogus gusmax device from list. 1995-10-21 11:50:35 +00:00
David Greenman 8fd6ceb63b Brought in fix from rev 1.23: handle PRU_CONTROL to prevent a panic. 1995-10-21 03:02:54 +00:00
Jordan K. Hubbard f95141db73 This small change allows express installation to invoke the last config
menus before the final stage operations are done.
1995-10-20 22:48:49 +00:00
Jordan K. Hubbard 32b07f7d18 Very small nit. 1995-10-20 22:34:55 +00:00
David Greenman c415b4ecf7 Kill unnecessary outl (CONF1_DATA_PORT, 0) that was killing some non-PCI
machines.

Submitted by:	Stefan Esser <[email protected]>
1995-10-20 22:12:53 +00:00
Jordan K. Hubbard 978ac356e3 Slip some more fixes in under the wire (build hasn't gotten this far yet). 1995-10-20 21:57:25 +00:00
Jordan K. Hubbard 9992d8734c Slip some fixes under the wire. Mostly cosmetic cleanup and
an attempt to make the package installer a little more robust (it's
still a little shakey, but will improve between now and the release)..
1995-10-20 20:10:49 +00:00
Jordan K. Hubbard 5ffcd5ed7c Update. 1995-10-20 16:50:01 +00:00
Jordan K. Hubbard 8081430ed6 Now I can do all the TCP and FTP configuration from config files. 1995-10-20 16:49:50 +00:00
Jordan K. Hubbard 8c6b0eea35 The accursed snapshot date rolls forward to today. 1995-10-20 16:17:48 +00:00
Jordan K. Hubbard 538ec2e1f1 Split the preconfiguration code off into its own location.
Make it possible to preconfigure TCP setup.
1995-10-20 15:40:52 +00:00
Jordan K. Hubbard b9e02be9a5 Sync for Westhill build. 1995-10-20 14:26:15 +00:00
Jordan K. Hubbard a3dd10c9ac Fix fix. 1995-10-20 10:38:49 +00:00
Jordan K. Hubbard 6ff6033390 More bug fixing, make debug settable two ways, put more meat into
the upgrade.
1995-10-20 10:01:26 +00:00
Jordan K. Hubbard b200a7a1bd Give user the option to bail out of a failing FTP installation. 1995-10-20 07:37:11 +00:00
Jordan K. Hubbard 7c112b2b1f Too many bugs fixed to mention. This code just seems to BREED them.
Many interfaces were also simplified or generally cleaned up in an
attempt to curb this problem.
1995-10-20 07:02:53 +00:00
Jordan K. Hubbard 84732d348d Remove a little TOO much verbosity from here. 1995-10-20 07:00:40 +00:00
Jordan K. Hubbard f39b84b2cf Set SNAP to today's date. Yes, today a snapshot is going out - one way
or another!
1995-10-19 18:38:31 +00:00
Jordan K. Hubbard c4aec2afac Sync. 1995-10-19 18:37:50 +00:00
Jordan K. Hubbard 9bb9a88b9f Sync with today's sources:
o Implement the 2.0.5->2.1 upgrade procedure (gah).
o Bring in Coranth's support for configuration of anon ftp and Samba
  plus some changes of my own.
o More attempts to actually write the documentation in english.
o Update docs to contain more 2.1-centric information.
1995-10-19 15:57:23 +00:00
Jordan K. Hubbard 243796bf02 Update apache port knob to point to right executable.
Submitted by:	"Eric L. Hernes" <[email protected]>
1995-10-19 08:07:09 +00:00
Jordan K. Hubbard 9da8b61c00 Merge from HEAD 1995-10-19 06:29:30 +00:00
John Fieber 8b8b37c685 Sync with head. 1995-10-18 05:08:52 +00:00
Jordan K. Hubbard a120b7bf4b Some rethinks on the way the attribute interface worked (now that
I'm really, truly using it).  Allow distribution fetch to get .info
files from the root.flp OR the distribution in question, allowing us
to add flexibility to the scheme.  At some point, perhaps soon, the
cached copy should probably go away entirely!
1995-10-18 05:02:02 +00:00
John Fieber 39be696fed Sync with head. 1995-10-18 04:36:31 +00:00
Jordan K. Hubbard a81cb882b8 2 More important bug fixes. 1995-10-18 00:47:09 +00:00
Jordan K. Hubbard 824e7fa37e Almost snapshot time..
Merge today's work.

Now support an attributes file loaded at startup (true front-loaded install).
Add fuller debugging support to all device I/O routines.
Lots-o-bug fixes.
1995-10-18 00:12:55 +00:00
David Greenman 8a96ce97be Brought in rev 1.32: add dgb man page. 1995-10-17 21:45:30 +00:00
David Greenman e33272cc90 Brought in changes from rev 1.107: fix dgb driver portion. 1995-10-17 21:42:38 +00:00
Jordan K. Hubbard 209ecd4923 Sync with me in prep for snapshot. 1995-10-17 02:57:11 +00:00
Jordan K. Hubbard 6dd7de81c3 Sync to my current development srcs. I'm about to go off the air here for
awhile wwhile they work on my phone lines.
1995-10-16 23:02:35 +00:00
David Greenman 394858ca16 Brought in changes from rev 1.28: remove unnecessary tsleep that could
result in processes not being swapped in when they were supposed to be.
1995-10-16 20:43:05 +00:00
Jordan K. Hubbard b2bb9cc6c8 Fix many more bogons, add some stuff to make the docs folk happy. 1995-10-16 15:14:28 +00:00
Jordan K. Hubbard 1c82a6784e Fix the ancient lurking evil that prevented the `Undo' commands from
ever really working.
1995-10-16 10:33:47 +00:00
Jordan K. Hubbard c0fe50d391 Switch to fds from FILE *'s. Fix a problem with FTP media device
and INDEX file.
1995-10-16 09:25:22 +00:00
Jordan K. Hubbard a550eb3936 Sync up to today's development snapshot for the other folks working on this. 1995-10-16 07:31:11 +00:00
John Fieber 941c940189 Sync with head. 1995-10-15 16:52:34 +00:00
Jordan K. Hubbard a91815ae04 Bring in John's change from the HEAD. 1995-10-15 16:30:48 +00:00
Jordan K. Hubbard ebe0bf575a Turn zip back on - the MFS image blew up without it. 1995-10-15 16:24:52 +00:00
Jordan K. Hubbard f0b3e7d1c9 Add 2 missing distributions. 1995-10-15 15:45:33 +00:00
Jordan K. Hubbard c472960924 As bits become scarce, start tightening up. 1995-10-15 15:45:20 +00:00
Jordan K. Hubbard a897b8e32c Another cleanup pass through here. About one more before final release
and I should be done.
1995-10-15 14:54:05 +00:00
Jordan K. Hubbard 411f25bce7 Last pen sanitize pass. 1995-10-15 14:08:42 +00:00
Jordan K. Hubbard 98133480f5 Remove wcd0 from list of devices on boot.flp. 1995-10-15 12:55:13 +00:00
Jordan K. Hubbard bde602e4d1 Sync. Split into more rational package support functions and clients
of those functions.
1995-10-15 12:41:09 +00:00
Jordan K. Hubbard a65986e99b Same for this file: DISTRIBUTION doc -> bin 1995-10-15 08:33:48 +00:00
Jordan K. Hubbard e88d6ee1de We don't have a "doc" distribution right now. Set this to bin. 1995-10-15 08:32:22 +00:00
Jordan K. Hubbard fe07a7b8fc Adjust for new location of MIRROR.SITES file. 1995-10-15 06:25:43 +00:00
Jordan K. Hubbard cb5fcc6d1e Fix a few long-standing bogons in the playpen code. Don't worry, folks,
this will come into -current just as soon as I'm finished.
1995-10-15 04:39:56 +00:00
Jordan K. Hubbard e57f50cb01 Substantially simplify the package install code by running pkg_add in
slave mode.
1995-10-15 04:37:07 +00:00
John Fieber dc72c140b9 Sync with head. 1995-10-14 21:55:34 +00:00
Jordan K. Hubbard d9a99a13ea Try for a more realistic SNAP date. 1995-10-14 19:15:10 +00:00
Jordan K. Hubbard eafa5b3c5f *Preliminary* pass over the docs to start bringing things up to 2.1 level.
Still not done in here by a long shot, but this takes care of most of the
cosmetic/bug fixing work.
1995-10-14 19:14:26 +00:00
Jordan K. Hubbard 8f017d1c08 Sync up to today's cleanup work. 1995-10-14 19:13:35 +00:00
Jordan K. Hubbard b2202a8d0a Make playpens more suitable for nested use. 1995-10-14 19:11:47 +00:00
Jordan K. Hubbard 5bb3b50645 Adapt to changes in leave_playpen(). 1995-10-14 19:11:27 +00:00
Jordan K. Hubbard 2a7488e9f0 Handle chained adds by URL. 1995-10-14 19:11:02 +00:00
David Greenman abcbf889da Brought in fix from rev 1.14: fix off by one page bug in pcmmap(). 1995-10-14 13:56:59 +00:00
David Greenman 34a051ae40 Brought in fix from rev 1.101: use nommap rather than nxmmap to close
security hole.
1995-10-14 13:52:32 +00:00
Jordan K. Hubbard 3f1da8e1bc Sync with my development sources, smashing an annoying bug and making
the options editor a little less pathological.
1995-10-14 09:30:53 +00:00
Jordan K. Hubbard 3d30af9fd7 Add some debugging abilities to this. 1995-10-14 09:29:58 +00:00
John Fieber 44070b24ec Add sup. 1995-10-13 09:03:49 +00:00
Jordan K. Hubbard 4f6f10295a Sync with development sources. 1995-10-13 08:19:45 +00:00
David Greenman 2602086362 Brought in changes from main branch: fix digiboard driver to not use old
select.
1995-10-13 03:41:37 +00:00
Jordan K. Hubbard 0268640ad3 Waaak! Mis-spelled a function name. 1995-10-12 08:00:16 +00:00
Jordan K. Hubbard afebc45674 Whups! Make the root slice before mounting it. 1995-10-12 07:35:33 +00:00
John Fieber abc6b746e9 Enable FAQ and handbook. 1995-10-12 03:22:03 +00:00
John Fieber 3b1e3c8f84 Sync with head. 1995-10-12 03:18:14 +00:00
John Fieber 860dc70b0f Remove /usr/share/FAQ, add /usr/share/examples/sup 1995-10-12 03:11:11 +00:00
John Fieber 9416eec5b8 Remove FAQ. 1995-10-12 02:28:03 +00:00
John Fieber 0a91963773 Sync with head. 1995-10-11 23:19:16 +00:00
John Fieber d427515ec5 Sync with head. 1995-10-11 23:03:50 +00:00
Jordan K. Hubbard c5a6807d5e Make the fixit floppy work again; ran out of inodes. 1995-10-11 20:45:51 +00:00
Jordan K. Hubbard 23fc5ee58c Make the `floppies' target work the right way. 1995-10-11 20:11:51 +00:00
Jordan K. Hubbard a3ebdfb581 Remove added cruft for ATAPI CDROM floppy.
It simply doesn't work yet.
1995-10-11 10:10:14 +00:00
Jordan K. Hubbard e17853c7ff Use more proper value of 20 for tape blocksize. 1995-10-11 10:00:20 +00:00
Jordan K. Hubbard d5e8ed023a Fix a couple of doc or appearance nits.
Remove the ATAPI kernel hack.
Remove the now-unnecessary work-around for booting root off a slice; it
appears to work just fine now and will confuse a lot fewer folks.
1995-10-11 09:57:30 +00:00
David Greenman 5189f75dd3 Updated config line for Cyclades driver. 1995-10-11 06:26:55 +00:00
David Greenman 6cc276ab08 Brought in change from rev 1.31: man page for cy driver. 1995-10-11 06:23:29 +00:00
David Greenman 1f1e45e3d2 Brought in changes from rev 1.15: fix probe for the 16-Ye. 1995-10-11 02:42:42 +00:00
Jordan K. Hubbard 9b2e8eb55d Be highly optimistic and set the next snapshot date for the 12th of October. 1995-10-11 01:00:31 +00:00
Jordan K. Hubbard d46936a924 Fix a long-standing bug that enabled you to stomp a boot manager
on a drive NOT selected!  Woo doggies!
1995-10-11 00:59:37 +00:00
Jordan K. Hubbard 77ec2293ed Tweak a message to be a bit more clear.
Declare missing fd.
Fix options bug where old text was still weird shades of blue when you came back.
1995-10-11 00:54:01 +00:00
Justin T. Gibbs 2ed956f14b Remove MAKE_EBONES conditionals. Besides being wrong, this was what screwed
up secure telnet in the previous snapshots.
1995-10-11 00:12:21 +00:00
David Greenman 115555f787 Brought in changes from rev 1.7: fix include file problem that I created. 1995-10-10 12:19:00 +00:00
David Greenman 060d520eb8 Sync with main branch. 1995-10-10 01:15:24 +00:00
David Greenman 69da6fae3c Brought in change from rev 1.6: bugfix for the bugfix. 1995-10-10 01:04:38 +00:00
David Greenman c5c6b8c51d Brought in changes from rev 1.16: fix typo that broke PCI probing on some
machines.
1995-10-10 01:00:58 +00:00
David Greenman ee463c3d83 Brought in changes from rev 1.61: Fix tracing of syscalls. 1995-10-10 00:45:46 +00:00
David Greenman b76c56970e Sync with main branch: fixes for worm drives. 1995-10-10 00:42:03 +00:00
David Greenman cbf6bf8acf Brought in changes from revs 1.43-1.49: numerous bug fixes. 1995-10-10 00:28:31 +00:00
Jordan K. Hubbard b5953a4bc4 Argh. NOW it's the correct version. 1995-10-09 11:54:27 +00:00
Jordan K. Hubbard 723b5202fe Remove something that got committed by mistake. 1995-10-09 11:49:45 +00:00
Jordan K. Hubbard 15c2e6abe1 Bring in the first half of my changes to handle dependencies when
fetching by URL.  This only effects the little-used get-by-URL feature
right now.
1995-10-09 11:16:31 +00:00
Jordan K. Hubbard 5482d60bb9 Syncronize with my current sources. pkg installer not quite in final
form yet, but close.
1995-10-09 11:14:56 +00:00
David Greenman 1c067ad84a Sync with main branch. 1995-10-09 08:51:32 +00:00
David Greenman 01eb1fc511 Sync with main branch: add -v to synopsis. 1995-10-09 08:48:07 +00:00
David Greenman 9caf218bb0 Brought in change from rev 1.5: use strtoq() not strtoul(). 1995-10-09 08:45:30 +00:00
David Greenman 5fde9eae16 Sync with main branch: Bill Fenner's recent fixes. 1995-10-09 08:43:09 +00:00
David Greenman aabeb33cb4 Sync with main branch: fix lpr -r. 1995-10-09 08:39:17 +00:00
David Greenman 6d7ab0a861 Sync with main branch: fix output formatting in 'day' non-plural case. 1995-10-09 08:25:35 +00:00
David Greenman 975a621d60 Sync with main branch: initialize memory returned by malloc. 1995-10-09 08:18:57 +00:00
David Greenman 6ab4141a4d Sync with main branch: initialize memory returned by malloc. 1995-10-09 08:13:52 +00:00
David Greenman f67f0ac833 Brought in change from rev 1.5: fflush stdout. 1995-10-09 07:57:35 +00:00
David Greenman a7ec6793d0 Sync with main branch: back out an old (Dec, 1994) hack by Andrey. 1995-10-09 07:53:14 +00:00
David Greenman ffa9f0f483 Brought in changes from rev 1.30: fix panic with rename("foo/","../../"). 1995-10-09 07:42:46 +00:00
David Greenman caac3c9181 Sync with main branch: add vendor ID for Compaq, cosmetic changes. 1995-10-09 06:35:59 +00:00
David Greenman 22ffb3f11a Brought in changes from rev 1.33: grok SIOCGIFADDR. 1995-10-09 06:29:11 +00:00
David Greenman 83b5784e4c Brought in changes from rev 1.15: indentify the 2940U. 1995-10-09 06:27:50 +00:00
David Greenman 3b64f63992 Brought in changes from rev 1.23: fixup syslog messages. 1995-10-09 06:22:13 +00:00
David Greenman bb4f185f72 Brought in changes from rev 1.24: fix rename("dir1", "dir2/..") panic. 1995-10-09 06:13:08 +00:00
David Greenman 520b0e7825 Sync with main branch. 1995-10-09 05:55:41 +00:00
David Greenman e831ab4885 Sync with main branch. 1995-10-09 05:39:49 +00:00
David Greenman 396ae6ea15 Sync with main branch: fix for -speed option. 1995-10-09 05:23:48 +00:00
David Greenman 5b7360d4c0 Brought in changes from rev 1.3: Handle trailing slashes in source
filenames correctly.
1995-10-09 05:12:21 +00:00
David Greenman db210d3fc2 Brought in change from rev 1.22: workaround for "ktrace panic". 1995-10-09 04:31:29 +00:00
Jordan K. Hubbard eaecce8007 Try to set up the environment a little more comfortably for the
fixit shell.
1995-10-07 21:18:58 +00:00
Jordan K. Hubbard 08a8e03deb Try to increase the number of inodes available on the fixit floppy. 1995-10-07 21:12:10 +00:00
David Greenman e09022f3b7 Brought in changes from rev 1.14: always check input UDP checksums even
if checksum generation is disabled.
1995-10-07 20:20:58 +00:00
David Greenman c9264fbece Brought in changes from rev 1.22: bugfix for IP_HDRINCL. 1995-10-07 20:17:31 +00:00
David Greenman 039805043d Brought in changes from rev 1.13: return correct error code an permission
failure.
1995-10-07 20:13:01 +00:00
David Greenman fbf270e4c3 Brought in changes from rev 1.10: properly handle BPF writes and multicasts. 1995-10-07 20:10:10 +00:00
David Greenman 08a19a5617 Brought in changes from rev 1.32: fix for race condition. 1995-10-07 12:57:41 +00:00
David Greenman 57cdab952d Brought in chanegs from rev 1.22: discard output immediately on close to
avoid a panic.
1995-10-07 12:55:50 +00:00
David Greenman 15d87cd4e4 Brought in changes from main branch: fix to properly understand BPF writes. 1995-10-07 12:51:13 +00:00
David Greenman d7fbdd710e Brought in changes from revs 1.12-1.13: allocate a header mbuf instead of
(bogusly) a regular mbuf; only print attached messages if bootverbose.
The change to move ifpromisc() (part of rev 1.13) was NOT brought in.
1995-10-07 12:47:58 +00:00
David Greenman fbbc57b1aa Brought in changes from rev 1.2: fixes for vnode locking bugs. 1995-10-07 12:31:18 +00:00
David Greenman dbdb63f319 Brought in changes from rev 1.2: bugfix for linux_readdir(). 1995-10-07 12:23:53 +00:00
David Greenman d13604dc62 Sync with main branch: Properly find PCI on Compaq and other machines. 1995-10-07 12:16:05 +00:00
Jordan K. Hubbard d58c7d4e9c Whoops! Eliminate a relic. 1995-10-07 12:12:37 +00:00
David Greenman 27014746b0 Brought in changes from main branch: fixes for irq logic. 1995-10-07 12:01:40 +00:00
Jordan K. Hubbard 49fa7c71f3 Clean up a few long-standing offenses against the english language. 1995-10-07 11:56:03 +00:00
Jordan K. Hubbard ca9fea5680 Whole mass of changes from first code review. Eliminate some
long-standing bogons, try to make things more fault tolerant
in general, bring in the first version of my new package installation
menu.
1995-10-07 11:55:37 +00:00
David Greenman a3dc6592f2 Brought in changes from revs 1.47-1.48: properly recognize 1542CP
controllers.
1995-10-07 11:54:53 +00:00
David Greenman c41a724e11 Sync with main branch. 1995-10-07 11:50:22 +00:00
David Greenman 377c945aeb Sync with main branch: various bugfixes (part of Cronyx driver update). 1995-10-07 11:36:59 +00:00
David Greenman 6e3eb7d3ae Sync with main branch: various bugfixes and improvements. 1995-10-07 11:34:22 +00:00
David Greenman 835a6189b9 Brought in changes from rev 1.8: handle tabs in the config file. 1995-10-07 04:31:20 +00:00
David Greenman ae3f5e457d Sync with main branch: various bugfixes. 1995-10-07 04:28:06 +00:00
David Greenman 1088ebc9d8 Brought in changes from rev 1.10: various bugfixes. 1995-10-07 03:40:48 +00:00
David Greenman 75edafb665 Brought in changes from main branch: various fixes, man page corrections,
and DCF77 support.
1995-10-06 12:05:35 +00:00
David Greenman 764424fc15 Brought in changes from main branch: various fixes. 1995-10-06 11:54:22 +00:00
David Greenman 4d446681d5 Sync with main branch: fix 'Usage'. 1995-10-06 11:37:45 +00:00
David Greenman 2c66386c5c Brought in changes from rev 1.18: add si driver support. 1995-10-06 11:34:20 +00:00
David Greenman 2688b66bf2 Brought in changes from main branch: fix broken mask logic and fix broken
proxy arp support.
1995-10-06 11:28:59 +00:00
David Greenman ea3678bbb2 Brought in changes from main branch: various bugfixes. 1995-10-06 11:24:47 +00:00
David Greenman 671cc6a043 Sync with main branch: fix compiler warning. 1995-10-06 11:04:35 +00:00
David Greenman 4f21fb1cde Sync with main branch. 1995-10-06 11:01:58 +00:00
David Greenman 5af9b5cc4e Brought in changes from main branch: fix Usage. 1995-10-06 10:50:53 +00:00
David Greenman 8559312262 Sync with main branch. 1995-10-06 10:48:57 +00:00
David Greenman aacbe9aede Syc with main branch. 1995-10-06 10:32:11 +00:00
David Greenman 1742f17dff Brought in changes from 1.5-1.6: support 57600-115200 and fix security
hole.
1995-10-06 10:30:44 +00:00
David Greenman ef62fdd0f5 Brought in changes from rev 1.6: handle escaped (%) characters correctly. 1995-10-06 10:28:43 +00:00
David Greenman b56830a31d Sync with main branch. 1995-10-06 10:12:53 +00:00
David Greenman 516e0a12c2 Brought in changes from main branch: widen TTY field by one char. 1995-10-06 10:07:07 +00:00
Jordan K. Hubbard a3374a9920 Correct a bogon I introduced while trying to make redisplay more
efficient.
1995-10-06 08:51:00 +00:00
Jordan K. Hubbard ad48d6cae2 Merge from HEAD. 1995-10-06 05:43:44 +00:00
Jordan K. Hubbard d4e686626d Bring in changes from the HEAD
Submitted by:	Gary Jennejohn <[email protected]>
1995-10-06 04:43:28 +00:00
Jordan K. Hubbard 3dad934218 Bring Peter's import in from the HEAD (I need these changes in 2.1 *now*!).
BTW, It's Gary Jennejohn, not Gary Jones.
Submitted by:	[email protected] <Gary Jennejohn>
1995-10-06 02:53:48 +00:00
Jordan K. Hubbard a2d7ca5896 Bring in my change from the HEAD. 1995-10-06 02:48:59 +00:00
David Greenman d29eb2063d Sync with main branch: fix plural for "1day" case. 1995-10-06 02:26:44 +00:00
David Greenman df3ce8204f Brought in changes from main branch: fix build order problems "tools" and
stop using gets().
1995-10-06 02:23:32 +00:00
David Greenman 9b44fb9697 Brought in change from rev 1.3: initialize 'pid' properly. 1995-10-06 02:11:44 +00:00
David Greenman 7a02f3e5b4 retrofitted change in rev 1.4: don't loop forever if NFS isn't in the
kernel.
1995-10-06 02:06:43 +00:00
David Greenman 697887804a Sync with main branch: exit with 1 on no hosts failure. 1995-10-06 02:00:09 +00:00
David Greenman 31278d3589 Sync with main branch: NIS fixes. 1995-10-06 01:58:47 +00:00
David Greenman 2bd7b11813 Sync with main branch: fix mangling of argv strings. 1995-10-06 01:50:05 +00:00
David Greenman c05e2ebcfd gack. Back out that last change for a bit. 1995-10-06 01:42:26 +00:00
David Greenman 5006c3b992 Sync with main branch: widen TTY field by one char. 1995-10-06 01:36:45 +00:00
David Greenman 3a5fe3c33a Sync with main branch. 1995-10-06 01:33:08 +00:00
David Greenman 3e54ef6335 Sync with main branch. 1995-10-06 01:07:02 +00:00
David Greenman 2b3b90e4f5 Sync with main branch: NIS fixes. 1995-10-06 00:58:51 +00:00
David Greenman 7dfdf4df3c Sync with main branch. 1995-10-05 20:58:56 +00:00
David Greenman 88f42f773e Sync with main branch. 1995-10-05 20:32:57 +00:00
David Greenman 67c62cfbdf Sync with main branch. 1995-10-05 20:27:09 +00:00
David Greenman ef6fe84a04 Sync with main branch. 1995-10-05 20:22:00 +00:00
David Greenman e1c2e91e0d Brought in changes from main branch: add missing manual pages. 1995-10-05 20:21:01 +00:00
David Greenman ee5d2b6c4a Sync with main branch. 1995-10-05 20:13:12 +00:00
David Greenman 934486c8eb Sync with main branch. 1995-10-05 20:02:57 +00:00
Jordan K. Hubbard c7cd5a06a8 wcd0a -> wcd0c 1995-10-05 09:55:01 +00:00
David Greenman 9b38fe6325 Brought in change from rev 1.3: Add fr_FR.ISO_8859-1 to LANGS 1995-10-05 09:46:01 +00:00
Jordan K. Hubbard 4e815f76bf Do a little handwaving to get the wcd0 device onto the various
floppies since it's not in MAKEDEV's all target yet.
1995-10-05 09:42:13 +00:00
David Greenman f91dc7d77b Brought in changes from main branch: Rename ISO8859-1 to ISO_8859-1 per
RFC1700. I originally had decided not to do this, but this creates a
incompatibility in our ports tree.
1995-10-05 09:39:39 +00:00
Jordan K. Hubbard 8d393daf82 Strip out two (strangely) redundant pwd binaries. 1995-10-05 09:31:39 +00:00
David Greenman c7c5b837ec Brought in change from main branch: Rename ISO8859-1 to ISO_8859-1 per
RFC1700. I originally had decided not to do this, but this creates a
incompatibility in our ports tree.
1995-10-05 09:31:38 +00:00
Jordan K. Hubbard ecdfd64796 Whups - need gnuregex for grep. 1995-10-05 09:27:06 +00:00
Jordan K. Hubbard 4a4295ee45 Try to make the fixit floppy a more hospitable place. 1995-10-05 09:15:29 +00:00
Jordan K. Hubbard 849b8284e3 Create termcap entries a little differently. 1995-10-05 09:11:02 +00:00
Jordan K. Hubbard 9ef33da5de Add grep to fixit. I missed it. 1995-10-05 09:08:29 +00:00
Jordan K. Hubbard 55480c15fe Don't mount fixit floppy read-only; that's where our /tmp is! 1995-10-05 09:03:30 +00:00
Jordan K. Hubbard 33fc5a9fd5 Include pwd. Subshells behave strangely without it. 1995-10-05 08:58:19 +00:00
Jordan K. Hubbard 4b257d5e0e Correct another stupid botch. 1995-10-05 08:18:57 +00:00
Jordan K. Hubbard 899802e9b3 Ack. Embarassing mistake. Use return code from FtpChdir() properly. 1995-10-05 08:14:54 +00:00
David Greenman e9a68bf85c Brought in changes from main branch: widen TT field by one char. 1995-10-05 07:46:37 +00:00
David Greenman 197829329f Sync with main branch. 1995-10-05 07:28:28 +00:00
David Greenman 9a28700e4c Brought in changes from rev 1.5: preserve sticky bit. 1995-10-05 07:24:24 +00:00
David Greenman eab97c27fa Brought in changes from rev 1.3: return proper exit status. 1995-10-05 07:20:59 +00:00
Jordan K. Hubbard f39843b8c6 Remake fs-image before rolling IDE CDROM floppy. 1995-10-05 06:55:28 +00:00
Jordan K. Hubbard bc1c0b1f76 Fix this to stop bogusly replacing `options ATAPI' 1995-10-05 04:36:59 +00:00
Jordan K. Hubbard b7f3474737 Set date in prep for next SNAP. 1995-10-04 23:06:09 +00:00
Jordan K. Hubbard 64312c62ce Since we're jettisoning ballast, toss PROCFS overboard from MFS kernel too. 1995-10-04 20:28:43 +00:00
Jordan K. Hubbard 600ebc6ce7 Document the option screen as it exists now. 1995-10-04 12:08:39 +00:00
Jordan K. Hubbard 2a45e79047 General cleanup - sanitize use of variables.
Do more rational things in a number of other instances.
1995-10-04 12:08:27 +00:00
Jordan K. Hubbard c5cea4955c Complete changes for creation of ATAPI boot floppy. 1995-10-04 12:07:26 +00:00
Jordan K. Hubbard b511d3cc63 o Search much more aggressively for distributions in all extraction
methods.  This should make the process rather more robust in the face
  of entropy.
o Let tape cpio extract guess type of tape format.
o Hide cursor better in options screen.
1995-10-04 10:34:08 +00:00
Jordan K. Hubbard 512d27ca40 Build ATAPI kernel now in default build sequence. 1995-10-04 10:31:52 +00:00
Jordan K. Hubbard e84fa01cec Back out this attempt. I was too hasty. We'll revisit this
later, after more correspondence.
1995-10-04 10:24:54 +00:00
Jordan K. Hubbard 47f965533a Whups! Get mount_mfs the right way, by linking it to newfs. 1995-10-04 09:49:48 +00:00
Jordan K. Hubbard 0adeea0633 appended are patches to kzipboot and kzip to allow uncompressing the
gzip'ed kernel image over itself.

I've tested this on a 4 MB machine using a MFSKERNEL provided to me by
Jordan and it worked. It was possible to finally do an install of a SNAP
on the machine.
Submitted by:	Gary Jennejohn <gj%[email protected]>
1995-10-04 09:24:25 +00:00
Jordan K. Hubbard 07be105bda Bring fancy userconfig into 2.1. It appears to have molified all
the critics and works well, so why not?
1995-10-04 09:13:51 +00:00
Jordan K. Hubbard 4e1f951727 Sync with CONTRIB.FreeBSD. Soon there will be only one. 1995-10-04 08:15:25 +00:00
Jordan K. Hubbard d3bd58bcc3 Make the release name to load a configurable parameter.
Don't gratuitously shutdown network after NFS or FTP install.
Centralize release version string to one location included by everyone.
Bring in new options screen.
1995-10-04 07:55:05 +00:00
Jordan K. Hubbard d1bbcef896 o Completely re-wrote options screen. Previous one too confusing.
o Allow user to specify blocksize to cpio for tape extract.
o Allow user to chose cpio extraction verbosity level (-V or -v).
o Hopefully stomp the fstab sorting bug once and for all.
o Create termcap file for fixit operation.
o Create spwd.db file for fixit operation.
o Upgrade to XFree86 3.1.2 (and add a few new collections for same).
1995-10-03 23:36:56 +00:00
Jordan K. Hubbard cdd1bd0a63 Add more devices to fixit floppy (quite a few more).
Missing commands: mount_mfs
Removed: init (from fixit - not needed).
1995-10-03 23:29:44 +00:00
Jordan K. Hubbard df50d954e5 IRQ 11 -> 12 for GUS. Now this is correct. 1995-10-03 01:13:47 +00:00
David Greenman d3db8022d6 Brought in changes from rev 1.32: deal with failure to map interrupt. 1995-10-02 14:05:37 +00:00
David Greenman 447bfdd0bc Brought in change from rev 1.32: check correct variable for NULL before
calling free().
1995-10-02 13:45:44 +00:00
David Greenman 0de417c4cc Brought in changes from main branch: Frank's recent bugfixes. 1995-10-02 10:59:54 +00:00
David Greenman 6c26a75398 Sync with main branch. 1995-10-02 08:14:31 +00:00
David Greenman 997b178b15 Brought in changes from main branch: conform to POSIX.2 with -c; #undef
things first to avoid redefined compile warnings.
1995-10-02 07:55:18 +00:00
Jordan K. Hubbard 58abfb5689 Someone suggests that an IRQ of 11 is a better default value for GUS cards
than 10.
1995-10-02 04:44:39 +00:00
David Greenman a2331e3138 Brought in changes from revs 1.64-1.65: fix several serious bugs. 1995-10-01 20:25:42 +00:00
David Greenman bb2451bfbe Brought in changes from rev 1.8: add _BSD_OFF_T and _BSD_PID_T; needed
to smooth future upgrades to -current.
1995-10-01 06:29:18 +00:00
David Greenman 10dd550892 Brought in changes from rev 1.6: fix for PR 721. 1995-10-01 06:12:38 +00:00
David Greenman f1edcc9a44 Brought in changes from rev 1.4: fix job table corruption bug. 1995-10-01 06:08:43 +00:00
David Greenman 03111bc0d9 Sync with main branch: misc minor bugfixes, recognize dc21041 NICs and
ZNYX cards.
1995-10-01 06:03:59 +00:00
Jordan K. Hubbard 5ec6f15311 cpio V -> cpio v. It would seem that people don't like the dots, they
want to see the files extracted.  Watched installs are boring enough
as it is, I guess. :)
1995-09-30 19:13:31 +00:00
David Greenman 3c56b63404 Brought in changes from rev 1.35: BPF and multicast support. 1995-09-30 14:22:17 +00:00
David Greenman 8486c5a38f Brought in changes from rev 1.11: od driver hook. 1995-09-30 13:50:10 +00:00
David Greenman d7d01696bc Brought in changes from rev 1.56: fixed/updated Cyrix cache control. 1995-09-30 13:42:32 +00:00
David Greenman 1491593fde Enable cdcontrol and sicontrol. 1995-09-30 13:35:08 +00:00
David Greenman c3fbc20f61 Brought in changes from revs 1.15-1.16: kludge for booting 2.88MB floppies. 1995-09-30 11:52:28 +00:00
David Greenman d609be87c9 Sync with main branch: add some comments. 1995-09-30 11:49:28 +00:00
David Greenman 0a2716117c Sync with main branch up to rev 1.96. 1995-09-30 08:03:07 +00:00
David Greenman 3a85169348 Sync with main branch minus changes in rev 1.42. 1995-09-30 08:01:55 +00:00
Jordan K. Hubbard 280398ad0d Add -lscsi to fixit flp. 1995-09-30 07:03:27 +00:00
Jordan K. Hubbard e44732bb40 Update to new names for XFree86 3.1.2 distribution. 1995-09-30 06:42:35 +00:00
Jordan K. Hubbard d9a6b498e9 Revise the install guide to reflect recent changes to sysinstall. 1995-09-30 06:40:41 +00:00
Jordan K. Hubbard d4d22092c0 Reshuffle some menus, prepare for XFree86 3.1.2 version. 1995-09-30 06:40:23 +00:00
Jordan K. Hubbard 639c9739b6 Add `scsi' command to fixit floppy by request from Julian Elischer. 1995-09-30 06:40:04 +00:00
David Greenman 6c140c9d42 Synced with main branch. 1995-09-29 19:56:27 +00:00
Jordan K. Hubbard e16ac9b6e0 1. Bump snap date to reflect recent changes. [jkh]
2. Remove SYSV* options from boot kernel (not GENERIC).
Submitted by:	nate
1995-09-29 06:16:24 +00:00
Jordan K. Hubbard 7b0796d1cd Make the custom installation steps a little more self-explanatory.
Fix a bug where (W)rite in disklabel editor crashed.
1995-09-29 05:17:01 +00:00
David Greenman f294da5afc Brought in changes from rev 1.10: add ability to have a fifo open for
read & write simultaneously. Needed for proper SCO support.
1995-09-28 13:32:03 +00:00
David Greenman 273b2933ef Brought in changes from revs 1.26-1.27: print better diagnostic information
on failures.
1995-09-28 13:26:25 +00:00
David Greenman df8e1b771e Brought in changes from rev 1.18: print additional failure information. 1995-09-28 13:16:24 +00:00
Jordan K. Hubbard 0c9d5cf994 Eradicate a lurking -H tar. 1995-09-26 20:53:43 +00:00
David Greenman 079fcd5208 Brought in change from rev 1.21: don't zero out the session pointer in
ptcclose().
1995-09-26 15:38:27 +00:00
David Greenman 98b615e518 Brought in changes from main branch: security fixes. 1995-09-26 07:54:51 +00:00
David Greenman 08dd95c6cc Brought in changes from revs 1.105-1.106: add a comment and make it easier
to create Specialix devices.
1995-09-26 07:41:19 +00:00
Justin T. Gibbs a9d0f98f25 Merge with HEAD:
Add -L paths for all locally built eBones libraries.  Many of the programs
already did this, but this catches the straglers.
1995-09-26 06:14:26 +00:00
David Greenman a86f9d9815 Sync with main branch (comment changes). 1995-09-26 05:24:34 +00:00
David Greenman 7469bd133f Brought in changes from rev 1.2: add EISA hook for Specialix driver. 1995-09-26 05:22:13 +00:00
David Greenman a1663d46c7 Brought in changes from rev 1.29: fix for rename bug. 1995-09-26 04:08:15 +00:00
Jordan K. Hubbard db48e32d81 Make direct write from the label editor work. 1995-09-25 15:18:41 +00:00
Jordan K. Hubbard 1c6c2aa875 Cosmetic: Clean up an output dialog. 1995-09-25 13:46:37 +00:00
Jordan K. Hubbard 7795a88c85 Return FALSE instead of TRUE so that we return to parent menu. 1995-09-25 05:40:30 +00:00
Jordan K. Hubbard 42d3a5d22a Some cosmetic cleanup + decision to be more sociable and use /mnt2 instead
of /mnt for my own use.
1995-09-25 05:36:45 +00:00
Jordan K. Hubbard eec3dd2d1a Use a better PATH for fixit and a confirmation dialog when removing. 1995-09-25 04:16:19 +00:00
Jordan K. Hubbard 223661dbe6 Add the fixit floppy back to default release procedure. Fixit is back! 1995-09-25 02:15:26 +00:00
Jordan K. Hubbard 0f98ce3847 Root crunch needed updating for `ee'. 1995-09-25 01:35:53 +00:00
Jordan K. Hubbard 39a3360b7d Tweak some of the fixit code. 1995-09-25 01:20:48 +00:00
Jordan K. Hubbard c7b3927ece Great big batch-o-fixes.
jkh:
	Change the fixit floppy paradigm somewhat.  Rather than having
	a fixit floppy be a stand-alone boot floppy with emasculated
	command set due to space crunch, make boot floppy a filesystem
	of nice utilities and *no* kernel.  The idea is that you boot
	the standard boot floppy and choose the "Fixit" item off the top
	menu.  It then asks for and mounts the fixit floppy, adds the mount
	point to $PATH and then forks a shell with the inherited PATH.  You
	can use the shell to traipse around the filesystem, tweaking things
	as desired.

	Mutate the useless shell option in first menu to far more useful fixit.

	Fix the bogus `ifconfig sl0' case once and for all with a special case
	hack for cuaa0.

gpalmer:
	Fix benign-yet-bogus incorrect `password' to anon ftp sites.

joerg:
	Allow cpio to guess at input format again.
Submitted by:	jkh, gpalmer, joerg
1995-09-25 00:52:15 +00:00
Justin T. Gibbs 1f1bf49e7a Remove duplicate rkinit_err.c entry in the SRCS line. 1995-09-24 02:33:42 +00:00
Jordan K. Hubbard 44e67ef695 Add ee to the boot floppy as official emergency rescue editor.
(there was none before).
1995-09-23 22:31:50 +00:00
Jordan K. Hubbard a3bfdedae8 vi -> ee. Shrinkage. 1995-09-23 22:29:28 +00:00
Jordan K. Hubbard 2331d5b4ed A few cosmetic tweaks. 1995-09-23 22:20:12 +00:00
Jordan K. Hubbard 76f034a338 Argh. You don't want to use system() to launch a shell! :-) 1995-09-23 22:03:23 +00:00
Jordan K. Hubbard 230315a464 Bloat GENERIC a little by seeing of SYSV* stuff fits. If it's
too big on the floppy, we'll pare it back.
1995-09-23 00:50:05 +00:00
Jordan K. Hubbard fb74f52166 Actually have the help files found again. Whoops! 1995-09-22 23:35:26 +00:00
Jordan K. Hubbard 8dada4fb5b Change some of Garrett's text to be more applicable to this release.
Invoke subshells by absolute path.
1995-09-22 23:22:22 +00:00
cvs2svn ee10ac4cca This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-09-22 20:00:13 +00:00
David Greenman ca17627475 Brought in changes from rev 1.3: kill beforeinstall that tried to make
the man8 directory.
1995-09-22 00:13:15 +00:00
David Greenman d9893e6a3f Make the CFLAGS '-O -pipe' rather than '-O2 -pipe'. 1995-09-21 11:16:28 +00:00
David Greenman e57b0ff86b Brought in changes from main branch: fixes for 3940 controller. 1995-09-21 02:11:29 +00:00
David Greenman 31592ffaaf Brought in changes from revs 1.13-1.14: fix "CMAP busy" panic. 1995-09-20 13:04:07 +00:00
Jordan K. Hubbard b23a4bf88a Bump the snap date. 1995-09-20 10:45:14 +00:00
Jordan K. Hubbard 06adc5357d 1. Pick a proper default netmask in the TCP/IP install screen.
2. Handle the `all disk for FreeBSD' case more gracefully.
Submitted by:	joerg
1995-09-20 10:43:13 +00:00
David Greenman 5d3ce8c3d9 Brought in change from rev 1.4: don't dereference a NULL pointer in null
pipes.
1995-09-20 08:34:47 +00:00
David Greenman 2592240dbd Brought in changes from revs 1.4-1.5: killed redundant ${DESTDIR} in the
LINKS=, and change install to ${INSTALL}.
1995-09-20 07:30:33 +00:00
Jordan K. Hubbard aacf49e411 Back this out of 2.1 until we can reach some concensus about how to
do all this right in -current.  Sorry, Satoshi.
1995-09-19 12:09:03 +00:00
Jordan K. Hubbard 3a499e9f0e Merge from HEAD 1995-09-19 10:23:43 +00:00
Jordan K. Hubbard bfebbb97f5 Bring in Satoshi's changes from the HEAD so that our ports and packages
are compat for 2.1 and -current.
1995-09-19 08:36:15 +00:00
Jordan K. Hubbard 579f2b1da3 Bring in changes from the HEAD. Also fix the local rc file changes
to:
	A) Use consistent variable expansion syntax.

	B) *NOT* expect rc files to be directly in /usr/local/etc.  That
	   was a very poor choice since lots of ports dump things straight
	   into /usr/local/etc and invoking anything with a .sh suffix in
	   there would be a bad idea indeed.  It's now /usr/local/etc/rc.local.d
	   for much greater clarity and safety.
1995-09-19 08:30:41 +00:00
Jordan K. Hubbard 91b5e197ca Tweaks to build the next snapshot. Tomorrow, folks! 1995-09-19 08:06:48 +00:00
Jordan K. Hubbard f7caef4e5b Add Linux LKM to Makefile. From HEAD. 1995-09-19 06:49:37 +00:00
Peter Wemm 0974ee1f34 Part 2 of the mega-commit. This syncs the 2.1 and 2.2 trees. I will move
RELENG_2_1_0 tags to effect the reorg of the directories and files below
the help directory.  (which is why I did it via the HEAD.. cvs cannot add
files to a branch in this version)
1995-09-18 17:00:27 +00:00
David Greenman 51d8b393de Sync with main branch. 1995-09-18 08:52:26 +00:00
David Greenman 26eb85561c Brought in the rest of Andrey's "ospeed" and related changes...I somehow
missed these ones here.
1995-09-18 08:48:58 +00:00
David Greenman b28d4cdb9a Sync to rev 1.66: add kbdmap, other cosmetic changes. 1995-09-18 06:23:49 +00:00
David Greenman b1165dd961 Brought in chages from revs 1.16-1.18: fix use of buffer flags. 1995-09-18 06:15:15 +00:00
David Greenman 1c5a58eb0b Brought in some changes from main branch: add missing args to VOP_CLOSE()
calls. This is mostly cosmetic since unionfs doesn't work for other
reasons.
1995-09-18 05:33:21 +00:00
David Greenman 955e4be624 Brought in change from rev 1.32: add missing args to VOP_OPEN. (This is
more or less cosmetic since unionfs doesn't work for other reasons).
1995-09-18 05:30:19 +00:00
David Greenman 8617c05758 Brought in changes from revs 1.41 and 1.43: add share/nls/C and targets
for FAQ and handbook.
1995-09-18 03:37:50 +00:00
David Greenman 920dae3a3f Brought in changes from main branch: install -> ${INSTALL} and add
bsd.sgml.mk.
1995-09-18 03:27:17 +00:00
David Greenman 427f53059e Sync with main branch: check major/minor numbers for truncation. 1995-09-18 03:24:07 +00:00
David Greenman 780b1c87b0 Sync with main branch: rtprio.2 was moved to libc/sys/. 1995-09-18 03:21:17 +00:00
David Greenman 5341b723a8 Brought in changes from revs 1.3-1.4: check major/minor numbers for
truncation.
1995-09-18 03:19:22 +00:00
Jordan K. Hubbard 29df01de98 Comment out the IDE CDROM entries here. 2.1 doesn't *have* IDE CROM
support!
1995-09-18 01:02:17 +00:00
David Greenman f830993a1b Sync with main branch. 1995-09-17 23:42:46 +00:00
Justin T. Gibbs 9c07cd999e Merge with HEAD. Correct path to srvtab file. 1995-09-17 15:23:45 +00:00
David Greenman a20e0c12db Sync with main branch. 1995-09-17 11:19:51 +00:00
David Greenman adc9dacd10 Brought in changes from main branch: compress doc and info files. 1995-09-17 11:14:36 +00:00
David Greenman c0f50fd8d5 Add EOF newline. 1995-09-17 11:03:26 +00:00
David Greenman 467ca79be8 Brought in change from rev 1.4: avoid dereferencing a NULL. 1995-09-17 09:58:26 +00:00
David Greenman bbf67e85ee Brought in change from revs 1.10-1.12: fix maxcontig calculation and don't
complain about secs/cyl != disklabel unless -t or -u is specified.
1995-09-17 09:56:20 +00:00
David Greenman cf40305664 Brought in change from rev 1.5: use default COPTS. 1995-09-17 06:59:04 +00:00
David Greenman 5c5df980dc Change version to "FreeBSD-2.1". 1995-09-17 06:54:30 +00:00
David Greenman fffc65b2f2 Brought in change from rev 1.3: re-init screen after resume from <susp>/fg. 1995-09-17 06:43:16 +00:00
David Greenman 530f55089a Brought in changes from rev 1.6: Give 'Index:' priority over other paths. 1995-09-17 06:39:59 +00:00
David Greenman 4538598dfc Brought in changes from rev 1.9: bandaid for NULL pointer dereference. 1995-09-17 06:37:42 +00:00
Jordan K. Hubbard 448adbf13b Somebody inserted a space into the libraries target for the eBones stuff,
causing make world to fall over.  Fix it.  This entire file needs to be
napalmed!  "Warty things too big, start over."
1995-09-17 02:08:26 +00:00
David Greenman 71cffb9df3 Brought in changes from rev 1.26: check return value of vm_map_pageable()s. 1995-09-17 01:51:19 +00:00
Justin T. Gibbs f776f4b0d0 The problem. If the first request to kerberos is not a ticket
request, it cores due to using the unitialized global req_name_ptr
pointer.  -Wall does not reveal this.

Repeat by having an old valid ticket and start kerberos.  rsh to
a non-realm system.

Also intialize lifetime to DEFAULT_TKT_LIFE and kerno to KSUCCESS since
they can be refernced before being initialized.

Submitted by:   John Capo <[email protected]>
1995-09-17 00:41:12 +00:00
Justin T. Gibbs 227ed9e590 Update for the new directory structure of eBones.
Submitted by: Paul Traina <[email protected]>
1995-09-16 23:24:31 +00:00
Justin T. Gibbs cbc1f9f164 Fix printf formatting error %ls -> %s. 1995-09-16 23:05:59 +00:00
Justin T. Gibbs 9745a8c8f3 Merge with HEAD. Use Mark Murray's version of new_rnd_key.c. It is almost
identical to the MIT version except for a few places where it is more
efficient by dealing with the key and sequence as u_int32s.
1995-09-16 22:30:20 +00:00
Justin T. Gibbs b03b5de644 Merge with Head:
Add TELNETOBJDIR and CRYPTOBJDIR for use in LDADD entries.  This makes
secure reference the libraries that were just built instead of in /usr/lib.
1995-09-16 03:13:38 +00:00
Jordan K. Hubbard a7c3514299 Bring in changes from the HEAD. 1995-09-16 00:02:11 +00:00
Justin T. Gibbs 47085fee67 Merge with HEAD. Brings in rkinit and krb_prop entries plus some additional
"PROBLEMS" comments in services that warn about overlapping entries.
1995-09-15 22:16:21 +00:00
cvs2svn bfbc580797 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-09-15 20:15:11 +00:00
Justin T. Gibbs 93ecce1be0 Merge with HEAD. Brings in new secure telnet suite + eBones fixes. 1995-09-15 18:19:36 +00:00
Justin T. Gibbs 8517bf983f Merge with the head. Bring in fixes to deal with krb.h declaring all
necessary prototypes.
1995-09-15 17:28:28 +00:00
Justin T. Gibbs 3578c0cc6f Bring in changes from revision 1.18. Update paths to kpasswd.c and
eBones include files.
1995-09-15 17:21:51 +00:00
David Greenman f74c34de0a Brought in change from rev 1.11: killed 'total'. 1995-09-15 10:20:10 +00:00
David Greenman 4ae775712c Brought in change from rev 1.23: killed maxmem. 1995-09-15 10:18:05 +00:00
David Greenman 19adccfaa0 Brought in change from rev 1.2: indicate backlog limit is 32. 1995-09-15 10:14:00 +00:00
David Greenman ff5146b289 Brought in changes from rev 1.7: increase SOMAXCONN to 32. 1995-09-15 10:13:05 +00:00
David Greenman fb0fba74ee Brought in changes from rev 1.16: fix rare mbuf leak. 1995-09-15 09:01:55 +00:00
David Greenman fdb227d222 Brought in changes from rev 1.12: deal properly with mbuf allocation
failure.
1995-09-15 08:58:07 +00:00
David Greenman 0ad48b81f5 Brought in changes from rev 1.23: add hook for cyclades driver. 1995-09-15 08:41:12 +00:00
David Greenman ad473ba302 Sync with main branch - Jordan missed this one when he brought the new
sound code into 2.1.
1995-09-15 08:38:50 +00:00
David Greenman 528fb3f45a Brought in changes from revs 1.6-1.7: use NDINIT(), and unlock vnode
before paging (results in a deadlock or panic otherwise).
1995-09-15 08:36:10 +00:00
David Greenman 8d425d332e Brought in changes from main branch: misc fixes. 1995-09-15 08:18:29 +00:00
David Greenman 9a8f090c86 Brought in change from rev 1.8: tcpsyn -> syn. 1995-09-15 08:08:59 +00:00
David Greenman 92b3192e35 Brought in change from rev 1.5: fix args to startslave(). 1995-09-15 08:05:13 +00:00
David Greenman dd56a67ef8 Brought in changes from main branch: new sound device names, entries for
Specialix, Digiboard, ATAPI CDROM, 'od', matrox meteor, spigot, etc.
1995-09-15 07:42:41 +00:00
David Greenman 1a6a36376a Brought in changes from rev 1.89: kill vat_audio and misc cleanup. 1995-09-15 06:20:43 +00:00
David Greenman d346524f86 Brought in changes from rev 1.15 (pstat.c) plus associated documentation:
update to support changes in kernel tty flags.
1995-09-15 01:57:54 +00:00
Jordan K. Hubbard d21afc22cb Bring in miscellaneous changes to the HEAD.
I also brought the ATAPI stuff into files.i386 where it shouldn't
cause any trouble and will also save David a few minescule diffs.
1995-09-14 23:47:10 +00:00
Jordan K. Hubbard 5f28eaa0d8 Bring in the new sound driver from the HEAD. 1995-09-14 23:37:24 +00:00
Jordan K. Hubbard f01fabc89f Bring in the sound code from 2.2 (HEAD). 1995-09-14 23:34:27 +00:00
Jordan K. Hubbard 9f646b4e66 Bring in my changes from the HEAD:
Add pcnfsd / apache_httpd hooks.
1995-09-14 23:16:34 +00:00
David Greenman e1c99711e6 Brought in changes from main branch:
1) Bruce and Andrey's tty fixes
2) many of Bruce's prototype and function argument fixes/corrections
3) Bruce's version of the Cyclades driver
4) Improvements to the RISCom/8 driver
1995-09-14 07:10:24 +00:00
David Greenman 820572979b Brought in change from rev 1.4: fix comment. 1995-09-12 09:24:47 +00:00
David Greenman 3ed0428ab0 Brought in change from rev 1.21: fix broken BUFHASH calculation. 1995-09-12 09:22:59 +00:00
David Greenman cd86ea59b4 Brought in change from rev 1.3: include systm.h. 1995-09-12 09:19:23 +00:00
David Greenman c90b4baab1 Brought in change from rev 1.22: pass "proc" correctly (kill &). 1995-09-12 08:57:53 +00:00
David Greenman 5cd35e1fb1 Brought in changes from rev 1.16: disallow delete/rename. 1995-09-12 08:52:41 +00:00
David Greenman 38fd2f9648 Brought in fixes from main branch: don't allow delete/rename and initialize
mnt_stat struct.
1995-09-12 08:48:26 +00:00
David Greenman 75446622e8 Brought in fix from rev 1.9: fix for amd direct maps. 1995-09-12 08:39:06 +00:00
David Greenman 5ad09bc37d Brought in change from rev 1.11: kill extra arg to a pr_usrreq call. 1995-09-12 08:29:56 +00:00
David Greenman 4af1be2325 Brought in change from rev 1.9: kill gratuitous #include's. 1995-09-12 08:09:31 +00:00
David Greenman 5e13fbf5c0 Brought in change from rev 1.14: kill unused variable declaration. 1995-09-12 08:06:48 +00:00
David Greenman 8d35005820 Synced with main branch: various fixes. 1995-09-12 07:23:00 +00:00
David Greenman 468231947f Brought in change from main branch: initialize d_ncylinders. 1995-09-12 07:19:45 +00:00
David Greenman e3fdf1b4b7 Brought in changes from main branch: misc cleanup plus a few additions. 1995-09-12 06:22:36 +00:00
David Greenman a387aec6c6 Brought in changes from rev 1.25: include kernel.h instead of declaring
extern int hz.
1995-09-12 06:17:26 +00:00
David Greenman eab027ba2e Brought in changes from revs 1.74 and 1.76: use bcmp instead of memcmp,
and kill bogus extra arg to ds_crc().
1995-09-12 06:12:23 +00:00
David Greenman e0ad05a51b Brought in change from rev 1.4: include systm.h. 1995-09-12 05:56:54 +00:00
David Greenman 9e589bd80f Brought in changes from main branch: kill bogus extra args to 'getit'
function.
1995-09-12 05:55:35 +00:00
David Greenman 2a903feb54 Brought in changes from rev 1.40: kill 'memory' constraint from
enable_intr().
1995-09-12 05:48:43 +00:00
David Greenman 068e87e8c4 Brought in change from main branch: kill duplicate (and wrong) declaration
of phys_avail[[].
1995-09-12 05:36:42 +00:00
David Greenman 20250643f1 Brought in changes from main branch: update to Sept. 1 version. 1995-09-12 04:39:44 +00:00
David Greenman 5b6dcc6dcd Brought in changes from main branch: fix command funcs to have correct #
of args.
1995-09-12 04:21:43 +00:00
David Greenman e3dd00fd89 Brought in changes from main branch: set erase character correctly, and
fix problem with negotiation getting screwed up by login starting too
soon.
1995-09-10 04:02:16 +00:00
David Greenman 6f6f8e0e66 Revert bogus change in rev 1.184.4.2 that broke GUS support. 1995-09-10 01:55:38 +00:00
David Greenman e8c26f4e13 Revert bogus change in rev 1.98.4.3 that broke GUS support. 1995-09-10 01:51:13 +00:00
David Greenman 8dbec9f734 Brought in changes from main branch: mostly cosmetic, a fix or two, and
recognize more chips.
1995-09-09 23:10:21 +00:00
David Greenman 8bcb37718e Brought in change from rev 1.30: SIOCGIFADDR ioctl for rarp. 1995-09-08 13:58:31 +00:00
David Greenman ce26430674 Fixed my copyright. 1995-09-08 13:25:46 +00:00
David Greenman 61b1f0dbe5 Brought in changes from rev 1.28: part of memory sizing rewrite. 1995-09-08 04:23:52 +00:00
David Greenman d4a9d73af8 Brought in changes from revs 1.133, 1.134, 1.139, and 1.140: rewrite of
memory test code and changes to "memory" printf's.
1995-09-08 04:22:49 +00:00
David Greenman 71e4535885 Brought in changes from main branch: various stability bug fixes. 1995-09-07 21:55:27 +00:00
David Greenman 140c7cb4d4 Brought in changes from main branch: killed compile warnings and extra \r. 1995-09-07 21:12:55 +00:00
David Greenman 24e5dcbb33 Brought in changes from rev 1.5: Convert \n to \r\n in serial_putchar(). 1995-09-07 21:09:59 +00:00
David Greenman dce0ed84a7 Commented out ip_mrouter_mod for now as it doesn't build. 1995-09-06 15:16:06 +00:00
David Greenman e712ae04cf Back out that last change; we don't build this shared. 1995-09-06 14:34:50 +00:00
David Greenman 63bf0dfa9a Bumpbed shared lib rev to 2.1. 1995-09-06 14:24:45 +00:00
David Greenman 0d3d1c3478 Brought in changes from main branch: change to match new libmd API. 1995-09-06 14:21:07 +00:00
David Greenman 9169817f89 Brought in changes from main branch: add output buffer pointer to improve
performance.
1995-09-06 14:18:36 +00:00
David Greenman 360604bd5e Brought in changes from main branch: update to mrouted v3.6.
Reviewed by:	Bill Fenner <[email protected]>, wollman
1995-09-06 10:34:19 +00:00
David Greenman 13afcfc135 Brought in changes from main branch: support for mcast v3.5. 1995-09-06 10:32:47 +00:00
David Greenman 3005853c68 Brought in changes from main branch: update to multicast v3.5.
Reviewed by:	Bill Fenner <[email protected]>, wollman
1995-09-06 10:31:43 +00:00
David Greenman 05521b251c Brought in changes from main branch: Andrey's "ospeed" fixes, plus some
minor (mostly compiler warning) fixes in related files.
1995-09-02 17:43:31 +00:00
David Greenman 6f926d27c0 Brought in changes from main branch: check & honor account expiration. 1995-09-02 14:40:12 +00:00
Jordan K. Hubbard 5fcef1426d Jim's attempt to fix the new sound code somewhat. Tested with
the pas-16, GUS, and GUS-MAX cards.  Sound blaster owners, please
test also!
Submitted by:   Jim Lowe <james>
1995-09-01 19:09:49 +00:00
David Greenman 9fda490853 Brought in changes from main branch: updated to UUCP 1.06.1
Reviewed by:	ache
1995-09-01 06:05:50 +00:00
David Greenman 72d8ed4501 Brought in changes from revs 1.7-1.8: added 'wheel su' #ifdefs, and check
account expiration.
1995-09-01 03:31:53 +00:00
David Greenman 431275e6bd Brought in change from rev 1.5: limit for B115200 instead of 15 (38400) 1995-09-01 03:09:47 +00:00
David Greenman 2bae10d783 Brought in change from rev 1.12: check for expired accounts. 1995-09-01 03:07:17 +00:00
David Greenman 6028599f9d Brought in changes from rev 1.3: set SA_RESTART to avoid EINTR on ^Z. 1995-08-31 21:56:31 +00:00
David Greenman 5c2ef16428 Brought in changes from main branch: fix -c/COPY, install->${INSTALL} 1995-08-31 21:50:18 +00:00
David Greenman 71e0d540e1 Brought in change from rev 1.9: use -c, not COPY. 1995-08-31 21:41:18 +00:00
David Greenman 30df1a578e Brought in changes from main branch: we no longer need tzfile.h 1995-08-31 21:30:59 +00:00
David Greenman 625ccdc96e Brought in change from main branch: fix build dependency. 1995-08-31 21:21:45 +00:00
David Greenman 0550b4a9bf Brought in changes from rev 1.6: deal with failures better. 1995-08-31 21:03:46 +00:00
David Greenman 279f7900b7 Brought in changes from rev 1.3: add missing entries to tty speed table. 1995-08-31 20:57:55 +00:00
David Greenman ffa4caf22c Brought in changes from main branch: update to new version from InterNIC. 1995-08-31 20:50:29 +00:00
David Greenman 037fb2e6a7 Brought in changes from main branch: fix for "text file busy" bug. 1995-08-31 10:00:43 +00:00
David Greenman cc62235edc Brought in changes from main branch: code to allow probing past SCSI ID 7. 1995-08-31 06:36:26 +00:00
David Greenman f1420fc5c7 Brought in change from rev 1.33: fix declaration. 1995-08-31 06:26:08 +00:00
David Greenman 9df2a042ec Brought in changes from revs 1.40-1.41: fix return status so operations
are retried, and fix diagnostic message.
1995-08-31 06:23:20 +00:00
David Greenman 4f9907a46d Brought in changes from revs 1.37-1.39: fixes for fast sync, bogus
variable, and probe message.
1995-08-31 06:17:11 +00:00
David Greenman 7ed86cde2d Brought in changes from revs 1.3-1.4: don't barf if argc < 1. 1995-08-31 05:37:53 +00:00
cvs2svn 09adf59b71 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-08-30 17:42:29 +00:00
David Greenman 11ae5136af Brought in change from rev 1.58: remove libftp. 1995-08-30 14:23:40 +00:00
David Greenman 877c9231e4 Brought in changes from main branch: build strip striped to avoid circular
dependency; add "maybe_stripped" to CLEANFILES.
1995-08-30 10:36:34 +00:00
David Greenman aea7c9aac1 Brought in change from rev 1.2: fix "split -l <n>" 1995-08-30 10:31:42 +00:00
David Greenman 44193e8922 Brought in changes from rev 1.3: fix "id <user>". 1995-08-30 10:25:41 +00:00
David Greenman 727b54ab17 Brought in changes from main branch: include unistd.h, allow escaped
quotes.
1995-08-30 10:23:54 +00:00
David Greenman c30ed836a0 Brought in changes from main branch: updated timezone files. 1995-08-30 10:13:09 +00:00
David Greenman 04b2e45883 Brought in changes from main branch. 1995-08-30 10:06:34 +00:00
David Greenman a422d41b56 Brought in changes from main branch: document -A option, implement -p. 1995-08-30 09:28:31 +00:00
David Greenman 665f944e8d Brought in changes from main branch: document 'noauto' fstab mount option. 1995-08-30 09:22:20 +00:00
David Greenman 56f2366256 Brought in changes from main branch: implement 'noauto' fstab mount option. 1995-08-30 09:22:02 +00:00
David Greenman bcea4db9a9 Brought in change from rev 1.3: enable ETC_ETHERS. 1995-08-30 09:03:41 +00:00
David Greenman a0eaed38fd Brought in change from rev 1.2: handle DLT_NULL type interfaces 1995-08-30 08:51:45 +00:00
David Greenman d74d62e477 Removed libftp. 1995-08-30 07:51:58 +00:00
Jordan K. Hubbard 3882688cee Merge changes from the HEAD. 1995-08-30 07:50:02 +00:00
David Greenman 4a053744bd Brought in changes from main branch. 1995-08-30 07:43:03 +00:00
David Greenman d56b71ad20 Brought in changes from main branch: use ctime (again, sigh!). 1995-08-30 07:33:30 +00:00
David Greenman f6cc2b861f Brought in changes from main branch: various fixes. 1995-08-30 07:31:12 +00:00
David Greenman ce22730876 Brought in changes from main branch: your basic rewrite. 1995-08-30 07:24:54 +00:00
David Greenman 9f3da246ba Brought in change from rev 1.2: "-c" isn't optional for installation of
source files.
1995-08-30 07:19:46 +00:00
David Greenman 1d2c5f658f Brought in change from rev 1.8: fix dependency 1995-08-30 07:16:34 +00:00
David Greenman 5f8e89b3b9 Brought in change from rev 1.3: fix typo. 1995-08-30 07:08:17 +00:00
David Greenman dc4101fcc5 Brought in changes from main branch: add rtld.1 man page. 1995-08-30 07:05:48 +00:00
David Greenman 0b8592cd9a Brought in change from rev 1.2: fix dependencies. 1995-08-30 06:58:36 +00:00
David Greenman 0ac6354bb1 Brought in chage from rev 1.3: depend on regex.h 1995-08-30 06:48:47 +00:00
David Greenman 53a9d9c89a Brought in changes from main branch: fix library/c++rt0.o dependencies. 1995-08-30 06:46:26 +00:00
David Greenman 362c406893 Brought in changes from main branch: fix path to X11, misc compiler
warnings.
1995-08-30 06:42:43 +00:00
David Greenman f04cb40cf5 Brought in change from rev 1.14: add rsvp-encap 1995-08-30 06:21:28 +00:00
David Greenman 51e5177463 Brought in change from main branch: add rsvp. 1995-08-30 06:19:30 +00:00
David Greenman 10bc66ae67 Brought in changes from main branch: in.identd -> identd. 1995-08-30 06:17:38 +00:00
David Greenman 85e7eea353 Brought in changes from main branch: fix comments. 1995-08-30 06:16:06 +00:00
David Greenman 32f252bd16 Brought in changes from main branch: everything except the new sound code
device changes. The sound code in 2.1 hasn't (yet?) been updated.
1995-08-30 06:14:21 +00:00
David Greenman 221520bf00 Brought in changes from main branch: install -> ${INSTALL} 1995-08-30 06:05:42 +00:00
David Greenman a9954fc3ea Brought in change from rev 1.3: use warnx rather than warn to avoid printing
a bogus errno message.
1995-08-30 05:56:31 +00:00
David Greenman cb5505572a Brought in changes from main branch: disable debug and handle null commands
in &&/||.
1995-08-30 05:53:08 +00:00
David Greenman 7714aeba24 Brought in change from rev 1.3: fix compile warning. 1995-08-30 05:44:18 +00:00
David Greenman 1834813499 Added zic(8) to tools build rule. 1995-08-30 05:40:34 +00:00
David Greenman 3139720337 Brought in changes from main branch: update to BIND 4.9.3-beta24 1995-08-30 04:09:27 +00:00
David Greenman fa1835d0e5 Brought in misc manual page corrections from main branch. 1995-08-29 11:46:24 +00:00
David Greenman cce0b20ad8 Brought in correction from rev 1.3; 1995-08-29 11:14:21 +00:00
Jordan K. Hubbard e1253154a9 Same for this branch. Back out previous change. 1995-08-28 17:53:34 +00:00
Jordan K. Hubbard dfa072b2bd Take -DKLUDGELINEMODE out of 2.0.5 Makefile 1995-08-28 17:48:47 +00:00
Jordan K. Hubbard 59b3b1ec0e Put sio3 back, add ATAPI to -current GENERIC kernel. 1995-08-28 17:45:46 +00:00
David Greenman 20947268fd Brought in change from rev 1.2: use strftime %c to xlate date. 1995-08-28 11:27:34 +00:00
David Greenman a269dff5f1 Brought in change from rev 1.8: don't use tzfile.h 1995-08-28 11:26:29 +00:00
David Greenman 0528a668a5 Brought in change from rev 1.4: don't use tzfile.h 1995-08-28 11:24:01 +00:00
David Greenman c28fe3c24e Brought in change from rev 1.2: don't use tzfile.h 1995-08-28 11:22:43 +00:00
David Greenman 7ed9fbe913 Brought in changes from rev 1.2: don't use tzfile.h 1995-08-28 11:21:23 +00:00
David Greenman 9712b3a6f2 Brought in changes from rev 1.5: use strftime %c to xlate date. 1995-08-28 11:20:12 +00:00
David Greenman 5641196755 Brought inchanges from revs 1.3-1.5: don't use tzfile.h and fix bug with
>1 year uptimes.
1995-08-28 11:18:34 +00:00
David Greenman fd55ba8237 Brought in changes from rev 1.11: don't use tzfile.h 1995-08-28 11:15:54 +00:00
David Greenman 48fb6556a9 Brought in changes from rev 1.2: don't use tzfile.h 1995-08-28 11:14:05 +00:00
David Greenman 2be3e1591c Brought inchanges from revs 1.4-1.5: don't use tzfile.h and use strftime
%c to xlate date.
1995-08-28 11:12:35 +00:00
David Greenman 7cef36346d Brought in changes from revs 1.2-1.5: don't use tzfile.h, and strftime %c
and related changes.
1995-08-28 11:10:58 +00:00
David Greenman fe5bab1a8e Brought in changes from rev 1.2: don't use tzfile.h 1995-08-28 11:08:30 +00:00
David Greenman 29e98091db Brought in changes from rev 1.4: don't use tzfile.h 1995-08-28 11:07:44 +00:00
David Greenman 9652d5b4fa Brought in change from rev 1.4: don't use tzfile.h 1995-08-28 11:06:20 +00:00
David Greenman b60b0e2394 Brought in changes from revs 1.3-1.4: don't use tzfile.h and use strftime
%c to get date.
1995-08-28 11:02:47 +00:00
David Greenman c0533b72e0 Brought in change from rev 1.10: don't use tzfile.h 1995-08-28 10:58:40 +00:00
David Greenman 80d23a93ee Brought in change from rev 1.3: don't use tzfile.h 1995-08-28 10:57:23 +00:00
David Greenman a6b18133c2 Brought in change from rev 1.6: use strftime to get date string 1995-08-28 10:54:34 +00:00
David Greenman f411ea8318 Brought in change from rev 1.3: use strftime to get date string. 1995-08-28 10:53:22 +00:00
David Greenman 1e1ce1c254 Brought in change from rev 1.2: don't depend on tzfile.h 1995-08-28 10:47:12 +00:00
David Greenman 322e6cd011 Brought in change from rev 1.8: don't depend on tzfile.h. 1995-08-28 10:44:53 +00:00
David Greenman d9a1a1accd Brought in change from rev 1.5: don't depend on tzfile.h. 1995-08-28 10:41:14 +00:00
David Greenman b53c1ee463 *** empty log message *** 1995-08-28 10:33:04 +00:00
David Greenman 255198c06c Brought in changes from rev 1.5: use %+ as default format. 1995-08-28 10:31:25 +00:00
David Greenman a1cb0b4a03 Brought in changes from main branch: eliminate use of tzfile.h and use
strftime %c to get date.
1995-08-28 10:30:27 +00:00
David Greenman fe249e9798 Brought in changes from main branch...everything except the BIND 4.9.3-b24. 1995-08-28 05:07:13 +00:00
David Greenman 1d6005f288 Fix an 'oops' in a previous commit - part of a patch got applied twice. 1995-08-28 02:23:07 +00:00
David Greenman 89053199cc Brought in change from rev 1.25: use tsort/lorder with .so libs. 1995-08-27 03:12:58 +00:00
David Greenman 97dd20c831 Backed out change in rev 1.2/1.1.1.1.6.1. 1995-08-27 02:04:18 +00:00
Jordan K. Hubbard 8356092ddb Add mse0 back to GENERIC, as I'd intended. Also remove sio3 - do
we really want a serial probe on IRQ 9?  I think not.  I certainly
don't see that as GENERIC fodder, anyway.
1995-08-26 13:17:47 +00:00
David Greenman 1848fa5e80 Brought in changes from main branch: various NIS fixes. 1995-08-26 12:56:07 +00:00
David Greenman d3f78f478b Brought in changes from rev 1.5: initialize ospeed. 1995-08-26 12:49:35 +00:00
David Greenman de5da5a526 Brought in change from rev 1.4: NIS fix for 'unchanged' warning. 1995-08-26 12:47:38 +00:00
David Greenman 83978a8a1f Brought in changes from rev 1.3: "hang forever" bugfix. 1995-08-26 12:43:58 +00:00
David Greenman ba75fd0aee Brought in changes from main branch: update to 8.6.12. 1995-08-26 12:29:04 +00:00
David Greenman 5eb5547702 Brought in changes from rev 1.5: added some fprintf newlines. 1995-08-26 12:14:12 +00:00
David Greenman 43b6a51888 Brought in changes from main branch: various fixes. 1995-08-26 12:11:50 +00:00
David Greenman ce9e54f6b7 Brought in changes from main branch: various fixes. 1995-08-26 11:56:49 +00:00
David Greenman 49ea67dc08 Brought in change from rev 1.7: use fts_errno, not errno. 1995-08-26 11:54:30 +00:00
David Greenman f77dac0782 Brought in change from rev 1.3: fix typo. 1995-08-26 11:50:53 +00:00
David Greenman d7bbefdf76 Brought in changes from rev 1.3: deal with sticky-bit directories. 1995-08-26 11:48:39 +00:00
David Greenman d182ec73c4 Brought in change from rev 1.5: add 57600 and 115200 baud to table. 1995-08-26 11:40:07 +00:00
David Greenman 8d3b8c0846 Brought in change from rev 1.2: fix comment. 1995-08-26 11:38:27 +00:00
David Greenman cf3bef6985 Brought in change from rev 1.2: comment out LOG_FILE #define. 1995-08-26 11:35:17 +00:00
David Greenman 9d1be8093c Brought in changes from main branch: misc cleanup, add missing usage arg. 1995-08-26 11:32:31 +00:00
David Greenman 274abc75ac Brought in change from rev 1.3: add missing -f flag. 1995-08-26 11:28:43 +00:00
David Greenman 39db387d4b Brought in change from rev 1.6: improve output for -x. 1995-08-26 11:24:34 +00:00
David Greenman 3167a4d98a Brought in change from rev 1.2: don't unlink target on failure of strip. 1995-08-26 10:35:43 +00:00
David Greenman 1235736954 Brought in changes from revs 1.5-1.6: fix path bugs. 1995-08-26 10:33:20 +00:00
David Greenman 26ea5d9f9e Brought in changes from revs 1.6-1.7: fix too long DNS timeout and properly
surpress headers with -h.
1995-08-26 10:30:26 +00:00
David Greenman cffec71d65 Brought in change from rev 1.4: fix for "TIOCGWINSZ: Interrupted system
call" on return from ctrl-Z.
1995-08-26 10:25:29 +00:00
David Greenman 422a7ab2dd Brought in change from rev 1.3: fix off by ten error in year calculation. 1995-08-26 10:16:22 +00:00
David Greenman ad02a7f9a3 Brought in change from rev 1.3: "decode" baud rate properly. 1995-08-26 10:13:17 +00:00
David Greenman 2629310229 Brought in change from rev 1.14: don't attemmpt to read 'total' from kernel. 1995-08-26 10:10:23 +00:00
David Greenman aeaf8d8653 Brought in changes from main branch: various fixes for SCO compatibility. 1995-08-26 09:57:17 +00:00
David Greenman c38e3e20e7 Brought in changes from main branch: changes for NIS. 1995-08-26 09:53:11 +00:00
David Greenman 6ca174558d Brought in changes from main branch: substitute weof for eof. 1995-08-26 09:45:34 +00:00
David Greenman 08e327f957 Brought in change from rev 1.2: fix handling of comment characters. 1995-08-26 08:44:42 +00:00
David Greenman 20c7cedb8d Brought in change from rev 1.2: handle EOF properly. 1995-08-26 08:38:58 +00:00
David Greenman caca67ae05 Brought in changes from main branch: restricted ports support. 1995-08-26 07:27:52 +00:00
David Greenman db431061d9 Brought in change from rev 1.6: only check for .nofinger if user matches. 1995-08-26 07:20:23 +00:00
David Greenman 91cd8fa22f Brought in changes from main branch: NIS additions and other fixes. 1995-08-26 07:15:17 +00:00
David Greenman 6351ebd5ad Brought in change from rev 1.2: fix core dump by terminating string. 1995-08-26 06:44:28 +00:00
David Greenman 35deabf283 Brought in change from revs 1.8-1.9: delete bogus fclose() and don't print
a newline when done.
1995-08-26 06:28:39 +00:00
David Greenman 91df8c1e53 Brought in change from rev 1.2: reset dev_bsize so that quotacheck -a
doesn't always fail after first partition.
1995-08-26 06:25:42 +00:00
David Greenman 1f724f05f7 Brought in changes from rev 1.2: NIS documentation. 1995-08-26 06:16:47 +00:00
David Greenman e75fed78b1 Brought in changes from rev 1.5: use the correct file pointer. 1995-08-26 06:10:57 +00:00
David Greenman cc9ff42e62 Brought in changes from revs 1.8-1.9: getty exiting too quickly fix. 1995-08-26 05:05:30 +00:00
David Greenman a3ad8a70d5 Brought in change from rev 1.4: fix final negotiation of DO_BINARY. 1995-08-26 04:45:10 +00:00
David Greenman cdee8d675f Brought in changes from revs 1.6-1.7: decode "baud rate" properly. 1995-08-26 04:41:49 +00:00
David Greenman ccbfd637f2 Brought in change from rev 1.3: default 'im' should be "FreeBSD". 1995-08-26 04:37:09 +00:00
David Greenman 5998ebada6 Brought in changes from rev 1.6: call setlogin() so that getlogin()
doesn't always return "root".
1995-08-26 04:33:59 +00:00
David Greenman 5c4eff16b8 Brought in changes from main branch: use ports 40000-44999. 1995-08-26 00:53:52 +00:00
David Greenman 6bd7399d2f Brought in changes from revs 1.4-1.7: various bug fixes. 1995-08-25 11:52:12 +00:00
David Greenman 87e32b1e91 Brought in changes from rev 1.2: make NIS ethers data appear inserted at
"+".
1995-08-25 11:46:33 +00:00
David Greenman d3ebd55bac Brought in change from rev 1.4: add missing fclose(). 1995-08-25 11:41:22 +00:00
David Greenman 225adf2a02 Brought in change from rev 1.3: add missing fclose(). 1995-08-25 11:37:42 +00:00
David Greenman 32d7e9e6f1 Brought in changes from rev 1.4: NULL terminate strings, produce sane
version string.
1995-08-25 11:35:37 +00:00
David Greenman 922c328628 Brought in changes from revs 1.10-1.11: various bug fixes. 1995-08-25 11:31:39 +00:00
David Greenman eceba2a18b Brought in changes from main branch. 1995-08-25 11:18:41 +00:00
David Greenman 4373334441 Brought in changes from main branch. 1995-08-25 11:11:26 +00:00
David Greenman e165b60c75 Brought in changes from main branch: handle cursor keys and window change
signals properly.
1995-08-25 10:58:35 +00:00
David Greenman f2516e1db5 Brought in change from rev 1.35: add missing quote. 1995-08-25 07:21:46 +00:00
David Greenman d834ed858d Brought in changes from main branch: fixes for dlopen/dlclose. 1995-08-25 07:08:38 +00:00
David Greenman aece5218b6 Brought in change from rev 1.11: reset umask. 1995-08-25 04:41:14 +00:00
David Greenman 518eeca971 Brought in change from rev 1.29: make error message consistent with gcc. 1995-08-25 04:39:51 +00:00
David Greenman 235ea4e224 Brought in change from rev 1.11: fix LINK_SPEC so f77 works. 1995-08-25 04:32:08 +00:00
David Greenman 5931da3704 Brought in changes from main branch. 1995-08-25 03:58:05 +00:00
David Greenman 2988a6b975 Brought in changes from revs 1.7-1.8: print a better message about using
'su'.
1995-08-25 03:42:24 +00:00
David Greenman ba0a4e5851 Brought in changes from revs 1.67-1.68: support for dumpdev and
nis_ypsetflags sysconfig variables.
1995-08-25 03:37:21 +00:00
David Greenman 90f0425460 Brought in changes from revs 1.5-1.6: print an appropriate error if stdin
isn't a tty.
1995-08-25 03:23:33 +00:00
David Greenman 2d33244e09 Brought in changes from rev 1.7: deal with backquote and EOF correctly. 1995-08-25 03:21:06 +00:00
David Greenman 12cad807a5 Brought in changes from rev 1.4: handle "-f foo" and "-ffoo" indentically
as required by posix.
1995-08-25 03:19:17 +00:00
David Greenman d5bed4037d Brought in change from rev 1.4: use major/minor(). 1995-08-25 03:15:56 +00:00
David Greenman 79ee3f4681 Brought in changes from rev 1.10: conform to POSIX.2 when comparing
integers.
1995-08-25 03:06:36 +00:00
David Greenman 1867e3b519 Brought in changes from rev 1.4: fix event number handling. 1995-08-25 03:02:28 +00:00
David Greenman 8cc42dd092 Brought in changes from rev 1.4: fix ttys setting for filec mode. 1995-08-25 03:01:01 +00:00
David Greenman 60129c752b Brought in changes from rev 1.4: fix bugs with 'which'. 1995-08-25 02:58:40 +00:00
David Greenman b8d9929ea7 Brought in change from rev 1.4: print error when getwd fails. 1995-08-25 02:57:08 +00:00
David Greenman d2cc47c256 Brought in changes from main branch: fix path warning to apply to
interactive use only.
1995-08-25 02:55:49 +00:00
David Greenman eb32ed8894 Brought in changes from rev 1.4: don't unlink the target on error. 1995-08-25 02:51:35 +00:00
David Greenman d99bb91591 Brought in changes from rev 1.30: Matt's version of a previous bugfix. 1995-08-25 02:07:56 +00:00
David Greenman 3edc8556a2 Brought in change from rev 1.22: fix SYN blocking code. 1995-08-25 01:58:04 +00:00
David Greenman 6d39011b72 Brought in changes from rev 1.21: fix cookies for NFS. 1995-08-25 01:54:39 +00:00
David Greenman de817b7f0b Brought in Bruce's "trailing slash" fixes. 1995-08-25 01:49:15 +00:00
David Greenman dce7feb62b Brought in changes from rev 1.11: fix mfs reboot panic. 1995-08-24 06:06:25 +00:00
David Greenman df541ac4b8 Brought in changes from revs 1.14-1.15: implement -async mount option and
fix flags botch IO_SYNC->B_SYNC.
1995-08-24 06:03:02 +00:00
David Greenman 9849cdc62e Brought in changes from rev 1.28: removed redundant if() and fixed typo. 1995-08-24 05:52:06 +00:00
David Greenman de51b090b1 Brought in changes from rev 1.10: fix "ifpromisc failed" panic. 1995-08-24 05:41:52 +00:00
David Greenman 97ee7f3e59 Brought in changes from rev 1.15: don't dereference NULL credentials. 1995-08-24 05:35:05 +00:00
David Greenman eb32c7d599 Brought in part of rev 1.15: defer incrementing v_writecount a bit so that
it isn't bumped in a failure case.
1995-08-24 05:29:36 +00:00
David Greenman 11e7d60a71 Brought in changes from rev 1.31: use FNONBLOCK, not IO_NDELAY in
VOP_CLOSE().
1995-08-24 05:21:05 +00:00
David Greenman d28786863c Brought in changes from revs 1.11-1.12: fix bugs with shutdown_nice(). 1995-08-24 03:50:12 +00:00
David Greenman 4a81ddecf5 Brought in changes from rev 1.136: fix bugs/anomolies with boot(). 1995-08-24 03:48:25 +00:00
David Greenman e08a970fee Brought in change from rev 1.9: unround hzto(). 1995-08-24 03:46:26 +00:00
David Greenman ab2fef92bd Fix up comments that didn't get fixed in a previous commit. 1995-08-23 10:13:55 +00:00
David Greenman b82d64a1f5 Brought in change from rev 1.34: make 'cheat' static so that it doesn't
conflict with the buslogic driver.
1995-08-23 10:03:12 +00:00
David Greenman cfb7f4544f Brought in change from rev 1.124: add missing semicolon. 1995-08-23 10:00:54 +00:00
David Greenman a379d0109c Brought in change from rev 1.35: declare 'cheat' static so that it doesn't
conflict with the ultrastore driver.
1995-08-23 09:45:18 +00:00
David Greenman c426c0b675 Brought in change from rev 1.9/1.10: added 'memory' constraint to prevent
bogus inline asm optimizations.
1995-08-23 09:43:11 +00:00
David Greenman 60f238dacf Brought in changes from revs 1.38-1.39: added 'memory' contraint to
various inline asm functions to prevent bogus gcc optimizations from
taking place.
1995-08-23 09:40:21 +00:00
David Greenman f48871a6db Brought in changes from revs 1.29 and 1.30: killed device probe/attach and
added reset command.
1995-08-23 09:37:28 +00:00
David Greenman 7de8dbe619 Brought in changes from revs 1.56-1.59: POWERFAIL_NMI kernel option,
compiler warning fixes, bugfix for experimental trap_pfault, and minor
performance tweak.
1995-08-23 07:31:17 +00:00
David Greenman c434a40cb3 Brought in change from rev 1.5: commented out "total" global as it no
longer exists in the kernel.
1995-08-23 07:24:58 +00:00
David Greenman a709d30443 Brought in changes from rev 1.13: fix a whole pile of printf's that ended
with \n\r.
1995-08-23 07:20:29 +00:00
Jordan K. Hubbard dc81f2f742 Bring in revisions from the HEAD. I've brought dumpdev and
nis_ypsetflags in as well with this rev, though they may
be no-ops for the moment until we bring whatever corresponding
changes are required in.
1995-08-23 07:18:06 +00:00
David Greenman 7b239e5628 Brought in changes from revs 1.129-1.130: partial fix for sysctl
machdep.console_device and kill redundant vnode_pager_uncache() call.
1995-08-23 07:16:42 +00:00
David Greenman d3ff9898fb Brought in change from rev 1.10: fake a call frame so that debugger stack
tracebacks work correctly for traps.
1995-08-23 05:22:34 +00:00
David Greenman 1721a7efd0 Brought in changes from revs 1.29-1.30: partial fix for sysctl
machdep.console_device, and output \r\n, not \n\r for newline.
1995-08-23 05:17:52 +00:00
David Greenman 3a9f2e8c62 Brought in change from rev 1.101: fix aic7xxx_asm clean rule. 1995-08-23 05:05:54 +00:00
David Greenman 72f7f7bbac Brought in change from rev 1.65: fix clean target. 1995-08-23 05:00:48 +00:00
David Greenman 001540be3f Brought in change from rev 1.3: install with correct permissions. 1995-08-23 04:41:23 +00:00
David Greenman 0564919c70 Brought in changes from rev 1.8: add dflname for default kernel name to fix
file not found loop bug..
1995-08-23 04:38:47 +00:00
David Greenman 19103f2fb4 Brought in change from rev 1.10: fix function prototype. 1995-08-23 04:36:42 +00:00
David Greenman 7506d1aabc Brought in changes from rev 1.15: fix compiler warnings. 1995-08-23 04:35:52 +00:00
David Greenman 021c1a4685 Brought in changes from rev 1.14: relax cylinder restriction. 1995-08-23 04:34:30 +00:00
David Greenman 4b77dbf388 Brought in changes from rev 1.11: fix prototypes. 1995-08-23 04:32:44 +00:00
David Greenman af7fad2088 Brought in changes from revs 1.45-1.46: fix broken FORCE_COMCONSOLE, and
print newline after symbol info.
1995-08-23 04:29:21 +00:00
David Greenman 9a9a7820aa Brought in changes from rev 1.7: improvements to DDB's "ps" command. 1995-08-23 04:25:16 +00:00
David Greenman 44e74a2463 Brought in changes from rev 1.11: remove use of GATEWAY in nmbclusters
calculation.
1995-08-23 04:22:29 +00:00
David Greenman c95597a8e9 Brought in all of Justin's changes/fixes from the main branch. 1995-08-23 03:52:27 +00:00
David Greenman 1c02e34bd6 Add support for an NFS_ASYNC kernel option. 1995-08-23 03:38:56 +00:00
David Greenman b3bdc8938e Brought in changes from revs 1.26 and 1.28 (all remaining diffs from
the main branch): BSDI compatibility in ogetkerninfo and fix sysctl
to return as much info as possible.
1995-08-20 03:12:38 +00:00
David Greenman e8991fa32b Brought in change from rev 1.7: use microtime() rather than "time" to
avoid time becoming negative for short-lived processes.
1995-08-20 02:51:59 +00:00
David Greenman ad5feed752 Brought in fix from rev 1.5: fix stating of "associated" files. 1995-08-20 02:26:03 +00:00
David Greenman 5d56ad1bef Brought in the rest of changes from rev 1.123 that were accidently
overlooked.
1995-08-20 02:20:38 +00:00
David Greenman a7b76c6751 Brought in changes from rev 1.6: sync with author's rev 1.3. 1995-08-20 02:12:13 +00:00
David Greenman 4e72be1c56 Brought in change from rev 1.11: fix race condition. 1995-08-20 00:23:50 +00:00
David Greenman 1ba919e206 Brought in changes from revs. 1.118-1.120: fix race condition; don't
convert \n, and small performance improvement.
1995-08-20 00:17:12 +00:00
David Greenman 23a6b8f362 Brought in change from rev 1.45: increased GETREPLY timeout to 5 secs. 1995-08-20 00:06:56 +00:00
David Greenman e9bdd020fd Brought in changes from revs. 1.30-1.33: fix interface type and use if_mtu
correctly.
1995-08-20 00:04:04 +00:00
David Greenman d1f4553d7d Brought in changes from rev 1.8: Fix to work with BNC connector. 1995-08-19 23:27:14 +00:00
David Greenman 780c671d2f Brought in changes from rev 1.18: add missing call to bpf_mtap(). 1995-08-19 23:24:14 +00:00
David Greenman 12ebeaad77 Brought in changes from rev 1.29: protect ioctl function with splimp. 1995-08-19 23:21:56 +00:00
David Greenman d6b22adb58 Brought in change from rev 1.53: Make kernel path absolute if necessary. 1995-08-19 00:51:53 +00:00
David Greenman 5248c5a02c Brought in change from rev 1.13: check udp length for sanity. 1995-08-18 23:59:25 +00:00
David Greenman 6d395fcf6d Brought in change from rev 1.10: changed default optimization back to -O. 1995-08-18 23:50:42 +00:00
Jordan K. Hubbard 983d6e6e67 Bring in changes to support `-m' flag from the HEAD. 1995-08-13 13:26:25 +00:00
David Greenman e8c44941af Brought in changes from rev 1.6: fix message buffer range checking. 1995-08-11 04:04:20 +00:00
David Greenman a40c2aa33f Brought in changes from rev 1.9: fix message buffer range checking. 1995-08-11 04:02:25 +00:00
David Greenman e16068afab Brought in change from revs 1.14-1.17: fix message buffer range checking
and printf %p printing.
1995-08-11 04:01:06 +00:00
David Greenman 6a1c3ad4d4 Brought in changes from rev 1.10: move mbuf frees to after sorflush(). 1995-08-11 03:53:38 +00:00
David Greenman 8f237e8256 Don't supress sysctl variable change information for [no] tcp extensions. 1995-08-09 01:45:51 +00:00
Jordan K. Hubbard 6d55d77d2c Bring in changes from the HEAD.
Submitted by:	Stephen Hocking <[email protected]>
1995-08-08 12:29:36 +00:00
Jordan K. Hubbard 5a8fa6b5e4 Bring up revision 1.123 from the HEAD. This just incorporates
John's malloc() patches, it doesn't bring it what looks to be a number
of Bruce's changes which probably depend on the tty changes.
Submitted by:	dyson
1995-08-08 12:28:59 +00:00
Andrey A. Chernov 1735246c43 Bring setreuid changes to 2.1 1995-08-08 04:07:22 +00:00
Andrey A. Chernov 1d6a79bc33 Copy 2.2 changes to 2.1 branch, including ^\t\n fixes and SYSV include
processing
1995-08-08 04:00:37 +00:00
David Greenman 90a2b819e3 Brought in changes from rev 1.4 and 1.5: deal with comment characters. 1995-08-06 07:21:30 +00:00
David Greenman fcab7241c2 Brought in changes from main branch: fix to work with MD5 crypt and fix
password change message.
1995-08-05 08:41:36 +00:00
David Greenman e963750ea1 Brought in change from rev 1.11: YP_NODOM should map to YPERR_DOMAIN. 1995-08-05 08:34:46 +00:00
David Greenman f27c624580 Brought in changes from rev 1.9: fixes for PRs 507, 508, and 509. 1995-08-05 08:29:25 +00:00
David Greenman cc8a9fb724 Brought in changes from main branch: check for NULL pointers. 1995-08-05 08:20:27 +00:00
David Greenman 12a86e8ffe Brought in change from rev 1.5: use daemon() to background. 1995-08-05 08:04:30 +00:00
David Greenman c8a82f8bab Brought in changes from rev 1.6: check with lkexists() before loading
module.
1995-08-05 07:42:51 +00:00
David Greenman 899b05e50e Brought in changes from rev 1.4: backed out "NIS rebind" performance
improvement.
1995-08-04 19:37:31 +00:00
David Greenman 0ce150a743 Brought in change from rev 1.5: return correct number of I/O ports. 1995-07-31 09:44:06 +00:00
David Greenman e8ae3fbecb Brought in change from rev 1.10: exit with good status if successful. 1995-07-30 18:26:20 +00:00
David Greenman d251e70960 Brought in change from rev 1.5: correct typo. 1995-07-30 18:22:43 +00:00
Jordan K. Hubbard 21b655cf0f Pull in my fix from the HEAD. 1995-07-30 13:01:41 +00:00
David Greenman 25f52744ef Brought in fixes and statistics additions from main branch. 1995-07-30 00:42:55 +00:00
David Greenman 8e899d16d2 Brought in changes from main branch: Add connection drop capability for
persist timeouts.
1995-07-29 23:16:53 +00:00
Rodney W. Grimes 3d27989b8d Bring in SNAPDATE change from HEAD (1.18).
Reviewed by:	jkh
1995-07-29 18:44:00 +00:00
David Greenman ea71c703e4 Brought in change from rev 1.27: fix panic in fill_eproc() caused by
inadequate NULL check.
1995-07-29 05:14:28 +00:00
David Greenman 57bcf8a671 Brought in changes from rev 1.75: fixed panic w/bogus length. 1995-07-28 12:18:39 +00:00
Jordan K. Hubbard 608f3951f1 Add spanish keymap from HEAD. 1995-07-27 23:16:43 +00:00
Rodney W. Grimes 1cfe6c8922 Merging differences between 1.9 and 1.10 into rc.i386
FreeBSD/386 -> FreeBSD/i386
1995-07-27 14:07:03 +00:00
Jordan K. Hubbard 56766694cb Tweak these files for the latest snap. 1995-07-27 01:37:18 +00:00
Jordan K. Hubbard c5894b74c2 Bring in changes from the HEAD. 1995-07-26 23:38:19 +00:00
Jordan K. Hubbard 476062a675 Bring in changes from the HEAD.
Branch:	RELENG_2_1_0
Submitted by: Frank Durda IV <uhclem%[email protected]>
1995-07-26 23:34:52 +00:00
Jordan K. Hubbard 6f92863066 Try to work around the latest surprises in cpio. Remove -H newc
from a number of places where it didn't belong.
Branch: RELENG_2_1_0
1995-07-26 03:09:16 +00:00
Jordan K. Hubbard 55be1e6318 Tweak a couple of the variables at the top to save myself time.
Branch: RELENG_2_1_0
1995-07-25 19:15:36 +00:00
David Greenman 2e65eafa2a Brought in change from rev 1.22: don't bogusly truncate a file on a
setattr failure.
1995-07-25 07:47:54 +00:00
David Greenman 9196485442 Brought in changes from revs 1.53 and 1.54: fixed panic caused by wrong
page offset in vfs_unbusy_pages() plus other minor changes.
1995-07-25 05:07:40 +00:00
Jordan K. Hubbard 81eda47b79 Bring in changes for -static compilation from the HEAD
Branch: RELENG_2_1_0
Submitted by:	bde
1995-07-25 02:38:54 +00:00
Jordan K. Hubbard 2372b3ad85 Pull in my change from the HEAD.
Branch: RELENG_2_1_0
1995-07-25 02:01:50 +00:00
David Greenman 6b225acbb4 Brought in changes from rev 1.52: added additional diagnostic info. 1995-07-23 19:38:35 +00:00
David Greenman 7d52cf4738 Brought in changes from rev 1.51: add missing parens, simply allocbuf()
logic.
1995-07-23 19:02:26 +00:00
David Greenman 3db0777e35 Brought in changes from rev 1.8: Discard ICMP's in response to multicast
packets.
1995-07-23 05:52:51 +00:00
David Greenman e7a412f7bd Brought in changes from revs 1.21 and 1.22: Fix panic when no mbuf is
allocated (when 0 length is passed in setsockopt()).
1995-07-23 05:48:03 +00:00
David Greenman c4387d7574 Brought in IP firewall fixes from main branch. 1995-07-23 05:43:51 +00:00
David Greenman b0f5158e9b Brought in changes from rev 1.18: delete obsolete #if 0 block. 1995-07-23 05:26:13 +00:00
David Greenman 135e8ec3db Brought in changes from revs 1.14 and 1.15: Fixed backwards subtract in
route expire time calulation, and fill in default value for pipe sizes.
NOTE: Part of rev 1.15 left out at Garrett's request; the default mtu is
not filled in.
1995-07-23 05:19:01 +00:00
David Greenman 4b52625cdd Brought in changes from revs 1.26 and 1.27: fixed srtt filter and added
statistics.
1995-07-23 05:12:13 +00:00
David Greenman 57e3c392b5 Brought in changes from revs 1.12 and 1.13: add statistics counters and
fix broken srtt filter.
1995-07-23 05:04:31 +00:00
David Greenman d690cfb3d8 Brought in changes from revs 1.12, 1.13, and 1.14: add statistics counters. 1995-07-23 05:02:02 +00:00
David Greenman da74ed6dfe Brought in changes from main branch: give BPF ability to generate signals
and don't include tty.h.
1995-07-23 04:58:33 +00:00
David Greenman cde99799a8 Brought in changes from rev 1.24: initialize rt_ifa and rt_ifp a little
earlier.
1995-07-23 04:55:01 +00:00
David Greenman 47ab8fd6e1 Brought in changes from revs 1.15 and 1.16: support for IPTOS_LOWDELAY and
use unique sleep strings.
1995-07-23 04:49:22 +00:00
David Greenman f75574e9b0 Brought in change from rev 1.15: return EDESTADDRREQ instead of EADDRNOTAVAIL 1995-07-23 03:38:11 +00:00
Rodney W. Grimes a55bbcf4c9 date: 1995/07/20 14:49:29; author: jkh; state: Exp; lines: +11 -11
Time to go to `newc' format for cpio.  This works-around a bug currently
in cpio and gives us a little more robust format anyway (with CRC checking).

[Note that 2 hunks of the old delta no longer apply due to intervening
changes from other branches that obsolete the effected lines.]
1995-07-22 05:21:15 +00:00
David Greenman 8ced1544b9 Brought in one small bug fix from the main branch: swap_pager_copy() must
not return without doing its work.
1995-07-22 04:41:47 +00:00
David Greenman 16ed2cb7cc Brought in changes from main branch: Add ability to wire an scbus to a
controller.
1995-07-22 04:38:06 +00:00
David Greenman 871a31fed1 Brought Adaptec driver and sequencer code up to date with main branch,
brought in misc SCSI fixes from main branch, and added support for wiring
a specific SCSI bus to a specific controller. REQUIRES A REBUILD OF CONFIG!
1995-07-22 04:25:10 +00:00
Rodney W. Grimes 3114b4e48d date: 1995/07/13 19:11:32; author: jkh; state: Exp; lines: +4 -3
Latest eBones target
Submitted by:   markm

[Note, I have had to hand apply this due to the order of deltas
being different, so it does not match the original delta, but
achivies the desired results].
1995-07-22 04:15:40 +00:00
David Greenman 38c847a956 Brought in changes from rev 1.50: Re-lookup buffer if the vnode isn't
locked.
1995-07-22 03:46:46 +00:00
David Greenman 3cef4a6422 Brought in changes from revs 1.24 and 1.25: fix race condition. 1995-07-22 03:43:39 +00:00
David Greenman b92f7fba74 Brought in changes from revs 1.10 and 1.11: fix race condition. 1995-07-22 03:40:56 +00:00
Rodney W. Grimes da9bdb3dfa date: 1995/07/11 22:13:42; author: jkh; state: Exp; lines: +5 -3
Sync the Makefile with Mark's suggested eBones stuff.
Submitted by:   markm

Reviewed by:
Submitted by:
Obtained from:
1995-07-21 11:53:59 +00:00
Rodney W. Grimes 5ef57d0ea2 date: 1995/07/11 10:00:25; author: jkh; state: Exp; lines: +36 -40
Tighten up the editors a bit - add direct `write' options
to fdisk and disklabel editors.
1995-07-21 11:45:45 +00:00
Rodney W. Grimes 65d5a8cd79 date: 1995/07/08 07:51:12; author: jkh; state: Exp; lines: +3 -5
Clean up the release.2 target a bit.
1995-07-21 11:32:15 +00:00
Rodney W. Grimes a9ce5f4f3a date: 1995/07/08 05:45:44; author: jkh; state: Exp; lines: +15 -21
Clean up the release/rerelease targets a little.
1995-07-21 11:29:27 +00:00
Rodney W. Grimes d89a832ccb date: 1995/06/24 17:10:11; author: joerg; state: Exp; lines: +10 -1
Provide default values for the disklabel fields sbsize, interleave,
and rpm.  This prevents a subsequent ``disklabel -B'' from failing.

Closes (my - joerg) PR #i386/251 disklabel(8) refuses to install new
bootstrap.

Submitted by:   [email protected] (Craig Struble)
1995-07-21 11:22:38 +00:00
Rodney W. Grimes a765e9d806 date: 1995/06/22 19:15:31; author: jkh; state: Exp; lines: +19 -1
Make the sendmail sample cf files another dist.
Submitted by:   joerg
1995-07-21 11:15:28 +00:00
Rodney W. Grimes f46681678a date: 1995/06/21 00:42:03; author: jkh; state: Exp; lines: +13 -17
Don't forget to ifconfig the device when using a SLIP device as well.

Submitted by:
Obtained from:
1995-07-21 10:57:33 +00:00
Rodney W. Grimes 95ee576122 date: 1995/06/20 00:28:06; author: jkh; state: Exp; lines: +3 -3
Fix a number of problems and add a couple of new features:

o Don't frob the network/CD/DOS/etc configuration when not running as init
  (e.g. post-install).  Assume that everything's happily up and working already.

o Add express and custom install options.  Now you can invoke  just about
  every individual installation option manually as well as have sysinstall
  lead you by the nose (or some other suitable appendage) through all the
  appropriate screens.

o Mount the DOS partition read-only by default in /etc/fstab until we figure
  out why MSDOSFS is so terribly broken.  It doesn't appear to be quite so
  pathological if you don't mount it read/write.

Reviewed by:
Submitted by:
Obtained from:
1995-07-21 10:54:06 +00:00
Rodney W. Grimes 63d061bb59 date: 1995/06/19 23:29:49; author: gpalmer; state: Exp; lines: +3 -3
Fix bogon in network address checking code. It nows allows the number
255 in the first three fields, although 255 in the last octet is still
considered an error, as it is still a broadcast address (AFAIK).

Noticed By:	[email protected] (Larry Granroth)

Reviewed by:
Submitted by:
Obtained from:
1995-07-21 10:02:59 +00:00
David Greenman 48018ec55c Brought in changes from revs 1.9 and 1.10: Compaq/compatibility fixes and
fix for Intel Aries.
1995-07-20 19:33:11 +00:00
David Greenman be21a0a2a7 Brought in changes from revs 1.14 and 1.15: fixed/improved probe messages. 1995-07-20 19:29:46 +00:00
David Greenman b16503155b Brought in changes from revs 1.24 and 1.25: make bridge consistency
checks non-fatal and change "not supported" to "no driver assigned".
1995-07-20 17:46:52 +00:00
David Greenman 04d47382f7 Brought in changes from revs 1.38 and 1.39: request sense bug fix. 1995-07-20 17:40:43 +00:00
David Greenman 7f9e9340f5 Brought in "VOP_GETATTR" fix from the main branch. See rev 1.43 of
vnode_pager.c for details.
1995-07-20 10:34:17 +00:00
David Greenman 106101517b Brought in changes from revs 1.54 and 1.55: Fix bug with PT faults
occurring twice.
1995-07-20 09:18:16 +00:00
David Greenman f3f9dc8ae1 Brought in part of change from rev 1.12 (vfs_vnops.c) and
rev 1.18 (nfs_subs.c): Removed bogus vm_object_lookup/pager_cache pair.
1995-07-20 07:52:09 +00:00
David Greenman aedb478be5 Brought in fixes from revs 1.48 and 1.49: Allow resizing of buffers and
fix "bufspace" lossage that resulted in a "newbuf" hang.
1995-07-20 07:02:23 +00:00
David Greenman a54ebefc2f Bring a fragment of a fix in the 2.2 branch: Don't mess with sw_piip; the
frobbing is useless and results in bogus wakeups occurring.
1995-07-20 05:52:57 +00:00
David Greenman a1adc0052d Bring in my changes from revs 1.21-1.26: mainly, fix interface up/down
bugs.
1995-07-20 05:50:07 +00:00
Rodney W. Grimes 05a4596227 cvs update -j1.2 fortunes-o.real 1995-07-17 04:55:22 +00:00
David Greenman 99ed2c886a Bring in changes from rev 1.9: remove temp files
Submitted by:	Peter Dufault
1995-07-16 14:00:03 +00:00
Rodney W. Grimes 4a1f769700 Branch: RELENG_2_1_0
cvs update -j1.3 dump.8
1995-07-15 10:46:40 +00:00
Rodney W. Grimes 1d5b5f5a91 Branch: RELENG_2_1_0
cvs update -j1.17 newvers.sh

Plus set REVISION to 2.1 and BRANCH to STABLE.
1995-07-13 11:01:37 +00:00
Rodney W. Grimes 2529a31443 Branch: RELENG_2_1_0
cvs update -j1.27 Makefile
1995-07-13 10:58:49 +00:00
Rodney W. Grimes 605931781b Now rejoin this!
cvs update -j 1.19 make.conf; cvs commit
1995-07-13 09:21:13 +00:00
David Greenman daa96194ed (2.1.0 branch)
Bring in changes from rev 1.16 and 1.17: made "P2P_LOCALADDR_SHARE"
standard and fixed one remaining bug with P2P address handling.
1995-07-13 09:10:43 +00:00
David Greenman 9391631eab (2.1.0 branch)
Bring in change from rev 1.12: add missing splx.
1995-07-08 04:11:55 +00:00
Rodney W. Grimes 2b57ca3a5b Branch: RELENG_2_1_0
cvs admin -o 1.1.1.1.6.1
cvs update -j 1.3
----------------------------
revision 1.3
date: 1995/06/25 03:35:49;  author: bde;  state: Exp;  lines: +2 -1
41 headers must be implicitly included and one more (<sys/param.h>) must
be explicitly included before kvm_getprocs() can be used.
----------------------------
revision 1.2
date: 1995/06/24 18:53:09;  author: joerg;  state: Exp;  lines: +9 -9
Update the man page for kvm_getprocs.3 to reflect our sysctl-based
kvm mechanism.

Submitted by:   (Vic Abell) <[email protected]>
----------------------------
1995-07-07 07:15:10 +00:00
David Greenman a84206fa8e (2.1.0 branch)
Brought in changes from rev 1.42 - fix "object deallocated too many times"
panic on NFS client.
1995-07-07 06:22:00 +00:00
David Greenman f2fcfbfb23 (2.1.0 branch)
Bring in change from 1.3 - fix typo that broke the send-pr mode.

Submitted by:	Jeorg Wunsch
1995-06-28 06:19:10 +00:00
David Greenman 967c802786 (2.1.0 branch)
Bring in changes from 1.3 - fix bogus type conversion that causes dump
to fail on large filesystems.

Submitted by:	Jeorg Wunsch
1995-06-28 06:15:04 +00:00
David Greenman 57325ad44d (2.1.0 branch)
Bring in changes from 1.28 - don't ignore umask when setting 'x'.

Submitted by:	Jeorg Wunsch
1995-06-28 05:54:50 +00:00
David Greenman 1b01b14b5b (2.1.0 branch)
Brought in changes from rev 1.16 that fix fa_type/fa_mode confusion.

Submitted by:	Jeorg Wunsch
1995-06-28 05:49:39 +00:00
Rodney W. Grimes 065aa677c7 Correct spelling of Judy Garland's name.
Submitted by:	Kenneth Stailey <[email protected]>
Obtained from:  NetBSD gnats bug list
1995-06-20 12:40:48 +00:00
David Greenman b64571a6c1 (2.1.0 branch)
Added a missing vm_object_unlock(). This is a no-op since we don't use
object locking, but it looks like a bug and it's good to be consistent
anyway.

Reviewed by:	John Dyson
1995-06-14 17:21:58 +00:00
cvs2svn e506c6f0ea This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-06-13 18:05:17 +00:00
4109 changed files with 118939 additions and 871780 deletions

No files matched your search

+27 -6
View File
@@ -13,13 +13,24 @@ committing code that was written by someone else, I decided to use the
The template looks like this:
Reviewed by:
Submitted by:
Reviewed by:
Submitted by:
Obtained from:
CVS: ----------------------------------------------------------------------
CVS: Delete the ``Reviewed by'' line if this is somebody else's work
CVS: (you are the reviewer).
CVS: Delete the ``Submitted by'' line if this is NOT somebody else's
CVS: work (you are the author).
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NetBSD,
CVS: then name the system in this line, otherwise delete it.
CVS: Reviewed by:
CVS: Before committing changes please have someone check your work and
CVS: include their name here. If the change is trivial and you have not
CVS: had it reviewed then delete this line.
CVS: Submitted by:
CVS: If this code has been contributed to FreeBSD by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
(Note that these lines will also automatically removed now if the tags
are empty.)
If you are making substantial or possibly controversial changes to the
code, please talk to someone else who either has commit authority, or
@@ -42,3 +53,13 @@ so that the logs look cleaner.
-GAWollman
Importing new stuff is somewhat error-prone since it's easy to create
unwanted directories or even whole subtrees without noticing it. The
script ``easy-import'' has been created to make first-time imports
easier to handle (vendor-branch imports are not yet supported), and to
help people avoiding the most common errors. It is available as
/usr/local/bin/easy-import on freefall, or in the source tree as
src/gnu/usr.bin/cvs/contrib/easy-import.pl.
Jörg Wunsch
-49
View File
@@ -1,49 +0,0 @@
$Id$
This file lists hardware, which doesn't do what it should do.
Due to the nature of FreeBSD, we do not have the resources to test all
possible kinds of hardware. We do however every now and then find, buy
or hear about hardware which doesn't work with FreeBSD or in general.
This is that list.
To be added to this list, a piece of hardware has to:
A: not do what it claims.
or
B: not do what common sense would expect it to.
Only if performance claims are wildly of the mark will it be listed here.
All entries must have a date and a mail-address associated with them, to
reflect when and by whom they were added.
For multifunctional devices, please indicate if other parts of the device
work OK, or are untested.
For mutual incompabilities, list both devices.
For SCSI and IDE-devices, list the string seen on boot of FreeBSD, if
possible, and trade name.
Infer format from other entries, Keep sorted by first line.
Thankyou.
---
Controller, Data Technology DTC2280, "PC/AT Super I/O Card"
IDE interface can be set to secondary address, but doesn't work there. Suspect
Interrupt isn't moved along. Works fine on primary address. Other parts of
card not tested.
19940828 [email protected]
---
IDE-disk, <Maxtor 7345 AT>, "Maxtor 7345"
Cannot coexist on the same IDE-controller with a <WDC AC2540H>, "Western
Digital Caviar 2540" disk. Jumpers not exhaustively experimented with, as
neither of the companies make sufficient information available. Disk works
fine when alone on IDE-controller.
19940828 [email protected]
---
IDE-disk, <WDC AC2540H>, "Western Digital Caviar 2540"
Cannot coexist on the same IDE-controller with a <Maxtor 7345 AT>, "Maxtor
7345" disk. Jumpers not exhaustively experimented with, as neither of the
companies make sufficient information available. Disk works fine when alone
on IDE-controller.
19940828 [email protected]
---
+17 -9
View File
@@ -1,5 +1,4 @@
#
# $Id: Makefile,v 1.56 1995/05/13 03:34:23 rgrimes Exp $
# $Id: Makefile,v 1.57.4.7 1995/11/09 10:57:04 jkh Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -112,6 +111,12 @@ update:
@echo "Running sup"
@echo "--------------------------------------------------------------"
@sup -v ${SUPFILE}
.if defined(SUPFILE1)
@sup -v ${SUPFILE1}
.endif
.if defined(SUPFILE2)
@sup -v ${SUPFILE2}
.endif
.endif
.if defined(CVS_UPDATE)
@echo "--------------------------------------------------------------"
@@ -208,6 +213,8 @@ includes:
cd ${.CURDIR}/gnu/lib/libdialog && ${MAKE} beforeinstall
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/include && ${MAKE} beforeinstall
cd ${.CURDIR}/eBones/lib/libkrb && ${MAKE} beforeinstall
cd ${.CURDIR}/eBones/lib/libkadm && ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall
@@ -226,7 +233,6 @@ includes:
cd ${.CURDIR}/lib/libss && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libforms && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libscsi && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libftp && ${MAKE} beforeinstall
lib-tools:
@echo "--------------------------------------------------------------"
@@ -291,11 +297,7 @@ libraries:
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/des && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/eBones/acl && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/eBones/kdb && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/eBones/krb && \
cd ${.CURDIR}/eBones/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(usr.sbin/pcvt/keycap)
@@ -305,12 +307,18 @@ libraries:
tools:
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} Compiler and Make"
@echo " Rebuilding ${DESTDIR} C compiler, make, sgmlfmt, and zic(8)"
@echo "--------------------------------------------------------------"
@echo
cd ${.CURDIR}/gnu/usr.bin/cc && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/make && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/sgmlfmt && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/share/sgml && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.sbin/zic && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.include <bsd.subdir.mk>
-69
View File
@@ -1,69 +0,0 @@
-----------------------------------------
FreeBSD 2.0 --- ALPHA Release , ,
----------------------------------------- /( )`
\ \___ / |
Welcome to the ALPHA release of FreeBSD 2.0 - the /- _ `-/ '
first public snapshot of our new 4.4BSD Lite based (/\/ \ \ /\
operating system environment. This install proce- / / | ` \
dure is also at the ALPHA stage, and contains only O O ) / |
the minimum functionality required by an `-^--'`< '
*EXPERIENCED* person to install the system. (_.) _ ) /
It is our hope, of course, that the feedback `.___/` /
provided from this snapshot will `-----' /
greatly assist us in making the release <----. __ / __ \
of 2.0 much more user friendly. Your <----|====O)))==) \) /====
comments and criticisms are very <----' `--' `.__,' \
valuable to us, so please don't hesitate | |
in contacting us! Full details on where and \ / /\
how to provide feedback are given below. ______( (_ / \______/
,' ,-----' |
This install procedure is ALPHA code, and `--{__________)
may very possibly *DESTROY* the contents of your
ENTIRE DISK! Please do not proceed with this installation
unless you've adequately backed up your data first!
If any errors occur during this installation, you can see them
by toggling over to the alternate screen - type ALT-F2 to switch
over, ALT-F1 to switch back to the install screen. The debugging
output on the second screen may be very valuable to us in understanding
your bug report, so please be sure to take note of it when reporting
any failures in the installation! Thanks!
Menus and scrolling output windows may be traversed with the arrow
and Page Up/Page Down keys. To suspend the installation at any point,
hit ESC twice. Hitting TAB will move the focus to different controls.
If you've ever dealt with a DOS installation, you'll know how to deal
with this.
For a more complete description of what's new in this release, please
see the release notes.
For more documentation on this system, it is recommended that you purchase
the 4.4BSD Document Set from O'Reilly Associates and the USENIX Association.
ISBN 1-56592-082-1 We have no connection with O'Reilly, we're just
satisfied customers!
Have fun, and please let us know of any problems you encounter with
this release!
Comments should be sent to:
[email protected]
Bug reports should be sent using the `send-pr' utility, if you
were able to get the system installed, otherwise to:
[email protected]
And general questions to:
[email protected]
Please have patience if your questions are not answered right away -
this is an especially busy time for us, and our volunteer resources
are often strained to the limit (if not somewhat past!).
Thanks!
The FreeBSD Project
+7 -2
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: cat.c,v 1.3 1995/10/03 12:46:37 bde Exp $
*/
#ifndef lint
@@ -128,6 +128,7 @@ cook_args(argv)
fp = stdin;
else if ((fp = fopen(*argv, "r")) == NULL) {
warn("%s", *argv);
rval = 1;
++argv;
continue;
}
@@ -196,6 +197,7 @@ cook_buf(fp)
}
if (ferror(fp)) {
warn("%s", filename);
rval = 1;
clearerr(fp);
}
if (ferror(stdout))
@@ -216,6 +218,7 @@ raw_args(argv)
fd = fileno(stdin);
else if ((fd = open(*argv, O_RDONLY, 0)) < 0) {
warn("%s", *argv);
rval = 1;
++argv;
continue;
}
@@ -248,6 +251,8 @@ raw_cat(rfd)
for (off = 0; nr; nr -= nw, off += nw)
if ((nw = write(wfd, buf + off, nr)) < 0)
err(1, "stdout");
if (nr < 0)
if (nr < 0) {
warn("%s", filename);
rval = 1;
}
}
-7
View File
@@ -1,7 +0,0 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= chflags
SRCS= chflags.c stat_flags.c
.PATH: ${.CURDIR}/../../bin/ls
.include <bsd.prog.mk>
-125
View File
@@ -1,125 +0,0 @@
.\" Copyright (c) 1989, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)chflags.1 8.2 (Berkeley) 3/31/94
.\"
.Dd March 31, 1994
.Dt CHFLAGS 1
.Os
.Sh NAME
.Nm chflags
.Nd change file flags
.Sh SYNOPSIS
.Nm chflags
.Oo
.Fl R
.Op Fl H | Fl L | Fl P
.Oc
.Ar flags
.Ar file ...
.Sh DESCRIPTION
The
.Nm chflags
utility modifies the file flags of the listed files
as specified by the
.Ar flags
operand.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl H
If the
.Fl R
option is specified, symbolic links on the command line are followed.
(Symbolic links encountered in the tree traversal are not followed.)
.It Fl L
If the
.Fl R
option is specified, all symbolic links are followed.
.It Fl P
If the
.Fl R
option is specified, no symbolic links are followed.
.It Fl R
Change the file flags for the file hierarchies rooted
in the files instead of just the files themselves.
.El
.Pp
Flags are a comma separated list of keywords.
The following keywords are currently defined:
.Bd -literal -offset indent compact
arch set the archived flag (super-user only)
dump set the dump flag
sappnd set the system append-only flag (super-user only)
schg set the system immutable flag (super-user only)
uappnd set the user append-only flag (owner or super-user only)
uchg set the user immutable flag (owner or super-user only)
archived, sappend, schange, simmutable, uappend, uchange, uimmutable
aliases for the above
.Ed
.Pp
Putting the letters
.Dq no
before an option causes the flag to be turned off.
For example:
.Bd -literal -offset indent compact
nodump the file should never be dumped
.Ed
.Pp
Symbolic links do not have flags, so unless the
.Fl H
or
.Fl L
option is set,
.Nm chflags
on a symbolic link always succeeds and has no effect.
The
.Fl H ,
.Fl L
and
.Fl P
options are ignored unless the
.Fl R
option is specified.
In addition, these options override each other and the
command's actions are determined by the last one specified.
.Pp
The
.Nm chflags
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr chflags 2 ,
.Xr stat 2 ,
.Xr fts 3 ,
.Xr symlink 7
-180
View File
@@ -1,180 +0,0 @@
/*
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
u_long string_to_flags __P((char **, u_long *, u_long *));
void usage __P((void));
int
main(argc, argv)
int argc;
char *argv[];
{
FTS *ftsp;
FTSENT *p;
u_long clear, set;
long val;
int Hflag, Lflag, Pflag, Rflag, ch, fts_options, oct, rval;
char *flags, *ep;
Hflag = Lflag = Pflag = Rflag = 0;
while ((ch = getopt(argc, argv, "HLPR")) != EOF)
switch (ch) {
case 'H':
Hflag = 1;
Lflag = Pflag = 0;
break;
case 'L':
Lflag = 1;
Hflag = Pflag = 0;
break;
case 'P':
Pflag = 1;
Hflag = Lflag = 0;
break;
case 'R':
Rflag = 1;
break;
case '?':
default:
usage();
}
argv += optind;
argc -= optind;
if (argc < 2)
usage();
fts_options = FTS_PHYSICAL;
if (Rflag) {
if (Hflag)
fts_options |= FTS_COMFOLLOW;
if (Lflag) {
fts_options &= ~FTS_PHYSICAL;
fts_options |= FTS_LOGICAL;
}
}
flags = *argv;
if (*flags >= '0' && *flags <= '7') {
errno = 0;
val = strtol(flags, &ep, 8);
if (val < 0)
errno = ERANGE;
if (errno)
err(1, "invalid flags: %s", flags);
if (*ep)
errx(1, "invalid flags: %s", flags);
set = val;
oct = 1;
} else {
if (string_to_flags(&flags, &set, &clear))
errx(1, "invalid flag: %s", flags);
clear = ~clear;
oct = 0;
}
if ((ftsp = fts_open(++argv, fts_options , 0)) == NULL)
err(1, NULL);
for (rval = 0; (p = fts_read(ftsp)) != NULL;) {
switch (p->fts_info) {
case FTS_D:
if (Rflag) /* Change it at FTS_DP. */
continue;
fts_set(ftsp, p, FTS_SKIP);
break;
case FTS_DNR: /* Warn, chflag, continue. */
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
rval = 1;
break;
case FTS_ERR: /* Warn, continue. */
case FTS_NS:
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
rval = 1;
continue;
case FTS_SL: /* Ignore. */
case FTS_SLNONE:
/*
* The only symlinks that end up here are ones that
* don't point to anything and ones that we found
* doing a physical walk.
*/
continue;
default:
break;
}
if (oct) {
if (!chflags(p->fts_accpath, set))
continue;
} else {
p->fts_statp->st_flags |= set;
p->fts_statp->st_flags &= clear;
if (!chflags(p->fts_accpath, p->fts_statp->st_flags))
continue;
}
warn("%s", p->fts_path);
rval = 1;
}
if (errno)
err(1, "fts_read");
exit(rval);
}
void
usage()
{
(void)fprintf(stderr,
"usage: chflags [-R [-H | -L | -P]] flags file ...\n");
exit(1);
}
+9 -9
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: utils.c,v 1.2 1994/09/24 02:53:42 davidg Exp $
* $Id: utils.c,v 1.5 1995/10/03 12:55:01 bde Exp $
*/
#ifndef lint
@@ -143,13 +143,12 @@ copy_file(entp, dne)
}
}
/* If the copy went bad, lose the file. */
if (rval == 1) {
(void)unlink(to.p_path);
(void)close(from_fd);
(void)close(to_fd);
return (1);
}
/*
* Don't remove the target even after an error. The target might
* not be a regular file, or its attributes might be important,
* or its contents might be irreplacable. It would only be safe
* to remove it if we created it and its length is 0.
*/
if (pflag && setfile(fs, to_fd))
rval = 1;
@@ -242,7 +241,8 @@ setfile(fs, fd)
int rval;
rval = 0;
fs->st_mode &= S_ISUID | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO;
fs->st_mode &= S_ISUID | S_ISGID | S_ISVTX |
S_IRWXU | S_IRWXG | S_IRWXO;
TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec);
TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec);
+13 -10
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: csh.c,v 1.2 1994/09/24 02:53:51 davidg Exp $
* $Id: csh.c,v 1.3 1995/05/30 00:06:30 rgrimes Exp $
*/
#ifndef lint
@@ -248,14 +248,6 @@ main(argc, argv)
if ((tcp = getenv("TERM")) != NULL)
set(STRterm, SAVE(tcp));
/*
* Re-initialize path if set in environment
*/
if ((tcp = getenv("PATH")) == NULL)
set1(STRpath, defaultpath(), &shvhed);
else
importpath(SAVE(tcp));
set(STRshell, Strsave(STR_SHELLPATH));
doldol = putn((int) getpid()); /* For $$ */
@@ -417,6 +409,16 @@ main(argc, argv)
stderror(ERR_SYSTEM, "csh", strerror(errno));
}
}
/*
* Re-initialize path if set in environment
* importpath uses intty and intact
*/
if ((tcp = getenv("PATH")) == NULL)
set1(STRpath, defaultpath(), &shvhed);
else
importpath(SAVE(tcp));
/*
* Decide whether we should play with signals or not. If we are explicitly
* told (via -i, or -) or we are a login shell (arg0 starts with -) or the
@@ -618,7 +620,8 @@ importpath(cp)
for (;;) {
if ((c = *dp) == ':' || c == 0) {
*dp = 0;
if ((*cp != '/' || *cp == '\0') && (euid == 0 || uid == 0))
if (*cp != '/' && (euid == 0 || uid == 0) &&
(intact || intty && isatty(SHOUT)))
(void) fprintf(csherr,
"Warning: imported path contains relative components\n");
pv[i++] = Strsave(*cp ? cp : STRdot);
+2 -2
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: dir.c,v 1.2 1994/09/24 02:53:54 davidg Exp $
* $Id: dir.c,v 1.3 1995/05/30 00:06:30 rgrimes Exp $
*/
#ifndef lint
@@ -84,7 +84,7 @@ dinit(hp)
/* Don't believe the login shell home, because it may be a symlink */
tcp = getwd(path); /* see ngetwd.c for System V version */
if (tcp == NULL || *tcp == '\0') {
(void) fprintf(csherr, "csh: %s\n", path);
(void) fprintf(csherr, "csh: %s: %s\n", path, strerror(errno));
if (hp && *hp) {
tcp = short2str(hp);
if (chdir(tcp) == -1)
+12 -5
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: exec.c,v 1.2 1994/09/24 02:53:59 davidg Exp $
* $Id: exec.c,v 1.3 1995/05/30 00:06:32 rgrimes Exp $
*/
#ifndef lint
@@ -656,7 +656,7 @@ tellmewhat(lex)
register struct biltins *bptr;
register struct wordent *sp = lex->next;
bool aliased = 0;
Char *s0, *s1, *s2;
Char *s0, *s1, *s2, *cmd;
Char qc;
if (adrof1(sp->word, &aliases)) {
@@ -703,6 +703,8 @@ tellmewhat(lex)
}
}
sp->word = cmd = globone(sp->word, G_IGNORE);
if ((i = iscommand(strip(sp->word))) != 0) {
register Char **pv;
register struct varent *v;
@@ -717,10 +719,14 @@ tellmewhat(lex)
while (--i)
pv++;
if (pv[0][0] == 0 || eq(pv[0], STRdot)) {
sp->word = Strspl(STRdotsl, sp->word);
prlex(cshout, lex);
xfree((ptr_t) sp->word);
if (!slash) {
sp->word = Strspl(STRdotsl, sp->word);
prlex(cshout, lex);
xfree((ptr_t) sp->word);
} else
prlex(cshout, lex);
sp->word = s0; /* we save and then restore this */
xfree((ptr_t) cmd);
return;
}
s1 = Strspl(*pv, STRslash);
@@ -734,5 +740,6 @@ tellmewhat(lex)
prlex(cshout, lex);
(void) fprintf(csherr, "%s: Command not found.\n", vis_str(sp->word));
}
xfree((ptr_t) cmd);
sp->word = s0; /* we save and then restore this */
}
+5 -5
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: file.c,v 1.2 1994/09/24 02:54:03 davidg Exp $
* $Id: file.c,v 1.3 1995/05/30 00:06:33 rgrimes Exp $
*/
#ifndef lint
@@ -112,14 +112,14 @@ static void
setup_tty(on)
int on;
{
static struct termios tchars;
struct termios tchars;
(void) tcgetattr(SHIN, &tchars);
if (on) {
tchars.c_cc[VEOL] = ESC;
if (tchars.c_lflag & ICANON)
on = TCSANOW;
on = TCSADRAIN;
else {
on = TCSAFLUSH;
tchars.c_lflag |= ICANON;
@@ -127,10 +127,10 @@ setup_tty(on)
}
else {
tchars.c_cc[VEOL] = _POSIX_VDISABLE;
on = TCSANOW;
on = TCSADRAIN;
}
(void) tcsetattr(SHIN, TCSANOW, &tchars);
(void) tcsetattr(SHIN, on, &tchars);
}
/*
+2 -2
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: lex.c,v 1.2 1994/09/24 02:54:09 davidg Exp $
* $Id: lex.c,v 1.3 1995/05/30 00:06:35 rgrimes Exp $
*/
#ifndef lint
@@ -1187,7 +1187,7 @@ gethent(sc)
}
np = lhsb;
event = 0;
while (!cmap(c, _ESC | _META | _QF | _QB) && !any("${}:", c)) {
while (!cmap(c, _ESC | _META | _QF | _QB) && !any("^$*-%{}:", c)) {
if (event != -1 && Isdigit(c))
event = event * 10 + c - '0';
else
+3 -2
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: set.c,v 1.2 1994/09/24 02:54:16 davidg Exp $
* $Id: set.c,v 1.3 1995/05/30 00:06:38 rgrimes Exp $
*/
#ifndef lint
@@ -664,7 +664,8 @@ exportpath(val)
"Warning: ridiculously long PATH truncated\n");
break;
}
if ((**val != '/' || **val == '\0') && (euid == 0 || uid == 0))
if (**val != '/' && (euid == 0 || uid == 0) &&
(intact || intty && isatty(SHOUT)))
(void) fprintf(csherr,
"Warning: exported path contains relative components.\n");
(void) Strcat(exppath, *val++);
+2 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.2 (Berkeley) 11/17/93
.\" $Id: date.1,v 1.4 1994/09/24 02:54:34 davidg Exp $
.\" $Id: date.1,v 1.5 1995/04/03 20:08:32 joerg Exp $
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -107,7 +107,7 @@ in the
manual page, as well as any arbitrary text.
The format string for the default display is:
.Bd -literal -offset indent
``%a %b %e %H:%M:%S %Z %Y''.
``%+''.
.Ed
.Pp
If an operand does not have a leading plus sign, it is interpreted as
+2 -2
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: date.c,v 1.3 1994/12/26 12:59:28 bde Exp $
* $Id: date.c,v 1.4 1995/04/03 20:08:33 joerg Exp $
*/
#ifndef lint
@@ -123,7 +123,7 @@ main(argc, argv)
if (!rflag && time(&tval) == -1)
err(1, "time");
format = "%a %b %e %H:%M:%S %Z %Y";
format = "%+";
/* allow the operands in any order */
if (*argv && **argv == '+') {
Binary file not shown.
Binary file not shown.
+13 -1
View File
@@ -4,7 +4,7 @@
*
* Largely rewritten by J.T. Conklin ([email protected])
*
* $Id: expr.y,v 1.8 1994/09/24 02:55:37 davidg Exp $
* $Id: expr.y,v 1.9 1995/03/19 13:28:41 joerg Exp $
*/
#include <stdio.h>
@@ -107,13 +107,25 @@ make_str (s)
char *s;
{
struct val *vp;
int i, isint;
vp = (struct val *) malloc (sizeof (*vp));
if (vp == NULL || ((vp->u.s = strdup (s)) == NULL)) {
err (2, NULL);
}
for(i = 1, isint = isdigit(s[0]) || s[0] == '-';
isint && i < strlen(s);
i++)
{
if(!isdigit(s[i]))
isint = 0;
}
vp->type = string;
if(isint)
to_integer(vp);
return vp;
}
+7 -6
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ls.1 8.6 (Berkeley) 4/18/94
.\" $Id$
.\" $Id: ls.1,v 1.4 1995/09/26 08:48:09 mpp Exp $
.\"
.Dd April 18, 1994
.Dt LS 1
@@ -82,9 +82,10 @@ Force multi-column output; this is the default when output is to a terminal.
Display a slash (/) immediately after each pathname
that is a directory, an asterisk (*) after each that is
executable,
and an at sign (@) after each symbolic link.
.\" and a vertical bar (|) after each that is a
.\" .Tn FIFO .
an at sign (@) after each symbolic link,
an equals sign (=) after each socket,
and a vertical bar (|) after each that is a
.Tn FIFO .
.It Fl L
If argument is a symbolic link, list the file or directory the link references
rather than the link itself.
@@ -215,8 +216,8 @@ Directory.
Symbolic link.
.It Sy s
Socket link.
.\" .It Sy p
.\" .Tn FIFO .
.It Sy p
.Tn FIFO .
.It Sy \-
Regular file.
.El
+4 -5
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: print.c,v 1.3 1995/03/19 13:28:46 joerg Exp $
* $Id: print.c,v 1.4 1995/05/30 00:06:50 rgrimes Exp $
*/
#ifndef lint
@@ -52,7 +52,6 @@ static char sccsid[] = "@(#)print.c 8.4 (Berkeley) 4/17/94";
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <tzfile.h>
#include <unistd.h>
#include <utmp.h>
@@ -228,13 +227,13 @@ printtime(ftime)
time_t ftime;
{
int i;
char *longstring;
char longstring[80];
longstring = ctime(&ftime);
strftime(longstring, sizeof(longstring), "%c", localtime(&ftime));
for (i = 4; i < 11; ++i)
(void)putchar(longstring[i]);
#define SIXMONTHS ((DAYSPERNYEAR / 2) * SECSPERDAY)
#define SIXMONTHS ((365 / 2) * 86400)
if (f_sectime)
for (i = 11; i < 24; i++)
(void)putchar(longstring[i]);
+2 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mv.1 8.1 (Berkeley) 5/31/93
.\" $Id$
.\" $Id: mv.1,v 1.2 1994/09/24 02:56:06 davidg Exp $
.\"
.Dd May 31, 1993
.Dt MV 1
@@ -112,7 +112,7 @@ to accomplish the move.
The effect is equivalent to:
.Bd -literal -offset indent
rm -f destination_path && \e
\tcp -pr source_file destination && \e
\tcp -pRP source_file destination && \e
\trm -rf source_file
.Ed
.Pp
+11 -5
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: mv.c,v 1.3 1995/10/07 10:42:48 bde Exp $
*/
#ifndef lint
@@ -116,10 +116,16 @@ endarg: argc -= optind;
*endp++ = '/';
++baselen;
for (rval = 0; --argc; ++argv) {
if ((p = strrchr(*argv, '/')) == NULL)
p = *argv;
else
++p;
/*
* Find the last component of the source pathname. It
* may have trailing slashes.
*/
p = *argv + strlen(*argv);
while (p != *argv && p[-1] == '/')
--p;
while (p != *argv && p[-1] != '/')
--p;
if ((baselen + (len = strlen(p))) >= MAXPATHLEN) {
warnx("%s: destination pathname too long", *argv);
rval = 1;
+2 -3
View File
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: gen_subs.c,v 1.3 1995/03/19 13:28:49 joerg Exp $
* $Id: gen_subs.c,v 1.5 1995/08/07 19:17:36 wollman Exp $
*/
#ifndef lint
@@ -47,7 +47,6 @@ static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#include <sys/param.h>
#include <stdio.h>
#include <ctype.h>
#include <tzfile.h>
#include <utmp.h>
#include <unistd.h>
#include <stdlib.h>
@@ -64,7 +63,7 @@ static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
*/
#define MODELEN 20
#define DATELEN 64
#define SIXMONTHS ((DAYSPERNYEAR / 2) * SECSPERDAY)
#define SIXMONTHS ((365 / 2) * 86400)
#define CURFRMT "%b %e %H:%M"
#define OLDFRMT "%b %e %Y"
#ifndef UT_NAMESIZE
+2 -2
View File
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)pax.1 8.4 (Berkeley) 4/18/94
.\" $Id$
.\" $Id: pax.1,v 1.3 1995/08/16 23:12:25 nate Exp $
.\"
.Dd April 18, 1994
.Dt PAX 1
@@ -1048,7 +1048,7 @@ copies the contents of the current directory to the device
.Pa /dev/rst0 .
.Pp
The command:
.Dl pax -r -v -f filename
.Dl pax -v -f filename
gives the verbose table of contents for an archive stored in
.Pa filename .
.Pp
+4 -4
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)pax.h 8.2 (Berkeley) 4/18/94
* $Id: pax.h,v 1.2 1994/09/24 02:56:28 davidg Exp $
* $Id: pax.h,v 1.3 1995/05/30 00:07:01 rgrimes Exp $
*/
/*
@@ -227,9 +227,9 @@ typedef struct oplist {
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#define MAJOR(x) (((unsigned)(x) >> 8) & 0xff)
#define MINOR(x) ((x) & 0xff)
#define TODEV(x, y) (((unsigned)(x) << 8) | ((unsigned)(y)))
#define MAJOR(x) major(x)
#define MINOR(x) minor(x)
#define TODEV(x, y) makedev((x), (y))
/*
* General Defines
+3 -3
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: keyword.c,v 1.4 1994/10/02 08:19:10 davidg Exp $
* $Id: keyword.c,v 1.7 1995/09/26 17:48:58 peter Exp $
*/
#ifndef lint
@@ -161,7 +161,7 @@ VAR var[] = {
{"tpgid", "TPGID", NULL, 0, evar, 4, EOFF(e_tpgid), ULONG, PIDFMT},
{"tsess", "TSESS", NULL, 0, evar, 6, EOFF(e_tsess), KPTR, "x"},
{"tsiz", "TSIZ", NULL, 0, tsize, 4},
{"tt", "TT", NULL, LJUST, tname, 3},
{"tt", "TT ", NULL, 0, tname, 4},
{"tty", "TTY", NULL, LJUST, longtname, 8},
{"ucomm", "UCOMM", NULL, LJUST, ucomm, MAXCOMLEN},
{"uid", "UID", NULL, 0, evar, UIDLEN, EOFF(e_ucred.cr_uid),
@@ -248,7 +248,7 @@ VAR var[] = {
{"trs", "TRS", NULL, 0, trss, 3},
{"tsess", "TSESS", NULL, 0, evar, 6, EOFF(e_tsess), KPTR, "x"},
{"tsiz", "TSIZ", NULL, 0, tsize, 4},
{"tt", "TT", NULL, LJUST, tname, 3},
{"tt", "TT", NULL, LJUST, tname, 4},
{"tty", "TTY", NULL, LJUST, longtname, 8},
{"ucomm", "UCOMM", NULL, LJUST, ucomm, MAXCOMLEN},
{"uid", "UID", NULL, 0, pvar, UIDLEN, POFF(p_uid),USHORT, UIDFMT},
+4 -5
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: print.c,v 1.6 1995/03/19 13:29:01 joerg Exp $
* $Id: print.c,v 1.10 1995/09/26 17:48:59 peter Exp $
*/
#ifndef lint
@@ -65,7 +65,6 @@ static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#include <stdlib.h>
#include <string.h>
#include <vis.h>
#include <tzfile.h>
#include "ps.h"
@@ -323,7 +322,7 @@ tname(k, ve)
v = ve->var;
dev = KI_EPROC(k)->e_tdev;
if (dev == NODEV || (ttname = devname(dev, S_IFCHR)) == NULL)
(void)printf("%-*s", v->width, "??");
(void)printf("%*s ", v->width-1, "??");
else {
if (strncmp(ttname, "tty", 3) == 0 ||
strncmp(ttname, "cua", 3) == 0)
@@ -369,11 +368,11 @@ started(k, ve)
tp = localtime(&k->ki_u.u_start.tv_sec);
if (!now)
(void)time(&now);
if (now - k->ki_u.u_start.tv_sec < 24 * SECSPERHOUR) {
if (now - k->ki_u.u_start.tv_sec < 24 * 3600) {
/* I *hate* SCCS... */
static char fmt[] = __CONCAT("%l:%", "M%p");
(void)strftime(buf, sizeof(buf) - 1, fmt, tp);
} else if (now - k->ki_u.u_start.tv_sec < 7 * SECSPERDAY) {
} else if (now - k->ki_u.u_start.tv_sec < 7 * 86400) {
/* I *hate* SCCS... */
static char fmt[] = __CONCAT("%a%", "I%p");
(void)strftime(buf, sizeof(buf) - 1, fmt, tp);
+4 -1
View File
@@ -34,13 +34,16 @@
* SUCH DAMAGE.
*
* @(#)echo.c 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: echo.c,v 1.2 1994/09/24 02:58:29 davidg Exp $
*/
/*
* Echo command.
*/
#ifdef main
#undef main
#endif
#define main echocmd
#include "bltin.h"
+3 -2
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: eval.c,v 1.2 1994/09/24 02:57:29 davidg Exp $
* $Id: eval.c,v 1.3 1995/05/30 00:07:11 rgrimes Exp $
*/
#ifndef lint
@@ -851,7 +851,8 @@ prehash(n)
{
struct cmdentry entry;
if (n->type == NCMD && goodname(n->ncmd.args->narg.text))
if (n->type == NCMD && n->ncmd.args &&
goodname(n->ncmd.args->narg.text))
find_command(n->ncmd.args->narg.text, &entry, 0);
}
+8 -1
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: jobs.c,v 1.2 1994/09/24 02:57:41 davidg Exp $
* $Id: jobs.c,v 1.4 1995/09/21 13:24:20 bde Exp $
*/
#ifndef lint
@@ -459,7 +459,14 @@ makejob(node, nprocs)
if (njobs == 0) {
jobtab = ckmalloc(4 * sizeof jobtab[0]);
} else {
struct job *ojp;
jp = ckmalloc((njobs + 4) * sizeof jobtab[0]);
for (i = njobs, ojp = jobtab; --i >= 0;
jp++, ojp++)
if (ojp->ps == &ojp->ps0)
ojp->ps = &jp->ps0;
jp -= njobs;
bcopy(jobtab, jp, njobs * sizeof jp[0]);
ckfree(jobtab);
jobtab = jp;
+15 -3
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mkinit.c,v 1.3 1994/11/06 06:27:04 pst Exp $
* $Id: mkinit.c,v 1.5 1995/10/01 15:13:31 joerg Exp $
*/
#ifndef lint
@@ -198,7 +198,7 @@ readfile(fname)
char *fname;
{
FILE *fp;
char line[1024];
char line[1024], line2[1024];
struct event *ep;
fp = ckfopen(fname, "r");
@@ -217,8 +217,20 @@ readfile(fname)
doinclude(line);
if (line[0] == 'M' && match("MKINIT", line))
dodecl(line, fp);
if (line[0] == '#' && gooddefine(line))
if (line[0] == '#' && gooddefine(line)) {
char *cp;
strcpy(line2, line);
memcpy(line2, "#undef ", strlen("#undef "));
cp = line2 + strlen("#undef ");
while(*cp && (*cp == ' ' || *cp == '\t'))
cp++;
while(*cp && *cp != ' ' && *cp != '\t' && *cp != '\n')
cp++;
*cp++ = '\n'; *cp = '\0';
addstr(line2, &defines);
addstr(line, &defines);
}
}
fclose(fp);
}
+5 -3
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: options.c,v 1.2 1994/09/24 02:58:04 davidg Exp $
* $Id: options.c,v 1.3.4.2 1995/10/02 07:55:18 davidg Exp $
*/
#ifndef lint
@@ -106,6 +106,9 @@ procargs(argc, argv)
commandname = arg0 = *argptr++;
setinputfile(commandname, 0);
}
if (*argptr && minusc)
/* Posix.2: first arg after -c cmd is $0, remainder $1... */
arg0 = *argptr++;
shellparam.p = argptr;
/* assert(shellparam.malloc == 0 && shellparam.nparam == 0); */
while (*argptr) {
@@ -374,12 +377,11 @@ atend:
q++;
}
if (*++q == ':') {
if (*p == '\0' && (p = *shellparam.optnext) == NULL) {
if (*p == '\0' && (p = *shellparam.optnext++) == NULL) {
out1fmt("No arg for -%c option\n", c);
c = '?';
goto out;
}
shellparam.optnext++;
setvar("OPTARG", p, 0);
p = NULL;
}
+10 -1
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: parser.c,v 1.5 1995/01/11 07:07:00 paul Exp $
* $Id: parser.c,v 1.6.4.1 1995/08/25 03:21:06 davidg Exp $
*/
#ifndef lint
@@ -442,7 +442,12 @@ TRACE(("expecting DO got %s %s\n", tokname[got], got == TWORD ? wordtext : ""));
checkkwd = 1;
break;
/* Handle an empty command like other simple commands. */
case TAND:
case TOR:
case TNL:
case TSEMI:
/* Handle EOF as an empty command, too */
case TEOF:
case TWORD:
tokpushback++;
return simplecmd(rpp, redir);
@@ -1179,6 +1184,10 @@ parsebackq: {
STARTSTACKSTR(out);
while ((c = pgetc ()) != '`') {
if (c == PEOF) {
startlinno = plinno;
synerror("EOF in backquote substitution");
}
if (c == '\\') {
c = pgetc ();
if ( c != '\\' && c != '`' && c != '$'
+2 -2
View File
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)shell.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: shell.h,v 1.2 1994/09/24 02:58:15 davidg Exp $
*/
/*
@@ -57,7 +57,7 @@
#ifndef BSD
#define BSD 1
#endif
#define DEBUG 1
/* #define DEBUG 1 */
#ifdef __STDC__
typedef void *pointer;
+3 -3
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: stty.c,v 1.3 1995/04/29 15:00:34 bde Exp $
* $Id: stty.c,v 1.4 1995/05/30 00:07:28 rgrimes Exp $
*/
#ifndef lint
@@ -95,10 +95,10 @@ main(argc, argv)
args: argc -= optind;
argv += optind;
if (tcgetattr(i.fd, &i.t) < 0)
errx(1, "stdin isn't a terminal");
if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0)
err(1, "TIOCGETD");
if (tcgetattr(i.fd, &i.t) < 0)
err(1, "tcgetattr");
if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0)
warn("TIOCGWINSZ: %s\n", strerror(errno));
+2 -2
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: util.c,v 1.2 1994/09/24 02:59:05 davidg Exp $
*/
#ifndef lint
@@ -62,5 +62,5 @@ checkredirect()
if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO) &&
!fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) &&
(sb1.st_rdev != sb2.st_rdev))
warn("stdout appears redirected, but stdin is the control descriptor");
warnx("stdout appears redirected, but stdin is the control descriptor");
}
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Copyright.MIT,v 1.2 1994/07/19 19:21:03 g89r4222 Exp $
# $Id: Copyright.MIT,v 1.3 1995/07/18 16:34:16 mark Exp $
The following Copyright notice applies to the original Bones package.
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Copyright.SIPB,v 1.2 1994/07/19 19:21:05 g89r4222 Exp $
# $Id: Copyright.SIPB,v 1.3 1995/07/18 16:34:18 mark Exp $
The following Copyright notice applies to parts of the Bones package.
See source code for exact references.
+4 -15
View File
@@ -1,14 +1,7 @@
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
# $Id: Makefile,v 1.11.2.1 1995/06/07 05:49:26 jkh Exp $
# $Id$
SUBDIR= include des acl kdb krb libkadm
SUBDIR+= ext_srvtab kdb_destroy kdb_edit \
kdb_init kdb_util kdestroy kerberos kinit klist ksrvtgt \
kstash kadmin kadmind ksrvutil man
#
# MISSING AND PROBABLY BOGUS: register registerd make_keypair
#
SUBDIR= des include lib libexec usr.bin usr.sbin
SDIR= ${.CURDIR}/..
@@ -34,13 +27,10 @@ kprog:
cd ${SDIR}/usr.bin/su; ${CODAI}
bootstrap:
cd include; ${MAKE} ${MFLAGS} install
( cd include; ${MAKE} ${MFLAGS} install )
( cd des; ${MAKE} ${MFLAGS} depend all install )
${MAKE} ${MFLAGS} cleandir
${MAKE} ${MFLAGS} obj
@echo removing old 1.1.5 Kerberos libraries
rm -f /usr/lib/libkrb.so.4.0
rm -f /usr/lib/libdes.so.4.0
rm -f /usr/lib/libkdb.so.4.0
${MAKE} ${MFLAGS} depend all install kprog
help-distribute: distribute
@@ -56,4 +46,3 @@ help-distribute: distribute
cd ${SDIR}/usr.bin/su; ${CODAD}
.include <bsd.subdir.mk>
+44 -19
View File
@@ -1,40 +1,65 @@
# From: @(#)Makefile.inc 5.1 (Berkeley) 6/25/90
# $Id: Makefile.inc,v 1.3 1995/01/14 20:50:37 wollman Exp $
# $Id: Makefile.inc,v 1.8 1995/09/14 18:16:08 gibbs Exp $
BINDIR?= /usr/sbin
SHLIB_MAJOR?= 2
SHLIB_MINOR?= 0
DISTRIBUTION= krb
.if exists(${.CURDIR}/../des/obj)
DESOBJDIR= ${.CURDIR}/../des/obj
INCLUDEDIR= ${.CURDIR}/../../include
.if exists(${.CURDIR}/../../des/obj)
DESOBJDIR= ${.CURDIR}/../../des/obj
.else
DESOBJDIR= ${.CURDIR}/../des
DESOBJDIR= ${.CURDIR}/../../des
.endif
.if exists(${.CURDIR}/../krb/obj)
KRBOBJDIR= ${.CURDIR}/../krb/obj
.if exists(${.CURDIR}/../../lib/libkrb/obj)
KRBOBJDIR= ${.CURDIR}/../../lib/libkrb/obj
.else
KRBOBJDIR= ${.CURDIR}/../krb
KRBOBJDIR= ${.CURDIR}/../../lib/libkrb
.endif
.if exists(${.CURDIR}/../kdb/obj)
KDBOBJDIR= ${.CURDIR}/../kdb/obj
.if exists(${.CURDIR}/../../lib/libkdb/obj)
KDBOBJDIR= ${.CURDIR}/../../lib/libkdb/obj
.else
KDBOBJDIR= ${.CURDIR}/../kdb
KDBOBJDIR= ${.CURDIR}/../../lib/libkdb
.endif
.if exists(${.CURDIR}/../acl/obj)
ACLOBJDIR= ${.CURDIR}/../acl/obj
.if exists(${.CURDIR}/../../lib/libacl/obj)
ACLOBJDIR= ${.CURDIR}/../../lib/libacl/obj
.else
ACLOBJDIR= ${.CURDIR}/../acl
ACLOBJDIR= ${.CURDIR}/../../lib/libacl
.endif
.if exists(${.CURDIR}/../libkadm/obj)
KADMOBJDIR= ${.CURDIR}/../libkadm/obj
.if exists(${.CURDIR}/../../lib/libkadm/obj)
KADMOBJDIR= ${.CURDIR}/../../lib/libkadm/obj
.else
KADMOBJDIR= ${.CURDIR}/../libkadm
KADMOBJDIR= ${.CURDIR}/../../lib/libkadm
.endif
.if exists(${.CURDIR}/../../lib/librkinit/obj)
RKINITOBJDIR= ${.CURDIR}/../../lib/librkinit/obj
.else
RKINITOBJDIR= ${.CURDIR}/../../lib/librkinit
.endif
CFLAGS+= -I${INCLUDEDIR} -Wall
COMPILE_ET= compile_et
${KRBOBJDIR}/krb_err.h: ${.CURDIR}/../../lib/libkrb/krb_err.et
test -e ${KRBOBJDIR}/krb_err.et || ln -s ${.ALLSRC} ${KRBOBJDIR}
cd ${KRBOBJDIR}; compile_et krb_err.et
CLEANFILES+=${KRBOBJDIR}/krb_err.h ${KRBOBJDIR}/krb_err.c
${KADMOBJDIR}/kadm_err.h: ${.CURDIR}/../../lib/libkadm/kadm_err.et
test -e ${KADMOBJDIR}/kadm_err.et || ln -s ${.ALLSRC} ${KADMOBJDIR}
cd ${KADMOBJDIR}; compile_et kadm_err.et
CLEANFILES+=${KADMOBJDIR}/kadm_err.h ${KADMOBJDIR}/kadm_err.c
${RKINITOBJDIR}/rkinit_err.h: ${.CURDIR}/../../lib/librkinit/rkinit_err.et
test -e ${RKINITOBJDIR}/rkinit_err.et || \
ln -s ${.ALLSRC} ${RKINITOBJDIR}
cd ${RKINITOBJDIR}; compile_et rkinit_err.et
CLEANFILES+=${RKINITOBJDIR}/rkinit_err.h ${RKINITOBJDIR}/rkinit_err.c
+1 -1
View File
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of either:
a) the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any
later version, or
-10
View File
@@ -1,10 +0,0 @@
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
# $Id: Makefile,v 1.3 1994/09/09 21:43:17 g89r4222 Exp $
LIB= acl
SHLIB_MAJOR= 2
SHLIB_MINOR= 0
CFLAGS+=-DDEBUG -DKERBEROS -I${.CURDIR}/../include
SRCS= acl_files.c
.include <bsd.lib.mk>
-183
View File
@@ -1,183 +0,0 @@
.\" from: acl_check.3,v 4.1 89/01/23 11:06:54 jtkohl Exp $
.\" $Id: acl_check.3,v 1.1.1.1 1994/09/30 14:50:05 csgr Exp $
.\" Copyright 1989 by the Massachusetts Institute of Technology.
.\"
.\" For copying and distribution information,
.\" please see the file <Copyright.MIT>.
.\"
.TH ACL_CHECK 3 "Kerberos Version 4.0" "MIT Project Athena"
.SH NAME
acl_canonicalize_principal, acl_check, acl_exact_match, acl_add,
acl_delete, acl_initialize \- Access control list routines
.SH SYNOPSIS
.nf
.nj
.ft B
cc <files> \-lacl \-lkrb
.PP
.ft B
#include <kerberosIV/krb.h>
.PP
.ft B
acl_canonicalize_principal(principal, buf)
char *principal;
char *buf;
.PP
.ft B
acl_check(acl, principal)
char *acl;
char *principal;
.PP
.ft B
acl_exact_match(acl, principal)
char *acl;
char *principal;
.PP
.ft B
acl_add(acl, principal)
char *acl;
char *principal;
.PP
.ft B
acl_delete(acl, principal)
char *acl;
char *principal;
.PP
.ft B
acl_initialize(acl_file, mode)
char *acl_file;
int mode;
.fi
.ft R
.SH DESCRIPTION
.SS Introduction
.PP
An access control list (ACL) is a list of principals, where each
principal is represented by a text string which cannot contain
whitespace. The library allows application programs to refer to named
access control lists to test membership and to atomically add and
delete principals using a natural and intuitive interface. At
present, the names of access control lists are required to be Unix
filenames, and refer to human-readable Unix files; in the future, when
a networked ACL server is implemented, the names may refer to a
different namespace specific to the ACL service.
.PP
.SS Principal Names
.PP
Principal names have the form
.nf
.in +5n
<name>[.<instance>][@<realm>]
.in -5n
e.g.:
.in +5n
asp
asp.root
[email protected]
[email protected]
[email protected]
.in -5n
.fi
It is possible for principals to be underspecified. If an instance is
missing, it is assumed to be "". If realm is missing, it is assumed
to be the local realm as determined by
.IR krb_get_lrealm (3).
The canonical form contains all of name, instance,
and realm; the acl_add and acl_delete routines will always
leave the file in that form. Note that the canonical form of
[email protected] is actually [email protected].
.SS Routines
.PP
.I acl_canonicalize_principal
stores the canonical form of
.I principal
in
.IR buf .
.I Buf
must contain enough
space to store a principal, given the limits on the sizes of name,
instance, and realm specified as ANAME_SZ, INST_SZ, and REALM_SZ,
respectively, in
.IR /usr/include/kerberosIV/krb.h .
.PP
.I acl_check
returns nonzero if
.I principal
appears in
.IR acl .
Returns 0 if principal
does not appear in acl, or if an error occurs. Canonicalizes
principal before checking, and allows the ACL to contain wildcards. The
only supported wildcards are entries of the form
name.*@realm, *.*@realm, and *.*@*. An asterisk matches any value for the
its component field. For example, "jtkohl.*@*" would match principal
jtkohl, with any instance and any realm.
.PP
.I acl_exact_match
performs like
.IR acl_check ,
but does no canonicalization or wildcard matching.
.PP
.I acl_add
atomically adds
.I principal
to
.IR acl .
Returns 0 if successful, nonzero otherwise. It is considered a failure
if
.I principal
is already in
.IR acl .
This routine will canonicalize
.IR principal ,
but will treat wildcards literally.
.PP
.I acl_delete
atomically deletes
.I principal
from
.IR acl .
Returns 0 if successful,
nonzero otherwise. It is considered a failure if
.I principal
is not
already in
.IR acl .
This routine will canonicalize
.IR principal ,
but will treat wildcards literally.
.PP
.I acl_initialize
initializes
.IR acl_file .
If the file
.I acl_file
does not exist,
.I acl_initialize
creates it with mode
.IR mode .
If the file
.I acl_file
exists,
.I acl_initialize
removes all members. Returns 0 if successful,
nonzero otherwise. WARNING: Mode argument is likely to change with
the eventual introduction of an ACL service.
.SH NOTES
In the presence of concurrency, there is a very small chance that
.I acl_add
or
.I acl_delete
could report success even though it would have
had no effect. This is a necessary side effect of using lock files
for concurrency control rather than flock(2), which is not supported
by NFS.
.PP
The current implementation caches ACLs in memory in a hash-table
format for increased efficiency in checking membership; one effect of
the caching scheme is that one file descriptor will be kept open for
each ACL cached, up to a maximum of 8.
.SH SEE ALSO
kerberos(3), krb_get_lrealm(3)
.SH AUTHOR
James Aspnes (MIT Project Athena)
-541
View File
@@ -1,541 +0,0 @@
/*
*
* Copyright 1987,1989 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
*
* from: acl_files.c,v 4.4 89/12/19 13:30:53 jtkohl Exp $
* $Id: acl_files.c,v 1.1.1.1 1994/09/30 14:49:48 csgr Exp $
*/
#ifndef lint
static char rcsid[] =
"$Id: acl_files.c,v 1.1.1.1 1994/09/30 14:49:48 csgr Exp $";
#endif lint
/*** Routines for manipulating access control list files ***/
#include <stdio.h>
#include <strings.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/errno.h>
#include <ctype.h>
#include "krb.h"
__BEGIN_DECLS
static int acl_abort __P((char *, FILE *));
__END_DECLS
#ifndef KRB_REALM
#define KRB_REALM "ATHENA.MIT.EDU"
#endif
/* "aname.inst@realm" */
#define MAX_PRINCIPAL_SIZE (ANAME_SZ + INST_SZ + REALM_SZ + 3)
#define INST_SEP '.'
#define REALM_SEP '@'
#define LINESIZE 2048 /* Maximum line length in an acl file */
#define NEW_FILE "%s.~NEWACL~" /* Format for name of altered acl file */
#define WAIT_TIME 300 /* Maximum time allowed write acl file */
#define CACHED_ACLS 8 /* How many acls to cache */
/* Each acl costs 1 open file descriptor */
#define ACL_LEN 16 /* Twice a reasonable acl length */
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define COR(a,b) ((a!=NULL)?(a):(b))
extern int errno;
extern char *malloc(), *calloc();
extern time_t time();
/* Canonicalize a principal name */
/* If instance is missing, it becomes "" */
/* If realm is missing, it becomes the local realm */
/* Canonicalized form is put in canon, which must be big enough to hold
MAX_PRINCIPAL_SIZE characters */
acl_canonicalize_principal(principal, canon)
char *principal;
char *canon;
{
char *dot, *atsign, *end;
int len;
dot = index(principal, INST_SEP);
atsign = index(principal, REALM_SEP);
/* Maybe we're done already */
if(dot != NULL && atsign != NULL) {
if(dot < atsign) {
/* It's for real */
/* Copy into canon */
strncpy(canon, principal, MAX_PRINCIPAL_SIZE);
canon[MAX_PRINCIPAL_SIZE-1] = '\0';
return;
} else {
/* Nope, it's part of the realm */
dot = NULL;
}
}
/* No such luck */
end = principal + strlen(principal);
/* Get the principal name */
len = MIN(ANAME_SZ, COR(dot, COR(atsign, end)) - principal);
strncpy(canon, principal, len);
canon += len;
/* Add INST_SEP */
*canon++ = INST_SEP;
/* Get the instance, if it exists */
if(dot != NULL) {
++dot;
len = MIN(INST_SZ, COR(atsign, end) - dot);
strncpy(canon, dot, len);
canon += len;
}
/* Add REALM_SEP */
*canon++ = REALM_SEP;
/* Get the realm, if it exists */
/* Otherwise, default to local realm */
if(atsign != NULL) {
++atsign;
len = MIN(REALM_SZ, end - atsign);
strncpy(canon, atsign, len);
canon += len;
*canon++ = '\0';
} else if(krb_get_lrealm(canon, 1) != KSUCCESS) {
strcpy(canon, KRB_REALM);
}
}
/* Get a lock to modify acl_file */
/* Return new FILE pointer */
/* or NULL if file cannot be modified */
/* REQUIRES WRITE PERMISSION TO CONTAINING DIRECTORY */
static FILE *acl_lock_file(acl_file)
char *acl_file;
{
struct stat s;
char new[LINESIZE];
int nfd;
FILE *nf;
int mode;
if(stat(acl_file, &s) < 0) return(NULL);
mode = s.st_mode;
sprintf(new, NEW_FILE, acl_file);
for(;;) {
/* Open the new file */
if((nfd = open(new, O_WRONLY|O_CREAT|O_EXCL, mode)) < 0) {
if(errno == EEXIST) {
/* Maybe somebody got here already, maybe it's just old */
if(stat(new, &s) < 0) return(NULL);
if(time(0) - s.st_ctime > WAIT_TIME) {
/* File is stale, kill it */
unlink(new);
continue;
} else {
/* Wait and try again */
sleep(1);
continue;
}
} else {
/* Some other error, we lose */
return(NULL);
}
}
/* If we got to here, the lock file is ours and ok */
/* Reopen it under stdio */
if((nf = fdopen(nfd, "w")) == NULL) {
/* Oops, clean up */
unlink(new);
}
return(nf);
}
}
/* Commit changes to acl_file written onto FILE *f */
/* Returns zero if successful */
/* Returns > 0 if lock was broken */
/* Returns < 0 if some other error occurs */
/* Closes f */
static int acl_commit(acl_file, f)
char *acl_file;
FILE *f;
{
char new[LINESIZE];
int ret;
struct stat s;
sprintf(new, NEW_FILE, acl_file);
if(fflush(f) < 0
|| fstat(fileno(f), &s) < 0
|| s.st_nlink == 0) {
acl_abort(acl_file, f);
return(-1);
}
ret = rename(new, acl_file);
fclose(f);
return(ret);
}
/*
* Abort changes to acl_file written onto FILE *f
* Returns 0 if successful, < 0 otherwise
* Closes f
*/
static int
acl_abort(acl_file, f)
char *acl_file;
FILE *f;
{
char new[LINESIZE];
int ret;
struct stat s;
/* make sure we aren't nuking someone else's file */
if(fstat(fileno(f), &s) < 0 || s.st_nlink == 0) {
fclose(f);
return(-1);
} else {
sprintf(new, NEW_FILE, acl_file);
ret = unlink(new);
fclose(f);
return(ret);
}
}
/* Initialize an acl_file */
/* Creates the file with permissions perm if it does not exist */
/* Erases it if it does */
/* Returns return value of acl_commit */
int acl_initialize(acl_file, perm)
char *acl_file;
int perm;
{
FILE *new;
int fd;
/* Check if the file exists already */
if((new = acl_lock_file(acl_file)) != NULL) {
return(acl_commit(acl_file, new));
} else {
/* File must be readable and writable by owner */
if((fd = open(acl_file, O_CREAT|O_EXCL, perm|0600)) < 0) {
return(-1);
} else {
close(fd);
return(0);
}
}
}
/* Eliminate all whitespace character in buf */
/* Modifies its argument */
static nuke_whitespace(buf)
char *buf;
{
register char *pin, *pout;
for(pin = pout = buf; *pin != '\0'; pin++)
if(!isspace(*pin)) *pout++ = *pin;
*pout = '\0'; /* Terminate the string */
}
/* Hash table stuff */
struct hashtbl {
int size; /* Max number of entries */
int entries; /* Actual number of entries */
char **tbl; /* Pointer to start of table */
};
/* Make an empty hash table of size s */
static struct hashtbl *make_hash(size)
int size;
{
struct hashtbl *h;
if(size < 1) size = 1;
h = (struct hashtbl *) malloc(sizeof(struct hashtbl));
h->size = size;
h->entries = 0;
h->tbl = (char **) calloc(size, sizeof(char *));
return(h);
}
/* Destroy a hash table */
static destroy_hash(h)
struct hashtbl *h;
{
int i;
for(i = 0; i < h->size; i++) {
if(h->tbl[i] != NULL) free(h->tbl[i]);
}
free(h->tbl);
free(h);
}
/* Compute hash value for a string */
static unsigned hashval(s)
register char *s;
{
register unsigned hv;
for(hv = 0; *s != '\0'; s++) {
hv ^= ((hv << 3) ^ *s);
}
return(hv);
}
/* Add an element to a hash table */
static add_hash(h, el)
struct hashtbl *h;
char *el;
{
unsigned hv;
char *s;
char **old;
int i;
/* Make space if it isn't there already */
if(h->entries + 1 > (h->size >> 1)) {
old = h->tbl;
h->tbl = (char **) calloc(h->size << 1, sizeof(char *));
for(i = 0; i < h->size; i++) {
if(old[i] != NULL) {
hv = hashval(old[i]) % (h->size << 1);
while(h->tbl[hv] != NULL) hv = (hv+1) % (h->size << 1);
h->tbl[hv] = old[i];
}
}
h->size = h->size << 1;
free(old);
}
hv = hashval(el) % h->size;
while(h->tbl[hv] != NULL && strcmp(h->tbl[hv], el)) hv = (hv+1) % h->size;
s = malloc(strlen(el)+1);
strcpy(s, el);
h->tbl[hv] = s;
h->entries++;
}
/* Returns nonzero if el is in h */
static check_hash(h, el)
struct hashtbl *h;
char *el;
{
unsigned hv;
for(hv = hashval(el) % h->size;
h->tbl[hv] != NULL;
hv = (hv + 1) % h->size) {
if(!strcmp(h->tbl[hv], el)) return(1);
}
return(0);
}
struct acl {
char filename[LINESIZE]; /* Name of acl file */
int fd; /* File descriptor for acl file */
struct stat status; /* File status at last read */
struct hashtbl *acl; /* Acl entries */
};
static struct acl acl_cache[CACHED_ACLS];
static int acl_cache_count = 0;
static int acl_cache_next = 0;
/* Returns < 0 if unsuccessful in loading acl */
/* Returns index into acl_cache otherwise */
/* Note that if acl is already loaded, this is just a lookup */
static int acl_load(name)
char *name;
{
int i;
FILE *f;
struct stat s;
char buf[MAX_PRINCIPAL_SIZE];
char canon[MAX_PRINCIPAL_SIZE];
/* See if it's there already */
for(i = 0; i < acl_cache_count; i++) {
if(!strcmp(acl_cache[i].filename, name)
&& acl_cache[i].fd >= 0) goto got_it;
}
/* It isn't, load it in */
/* maybe there's still room */
if(acl_cache_count < CACHED_ACLS) {
i = acl_cache_count++;
} else {
/* No room, clean one out */
i = acl_cache_next;
acl_cache_next = (acl_cache_next + 1) % CACHED_ACLS;
close(acl_cache[i].fd);
if(acl_cache[i].acl) {
destroy_hash(acl_cache[i].acl);
acl_cache[i].acl = (struct hashtbl *) 0;
}
}
/* Set up the acl */
strcpy(acl_cache[i].filename, name);
if((acl_cache[i].fd = open(name, O_RDONLY, 0)) < 0) return(-1);
/* Force reload */
acl_cache[i].acl = (struct hashtbl *) 0;
got_it:
/*
* See if the stat matches
*
* Use stat(), not fstat(), as the file may have been re-created by
* acl_add or acl_delete. If this happens, the old inode will have
* no changes in the mod-time and the following test will fail.
*/
if(stat(acl_cache[i].filename, &s) < 0) return(-1);
if(acl_cache[i].acl == (struct hashtbl *) 0
|| s.st_nlink != acl_cache[i].status.st_nlink
|| s.st_mtime != acl_cache[i].status.st_mtime
|| s.st_ctime != acl_cache[i].status.st_ctime) {
/* Gotta reload */
if(acl_cache[i].fd >= 0) close(acl_cache[i].fd);
if((acl_cache[i].fd = open(name, O_RDONLY, 0)) < 0) return(-1);
if((f = fdopen(acl_cache[i].fd, "r")) == NULL) return(-1);
if(acl_cache[i].acl) destroy_hash(acl_cache[i].acl);
acl_cache[i].acl = make_hash(ACL_LEN);
while(fgets(buf, sizeof(buf), f) != NULL) {
nuke_whitespace(buf);
acl_canonicalize_principal(buf, canon);
add_hash(acl_cache[i].acl, canon);
}
fclose(f);
acl_cache[i].status = s;
}
return(i);
}
/* Returns nonzero if it can be determined that acl contains principal */
/* Principal is not canonicalized, and no wildcarding is done */
acl_exact_match(acl, principal)
char *acl;
char *principal;
{
int idx;
return((idx = acl_load(acl)) >= 0
&& check_hash(acl_cache[idx].acl, principal));
}
/* Returns nonzero if it can be determined that acl contains principal */
/* Recognizes wildcards in acl of the form
name.*@realm, *.*@realm, and *.*@* */
acl_check(acl, principal)
char *acl;
char *principal;
{
char buf[MAX_PRINCIPAL_SIZE];
char canon[MAX_PRINCIPAL_SIZE];
char *realm;
acl_canonicalize_principal(principal, canon);
/* Is it there? */
if(acl_exact_match(acl, canon)) return(1);
/* Try the wildcards */
realm = index(canon, REALM_SEP);
*index(canon, INST_SEP) = '\0'; /* Chuck the instance */
sprintf(buf, "%s.*%s", canon, realm);
if(acl_exact_match(acl, buf)) return(1);
sprintf(buf, "*.*%s", realm);
if(acl_exact_match(acl, buf) || acl_exact_match(acl, "*.*@*")) return(1);
return(0);
}
/* Adds principal to acl */
/* Wildcards are interpreted literally */
acl_add(acl, principal)
char *acl;
char *principal;
{
int idx;
int i;
FILE *new;
char canon[MAX_PRINCIPAL_SIZE];
acl_canonicalize_principal(principal, canon);
if((new = acl_lock_file(acl)) == NULL) return(-1);
if((acl_exact_match(acl, canon))
|| (idx = acl_load(acl)) < 0) {
acl_abort(acl, new);
return(-1);
}
/* It isn't there yet, copy the file and put it in */
for(i = 0; i < acl_cache[idx].acl->size; i++) {
if(acl_cache[idx].acl->tbl[i] != NULL) {
if(fputs(acl_cache[idx].acl->tbl[i], new) == NULL
|| putc('\n', new) != '\n') {
acl_abort(acl, new);
return(-1);
}
}
}
fputs(canon, new);
putc('\n', new);
return(acl_commit(acl, new));
}
/* Removes principal from acl */
/* Wildcards are interpreted literally */
acl_delete(acl, principal)
char *acl;
char *principal;
{
int idx;
int i;
FILE *new;
char canon[MAX_PRINCIPAL_SIZE];
acl_canonicalize_principal(principal, canon);
if((new = acl_lock_file(acl)) == NULL) return(-1);
if((!acl_exact_match(acl, canon))
|| (idx = acl_load(acl)) < 0) {
acl_abort(acl, new);
return(-1);
}
/* It isn't there yet, copy the file and put it in */
for(i = 0; i < acl_cache[idx].acl->size; i++) {
if(acl_cache[idx].acl->tbl[i] != NULL
&& strcmp(acl_cache[idx].acl->tbl[i], canon)) {
fputs(acl_cache[idx].acl->tbl[i], new);
putc('\n', new);
}
}
return(acl_commit(acl, new));
}
-107
View File
@@ -1,107 +0,0 @@
PROTOTYPE ACL LIBRARY
Introduction
An access control list (ACL) is a list of principals, where each
principal is is represented by a text string which cannot contain
whitespace. The library allows application programs to refer to named
access control lists to test membership and to atomically add and
delete principals using a natural and intuitive interface. At
present, the names of access control lists are required to be Unix
filenames, and refer to human-readable Unix files; in the future, when
a networked ACL server is implemented, the names may refer to a
different namespace specific to the ACL service.
Usage
cc <files> -lacl -lkrb.
Principal Names
Principal names have the form
<name>[.<instance>][@<realm>]
e.g.
asp
asp.root
[email protected]
[email protected]
[email protected]
It is possible for principals to be underspecified. If instance is
missing, it is assumed to be "". If realm is missing, it is assumed
to be local_realm. The canonical form contains all of name, instance,
and realm; the acl_add and acl_delete routines will always
leave the file in that form. Note that the canonical form of
[email protected] is actually [email protected].
Routines
acl_canonicalize_principal(principal, buf)
char *principal;
char *buf; /*RETVAL*/
Store the canonical form of principal in buf. Buf must contain enough
space to store a principal, given the limits on the sizes of name,
instance, and realm specified in /usr/include/krb.h.
acl_check(acl, principal)
char *acl;
char *principal;
Returns nonzero if principal appears in acl. Returns 0 if principal
does not appear in acl, or if an error occurs. Canonicalizes
principal before checking, and allows the ACL to contain wildcards.
acl_exact_match(acl, principal)
char *acl;
char *principal;
Like acl_check, but does no canonicalization or wildcarding.
acl_add(acl, principal)
char *acl;
char *principal;
Atomically adds principal to acl. Returns 0 if successful, nonzero
otherwise. It is considered a failure if principal is already in acl.
This routine will canonicalize principal, but will treat wildcards
literally.
acl_delete(acl, principal)
char *acl;
char *principal;
Atomically deletes principal from acl. Returns 0 if successful,
nonzero otherwise. It is consider a failure if principal is not
already in acl. This routine will canonicalize principal, but will
treat wildcards literally.
acl_initialize(acl, mode)
char *acl;
int mode;
Initialize acl. If acl file does not exist, creates it with mode
mode. If acl exists, removes all members. Returns 0 if successful,
nonzero otherwise. WARNING: Mode argument is likely to change with
the eventual introduction of an ACL service.
Known problems
In the presence of concurrency, there is a very small chance that
acl_add or acl_delete could report success even though it would have
had no effect. This is a necessary side effect of using lock files
for concurrency control rather than flock(2), which is not supported
by NFS.
The current implementation caches ACLs in memory in a hash-table
format for increased efficiency in checking membership; one effect of
the caching scheme is that one file descriptor will be kept open for
each ACL cached, up to a maximum of 8.
-15
View File
@@ -1,15 +0,0 @@
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
# $Id: Makefile,v 1.2 1994/07/19 19:21:23 g89r4222 Exp $
PROG= compile_et
CFLAGS+=-I. -I${.CURDIR}
SRCS= compile_et.c error_message.c et_name.c init_et.c perror.c
OBJS+= error_table.o
DPADD= ${LIBL}
LDADD= -ll
CLEANFILES=et_lex.lex.c y.tab.c y.tab.h error_table.c
NOMAN= noman
error_table.c: et_lex.lex.c
.include <bsd.prog.mk>
-172
View File
@@ -1,172 +0,0 @@
/*
*
* Copyright 1986, 1987 by MIT Student Information Processing Board
* For copyright info, see "Copyright.SIPB".
*
* $Id: compile_et.c,v 1.2 1994/07/19 19:21:24 g89r4222 Exp $
*/
#include <stdio.h>
#include <sys/file.h>
#include <strings.h>
#include <sys/param.h>
static char copyright[] = "Copyright 1987 by MIT Student Information Processing Board";
extern char *gensym();
extern char *current_token;
extern int table_number, current;
char buffer[BUFSIZ];
char *table_name = (char *)NULL;
FILE *hfile, *cfile;
/* C library */
extern char *malloc();
extern int errno;
/* lex stuff */
extern FILE *yyin;
extern int yylineno;
/* pathnames */
char c_file[MAXPATHLEN]; /* temporary file */
char h_file[MAXPATHLEN]; /* output */
char o_file[MAXPATHLEN]; /* output */
char et_file[MAXPATHLEN]; /* input */
main(argc, argv)
int argc;
char **argv;
{
register char *p;
int n_flag = 0, debug = 0;
while (argc > 2) {
register char *arg, ch;
arg = argv[--argc];
if (strlen(arg) != 2 || arg[0] != '-')
goto usage;
ch = arg[1];
if (ch == 'n')
n_flag++;
else if (ch == 'd')
debug++;
else
goto usage;
}
if (argc != 2) {
usage:
fprintf(stderr, "Usage: %s et_file [-n]\n", argv[0]);
exit(1);
}
strcpy(et_file, argv[1]);
p = rindex(et_file, '/');
if (p == (char *)NULL)
p = et_file;
else
p++;
p = rindex(p, '.');
if (!strcmp(p, ".et"))
*++p = '\0';
else {
if (!p)
p = et_file;
while (*p)
p++;
*p++ = '.';
*p = '\0';
}
/* p points at null where suffix should be */
strcpy(p, "et.c");
strcpy(c_file, et_file);
p[0] = 'h';
p[1] = '\0';
strcpy(h_file, et_file);
p[0] = 'o';
strcpy(o_file, et_file);
p[0] = 'e';
p[1] = 't';
p[2] = '\0';
yyin = fopen(et_file, "r");
if (!yyin) {
perror(et_file);
exit(1);
}
hfile = fopen(h_file, "w");
if (hfile == (FILE *)NULL) {
perror(h_file);
exit(1);
}
cfile = fopen(c_file, "w");
if (cfile == (FILE *)NULL) {
perror("Can't open temp file");
exit(1);
}
/* parse it */
fputs("#define NULL 0\n", cfile);
fputs("static char *_et[] = {\n", cfile);
yyparse();
fclose(yyin); /* bye bye input file */
fputs("\t(char *)0\n};\n", cfile);
fputs("extern int init_error_table();\n\n", cfile);
fprintf(cfile, "int %s_err_base = %d;\n\n", table_name, table_number);
fprintf(cfile, "int\ninit_%s_err_tbl()\n", table_name);
fprintf(cfile, "{\n\treturn(init_error_table(_et, %d, %d));\n}\n",
table_number, current);
fclose(cfile);
fputs("extern int init_", hfile);
fputs(table_name, hfile);
fputs("_err_tbl();\nextern int ", hfile);
fputs(table_name, hfile);
fputs("_err_base;\n", hfile);
fclose(hfile); /* bye bye hfile */
if (n_flag)
exit(0);
if (!fork()) {
p = rindex(c_file, '/');
if (p) {
*p++ = '\0';
chdir(c_file);
}
else
p = c_file;
execlp("cc", "cc", "-c", "-R", "-O", p, 0);
perror("cc");
exit(1);
}
else wait(0);
if (!debug)
(void) unlink(c_file);
/* make it .o file name */
c_file[strlen(c_file)-1] = 'o';
if (!fork()) {
execlp("cp", "cp", c_file, o_file, 0);
perror("cp");
exit(1);
}
else wait(0);
if (!debug)
(void) unlink(c_file);
exit(0);
}
yyerror(s)
char *s;
{
fputs(s, stderr);
fprintf(stderr, "\nLine number %d; last token was '%s'\n",
yylineno, current_token);
}
-77
View File
@@ -1,77 +0,0 @@
/*
* Copyright 1987 by the Student Information Processing Board
* of the Massachusetts Institute of Technology
* For copyright info, see "Copyright.SIPB".
*
* from: error_message.c,v 1.1 86/11/10 21:34:34 spook Exp $
* $Id: error_message.c,v 1.3 1994/09/09 21:43:22 g89r4222 Exp $
*/
#include <stdio.h>
#include "error_table.h"
extern int sys_nerr;
static char buffer[25];
char *
error_message(code)
int code;
{
register int offset;
register error_table **et;
register int table_num;
register int div;
register char *cp;
offset = code & ((1<<ERRCODE_RANGE)-1);
table_num = code - offset;
if ((_et_list == (error_table **)NULL) && table_num)
goto oops;
if (!table_num) {
if (offset < sys_nerr)
return(sys_errlist[offset]);
else
goto oops;
}
for (et = _et_list; *et != (error_table *)NULL; et++) {
if ((*et)->base == table_num) {
/* This is the right table */
if ((*et)->n_msgs <= offset)
goto oops;
return((*et)->msgs[offset]);
}
}
oops:
cp = buffer;
{
register char *cp1;
for (cp1 = "Unknown code "; *cp1; cp1++, cp++)
*cp = *cp1;
if (table_num) {
for (cp1 = error_table_name(table_num); *cp1; cp1++, cp++)
*cp = *cp1;
*cp++ = ' ';
*cp = '\0';
}
}
div = 1000000000;
if (offset == 0) {
*cp++ = '0';
*cp = '\0';
return(buffer);
}
while (div > offset)
div /= 10;
do {
register int n = offset / div;
*cp++ = '0' + n;
offset -= n * div;
div /= 10;
} while (offset && div);
while (div) {
*cp++ = '0';
div /= 10;
}
*cp = '\0';
return(buffer);
}
-17
View File
@@ -1,17 +0,0 @@
#ifndef _ET
extern int errno;
typedef struct {
char **msgs;
int base;
int n_msgs;
} error_table;
extern error_table **_et_list;
#define ERROR_CODE "int" /* type used for error codes */
#define ERRCODE_RANGE 8 /* # of bits to shift table number */
#define BITS_PER_CHAR 6 /* # bits to shift per character in name */
extern char *error_table_name();
#define _ET
#endif
-205
View File
@@ -1,205 +0,0 @@
%{
#include <stdio.h>
char *str_concat(), *ds(), *quote(), *malloc(), *realloc();
char *current_token = (char *)NULL;
extern char *table_name;
%}
%union {
char *dynstr;
}
%token ERROR_TABLE ERROR_CODE_ENTRY END
%token <dynstr> STRING QUOTED_STRING
%type <dynstr> ec_name description table_id
%{
%}
%start error_table
%%
error_table : ERROR_TABLE table_id error_codes END
{ table_name = ds($2);
current_token = table_name;
put_ecs(); }
;
table_id : STRING
{ current_token = $1;
set_table_num($1);
$$ = $1; }
;
error_codes : error_codes ec_entry
| ec_entry
;
ec_entry : ERROR_CODE_ENTRY ec_name ',' description
{ add_ec($2, $4);
free($2);
free($4); }
| ERROR_CODE_ENTRY ec_name '=' STRING ',' description
{ add_ec_val($2, $4, $6);
free($2);
free($4);
free($6);
}
;
ec_name : STRING
{ $$ = ds($1);
current_token = $$; }
;
description : QUOTED_STRING
{ $$ = ds($1);
current_token = $$; }
;
%%
/*
* Copyright 1986, 1987 by the MIT Student Information Processing Board
* For copyright info, see Copyright.SIPB.
*/
#include <stdlib.h>
#include <strings.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/time.h>
#include "error_table.h"
extern FILE *hfile, *cfile;
static long gensym_n = 0;
char *
gensym(x)
char *x;
{
char *symbol;
if (!gensym_n) {
struct timeval tv;
struct timezone tzp;
gettimeofday(&tv, &tzp);
gensym_n = (tv.tv_sec%10000)*100 + tv.tv_usec/10000;
}
symbol = malloc(32 * sizeof(char));
gensym_n++;
sprintf(symbol, "et%ld", gensym_n);
return(symbol);
}
char *
ds(string)
char *string;
{
char *rv;
rv = malloc(strlen(string)+1);
strcpy(rv, string);
return(rv);
}
char *
quote(string)
char *string;
{
char *rv;
rv = malloc(strlen(string)+3);
strcpy(rv, "\"");
strcat(rv, string);
strcat(rv, "\"");
return(rv);
}
int table_number;
int current = 0;
char **error_codes = (char **)NULL;
add_ec(name, description)
char *name, *description;
{
fprintf(cfile, "\t\"%s\",\n", description);
if (error_codes == (char **)NULL) {
error_codes = (char **)malloc(sizeof(char *));
*error_codes = (char *)NULL;
}
error_codes = (char **)realloc((char *)error_codes,
(current + 2)*sizeof(char *));
error_codes[current++] = ds(name);
error_codes[current] = (char *)NULL;
}
add_ec_val(name, val, description)
char *name, *val, *description;
{
int ncurrent = atoi(val);
if (ncurrent < current) {
printf("Error code %s (%d) out of order", name,
current);
return;
}
while (ncurrent > current)
fputs("\t(char *)NULL,\n", cfile), current++;
fprintf(cfile, "\t\"%s\",\n", description);
if (error_codes == (char **)NULL) {
error_codes = (char **)malloc(sizeof(char *));
*error_codes = (char *)NULL;
}
error_codes = (char **)realloc((char *)error_codes,
(current + 2)*sizeof(char *));
error_codes[current++] = ds(name);
error_codes[current] = (char *)NULL;
}
put_ecs()
{
int i;
for (i = 0; i < current; i++) {
if (error_codes[i] != (char *)NULL)
fprintf(hfile, "#define %-40s ((%s)%d)\n",
error_codes[i], ERROR_CODE, table_number + i);
}
}
/*
* char_to_num -- maps letters and numbers into a small numbering space
* uppercase -> 1-26
* lowercase -> 27-52
* digits -> 53-62
* underscore-> 63
*/
int
char_to_num(c)
char c;
{
if (isupper(c))
return(c-'A'+1);
else if (islower(c))
return(c-'a'+27);
else if (isdigit(c))
return(c-'0'+53);
else {
fprintf(stderr, "Illegal character in name: %c\n", c);
exit(1);
/*NOTREACHED*/
}
}
set_table_num(string)
char *string;
{
if (strlen(string) > 4) {
fprintf(stderr, "Table name %s too long, truncated ",
string);
string[4] = '\0';
fprintf(stderr, "to %s\n", string);
}
while (*string != '\0') {
table_number = (table_number << BITS_PER_CHAR)
+ char_to_num(*string);
string++;
}
table_number = table_number << ERRCODE_RANGE;
}
#include "et_lex.lex.c"
-29
View File
@@ -1,29 +0,0 @@
%{
extern int yylineno;
int yylineno = 1;
%}
PC [^\"\n]
AN [A-Z_a-z0-9]
%%
error_table return ERROR_TABLE;
et return ERROR_TABLE;
error_code return ERROR_CODE_ENTRY;
ec return ERROR_CODE_ENTRY;
end return END;
[\t ]+ ;
\n ++yylineno;
\"{PC}*\" { register char *p; yylval.dynstr = ds(yytext+1);
if (p=rindex(yylval.dynstr, '"')) *p='\0';
return QUOTED_STRING;
}
{AN}* { yylval.dynstr = ds(yytext); return STRING; }
#.*\n ++yylineno;
. { return (*yytext); }
%%
-44
View File
@@ -1,44 +0,0 @@
/*
* Copyright 1987 by MIT Student Information Processing Board
* For copyright info, see Copyright.SIPB.
*
* $Id: et_name.c,v 1.2 1994/07/19 19:21:27 g89r4222 Exp $
*/
#include "error_table.h"
static char copyright[] = "Copyright 1987 by MIT Student Information Processing Board";
char *malloc();
char *
error_table_name(num)
int num;
{
register int ch;
register int i;
register char *buf, *p;
/* num = aa aaa abb bbb bcc ccc cdd ddd d?? ??? ??? */
buf = malloc(5);
p = buf;
num >>= ERRCODE_RANGE;
/* num = ?? ??? ??? aaa aaa bbb bbb ccc ccc ddd ddd */
num &= 077777777;
/* num = 00 000 000 aaa aaa bbb bbb ccc ccc ddd ddd */
for (i = 0; i < 5; i++) {
ch = (num >> 24-6*i) & 077;
if (ch == 0)
continue;
else if (ch < 27)
*p++ = ch - 1 + 'A';
else if (ch < 53)
*p++ = ch - 27 + 'a';
else if (ch < 63)
*p++ = ch - 53 + '0';
else /* ch == 63 */
*p++ = '_';
}
return(buf);
}
-67
View File
@@ -1,67 +0,0 @@
/*
* Copyright 1986 by MIT Information Systems and
* MIT Student Information Processing Board
* For copyright info, see Copyright.SIPB.
*
* form: init_et.c,v 1.1 86/11/10 21:42:26 spook Exp $
* $Id: init_et.c,v 1.2 1994/07/19 19:21:28 g89r4222 Exp $
*/
#include <stdio.h>
#include "error_table.h"
static char copyright[] = "Copyright 1987 by MIT Student Information Processing Board";
extern char *malloc(), *realloc();
/* useful */
typedef error_table *etp;
typedef etp *etpp;
etpp _et_list = (etpp)NULL;
static int n_allocated = 0, n_used = 0;
int
init_error_table(msgs, base, count)
char **msgs;
register int base;
int count;
{
register int i;
register etp new_et;
register etpp list;
if (!base || !count || !msgs)
return;
new_et = (etp)malloc(sizeof(error_table));
new_et->msgs = msgs;
new_et->base = base;
new_et->n_msgs= count;
list = _et_list;
if (list == (etpp)NULL) {
_et_list = (etpp) malloc(10*sizeof(etp));
list = _et_list;
if (list == (etpp)NULL)
return; /* oops */
list[0] = new_et;
list[1] = (etp)NULL;
n_allocated = 10;
n_used = 1;
return;
}
for (i = 0; i < n_used; i++)
if (list[i]->base == base)
return; /* avoid duplicates */
if (n_used+2 > n_allocated) {
n_allocated += 10; /* don't re-allocate too often */
list = (etpp) realloc((char *)list,
(unsigned)n_allocated * sizeof(etp));
_et_list = list;
if (list == (etpp)NULL)
return; /* oops */
}
list[n_used++] = new_et;
list[n_used] = (etp)NULL;
}
-76
View File
@@ -1,76 +0,0 @@
/*
* Copyright 1987 by MIT Student Information Processing Board
* For copyright info, see Copyright.SIPB
*
* $Id: perror.c,v 1.2 1994/07/19 19:21:30 g89r4222 Exp $
*/
#include <stdio.h>
#include <sys/types.h>
#include <sys/uio.h>
#include "error_table.h"
typedef int (*int_func)();
#if defined(mips) && defined(ultrix)
int errno; /* this is needed to keep the loader from complaining */
#endif
int_func com_err_hook = (int_func) NULL;
char *error_message();
void
com_err(whoami, code, message)
char *whoami;
int code;
char *message;
{
struct iovec strings[6];
if (com_err_hook) {
(*com_err_hook)(whoami, code, message);
return;
}
strings[0].iov_base = whoami;
strings[0].iov_len = strlen(whoami);
if (whoami) {
strings[1].iov_base = ": ";
strings[1].iov_len = 2;
} else
strings[1].iov_len = 0;
if (code) {
register char *errmsg = error_message(code);
strings[2].iov_base = errmsg;
strings[2].iov_len = strlen(errmsg);
} else
strings[2].iov_len = 0;
strings[3].iov_base = " ";
strings[3].iov_len = 1;
strings[4].iov_base = message;
strings[4].iov_len = strlen(message);
strings[5].iov_base = "\n";
strings[5].iov_len = 1;
(void) writev(2, strings, 6);
}
int_func
set_com_err_hook(new_proc)
int_func new_proc;
{
register int_func x = com_err_hook;
com_err_hook = new_proc;
return (x);
}
reset_com_err_hook()
{
com_err_hook = (int_func) NULL;
}
void
perror(msg)
register const char *msg;
{
com_err(msg, errno, (char *)NULL);
}
-43
View File
@@ -1,43 +0,0 @@
#include <stdio.h>
#include <errno.h>
#include "test1.h"
#include "test2.h"
char *error_message();
extern int sys_nerr, errno;
main()
{
printf("\nBefore initiating error table:\n\n");
printf("Table name '%s'\n", error_table_name(KRB_MK_AP_TGTEXP));
printf("UNIX name '%s'\n", error_table_name(EPERM));
printf("Msg TGT-expired is '%s'\n", error_message(KRB_MK_AP_TGTEXP));
printf("Msg EPERM is '%s'\n", error_message(EPERM));
printf("Msg FOO_ERR is '%s'\n", error_message(FOO_ERR));
printf("Msg {sys_nerr-1} is '%s'\n", error_message(sys_nerr-1));
printf("Msg {sys_nerr} is '%s'\n", error_message(sys_nerr));
init_error_table(0, 0, 0);
printf("With 0: tgt-expired -> %s\n", error_message(KRB_MK_AP_TGTEXP));
init_krb_err_tbl();
printf("KRB error table initialized: base %d (%s), name %s\n",
krb_err_base, error_message(krb_err_base),
error_table_name(krb_err_base));
printf("With krb: tgt-expired -> %s\n",
error_message(KRB_MK_AP_TGTEXP));
init_quux_err_tbl();
printf("QUUX error table initialized: base %d (%s), name %s\n",
quux_err_base, error_message(quux_err_base),
error_table_name(quux_err_base));
printf("Msg for TGT-expired is '%s'\n",
error_message(KRB_MK_AP_TGTEXP));
printf("Msg {sys_nerr-1} is '%s'\n", error_message(sys_nerr-1));
printf("Msg FOO_ERR is '%s'\n", error_message(FOO_ERR));
printf("Msg KRB_SKDC_CANT is '%s'\n",
error_message(KRB_SKDC_CANT));
printf("Msg 1e6 is '%s'\n", error_message(1000000));
errno = FOO_ERR;
perror("FOO_ERR");
}
-69
View File
@@ -1,69 +0,0 @@
error_table krb
error_code KRB_MK_AP_TKFIL,
"Can't read ticket file"
ec KRB_MK_AP_NOTKT,
"Can't find ticket or TGT"
ec KRB_MK_AP_TGTEXP,
"TGT expired"
ec KRB_RD_AP_UNDEC,
"Can't decode authenticator"
ec KRB_RD_AP_EXP,
"Ticket expired"
ec KRB_RD_AP_REPEAT,
"Repeated request"
ec KRB_RD_AP_NOT_US,
"The ticket isn't for us"
ec KRB_RD_AP_INCON,
"Request is inconsistent"
ec KRB_RD_AP_TIME,
"Delta-T too big"
ec KRB_RD_AP_BADD,
"Incorrect net address"
ec KRB_RD_AP_VERSION,
"Protocol version mismatch"
ec KRB_RD_AP_MSG_TYPE,
"Invalid message type"
ec KRB_RD_AP_MODIFIED,
"Message stream modified"
ec KRB_RD_AP_ORDER,
"Message out of order"
ec KRB_RD_AP_UNAUTHOR,
"Unauthorized request"
ec KRB_GT_PW_NULL,
"Current password is null"
ec KRB_GT_PW_BADPW,
"Incorrect current password"
ec KRB_GT_PW_PROT,
"Protocol error"
ec KRB_GT_PW_KDCERR,
"Error returned by KDC"
ec KRB_GT_PW_NULLTKT,
"Null ticket returned by KDC"
ec KRB_SKDC_RETRY,
"Retry count exceeded"
ec KRB_SKDC_CANT,
"Can't send request"
end
-9
View File
@@ -1,9 +0,0 @@
error_table quux
ec FOO_ERR, "foo"
ec BAR_ERR, "bar"
ec BAZ_ERR, "meow"
end
+6 -4
View File
@@ -2,11 +2,16 @@
/* Copyright (C) 1993 Eric Young - see README for more details */
/*-
* $Id: 3cbc_enc.c,v 1.2 1994/07/19 19:21:37 g89r4222 Exp $
* $Id: 3cbc_enc.c,v 1.1.1.1 1994/09/30 14:49:50 csgr Exp $
*/
#include "des_locl.h"
void
xp(a)
unsigned char *a;
{ int i; for(i=0; i<8; i++) printf("%02X",a[i]);printf("\n");}
int des_3cbc_encrypt(input,output,length,ks1,ks2,iv1,iv2,encrypt)
des_cblock *input;
des_cblock *output;
@@ -53,6 +58,3 @@ xp(output);
return(0);
}
xp(a)
unsigned char *a;
{ int i; for(i=0; i<8; i++) printf("%02X",a[i]);printf("\n");}
+2 -2
View File
@@ -2,7 +2,7 @@
/* Copyright (C) 1993 Eric Young - see README for more details */
/*-
* $Id: 3ecb_enc.c,v 1.2 1994/07/19 19:21:38 g89r4222 Exp $
* $Id: 3ecb_enc.c,v 1.1.1.1 1994/09/30 14:49:50 csgr Exp $
*/
#include "des_locl.h"
@@ -13,7 +13,7 @@ des_cblock *output;
des_key_schedule ks1,ks2;
int encrypt;
{
register unsigned long l0,l1,t;
register unsigned long l0,l1;
register unsigned char *in,*out;
unsigned long ll[2];
-17
View File
@@ -1,17 +0,0 @@
# $Id: MISSING,v 1.2 1994/07/19 19:21:40 g89r4222 Exp $
The following symbols (you can find in the USA libdes) are still missing
in this source.
_des_cblock_print_file
_des_generate_random_block
_des_init_random_number_generator
_des_new_random_key
_des_set_random_generator_seed
_des_set_sequence_number
_des_check_key_parity
_des_fixup_key_parity
_des_debug
# END
+3 -3
View File
@@ -1,10 +1,10 @@
# @(#)Makefile 5.4 (Berkeley) 5/7/91
# $Id: Makefile,v 1.1.1.1 1994/09/30 14:49:50 csgr Exp $
# $Id: Makefile,v 1.4 1995/09/14 18:16:11 gibbs Exp $
LIB= des
SRCS= cbc_cksm.c cbc_enc.c ecb_enc.c enc_read.c enc_writ.c pcbc_enc.c \
qud_cksm.c rand_key.c read_pwd.c set_key.c str2key.c \
cfb_enc.c 3ecb_enc.c ofb_enc.c 3cbc_enc.c
cfb_enc.c 3ecb_enc.c ofb_enc.c 3cbc_enc.c new_rnd_key.c
#MAN1= des.1
#MAN3= des.3
@@ -19,7 +19,7 @@ CFLAGS+= -DDES_ENCRYPT -DKRBDES_ENCRYPT
#CFLAGS+= -DKRB5
#SRCS+= kerberos5.c
CFLAGS+= -I${.CURDIR}/include -DAUTHENTICATE
CFLAGS+= -I${.CURDIR}/include -I${.CURDIR}/../include -DAUTHENTICATE
SHLIB_MAJOR?= 2
SHLIB_MINOR?= 0
+4 -1
View File
@@ -2,9 +2,12 @@
/* Copyright (C) 1993 Eric Young - see README for more details */
/*-
* $Id: enc_read.c,v 1.1.1.1 1994/09/30 14:49:50 csgr Exp $
* $Id: enc_read.c,v 1.2 1995/05/30 06:40:11 rgrimes Exp $
*/
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
#include "des_locl.h"
+6 -1
View File
@@ -2,9 +2,14 @@
/* Copyright (C) 1993 Eric Young - see README for more details */
/*-
* $Id: enc_writ.c,v 1.1.1.1 1994/09/30 14:49:50 csgr Exp $
* $Id: enc_writ.c,v 1.2 1995/05/30 06:40:12 rgrimes Exp $
*/
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include "des_locl.h"
-121
View File
@@ -1,121 +0,0 @@
/* des.h */
/* Copyright (C) 1993 Eric Young - see README for more details */
/*-
* $Id: des.h,v 1.2 1994/07/19 19:22:17 g89r4222 Exp $
*/
#ifndef DES_DEFS
#define DES_DEFS
typedef unsigned char des_cblock[8];
typedef struct des_ks_struct
{
union {
des_cblock _;
/* make sure things are correct size on machines with
* 8 byte longs */
unsigned long pad[2];
} ks;
#define _ ks._
} des_key_schedule[16];
#define DES_KEY_SZ (sizeof(des_cblock))
#define DES_ENCRYPT 1
#define DES_DECRYPT 0
#define DES_CBC_MODE 0
#define DES_PCBC_MODE 1
#define C_Block des_cblock
#define Key_schedule des_key_schedule
#define ENCRYPT DES_ENCRYPT
#define DECRYPT DES_DECRYPT
#define KEY_SZ DES_KEY_SZ
#define string_to_key des_string_to_key
#define read_pw_string des_read_pw_string
#define random_key des_random_key
#define pcbc_encrypt des_pcbc_encrypt
#define set_key des_set__key
#define key_sched des_key_sched
#define ecb_encrypt des_ecb_encrypt
#define cbc_encrypt des_cbc_encrypt
#define cbc_cksum des_cbc_cksum
#define quad_cksum des_quad_cksum
/* For compatibility with the MIT lib - eay 20/05/92 */
typedef struct des_ks_struct bit_64;
extern int des_check_key; /* defaults to false */
extern int des_rw_mode; /* defaults to DES_PCBC_MODE */
/* The next line is used to disable full ANSI prototypes, if your
* compiler has problems with the prototypes, make sure this line always
* evaluates to true :-) */
#if !defined(MSDOS) && !defined(__STDC__)
#ifndef KERBEROS
int des_3ecb_encrypt();
int des_cbc_encrypt();
int des_3cbc_encrypt();
int des_cfb_encrypt();
int des_ecb_encrypt();
int des_encrypt();
int des_enc_read();
int des_enc_write();
int des_ofb_encrypt();
int des_pcbc_encrypt();
int des_random_key();
int des_read_password();
int des_read_2passwords();
int des_read_pw_string();
int des_is_weak_key();
int des_set__key();
int des_key_sched();
int des_string_to_key();
int des_string_to_2keys();
#endif
char *crypt();
unsigned long des_cbc_cksum();
unsigned long des_quad_cksum();
unsigned long des_cbc_cksum();
void des_set_odd_parity();
#else /* PROTO */
int des_3ecb_encrypt(des_cblock *input,des_cblock *output,\
des_key_schedule ks1,des_key_schedule ks2,int encrypt);
unsigned long des_cbc_cksum(des_cblock *input,des_cblock *output,\
long length,des_key_schedule schedule,des_cblock *ivec);
int des_cbc_encrypt(des_cblock *input,des_cblock *output,long length,\
des_key_schedule schedule,des_cblock *ivec,int encrypt);
int des_3cbc_encrypt(des_cblock *input,des_cblock *output,long length,\
des_key_schedule sk1,des_key_schedule sk2,\
des_cblock *ivec1,des_cblock *ivec2,int encrypt);
int des_cfb_encrypt(unsigned char *in,unsigned char *out,int numbits,\
long length,des_key_schedule schedule,des_cblock *ivec,int encrypt);
int des_ecb_encrypt(des_cblock *input,des_cblock *output,\
des_key_schedule ks,int encrypt);
int des_encrypt(unsigned long *input,unsigned long *output,
des_key_schedule ks, int encrypt);
int des_enc_read(int fd,char *buf,int len,des_key_schedule sched,\
des_cblock *iv);
int des_enc_write(int fd,char *buf,int len,des_key_schedule sched,\
des_cblock *iv);
char *crypt(char *buf,char *salt);
int des_ofb_encrypt(unsigned char *in,unsigned char *out,\
int numbits,long length,des_key_schedule schedule,des_cblock *ivec);
int des_pcbc_encrypt(des_cblock *input,des_cblock *output,long length,\
des_key_schedule schedule,des_cblock *ivec,int encrypt);
unsigned long des_quad_cksum(des_cblock *input,des_cblock *output,\
long length,int out_count,des_cblock *seed);
int des_random_key(des_cblock ret);
int des_read_password(des_cblock *key,char *prompt,int verify);
int des_read_2passwords(des_cblock *key1,des_cblock *key2, \
char *prompt,int verify);
int des_read_pw_string(char *buf,int length,char *prompt,int verify);
void des_set_odd_parity(des_cblock *key);
int des_is_weak_key(des_cblock *key);
int des_set__key(des_cblock *key,des_key_schedule schedule);
int des_key_sched(des_cblock *key,des_key_schedule schedule);
int des_string_to_key(char *str,des_cblock *key);
int des_string_to_2keys(char *str,des_cblock *key1,des_cblock *key2);
#endif
#endif
+125 -181
View File
@@ -1,210 +1,154 @@
/*
* $Source: /usr/src/kerberosIV/des/RCS/new_rnd_key.c,v $
* $Author: bostic $
* Copyright (c) 1995
* Mark Murray. All rights reserved.
*
* Copyright 1988 by the Massachusetts Institute of Technology.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Mark Murray
* and Eric Young
* 4. Neither the name of the author nor the names of any co-contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
* THIS SOFTWARE IS PROVIDED BY MARK MURRAY AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* New pseudo-random key generator, using DES encryption to make the
* pseudo-random cycle as hard to break as DES.
*
* Written by Mark Lillibridge, MIT Project Athena
*
* Under U.S. law, this software may not be exported outside the US
* without license from the U.S. Commerce department.
* $Id: new_rnd_key.c,v 1.3 1995/09/16 20:44:27 markm Exp $
*/
#ifndef lint
static char rcsid_new_rnd_key_c[] =
"$Header: /usr/src/kerberosIV/des/RCS/new_rnd_key.c,v 4.2 91/02/25 15:14:22 bostic Exp $";
#endif lint
#include <mit-copyright.h>
#include <des.h>
#include "des_internal.h"
extern void des_fixup_key_parity();
extern int des_is_weak_key();
void des_set_random_generator_seed(), des_set_sequence_number();
void des_generate_random_block();
/*
* des_new_random_key: create a random des key
*
* Requires: des_set_random_number_generater_seed must be at called least
* once before this routine is called.
*
* Notes: the returned key has correct parity and is guarenteed not
* to be a weak des key. Des_generate_random_block is used to
* provide the random bits.
*/
int
des_new_random_key(key)
des_cblock key;
{
do {
des_generate_random_block(key);
des_fixup_key_parity(key);
} while (des_is_weak_key(key));
return(0);
}
/*
* des_init_random_number_generator:
*
* This routine takes a secret key possibly shared by a number
* of servers and uses it to generate a random number stream that is
* not shared by any of the other servers. It does this by using the current
* process id, host id, and the current time to the nearest second. The
* resulting stream seed is not useful information for cracking the secret
* key. Moreover, this routine keeps no copy of the secret key.
* This routine is used for example, by the kerberos server(s) with the
* key in question being the kerberos master key.
*
* Note: this routine calls des_set_random_generator_seed.
*/
#ifndef BSDUNIX
you lose... (aka, you get to implement an analog of this for your
system...)
#else
#include <unistd.h>
#include <string.h>
#include <sys/time.h>
#include <sys/param.h>
#include <sys/sysctl.h>
#include <machine/types.h>
void des_init_random_number_generator(key)
des_cblock key;
{
struct { /* This must be 64 bits exactly */
long process_id;
long host_id;
} seed;
struct timeval time; /* this must also be 64 bits exactly */
des_cblock new_key;
long gethostid();
#include "des_locl.h"
/*
* use a host id and process id in generating the seed to ensure
* that different servers have different streams:
*/
seed.host_id = gethostid();
seed.process_id = getpid();
/* This counter keeps track of the pseudo-random sequence */
static union {
u_int32_t ul0, ul1;
u_char uc[8];
} counter;
/*
* Generate a tempory value that depends on the key, host_id, and
* process_id such that it gives no useful information about the key:
*/
des_set_random_generator_seed(key);
des_set_sequence_number((unsigned char *)&seed);
des_new_random_key(new_key);
/*
* use it to select a random stream:
*/
des_set_random_generator_seed(new_key);
/*
* use a time stamp to ensure that a server started later does not reuse
* an old stream:
*/
gettimeofday(&time, (struct timezone *)0);
des_set_sequence_number((unsigned char *)&time);
/*
* use the time stamp finally to select the final seed using the
* current random number stream:
*/
des_new_random_key(new_key);
des_set_random_generator_seed(new_key);
}
#endif /* ifdef BSDUNIX */
/* The current encryption schedule */
static des_key_schedule current_key;
/*
* This module implements a random number generator faculty such that the next
* number in any random number stream is very hard to predict without knowing
* the seed for that stream even given the preceeding random numbers.
*/
/*
* The secret des key schedule for the current stream of random numbers:
*/
static des_key_schedule random_sequence_key;
/*
* The sequence # in the current stream of random numbers:
*/
static unsigned char sequence_number[8];
/*
* des_set_random_generator_seed: this routine is used to select a random
* number stream. The stream that results is
* totally determined by the passed in key.
* (I.e., calling this routine again with the
* same key allows repeating a sequence of
* random numbers)
*
* Requires: key is a valid des key. I.e., has correct parity and is not a
* weak des key.
* des_set_random_generator_seed: starts a new pseudorandom sequence
* dependant on the supplied key
*/
void
des_set_random_generator_seed(key)
des_cblock key;
des_set_random_generator_seed(new_key)
des_cblock *new_key;
{
register int i;
des_key_sched(new_key, current_key);
/* select the new stream: (note errors are not possible here...) */
des_key_sched(key, random_sequence_key);
/* "seek" to the start of the stream: */
for (i=0; i<8; i++)
sequence_number[i] = 0;
/* reset the counter */
counter.ul0 = counter.ul1 = 0;
}
/*
* des_set_sequence_number: this routine is used to set the sequence number
* of the current random number stream. This routine
* may be used to "seek" within the current random
* number stream.
*
* Note that des_set_random_generator_seed resets the sequence number to 0.
* des_set_sequence_number: set the counter to a known value
*/
void
des_set_sequence_number(new_sequence_number)
des_cblock new_sequence_number;
des_set_sequence_number(new_counter)
des_cblock new_counter;
{
bcopy((char *)new_sequence_number, (char *)sequence_number,
sizeof(sequence_number));
bcopy((void *)new_counter, (char *)counter.uc, sizeof(counter));
}
/*
* des_generate_random_block: routine to return the next random number
* from the current random number stream.
* The returned number is 64 bits long.
*
* Requires: des_set_random_generator_seed must have been called at least once
* before this routine is called.
* des_generate_random_block: returns the next 64 bit random number
*/
void des_generate_random_block(block)
des_cblock block;
void des_generate_random_block(random_block)
des_cblock *random_block;
{
int i;
/* Encrypt the counter to get pseudo-random numbers */
des_ecb_encrypt(&counter.uc, random_block, current_key, DES_ENCRYPT);
/*
* Encrypt the sequence number to get the new random block:
*/
des_ecb_encrypt(sequence_number, block, random_sequence_key, 1);
/*
* Increment the sequence number as an 8 byte unsigned number with wrap:
* (using LSB here)
*/
for (i=0; i<8; i++) {
sequence_number[i] = (sequence_number[i] + 1) & 0xff;
if (sequence_number[i])
break;
}
/* increment the 64-bit counter */
counter.ul0++;
if (!counter.ul0) counter.ul1++;
}
/*
* des_new_random_key: Invents a new, random strong key with odd parity.
*/
int
des_new_random_key(new_key)
des_cblock *new_key;
{
do {
des_generate_random_block(new_key);
des_set_odd_parity(new_key);
} while (des_is_weak_key(new_key));
return(0);
}
/*
* des_init_random_number_generator: intialises the random number generator
* to a truly nasty sequence using system
* supplied volatile variables.
*/
void
des_init_random_number_generator(key)
des_cblock *key;
{
/* 64-bit structures */
struct {
u_int32_t pid;
u_int32_t hostid;
} sysblock;
struct timeval timeblock;
struct {
u_int32_t tv_sec;
u_int32_t tv_usec;
} time64bit;
des_cblock new_key;
int mib[2];
size_t len;
/* Get host ID using official BSD 4.4 method */
mib[0] = CTL_KERN;
mib[1] = KERN_HOSTID;
len = sizeof(sysblock.hostid);
sysctl(mib, 2, &sysblock.hostid, &len, NULL, 0);
/* Get Process ID */
sysblock.pid = getpid();
/* Generate a new key, and use it to seed the random generator */
des_set_random_generator_seed(key);
des_set_sequence_number((unsigned char *)&sysblock);
des_new_random_key(&new_key);
des_set_random_generator_seed(&new_key);
/* Try to confuse the sequence counter */
gettimeofday(&timeblock, NULL);
time64bit.tv_sec = (u_int32_t)timeblock.tv_sec;
time64bit.tv_usec = (u_int32_t)timeblock.tv_usec;
des_set_sequence_number((unsigned char *)&time64bit);
/* Do the work */
des_new_random_key(&new_key);
des_set_random_generator_seed(&new_key);
}
+4 -1
View File
@@ -2,9 +2,12 @@
/* Copyright (C) 1993 Eric Young - see README for more details */
/*-
* $Id: rand_key.c,v 1.1.1.1 1994/09/30 14:49:51 csgr Exp $
* $Id: rand_key.c,v 1.2 1995/05/09 18:05:15 wollman Exp $
*/
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#include "des_locl.h"
int des_random_key(ret)
-10
View File
@@ -1,10 +0,0 @@
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
# $Id: Makefile,v 1.2 1994/07/19 19:22:34 g89r4222 Exp $
PROG= ext_srvtab
CFLAGS+=-DKERBEROS -I${.CURDIR}/../include
DPADD= ${LIBKDB} ${LIBKRB} ${LIBDES}
LDADD+= -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -L${DESOBJDIR} -ldes
NOMAN= noman
.include <bsd.prog.mk>
-62
View File
@@ -1,62 +0,0 @@
.\" from: ext_srvtab.8,v 4.2 89/07/18 16:53:18 jtkohl Exp $
.\" $Id: ext_srvtab.8,v 1.1.1.1 1994/09/30 14:50:05 csgr Exp $
.\" Copyright 1989 by the Massachusetts Institute of Technology.
.\"
.\" For copying and distribution information,
.\" please see the file <Copyright.MIT>.
.\"
.TH EXT_SRVTAB 8 "Kerberos Version 4.0" "MIT Project Athena"
.SH NAME
ext_srvtab \- extract service key files from Kerberos key distribution center database
.SH SYNOPSIS
ext_srvtab [
.B \-n
] [
.B \-r realm
] [
.B hostname ...
]
.SH DESCRIPTION
.I ext_srvtab
extracts service key files from the Kerberos key distribution center
(KDC) database.
.PP
Upon execution, it prompts the user to enter the master key string for
the database. If the
.B \-n
option is specified, the master key is instead fetched from the master
key cache file.
.PP
For each
.I hostname
specified on the command line,
.I ext_srvtab
creates the service key file
.IR hostname -new-srvtab,
containing all the entries in the database with an instance field of
.I hostname.
This new file contains all the keys registered for Kerberos-mediated
service providing programs which use the
.IR krb_get_phost (3)
principal and instance conventions to run on the host
.IR hostname .
If the
.B \-r
option is specified, the realm fields in the extracted file will
match the given realm rather than the local realm.
.SH DIAGNOSTICS
.TP 20n
"verify_master_key: Invalid master key, does not match database."
The master key string entered was incorrect.
.SH FILES
.TP 20n
/etc/kerberosIV/principal.db
DBM file containing database
.TP
/etc/kerberosIV/principal.ok
Semaphore indicating that the DBM database is not being modified.
.TP
/etc/kerberosIV/master_key
Master key cache file.
.SH SEE ALSO
read_service_key(3), krb_get_phost(3)
-164
View File
@@ -1,164 +0,0 @@
/*
* Copyright 1987, 1988 by the Massachusetts Institute of Technology.
*
* from: ext_srvtab.c,v 4.1 89/07/18 16:49:30 jtkohl Exp $
* $Id: ext_srvtab.c,v 1.1.1.1 1994/09/30 14:49:53 csgr Exp $
*/
#ifndef lint
static char rcsid[] =
"$Id: ext_srvtab.c,v 1.1.1.1 1994/09/30 14:49:53 csgr Exp $";
#endif lint
#include <stdio.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <signal.h>
#include <des.h>
#include <krb.h>
#include <krb_db.h>
#define TRUE 1
#define FALSE 0
static C_Block master_key;
static C_Block session_key;
static Key_schedule master_key_schedule;
char progname[] = "ext_srvtab";
char realm[REALM_SZ];
main(argc, argv)
int argc;
char *argv[];
{
FILE *fout;
char fname[1024];
int fopen_errs = 0;
int arg;
Principal princs[40];
int more;
int prompt = TRUE;
register int n, i;
bzero(realm, sizeof(realm));
/* Parse commandline arguments */
if (argc < 2)
usage();
else {
for (i = 1; i < argc; i++) {
if (strcmp(argv[i], "-n") == 0)
prompt = FALSE;
else if (strcmp(argv[i], "-r") == 0) {
if (++i >= argc)
usage();
else {
strcpy(realm, argv[i]);
/*
* This is to humor the broken way commandline
* argument parsing is done. Later, this
* program ignores everything that starts with -.
*/
argv[i][0] = '-';
}
}
else if (argv[i][0] == '-')
usage();
else
if (!k_isinst(argv[i])) {
fprintf(stderr, "%s: bad instance name: %s\n",
progname, argv[i]);
usage();
}
}
}
if (kdb_get_master_key (prompt, master_key, master_key_schedule) != 0) {
fprintf (stderr, "Couldn't read master key.\n");
fflush (stderr);
exit(1);
}
if (kdb_verify_master_key (master_key, master_key_schedule, stderr) < 0) {
exit(1);
}
/* For each arg, search for instances of arg, and produce */
/* srvtab file */
if (!realm[0])
if (krb_get_lrealm(realm, 1) != KSUCCESS) {
fprintf(stderr, "%s: couldn't get local realm\n", progname);
exit(1);
}
(void) umask(077);
for (arg = 1; arg < argc; arg++) {
if (argv[arg][0] == '-')
continue;
sprintf(fname, "%s-new-srvtab", argv[arg]);
if ((fout = fopen(fname, "w")) == NULL) {
fprintf(stderr, "Couldn't create file '%s'.\n", fname);
fopen_errs++;
continue;
}
printf("Generating '%s'....\n", fname);
n = kerb_get_principal("*", argv[arg], &princs[0], 40, &more);
if (more)
fprintf(stderr, "More than 40 found...\n");
for (i = 0; i < n; i++) {
FWrite(princs[i].name, strlen(princs[i].name) + 1, 1, fout);
FWrite(princs[i].instance, strlen(princs[i].instance) + 1,
1, fout);
FWrite(realm, strlen(realm) + 1, 1, fout);
FWrite(&princs[i].key_version,
sizeof(princs[i].key_version), 1, fout);
bcopy(&princs[i].key_low, session_key, sizeof(long));
bcopy(&princs[i].key_high, session_key + sizeof(long),
sizeof(long));
kdb_encrypt_key (session_key, session_key,
master_key, master_key_schedule, DES_DECRYPT);
FWrite(session_key, sizeof session_key, 1, fout);
}
fclose(fout);
}
StampOutSecrets();
exit(fopen_errs); /* 0 errors if successful */
}
Die()
{
StampOutSecrets();
exit(1);
}
FWrite(p, size, n, f)
char *p;
int size;
int n;
FILE *f;
{
if (fwrite(p, size, n, f) != n) {
printf("Error writing output file. Terminating.\n");
Die();
}
}
StampOutSecrets()
{
bzero(master_key, sizeof master_key);
bzero(session_key, sizeof session_key);
bzero(master_key_schedule, sizeof master_key_schedule);
}
usage()
{
fprintf(stderr,
"Usage: %s [-n] [-r realm] instance [instance ...]\n", progname);
exit(1);
}
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: ChangeLog,v 1.2 1994/07/19 19:22:41 g89r4222 Exp $
# $Id: ChangeLog,v 1.3 1995/07/18 16:35:58 mark Exp $
Mon Mar 21 15:48:59 MET 1994 Piero Serini
* 1st port to FreeBSD
+2 -2
View File
@@ -1,7 +1,7 @@
# from: @(#)Makefile 5.1 (Berkeley) 6/25/90
# $Id: Makefile,v 1.1.1.1 1994/09/30 14:49:53 csgr Exp $
# $Id: Makefile,v 1.4 1995/09/13 17:23:44 markm Exp $
FILES= des.h kparse.h krb.h krb_db.h
FILES= kparse.h krb.h krb_db.h des.h
# mit-copyright.h kadm_err.h krb_err.h
+1 -1
View File
@@ -6,7 +6,7 @@
* Include file for address comparison macros.
*
* from: addr_comp.h,v 4.0 89/01/23 09:57:44 jtkohl Exp $
* $Id: addr_comp.h,v 1.1.1.1 1994/09/30 14:49:53 csgr Exp $
* $Id: addr_comp.h,v 1.3 1995/07/18 16:36:01 mark Exp $
*/
#ifndef ADDR_COMP_DEFS
+1 -1
View File
@@ -6,7 +6,7 @@
* Include file for the Kerberos administration server.
*
* from: admin_server.h,v 4.7 89/01/11 11:59:42 steiner Exp $
* $Id: admin_server.h,v 1.1.1.1 1994/09/30 14:49:53 csgr Exp $
* $Id: admin_server.h,v 1.3 1995/07/18 16:36:03 mark Exp $
*/
#ifndef ADMIN_SERVER_DEFS
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: Sun 386i using SunOS (~BSD)
*
* from: conf-bsd386i.h,v 4.0 89/12/19 13:26:55 jtkohl Exp $
* $Id: conf-bsd386i.h,v 1.2 1994/07/19 19:22:48 g89r4222 Exp $
* $Id: conf-bsd386i.h,v 1.3 1995/07/18 16:36:05 mark Exp $
*/
#define BITS32
+1 -1
View File
@@ -4,7 +4,7 @@
* <Copyright.MIT>.
*
* from: conf-bsdapollo.h,v 4.1 89/01/24 14:26:22 jtkohl Exp $
* $Id: conf-bsdapollo.h,v 1.1.1.1 1994/09/30 14:49:53 csgr Exp $
* $Id: conf-bsdapollo.h,v 1.3 1995/07/18 16:36:06 mark Exp $
*/
#define BSDUNIX
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: IBM 032 (RT/PC)
*
* from: conf-bsdibm032.h,v 4.0 89/01/23 09:58:01 jtkohl Exp $
* $Id: conf-bsdibm032.h,v 1.2 1994/07/19 19:22:51 g89r4222 Exp $
* $Id: conf-bsdibm032.h,v 1.3 1995/07/18 16:36:08 mark Exp $
*/
#define BSDUNIX
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: 68000 with BSD Unix, e.g. SUN
*
* from: conf-bsdm68k.h,v 4.0 88/11/29 11:46:58 jtkohl Exp $
* $Id: conf-bsdm68k.h,v 1.2 1994/07/19 19:22:53 g89r4222 Exp $
* $Id: conf-bsdm68k.h,v 1.3 1995/07/18 16:36:10 mark Exp $
*/
#define BITS32
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: SPARC with BSD Unix, e.g. SUN-4
*
* from: conf-bsdsparc.h,v 4.0 89/06/02 13:04:06 jtkohl Exp $
* $Id: conf-bsdsparc.h,v 1.2 1994/07/19 19:22:54 g89r4222 Exp $
* $Id: conf-bsdsparc.h,v 1.3 1995/07/18 16:36:12 mark Exp $
*/
#define BITS32
+1 -1
View File
@@ -4,7 +4,7 @@
* Machine Description : TAHOE.
*
* from: conf-bsdtahoe.h,v 4.0 89/08/30 11:06:53 jtkohl Exp $
* $Id: conf-bsdtahoe.h,v 1.2 1994/07/19 19:22:56 g89r4222 Exp $
* $Id: conf-bsdtahoe.h,v 1.3 1995/07/18 16:36:14 mark Exp $
*/
#define TAHOE
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: VAX
*
* from: conf-bsdvax.h,v 4.0 89/01/23 09:58:12 jtkohl Exp $
* $Id: conf-bsdvax.h,v 1.2 1994/07/19 19:22:57 g89r4222 Exp $
* $Id: conf-bsdvax.h,v 1.3 1995/07/18 16:36:15 mark Exp $
*/
#define VAX
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: IBM 370
*
* from: conf-ibm370.h,v 4.0 89/01/23 09:58:19 jtkohl Exp $
* $Id: conf-ibm370.h,v 1.2 1994/07/19 19:22:59 g89r4222 Exp $
* $Id: conf-ibm370.h,v 1.3 1995/07/18 16:36:17 mark Exp $
*/
/* What else? */
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: IBM PC 8086
*
* from: conf-pc.h,v 4.0 89/01/23 09:58:26 jtkohl Exp $
* $Id: conf-pc.h,v 1.2 1994/07/19 19:23:00 g89r4222 Exp $
* $Id: conf-pc.h,v 1.3 1995/07/18 16:36:19 mark Exp $
*
*/
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: Pyramid
*
* from: conf-pyr.h,v 4.0 89/12/19 13:27:16 jtkohl Exp $
* $Id: conf-pyr.h,v 1.2 1994/07/19 19:23:02 g89r4222 Exp $
* $Id: conf-pyr.h,v 1.3 1995/07/18 16:36:20 mark Exp $
*/
#define BITS32
+1 -1
View File
@@ -6,7 +6,7 @@
* Machine-type definitions: DECstation 3100 (MIPS R2000)
*
* from: conf-ultmips2.h,v 4.0 89/01/23 09:58:32 jtkohl Exp $
* $Id: conf-ultmips2.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
* $Id: conf-ultmips2.h,v 1.3 1995/07/18 16:36:22 mark Exp $
*/
#define MIPS2
+1 -1
View File
@@ -12,7 +12,7 @@
* /usr/include/krb.h?)
*
* from: conf.h,v 4.0 89/01/23 09:58:40 jtkohl Exp $
* $Id: conf.h,v 1.2 1994/07/19 19:23:05 g89r4222 Exp $
* $Id: conf.h,v 1.3 1995/07/18 16:36:24 mark Exp $
*/
#ifndef _CONF_H_
+155 -18
View File
@@ -1,27 +1,28 @@
/*
* Copyright 1987, 1988 by the Massachusetts Institute of Technology.
* For copying and distribution information, please see the file
* <Copyright.MIT>.
*
* Include file for the Data Encryption Standard library.
*
* from: des.h,v 4.11 89/01/17 16:24:57 rfrench Exp $
* $Id: des.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
/* des.h */
/* Copyright (C) 1995 Eric Young ([email protected]).
* All rights reserved.
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* See the COPYRIGHT file in the libdes distribution for more details.
*/
/* only do the whole thing once */
#ifndef DES_DEFS
#define DES_DEFS
#ifndef HEADER_DES_H
#define HEADER_DES_H
typedef unsigned char des_cblock[8]; /* crypto-block size */
/* Key schedule */
#include <stdio.h>
typedef unsigned char des_cblock[8];
typedef struct des_ks_struct { des_cblock _; } des_key_schedule[16];
#define DES_KEY_SZ (sizeof(des_cblock))
#define DES_SCHEDULE_SZ (sizeof(des_key_schedule))
#define DES_ENCRYPT 1
#define DES_DECRYPT 0
#ifndef NCOMPAT
#define DES_CBC_MODE 0
#define DES_PCBC_MODE 1
#define C_Block des_cblock
#define Key_schedule des_key_schedule
#define ENCRYPT DES_ENCRYPT
@@ -31,14 +32,150 @@ typedef struct des_ks_struct { des_cblock _; } des_key_schedule[16];
#define read_pw_string des_read_pw_string
#define random_key des_random_key
#define pcbc_encrypt des_pcbc_encrypt
#define set_key des_set_key
#define key_sched des_key_sched
#define ecb_encrypt des_ecb_encrypt
#define cbc_encrypt des_cbc_encrypt
#define ncbc_encrypt des_ncbc_encrypt
#define cbc_cksum des_cbc_cksum
#define C_Block_print des_cblock_print
#define quad_cksum des_quad_cksum
/* For compatibility with the MIT lib - eay 20/05/92 */
typedef struct des_ks_struct bit_64;
#define des_fixup_key_parity des_set_odd_parity
#define des_check_key_parity check_parity
extern int des_check_key; /* defaults to false */
extern int des_rw_mode; /* defaults to DES_PCBC_MODE */
/* The next line is used to disable full ANSI prototypes, if your
* compiler has problems with the prototypes, make sure this line always
* evaluates to true :-) */
#if defined(MSDOS) && defined(__STDC__)
#undef PROTO
#define PROTO
#endif
#define des_cblock_print(x) des_cblock_print_file(x, stdout)
/* markm - dirty hack */
#define PROTO
#endif DES_DEFS
#ifdef PROTO
int des_2ecb_encrypt(des_cblock *input,des_cblock *output,
des_key_schedule ks1,des_key_schedule ks2,int enc);
int des_3ecb_encrypt(des_cblock *input,des_cblock *output,
des_key_schedule ks1,des_key_schedule ks2, int enc);
unsigned long des_cbc_cksum(des_cblock *input,des_cblock *output,
long length,des_key_schedule schedule,des_cblock *ivec);
int des_cbc_encrypt(des_cblock *input,des_cblock *output,long length,
des_key_schedule schedule,des_cblock *ivec,int enc);
int des_ncbc_encrypt(des_cblock *input,des_cblock *output,long length,
des_key_schedule schedule,des_cblock *ivec,int enc);
int des_3cbc_encrypt(des_cblock *input,des_cblock *output,long length,
des_key_schedule sk1,des_key_schedule sk2,
des_cblock *ivec1,des_cblock *ivec2,int enc);
int des_cfb_encrypt(unsigned char *in,unsigned char *out,int numbits,
long length,des_key_schedule schedule,des_cblock *ivec,int enc);
int des_ecb_encrypt(des_cblock *input,des_cblock *output,
des_key_schedule ks,int enc);
int des_encrypt(unsigned long *input,unsigned long *output,
des_key_schedule ks, int enc);
int des_encrypt2(unsigned long *input,unsigned long *output,
des_key_schedule ks, int enc);
int des_ede3_cbc_encrypt(des_cblock *input, des_cblock *output,
long length, des_key_schedule ks1, des_key_schedule ks2,
des_key_schedule ks3, des_cblock *ivec, int enc);
int des_ede2_cbc_encrypt(des_cblock *input, des_cblock *output,
long length, des_key_schedule ks1, des_key_schedule ks2,
des_cblock *ivec, int enc);
int des_enc_read(int fd,char *buf,int len,des_key_schedule sched,
des_cblock *iv);
int des_enc_write(int fd,char *buf,int len,des_key_schedule sched,
des_cblock *iv);
#if 0
#ifdef PERL5
char *des_crypt(const char *buf,const char *salt);
#else
/* some stupid compilers complain because I have declared char instead
* of const char */
#ifdef HEADER_DES_LOCL_H
char *crypt(const char *buf,const char *salt);
#else
char *crypt();
#endif /* HEADER_DES_LOCL_H */
#endif /* PERL5 */
#endif /* 0 */
int des_ofb_encrypt(unsigned char *in,unsigned char *out,
int numbits,long length,des_key_schedule schedule,des_cblock *ivec);
int des_pcbc_encrypt(des_cblock *input,des_cblock *output,long length,
des_key_schedule schedule,des_cblock *ivec,int enc);
unsigned long des_quad_cksum(des_cblock *input,des_cblock *output,
long length,int out_count,des_cblock *seed);
void des_random_seed(des_cblock key);
int des_random_key(des_cblock ret);
int des_read_password(des_cblock *key,char *prompt,int verify);
int des_read_2passwords(des_cblock *key1,des_cblock *key2,
char *prompt,int verify);
int des_read_pw_string(char *buf,int length,char *prompt,int verify);
void des_set_odd_parity(des_cblock *key);
int des_is_weak_key(des_cblock *key);
int des_set_key(des_cblock *key,des_key_schedule schedule);
int des_key_sched(des_cblock *key,des_key_schedule schedule);
int des_string_to_key(char *str,des_cblock *key);
int des_string_to_2keys(char *str,des_cblock *key1,des_cblock *key2);
int des_cfb64_encrypt(unsigned char *in, unsigned char *out, long length,
des_key_schedule schedule, des_cblock *ivec, int *num, int enc);
int des_ofb64_encrypt(unsigned char *in, unsigned char *out, long length,
des_key_schedule schedule, des_cblock *ivec, int *num);
void des_cblock_print_file(des_cblock *cb, FILE *fp);
int des_new_random_key(des_cblock *key);
void des_init_random_number_generator(des_cblock *key);
void des_set_random_generator_seed(des_cblock *key);
void des_set_sequence_number(des_cblock new_sequence_number);
void des_generate_random_block(des_cblock *block);
#else
int des_2ecb_encrypt();
int des_3ecb_encrypt();
unsigned long des_cbc_cksum();
int des_cbc_encrypt();
int des_ncbc_encrypt();
int des_3cbc_encrypt();
int des_cfb_encrypt();
int des_ecb_encrypt();
int des_encrypt();
int des_encrypt2();
int des_ede3_cbc_encrypt();
int des_ede2_cbc_encrypt();
int des_enc_read();
int des_enc_write();
#ifdef PERL5
char *des_crypt();
#else
char *crypt();
#endif
int des_ofb_encrypt();
int des_pcbc_encrypt();
unsigned long des_quad_cksum();
void des_random_seed();
int des_random_key();
int des_read_password();
int des_read_2passwords();
int des_read_pw_string();
void des_set_odd_parity();
int des_is_weak_key();
int des_set_key();
int des_key_sched();
int des_string_to_key();
int des_string_to_2keys();
int des_cfb64_encrypt();
int des_ofb64_encrypt();
void des_cblock_print_file();
int des_new_random_key();
void des_init_random_number_generator();
void des_set_random_generator_seed();
void des_set_sequence_number();
void des_generate_random_block();
#endif
#endif
+1 -1
View File
@@ -7,7 +7,7 @@
* we've got available....
*
* from: highc.h,v 4.0 89/01/23 09:59:15 jtkohl Exp $
* $Id: highc.h,v 1.2 1994/07/19 19:23:08 g89r4222 Exp $
* $Id: highc.h,v 1.3 1995/07/18 16:36:27 mark Exp $
*/
#define const
-138
View File
@@ -1,138 +0,0 @@
/*
* Copyright 1988 by the Massachusetts Institute of Technology.
* For copying and distribution information, please see the file
* <Copyright.MIT>.
*
* Definitions for Kerberos administration server & client
*
* from: kadm.h,v 4.2 89/09/26 09:15:20 jtkohl Exp $
* $Id: kadm.h,v 1.2 1994/07/19 19:23:09 g89r4222 Exp $
*/
#ifndef KADM_DEFS
#define KADM_DEFS
/*
* kadm.h
* Header file for the fourth attempt at an admin server
* Doug Church, December 28, 1989, MIT Project Athena
*/
/* for those broken Unixes without this defined... should be in sys/param.h */
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#endif
#include <sys/types.h>
#include <netinet/in.h>
#include <krb.h>
#include <des.h>
/* The global structures for the client and server */
typedef struct {
struct sockaddr_in admin_addr;
struct sockaddr_in my_addr;
int my_addr_len;
int admin_fd; /* file descriptor for link to admin server */
char sname[ANAME_SZ]; /* the service name */
char sinst[INST_SZ]; /* the services instance */
char krbrlm[REALM_SZ];
} Kadm_Client;
typedef struct { /* status of the server, i.e the parameters */
int inter; /* Space for command line flags */
char *sysfile; /* filename of server */
} admin_params; /* Well... it's the admin's parameters */
/* Largest password length to be supported */
#define MAX_KPW_LEN 128
/* Largest packet the admin server will ever allow itself to return */
#define KADM_RET_MAX 2048
/* That's right, versions are 8 byte strings */
#define KADM_VERSTR "KADM0.0A"
#define KADM_ULOSE "KYOULOSE" /* sent back when server can't
decrypt client's msg */
#define KADM_VERSIZE strlen(KADM_VERSTR)
/* the lookups for the server instances */
#define PWSERV_NAME "changepw"
#define KADM_SNAME "kerberos_master"
#define KADM_SINST "kerberos"
/* Attributes fields constants and macros */
#define ALLOC 2
#define RESERVED 3
#define DEALLOC 4
#define DEACTIVATED 5
#define ACTIVE 6
/* Kadm_vals structure for passing db fields into the server routines */
#define FLDSZ 4
typedef struct {
u_char fields[FLDSZ]; /* The active fields in this struct */
char name[ANAME_SZ];
char instance[INST_SZ];
unsigned long key_low;
unsigned long key_high;
unsigned long exp_date;
unsigned short attributes;
unsigned char max_life;
} Kadm_vals; /* The basic values structure in Kadm */
/* Kadm_vals structure for passing db fields into the server routines */
#define FLDSZ 4
/* Need to define fields types here */
#define KADM_NAME 31
#define KADM_INST 30
#define KADM_EXPDATE 29
#define KADM_ATTR 28
#define KADM_MAXLIFE 27
#define KADM_DESKEY 26
/* To set a field entry f in a fields structure d */
#define SET_FIELD(f,d) (d[3-(f/8)]|=(1<<(f%8)))
/* To set a field entry f in a fields structure d */
#define CLEAR_FIELD(f,d) (d[3-(f/8)]&=(~(1<<(f%8))))
/* Is field f in fields structure d */
#define IS_FIELD(f,d) (d[3-(f/8)]&(1<<(f%8)))
/* Various return codes */
#define KADM_SUCCESS 0
#define WILDCARD_STR "*"
enum acl_types {
ADDACL,
GETACL,
MODACL
};
/* Various opcodes for the admin server's functions */
#define CHANGE_PW 2
#define ADD_ENT 3
#define MOD_ENT 4
#define GET_ENT 5
extern long kdb_get_master_key(); /* XXX should be in krb_db.h */
extern long kdb_verify_master_key(); /* XXX ditto */
extern long krb_mk_priv(), krb_rd_priv(); /* XXX should be in krb.h */
extern void krb_set_tkt_string(); /* XXX ditto */
extern unsigned long quad_cksum(); /* XXX should be in des.h */
/* XXX This doesn't belong here!!! */
char *malloc(), *realloc();
#ifdef POSIX
typedef void sigtype;
#else
typedef int sigtype;
#endif
#endif KADM_DEFS
+1 -1
View File
@@ -6,7 +6,7 @@
* Include file for the Kerberos Key Distribution Center.
*
* from: kdc.h,v 4.1 89/01/24 17:54:04 jon Exp $
* $Id: kdc.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
* $Id: kdc.h,v 1.3 1995/07/18 16:36:29 mark Exp $
*/
#ifndef KDC_DEFS
+1 -1
View File
@@ -7,7 +7,7 @@
* type of message may be selectively turned on or off.
*
* from: klog.h,v 4.7 89/01/24 17:55:07 jon Exp $
* $Id: klog.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
* $Id: klog.h,v 1.3 1995/07/18 16:36:30 mark Exp $
*/
#ifndef KLOG_DEFS
+7 -3
View File
@@ -6,7 +6,7 @@
* Include file for kparse routines.
*
* from: kparse.h,v 4.5 89/01/11 12:05:53 steiner Exp $
* $Id: kparse.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
* $Id: kparse.h,v 1.4 1995/09/07 20:50:34 mark Exp $
*/
#ifndef KPARSE_DEFS
@@ -81,7 +81,11 @@ extern char ErrorMsg[]; /*
* fGetParameterSet
*/
extern char *strsave(); /* defined in this module */
extern char *strutol(); /* defined in this module */
extern char *strsave(char *p); /* defined in this module */
extern char *strutol(char *p); /* defined in this module */
int fGetParameterSet(FILE *fp, parmtable parm[], int parmcount);
int fGetKeywordValue(FILE *fp, char *keyword, int klen, char *value, int vlen);
int fGetToken(FILE *fp, char *dest, int maxlen);
#endif /* KPARSE_DEFS */
+129 -1
View File
@@ -6,7 +6,7 @@
* Include file for the Kerberos library.
*
* from: krb.h,v 4.26 89/08/08 17:55:25 jtkohl Exp $
* $Id: krb.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
* $Id: krb.h,v 1.7 1995/09/07 20:50:36 mark Exp $
*/
/* Only one time, please */
@@ -14,7 +14,9 @@
#define KRB_DEFS
/* Need some defs from des.h */
#include <stdio.h>
#include <kerberosIV/des.h>
#include <netinet/in.h>
/* Text describing error codes */
#define MAX_KRB_ERRORS 256
@@ -373,4 +375,130 @@ char *tkt_string();
#define KOPT_DO_OLDSTYLE 0x00000008 /* use the old-style protocol */
#endif ATHENA_COMPAT
/* libacl */
void acl_canonicalize_principal __P((char *principal, char *buf));
int acl_check __P((char *acl, char *principal));
int acl_exact_match __P((char *acl, char *principal));
int acl_add __P((char *acl, char *principal));
int acl_delete __P((char *acl, char *principal));
int acl_initialize __P((char *acl_file, int mode));
/* libkrb - krb.3 */
int krb_mk_req __P((KTEXT authent, char *service, char *instance, char *realm,
long checksum);
int krb_rd_req __P((KTEXT authent, char *service, char *instance,
long from_addr, AUTH_DAT *ad, char *fn));
int krb_kntoln __P((AUTH_DAT *ad, char *lname));
int krb_set_key __P((char *key, int cvt));
int krb_get_cred __P((char *service, char *instance, char *realm,
CREDENTIALS *c));
long krb_mk_priv __P((u_char *in, u_char *out, u_long in_length,
des_key_schedule schedule, des_cblock key, struct sockaddr_in *sender,
struct sockaddr_in *receiver));
long krb_rd_priv __P((u_char *in, u_long in_length, Key_schedule schedule,
des_cblock key, struct sockaddr_in *sender, struct sockaddr_in *receiver,
MSG_DAT *msg_data));
long krb_mk_safe __P((u_char *in, u_char *out, u_long in_length,
des_cblock *key, struct sockaddr_in *sender, struct sockaddr_in *receiver));
long krb_rd_safe __P((u_char *in, u_long length, des_cblock *key,
struct sockaddr_in *sender, struct sockaddr_in *receiver,
MSG_DAT *msg_data));
long krb_mk_err __P((u_char *out, long code, char *string));
int krb_rd_err __P((u_char *in, u_long in_length, long *code, MSG_DAT *m_data));
/* libkrb - krb_sendauth.3 */
int krb_sendauth __P((long options, int fd, KTEXT ticket, char *service,
char *inst, char *realm, u_long checksum, MSG_DAT *msg_data,
CREDENTIALS *cred, Key_schedule schedule, struct sockaddr_in *laddr,
struct sockaddr_in *faddr, char *version));
int krb_recvauth __P((long options, int fd, KTEXT ticket, char *service,
char *instance, struct sockaddr_in *faddr, struct sockaddr_in *laddr,
AUTH_DAT *kdata, char *filename, Key_schedule schedule, char *version));
int krb_net_write __P((int fd, char *buf, int len));
int krb_net_read __P((int fd, char *buf, int len));
/* libkrb - krb_realmofhost.3 */
char *krb_realmofhost __P((char *host));
char *krb_get_phost __P((char *alias));
int krb_get_krbhst __P((char *h, char *r, int n));
int krb_get_admhst __P((char *h, char *r, int n));
int krb_get_lrealm __P((char *r, int n));
/* libkrb - krb_set_tkt_string.3 */
void krb_set_tkt_string(char *val);
/* libkrb - kuserok.3 */
int kuserok __P((AUTH_DAT *authdata, char *localuser));
/* libkrb - tf_util.3 */
int tf_init __P((char *tf_name, int rw));
int tf_get_pname __P((char *p));
int tf_get_pinst __P((char *inst));
int tf_get_cred __P((CREDENTIALS *c));
void tf_close __P((void));
/* Internal routines */
int des_read __P((int fd, char *buf, int len));
int des_write __P((int fd, char *buf, int len));
int krb_get_tf_realm __P((char *ticket_file, char *realm));
int krb_get_in_tkt __P((char *user, char *instance, char *realm, char *service,
char *sinstance, int life, int (*key_proc)(), int (*decrypt_proc)(),
char *arg));
int krb_get_pw_in_tkt __P((char *user, char *instance, char *realm,
char *service, char *sinstance, int life, char *password));
int krb_get_svc_in_tkt __P((char *user, char *instance, char *realm,
char *service, char *sinstance, int life, char *srvtab));
int krb_get_tf_fullname __P((char *ticket_file, char *name, char *instance,
char *realm));
int save_credentials __P((char *service, char *instance, char *realm,
des_cblock session, int lifetime, int kvno, KTEXT ticket, long issue_date));
int read_service_key __P((char *service, char *instance, char *realm, int kvno,
char *file, char *key));
int get_ad_tkt __P((char *service, char *sinstance, char *realm, int lifetime));
int send_to_kdc __P((KTEXT pkt, KTEXT rpkt, char *realm));
int krb_create_ticket __P((KTEXT tkt, unsigned char flags, char *pname,
char *pinstance, char *prealm, long paddress, char *session, short life,
long time_sec, char *sname, char *sinstance, C_Block key));
int decomp_ticket __P((KTEXT tkt, unsigned char *flags, char *pname,
char *pinstance, char *prealm, unsigned long *paddress, des_cblock session,
int *life, unsigned long *time_sec, char *sname, char *sinstance,
des_cblock key, des_key_schedule key_s));
int create_ciph __P((KTEXT c, C_Block session, char *service, char *instance,
char *realm, unsigned long life, int kvno, KTEXT tkt,
unsigned long kdc_time, C_Block key));
int kname_parse __P((char *np, char *ip, char *rp, char *fullname));
int tf_save_cred __P((char *service, char *instance, char *realm,
des_cblock session, int lifetime, int kvno, KTEXT ticket, long issue_date));
int getst(int fd, char *s, int n));
int pkt_clen __P((KTEXT pkt));
int in_tkt __P((char *pname, char *pinst));
int dest_tkt __P((void));
char *month_sname __P((int n));
void log __P(()); /* Actually VARARGS - markm */
void kset_logfile __P((char *filename));
void set_logfile __P((char *filename));
int k_isinst __P((char *s));
int k_isrealm __P((char *s));
int k_isname __P((char *s));
int k_gethostname __P((char *name, int namelen));
int kerb_init __P((void));
void kerb_fini __P((void));
int kerb_db_set_name __P((char *name));
int kerb_db_set_lockmode __P((int mode));
int kerb_db_create __P((char *db_name));
int kerb_db_iterate __P((int (*func)(), char *arg));
int kerb_db_rename __P((char *from, char *to));
long kerb_get_db_age __P((void));
char * stime __P((long *t));
long kdb_get_master_key __P((int prompt, C_Block master_key,
Key_schedule master_key_sched));
long kdb_verify_master_key __P((C_Block master_key,
Key_schedule master_key_sched, FILE *out));
void kdb_encrypt_key __P((C_Block in, C_Block out, C_Block master_key,
Key_schedule master_key_sched, int e_d_flag));
extern int krb_ap_req_debug;
extern int krb_debug;
#endif KRB_DEFS
+1 -1
View File
@@ -14,7 +14,7 @@
* sources.
*
* from: krb_conf.h,v 4.0 89/01/23 09:59:27 jtkohl Exp $
* $Id: krb_conf.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
* $Id: krb_conf.h,v 1.3 1995/07/18 16:36:36 mark Exp $
*/
#ifndef KRB_CONF_DEFS
+17 -7
View File
@@ -11,7 +11,7 @@
* They MUST correspond to those defined in *.rel
*
* from: krb_db.h,v 4.9 89/01/24 17:55:39 jon Exp $
* $Id: krb_db.h,v 1.1.1.1 1994/09/30 14:49:54 csgr Exp $
* $Id: krb_db.h,v 1.4 1995/08/25 21:25:12 mark Exp $
*/
#ifndef KRB_DB_DEFS
@@ -90,11 +90,21 @@ typedef struct {
}
Dba;
extern int kerb_get_principal();
extern int kerb_put_principal();
extern int kerb_db_get_stat();
extern int kerb_db_put_stat();
extern int kerb_get_dba();
extern int kerb_db_get_dba();
extern int kerb_get_principal(char *name, char *inst, Principal *principal,
unsigned int max, int *more);
extern int kerb_put_principal(Principal *principal, unsigned int n);
extern void kerb_db_get_stat(DB_stat *s);
extern void kerb_db_put_stat(DB_stat *s);
extern int kerb_get_dba(char *name, char *inst, Dba *dba, unsigned int max,
int *more);
extern int kerb_db_get_dba(char *dba_name, char *dba_inst, Dba *dba,
unsigned int max, int *more);
extern void krb_print_principal(Principal *p);
extern int kerb_db_get_principal(char *name, char *inst, Principal *principal,
unsigned int max, int *more);
extern int kerb_db_put_principal(Principal *principal, unsigned int max);
extern int kerb_db_init(void);
extern void kerb_db_fini(void);
#endif /* KRB_DB_DEFS */
+1 -1
View File
@@ -7,7 +7,7 @@
* byte-order quantities
*
* from: lsb_addr_comp.h,v 4.0 89/01/23 15:44:46 jtkohl Exp $
* $Id: lsb_addr_comp.h,v 1.2 1994/07/19 19:23:21 g89r4222 Exp $
* $Id: lsb_addr_comp.h,v 1.3 1995/07/18 16:36:39 mark Exp $
*/
#ifndef LSB_ADDR_COMP_DEFS
-20
View File
@@ -1,20 +0,0 @@
/*
Copyright (C) 1989 by the Massachusetts Institute of Technology
Export of this software from the United States of America is assumed
to require a specific license from the United States Government.
It is the responsibility of any person or organization contemplating
export to obtain such a license before exporting.
WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
distribute this software and its documentation for any purpose and
without fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright notice and
this permission notice appear in supporting documentation, and that
the name of M.I.T. not be used in advertising or publicity pertaining
to distribution of the software without specific, written prior
permission. M.I.T. makes no representations about the suitability of
this software for any purpose. It is provided "as is" without express
or implied warranty.
*/
+1 -1
View File
@@ -6,7 +6,7 @@
* Athena configuration.
*
* from: osconf.h,v 4.4 89/12/19 13:26:27 jtkohl Exp $
* $Id: osconf.h,v 1.2 1994/07/19 19:23:22 g89r4222 Exp $
* $Id: osconf.h,v 1.3 1995/07/18 16:36:41 mark Exp $
*/
#ifdef tahoe
+1 -1
View File
@@ -6,7 +6,7 @@
* Include file for password server
*
* from: passwd_server.h,v 4.6 89/01/11 15:12:22 steiner Exp $
* $Id: passwd_server.h,v 1.1.1.1 1994/09/30 14:49:55 csgr Exp $
* $Id: passwd_server.h,v 1.3 1995/07/18 16:36:43 mark Exp $
*/
#ifndef PASSWD_SERVER_DEFS
Loaded 100 of 4109 files, more files were not shown because too many files have changed in this diff. Show more