Commit Graph

19887 Commits

Author SHA1 Message Date
jmg
d447abd487 make sure that the user supplied signals in struct vt_mode are actually
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
1997-03-01 23:53:46 +00:00
wollman
17f6cabecc Make ping -Wall clean (except for one warning).
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.
1997-03-01 20:19:18 +00:00
wosch
aedef92e17 Include copyright message from <sys/copyright.h> 1997-03-01 18:02:44 +00:00
bde
a9463ef521 Added some nfs #includes so that netboot compiles again. Lite2 made the
nfs includes even more order-dependent and less documented than before.
1997-03-01 17:59:04 +00:00
wosch
9108e06194 Include copyright message from <sys/copyright.h> 1997-03-01 17:49:09 +00:00
wosch
6499849bf4 Add Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de> for the locale
support.
1997-03-01 15:26:03 +00:00
wosch
39b10ebf20 Bugfix for man pages created by perlpod(1).
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-03-01 15:20:50 +00:00
joerg
cef9419ed3 Plug an old security hole: suidperl didn't honor MNT_NOSUID.
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.
1997-03-01 12:58:49 +00:00
kato
2e4d98572a Synchronize with sys/i386/conf/options.i386 revision 1.36. 1997-03-01 11:06:41 +00:00
kato
9a3f6d71c0 Synchronize with sys/i386/isa/syscons.c up to revision 1.204. 1997-03-01 10:53:07 +00:00
gibbs
4110226f3e When we perform an "automatic request sense", we issue an untagged command.
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.
1997-03-01 06:50:41 +00:00
ache
69a97aee66 Add missing #include <machine/segments.h> for ISPL and SEL_UPL macros 1997-03-01 05:44:09 +00:00
wosch
830686ba7c Add generic colldef for ISO-8859-2.
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>

