Commit Graph

20618 Commits

Author SHA1 Message Date
Bruce Evans de09b61a0c Use device flags instead of options for serial console configuration
(see LINT).  There is a new low-level console type that is more suitable
for use with gdb-remote.

Fixed setting of speed at probe time for the serial console (if any).

Reviewed by:	dfr
1997-04-05 13:11:27 +00:00
Peter Wemm 44c1d774da Declare issetugid()
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3200
1997-04-05 13:03:15 +00:00
Doug Rabson e7927c1ec7 Support NFS cookies in VOP_READDIR, allowing ext2fs filesystems to be
exported via NFS.

2.2 candidate.
1997-04-05 12:23:44 +00:00
Jordan K. Hubbard 332da55046 Update run - try and use the correct release numbers for everything. 1997-04-05 08:38:48 +00:00
Poul-Henning Kamp 35e68428eb Recognize ZNYX 314 cards that have a MAC address with the low bit set. 1997-04-05 07:59:41 +00:00
Jordan K. Hubbard aa733cd0c5 YAMF22 1997-04-05 07:08:14 +00:00
Andrey A. Chernov f35381a000 Replace Sf/Sb with AF/AB for terminals with ANSI colors 1997-04-05 02:51:19 +00:00
Jordan K. Hubbard 6c0a2b9722 Implement dkstats for worm devices so they show up in iostat et al.
I got tired of not seeing my worm stats show up during a burn. :)
[Joerg, I just stapled in 1MB/sec for a bogus xfer rate and left seek = 1,
 as suggested - I'm not going to dynamically calculate the xfer rate from
 a known device spectable, OK? :-)]
Reviewed by:	joerg
1997-04-04 22:12:55 +00:00
Andrey A. Chernov b15443ba83 Speedup in case locale not used 1997-04-04 20:10:53 +00:00
Andrey A. Chernov b5a6eb1833 Speedup in case locale not used 1997-04-04 19:40:49 +00:00
Justin T. Gibbs 92fb126230 Add a 1ms delay in the XS_BUSY case. This is the same error code returned
for the QUEUE FULL condition.  This may help avoid wedging a device by
immediately requeeuing the transaction in this case.
1997-04-04 19:37:20 +00:00
Justin T. Gibbs 0f3a99aade Now that we use AAP, we have to explicitly unpause the sequencer when
queueing an abort SCB.
1997-04-04 19:36:04 +00:00
Justin T. Gibbs bb5d13ea1c Add missing Id that was lost when the sequencer file format changed. 1997-04-04 19:35:30 +00:00
Andrey A. Chernov 21d58869ce Speedup in case locale not used 1997-04-04 19:16:08 +00:00
Andrey A. Chernov 6a575f6e24 Eliminate some function calls when locale not used 1997-04-04 19:08:19 +00:00
Andrey A. Chernov ed2bf9a999 Eliminate yet one function call when locale not used 1997-04-04 19:07:02 +00:00
Andrey A. Chernov 5058254947 Speedup in case locale not used 1997-04-04 18:44:19 +00:00
Juli Mallett 8bb9171ccb This commit was generated by cvs2svn to compensate for changes in r24628,
which included commits to RCS files with non-trunk default branches.
1997-04-04 18:41:29 +00:00
Juli Mallett 836b9b6243 Import OpenBSD m4 as of today. 1997-04-04 18:41:29 +00:00
Andrey A. Chernov 350498c58e Speedup in case locale not used 1997-04-04 18:28:38 +00:00
Doug Rabson 4ba14e3a10 Fix various bugs in the locking protocol, allowing proper shared locks
to be used.  This should fix the lock panics that people are seeing.
1997-04-04 17:49:35 +00:00
Doug Rabson 42146e3747 [Previous comment was incorrect for these files]
Added calls to VFS lock debugging macros to make fixing filesystems' locking
easier.
1997-04-04 17:47:43 +00:00
Doug Rabson de15ef6aef Add a function vop_sharedlock which a copy of vop_nolock without the
implementation #ifdef out.  This can be used for now by NFS.  As soon
as all the other filesystems' locking is fixed, this can go away.

Print the vnode address in vprint for easier debugging.
1997-04-04 17:46:21 +00:00
Doug Rabson 754c6d3729 Add some debugging macros for tracing VFS locking bugs.
Declare (hopefully short-lived) vop_sharedlock.
1997-04-04 17:43:32 +00:00
KATO Takenori 30a6636553 Deleted <pc98/pc98/pc98_device.h>. 1997-04-04 16:44:52 +00:00
KATO Takenori 67c09274a3 Synchronize with sys/i386/isa/syscons.c revision 1.208. 1997-04-04 15:23:55 +00:00
KATO Takenori 1964ed8cde Synchronize with sys/i386/isa/wd.c revision 1.128. 1997-04-04 15:22:59 +00:00
Bruce Evans 9fa50de4c4 Fixed missing ${COPY} in install rule. 1997-04-04 15:09:42 +00:00
David Greenman 66141753e6 Killed unnecessary vp == NULL check after namei. 1997-04-04 09:06:20 +00:00
David Greenman a3cf6ebae3 Oops, only free component name buffer if namei() didn't. This bug has
been in here since I wrote the code 3 years ago! Thanks, Bruce!

