summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add the same fix to pcvt that I did to syscons. Make sure that the signalsJohn-Mark Gurney1997-03-021-3/+11
| | | | | | | | | provided by the user are valid else return EINVAL. Reviewed-by: joerg Notes: svn path=/head/; revision=23261
* increase L_cuserid because UT_NAMESIZE increasedAndrey A. Chernov1997-03-021-2/+2
| | | | Notes: svn path=/head/; revision=23260
* Add Marc Slemko (marcs@znep.com) for his gopher patch. While I'mSatoshi Asami1997-03-021-2/+3
| | | | | | | | here, add ">" to the end of Marc Ramirez (mrami@mramirez.sy.yale.edu)'s e-mail address. Notes: svn path=/head/; revision=23259
* . Remove the ${RELEASEDIR} variable, it turned out to be a constantJoerg Wunsch1997-03-022-44/+16
| | | | | | | | | | | | | anyway. . Add /usr/share/misc/scsi_modes to the fixit floppy, and set the appropriate env variable. . Cleanup the (commented out) tags in the entry section a little, to be more up-to-date. Notes: svn path=/head/; revision=23257
* Avoid the ``Three seconds until format begins'' construct. It'sJoerg Wunsch1997-03-022-15/+23
| | | | | | | | | | inconsistent with the remaining unix utilities, so replace it by something better suited. Learned from: The Unix Hater's Handbook :-) Notes: svn path=/head/; revision=23255
* Moved vfs sysctls to where Lite2 put them. No code changes yet.Bruce Evans1997-03-023-62/+117
| | | | Notes: svn path=/head/; revision=23254
* Remove an extraneous shift operation. The facility macros do alreadyJoerg Wunsch1997-03-021-2/+2
| | | | | | | | | shift the value. Submitted by: Andre.Albsmeier@mchp.siemens.de (Andre Albsmeier) Notes: svn path=/head/; revision=23252
* 1) Fix usage to match convention and manual. Fix manual to match usage.Warner Losh1997-03-022-10/+26
| | | | | | | | | | | | | | | | 2) Must be root to run preload (OpenBSD ping.c 1.8) 3) Don't print all replies unless verbose and root (from idea in OpenBSD ping.c 1.10 and 1.11) to avoid leaking information available only to root. 4) Remove unused h: from option string to getopt. 5) Make the compiler happy with exit(0) (Lite-2?) Reviewed by: Dan Cross <tenser@spitfire.ecsel.psu.edu> Good candidate for 2.2 and 2.1 (as are many of the 1.17 changes). Notes: svn path=/head/; revision=23251
* Missed the $FreeBSD$ on this otherwise touched file.Peter Wemm1997-03-021-1/+1
| | | | Notes: svn path=/head/; revision=23250
* Put html output into the obj directory and not into the source directory.Wolfram Schneider1997-03-021-5/+4
| | | | Notes: svn path=/head/; revision=23249
* make sure that the user supplied signals in struct vt_mode are actuallyJohn-Mark Gurney1997-03-013-24/+54
| | | | | | | | | | | | | valid signals, else return EINVAL for ioctl VT_SETMODE. this fixes a problem that anybody with vty access can panic the system. 2.2-Candidate (and 2.1.0 I believe) Reviewed-by: sos Notes: svn path=/head/; revision=23248
* Make ping -Wall clean (except for one warning).Garrett Wollman1997-03-013-174/+219
| | | | | | | | | | | | Do a better job of argument parsing. Don't permit ping -f to a multicast address (very antisocial). Don't permit -L, -I, -T options with unicast addresses. Ensure that we ask for only AF_INET addresses (should close PR#2584). Return <sysexits.h> error codes for failures. Document this. Fix man page to identify the author and put sections in correct order. Notes: svn path=/head/; revision=23247
* Include copyright message from <sys/copyright.h>Wolfram Schneider1997-03-011-5/+4
| | | | Notes: svn path=/head/; revision=23246
* Added some nfs #includes so that netboot compiles again. Lite2 made theBruce Evans1997-03-011-0/+2
| | | | | | | nfs includes even more order-dependent and less documented than before. Notes: svn path=/head/; revision=23245
* Include copyright message from <sys/copyright.h>Wolfram Schneider1997-03-011-19/+2
| | | | Notes: svn path=/head/; revision=23244
* Add Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de> for the localeWolfram Schneider1997-03-011-1/+2
| | | | | | | support. Notes: svn path=/head/; revision=23243
* Bugfix for man pages created by perlpod(1).Wolfram Schneider1997-03-011-1/+2
| | | | | | | Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de> Notes: svn path=/head/; revision=23242
* Plug an old security hole: suidperl didn't honor MNT_NOSUID.Joerg Wunsch1997-03-012-2/+23
| | | | | | | | | | | Strong 2.2 and 2.1.x candidate. Someone should review the patch before, however. The maintainer of the Perl5 port should probably introduce a similar patch there. Notes: svn path=/head/; revision=23241
* Synchronize with sys/i386/conf/options.i386 revision 1.36.KATO Takenori1997-03-012-4/+2
| | | | Notes: svn path=/head/; revision=23238
* Synchronize with sys/i386/isa/syscons.c up to revision 1.204.KATO Takenori1997-03-011-7/+6
| | | | Notes: svn path=/head/; revision=23236
* When we perform an "automatic request sense", we issue an untagged command.Justin T. Gibbs1997-03-011-5/+44
| | | | | | | | | | | | | | | The sequencer expects untagged transactions to have the SCBID of the transaction in the "busy target" array. So, ensure that the busy entry is up to date for the target in this case. The new identify code in the sequencer that performs additional sanity checking got caught up when a tagged transaction created an untagged request sense. In ahc_handle_seqint, ensure that the target ID is taken from the right place. In the case of a selection, the ID is in SCSIID. In the case of a reconnection it is found in SELID. Notes: svn path=/head/; revision=23233
* Add missing #include <machine/segments.h> for ISPL and SEL_UPL macrosAndrey A. Chernov1997-03-012-2/+4
| | | | Notes: svn path=/head/; revision=23230
* Add generic colldef for ISO-8859-2.Wolfram Schneider1997-03-019-30/+722
| | | | | | | | | Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de> Use '.for' loop from make(1), not sh(1) 'for' loops. Notes: svn path=/head/; revision=23228
* Copyright macros and FreeBSD copyright definition.Wolfram Schneider1997-02-281-0/+57
| | | | Notes: svn path=/head/; revision=23227
* minor nitAdam David1997-02-282-6/+6
| | | | Notes: svn path=/head/; revision=23224
* Add lt_LN.ISO_8859-2.src.Wolfram Schneider1997-02-286-20/+362
| | | | | | | | | Use '.for' loop from make(1), not sh(1) 'for' loops. Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de> Notes: svn path=/head/; revision=23222
* Fix a comment and some commented-out code in ip_mloopback toBill Fenner1997-02-281-11/+10
| | | | | | | reflect how multicast loopback really works. Notes: svn path=/head/; revision=23221
* Fix various overflows for items longer then menu width.Andrey A. Chernov1997-02-281-4/+6
| | | | | | | | | | Fix cursor place after PgUp/PgDn. Should go into 2.2 Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su> Notes: svn path=/head/; revision=23220
* Create directory /etc/skel.Wolfram Schneider1997-02-281-1/+3
| | | | Notes: svn path=/head/; revision=23219
* Fixed a panic in nfs_writevp(). Lite2 provided a fix for a sillyBruce Evans1997-02-282-10/+4
| | | | | | | | | | | | | | | missing-parentheses bug, but this exposed a misplaced vfs_busy_pages(). This bug cost a factor of 2.5-3 in nfsv3 write performance! It should be fixed in 2.2. Removed some debugging code that gets triggered often in normal operation. There are still many backwards diagnostics (#define DIAGNOSTIC gives no diagnostics). Submitted by: vfs_busy_pages() fix by dfr Notes: svn path=/head/; revision=23218
* add lt_LN.ISO_8859-1Wolfram Schneider1997-02-282-2/+8
| | | | Notes: svn path=/head/; revision=23217
* Removed nonexistent option PSM_NO_RESET.Bruce Evans1997-02-282-4/+2
| | | | Notes: svn path=/head/; revision=23214
* Fixed spelling error in a variable name.Bruce Evans1997-02-283-6/+6
| | | | Notes: svn path=/head/; revision=23209
* Merge from 2.2 (I keep forgetting that my /usr/src is no longer -current).Jordan K. Hubbard1997-02-281-126/+114
| | | | Notes: svn path=/head/; revision=23208
* Print function args in the current radix instead of always in hex.Bruce Evans1997-02-282-16/+26
| | | | | | | | | | | | | | | | | | | Print the stack pointer together with the frame pointer in the trap, syscall and interrupt messages. The frame pointer is not very useful for locating syscall args since syscall functions don't have a frame pointer. Print all the numbers in the trap, syscall and interrupt messages in the default radix. The syscall number was confusing because it was printed in decimal. Use %#n format more and 0x%x less. 0x%x of course doesn't work with a variable radix. ddb is now fairly consistent about using %+#n to print all numbers. It omits the '+' for signed numbers the '#' in a few cases (e.g., for function args) to save space. Notes: svn path=/head/; revision=23206
* Added a copyright and restored order.Bruce Evans1997-02-281-4/+32
| | | | Notes: svn path=/head/; revision=23200
* Synced with the C example copyright. Cosmetic except for removingBruce Evans1997-02-283-18/+12
| | | | | | | clause 3, which was removed on 1996/08/03 in the C example. Notes: svn path=/head/; revision=23199
* Show where the version control id should go.Bruce Evans1997-02-281-0/+2
| | | | Notes: svn path=/head/; revision=23198
* Changed the example copyright to be closer to the ones that we actuallyBruce Evans1997-02-281-6/+5
| | | | | | | | | | use: - don't put [your name] on a a separate line. Most authors have shorter names than "The Regents of the University of California". - don't repeat [your name]. Notes: svn path=/head/; revision=23197
* Removed an obsolete test which prevented mouse movement from quitingKazutaka YOKOTA1997-02-283-21/+18
| | | | | | | | | screen saver. Added a missing `break' statement in set_normal_mode(). Reviewed by: sos Notes: svn path=/head/; revision=23194
* Synchronize with NetBSD/pc98 patch level 81.KATO Takenori1997-02-286-46/+62
| | | | | | | | Submitted by: Naofumi Honda <honda@Kururu.math.hokudai.ac.jp> Obtained from: NetBSD/pc98 patch level 81 Notes: svn path=/head/; revision=23192
* Add a missing period so that the -n option is display properlyMike Pritchard1997-02-281-2/+2
| | | | | | | | | in the man page output. Closes PR# 2831. Submitted by: Marc Slemko <marcs@znep.com> Notes: svn path=/head/; revision=23189
* Fixed the gcc ellipsis change to work with gcc-1.x.Bruce Evans1997-02-282-6/+10
| | | | Notes: svn path=/head/; revision=23184
* getnetbyaddr now takes an unsigned long as its first argument.Mike Pritchard1997-02-281-1/+1
| | | | Notes: svn path=/head/; revision=23180
* Oops! I accidently commited a change that wasn't ready for primeMike Pritchard1997-02-281-15/+0
| | | | | | | time yet. Revert to rev 1.2. Notes: svn path=/head/; revision=23179
* The struct vfsconf element vfc_index is now vfs_typenum.Mike Pritchard1997-02-282-2/+17
| | | | Notes: svn path=/head/; revision=23178
* Correct the xref section - it was incorrectly using .Fn insteadMike Pritchard1997-02-281-4/+4
| | | | | | | of .Xr for the xrefs. Notes: svn path=/head/; revision=23173
* Sync with the original.Hiroyuki Hanai1997-02-281-4/+4
| | | | Notes: svn path=/head/; revision=23170
* Functionalize some code that was repeated throughout the driver.Justin T. Gibbs1997-02-281-50/+77
| | | | | | | | | | | | | | | | | | | | | | | Fix a bug in the initialization of the busreset_args that left the B channel args unitialized and the A channel ones initialized to B's vales. Oops. If we get a NO_IDENT sequencer interrupt (the reconnecting target didn't issue an identify or botched it), reset the bus instead of panicing. We should be able to recover from this error. In the AWAITING_MSG handler, order messages by severity. Since the message we send is based on a flag on the SCB, it is possible, during error recovery, to get more than one flag set. This is fine since any time a new flag is set, it is meant to take us to a more draconian level of recovery. This also ensures that we don't lose any "history" of what the command has gone through. When we reset the bus, reset the "send ordered tag" bitmask. Clear some additional interrupt status when we perform a bus reset. Notes: svn path=/head/; revision=23169
* No longer clear all interrupt status when the sequencer is reset. The onlyJustin T. Gibbs1997-02-281-40/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | time that we really want to do this is when a bus reset causes the sequencer to be reset and the kernel driver now handles this case. Remove some reordering in the select2 routine that wasn't necessary. It was an experimental fix for a race condition I fixed elsewhere, and confused the code flow. Don't bother looping on a parity error in the mesgout loop since we can't see parity errors on out phases. Clean up the mesgin_identify code. In the old days, we "snooped" for tag messages and used this as an indicator of whether or not the target was using tagged transactions. This forced the sequencer to ack the identify before determining if a valid SCB matched the target meaning that an abort message to handle this case might not be seen before the target entered a data phase. Since we can determin the "tagged-ness" of a target by looking it up in the array of busy targets (recently introduced), we can determine this up front simplifying the search code as well as ensuring we can follow the SCSI specs method for rejecting a reselection. When an SCB is placed on the free list, set its SCB_TAG to SCB_LIST_NULL. This makes it much easier for the kernel driver to find active SCBs on the card during error recovery. Notes: svn path=/head/; revision=23168