Use '.for' loop from make(1), not sh(1) 'for' loops.
1997-03-01 00:28:08 +00:00
wosch
0c8bb06359 Copyright macros and FreeBSD copyright definition. 1997-02-28 23:32:02 +00:00
adam
293b0804c0 minor nit 1997-02-28 22:44:31 +00:00
wosch
7a822c7bd8 Add lt_LN.ISO_8859-2.src.
Use '.for' loop from make(1), not sh(1) 'for' loops.

Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-02-28 19:51:39 +00:00
fenner
a55ffe5697 Fix a comment and some commented-out code in ip_mloopback to
reflect how multicast loopback really works.
1997-02-28 19:40:48 +00:00
ache
48e0c6e052 Fix various overflows for items longer then menu width.
Fix cursor place after PgUp/PgDn.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1997-02-28 19:18:47 +00:00
wosch
b99a944e0c Create directory /etc/skel. 1997-02-28 18:23:14 +00:00
bde
bb8c550e8e Fixed a panic in nfs_writevp(). Lite2 provided a fix for a silly
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
1997-02-28 17:56:27 +00:00
wosch
6bb8692e45 add lt_LN.ISO_8859-1 1997-02-28 17:27:07 +00:00
bde
79efe64062 Removed nonexistent option PSM_NO_RESET. 1997-02-28 16:56:06 +00:00
bde
94f6104204 Fixed spelling error in a variable name. 1997-02-28 14:26:34 +00:00
jkh
6f4daada55 Merge from 2.2 (I keep forgetting that my /usr/src is no longer -current). 1997-02-28 14:20:57 +00:00
bde
48d8bb56ad Print function args in the current radix instead of always in hex.
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.
1997-02-28 12:36:18 +00:00
bde
525cc9a831 Added a copyright and restored order. 1997-02-28 10:14:24 +00:00
bde
129e9bbfe8 Synced with the C example copyright. Cosmetic except for removing
clause 3, which was removed on 1996/08/03 in the C example.
1997-02-28 10:09:09 +00:00
bde
ea979e9715 Show where the version control id should go. 1997-02-28 09:35:50 +00:00
bde
90f3dfd6d9 Changed the example copyright to be closer to the ones that we actually
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].
1997-02-28 09:24:11 +00:00
yokota
8c5727153b Removed an obsolete test which prevented mouse movement from quiting
screen saver. Added a missing `break' statement  in set_normal_mode().

Reviewed by: sos
1997-02-28 08:42:35 +00:00
kato
ebae6fad44 Synchronize with NetBSD/pc98 patch level 81.
Submitted by:	Naofumi Honda <honda@Kururu.math.hokudai.ac.jp>
Obtained from:	NetBSD/pc98 patch level 81
1997-02-28 08:34:06 +00:00
mpp
18a2196557 Add a missing period so that the -n option is display properly
in the man page output.  Closes PR# 2831.

Submitted by:	 Marc Slemko <marcs@znep.com>
1997-02-28 07:33:37 +00:00
bde
66d839e7a7 Fixed the gcc ellipsis change to work with gcc-1.x. 1997-02-28 07:12:34 +00:00
mpp
b0a4a0ba48 getnetbyaddr now takes an unsigned long as its first argument. 1997-02-28 06:28:53 +00:00
mpp
34021d3eb0 Oops! I accidently commited a change that wasn't ready for prime
time yet. Revert to rev 1.2.
1997-02-28 06:26:26 +00:00
mpp
d6d4380e84 The struct vfsconf element vfc_index is now vfs_typenum. 1997-02-28 06:22:29 +00:00
mpp
0462a72737 Correct the xref section - it was incorrectly using .Fn instead
of .Xr for the xrefs.
1997-02-28 05:46:19 +00:00
hanai
7243517ac2 Sync with the original. 1997-02-28 04:07:56 +00:00
gibbs
ecc0732f09 Functionalize some code that was repeated throughout the driver.
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.
1997-02-28 03:58:21 +00:00
gibbs
28f5afdb85 No longer clear all interrupt status when the sequencer is reset. The only
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.
1997-02-28 03:51:00 +00:00
hanai
91989f44e6 Sync with the original.
Submitted by: WATANABE tomoo <tomo@maple.elcom.nitech.ac.jp>
1997-02-28 03:24:54 +00:00
hanai
d21ba11b7e Sync with the original.
Submitted by: Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-02-28 03:23:57 +00:00
mpp
0527877004 The .Fx macro doesn't know about any of the 1.* FreeBSD releases. 1997-02-28 02:20:42 +00:00
bde
166500e69d Wrapped mi_switch() with splstatclock()/splx(). This fixes excessive
interrupt latency for certain cases involving for restarting stopped
processes.
1997-02-27 18:03:48 +00:00
bde
c7bf781727 Fixed loading of vfs's. The Lite2 merge added unnecessary compatibility
cruft and resulted in loading usually following a null pointer.  Use
something closer to the pre-Lite2 code, including not making a copy of
the new filesystem's config info.  Not making a copy also fixes a race
for loading and a memory leak for unloading.

Fixed unloading of vfs's.  maxvfsconf wasn't maintained.

Look up the vfs to unload by name instead of by number.  The numbers
should go away as soon as all mount utilities are converted.
1997-02-27 16:40:20 +00:00
bde
b19a6b276f Fixed Lite2 merge of spechash simplelocking. It was misplaced in
checkalias() and missing in vfinddev() and vcount().
1997-02-27 16:08:43 +00:00
bde
61157dd0d7 Removed a wrong LK_INTERLOCK flag. 1997-02-27 15:38:41 +00:00
wosch
151748e908 Add forgotten entries for Croatia
Pointed out by: ache
1997-02-27 12:22:25 +00:00
brian
9f7e600a0d Change my email address 1997-02-27 10:16:38 +00:00
hanai
2e900d9cc7 Sync with the original.
Submitted by: Yukinori Maeda <yuki@zephyr.elcom.nitech.ac.jp>
1997-02-27 07:47:11 +00:00