Submitted by:	bde
1997-04-04 07:30:06 +00:00
Justin T. Gibbs f98b4a3bdc NOOP commit to correct the comment for the last commit:
Bump the timeout for an "ordered tag" recovery action from 1 to 5 seconds.

Remove the multiple timeout panic.  Its very easy to get into a situation
where a timedout command will time out a second time even though the
recovery code is working fine.  A good example is:

1) Command times out during recovery
2) reset the timeout for the command
3) Recovery actions complete and all transactions are requeued
4) second timeout fires off which puts us back into recovery bogusly
5) another transaction that timedout once during the first recovery action
   times out causing the panic.

In essence, the correct solution to the problem is to put every transaction
back up into the work queue and have their timeout handling done in the same
way that all commands are handled.  The CAM layer makes this easy, so it
will have to wait until then.
1997-04-04 04:21:43 +00:00
David Greenman 6d5a0a8c23 Various fixes:
1. imgp->image_header needs to be cleared for the bp == NULL && `goto
   interpret' case, else exec_fail_dealloc would free it twice after
   an error.

2. Moved the vp->v_writecount check in exec_check_permissions() to
   near the end.  This fixes execve("/dev/null", ...) returning the
   bogus errno ETXTBSY.  ETXTBSY is still returned for attempts to
   exec interpreted files that are open for writing.  The man page
   is very old and wrong here.  It says that ETXTBSY is for pure
   procedure (shared text) files that are open for writing or reading.

3. Moved the setuid disabling in exec_check_permissions() to the end.
   Cosmetic.  It's more natural to dispose of all the error cases
   first.

...plus a couple of other cosmetic changes.

Submitted by:	bde
1997-04-04 04:17:11 +00:00
Justin T. Gibbs 5ea0ae111d When not using SCB paging, we can always directly index the SCB of interest
either by looking it up in the array of pending, per target, untagged
transactions, or by using the tag value passed in during the identify.  The
old code only direct indexed for tagged transactions.  This makes the
"findSCB" routine only necessary when SCB paging is enabled, so appropriately
conditionalize it.  This greatly simplifies the non SCB paging code flow.
1997-04-04 04:09:29 +00:00
Mike Pritchard 1e97ca0116 Remove the etc-magic target since we no longer install the
/etc/magic symlink.
1997-04-04 02:42:53 +00:00
Mike Pritchard 9753286fae The magic file now lives in /usr/share/misc.
Closes PR# 3187.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
1997-04-04 02:41:01 +00:00
Andrey A. Chernov 95a3cdde39 Back out cd ${.CURDIR}, stale obj fault 1997-04-04 01:44:25 +00:00
David Greenman 8677f5094d Lose the vnode lock on a permissions failure.
Submitted by:	Tor Egge <Tor.Egge@idi.ntnu.no>
1997-04-04 01:30:33 +00:00
Mike Pritchard 9b99027472 Fix a typo that prevented the proper flag from being set
when USE_REFER is set.

Submitted by:	Sandro Sigala <ssigala@globalnet.it>
1997-04-04 01:25:32 +00:00
Mike Pritchard dfacdfe990 Document the -u option.
Forgotten by: guido
1997-04-04 00:49:35 +00:00
Brian Somers 42e9ba47f8 Make the default VERASE key the <-- key and remove root's
`stty's.  'nuff said.

Inventor:	joerg@FreeBSD.org
Reviewer:	sos@FreeBSD.org
1997-04-03 21:42:42 +00:00
Jordan K. Hubbard 66b368e835 Make all this work under -current again.
Submitted-By: Chuck Robey <chuckr@glue.umd.edu>
1997-04-03 13:44:59 +00:00
Wolfram Schneider 28fb62d30e Add manual page symlinks
YP.4 -> yp.4
	nis.4 -> yp.4
	NIS.4 -> yp.4
1997-04-03 12:32:42 +00:00
David E. O'Brien 39caadde7c Fix bug that can cuase a loop to become endless.
The bug is triggered by attempts to copy in (-i) a file which happens
to have zero length.
1997-04-03 11:24:59 +00:00
David E. O'Brien 3162fb1fe3 Bmake Makefile for building info files for GNU cpio. 1997-04-03 11:20:39 +00:00
David E. O'Brien 33ab7aea0d Bmake Makefiles for GNU cpio. 1997-04-03 11:20:09 +00:00
David E. O'Brien 579ff16bdc Make way for FreeBSD files with CPIO bits in src/contrib/cpio 1997-04-03 11:16:57 +00:00
David E. O'Brien a16c9bc3e6 FREEBSD-upgrade is now the "accpeted" name for the FreeBSD readme on
contributed soruces.
1997-04-03 10:47:21 +00:00
Darren Reed beec821495 Resolve conflicts created by import. 1997-04-03 10:47:12 +00:00
David E. O'Brien bcff1846f0 FreeBSD specific readme for contributed source.
(FREEBSD-upgrade is now the "accpeted" filename for this).
1997-04-03 10:45:21 +00:00
Darren Reed 992cd951e8 This commit was generated by cvs2svn to compensate for changes in r24586,
which included commits to RCS files with non-trunk default branches.
1997-04-03 10:39:35 +00:00