| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
the receipt interface in the correct way.
|
|
|
|
| |
Submitted by: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
|
|
|
|
|
| |
is PRU_DETACHed. This solves the problem that RSVP would not come up inm
raw mode if previously killed.
|
|
|
|
|
|
|
|
|
| |
when it is moved to an NFS filesystem from from another filesystem and /bin/mv
failed to set the file ownership during the move.
I believe that this bug is present in STABLE but I have not tested it. The fix
would be the same in STABLE even though the code has changed quite considerably
in CURRENT.
|
| |
|
|
|
|
|
|
|
| |
ended that fork() uses to determine the time that the process
started when calculating the elapsed time. This prevents the
ac_etime field in the accounting record from getting set to -1
if the process exists for a VERY short period of time.
|
|
|
|
| |
biodone().
|
|
|
|
| |
logic. Slightly simplified allocbuf().
|
| |
|
|
|
|
| |
except .depend and `version'.
|
| |
|
|
|
|
|
|
|
|
| |
displays at bootup
Reviewed by:
Submitted by: graichen@omega.physik.fu-berlin.de (Thomas Graichen)
Obtained from:
|
|
|
|
|
| |
Give names to the magic tty i/o sleep addresses and use them. This makes
it easier to remember what the addresses are for and to keep them unique.
|
|
|
|
|
|
| |
Clean up formatting for reserved and Talisman driver entries.
Fix d_select entry for unused driver.
|
|
|
|
|
|
| |
to be similar.
Submitted by: Bruce Evans
|
|
|
|
|
|
|
|
|
|
|
| |
ttwwakeup(). The conditions for doing the wakeup will soon become
more complicated and I don't want them duplicated in all drivers.
It's probably not worth making ttwwakeup() a macro or an inline
function. The cost of the function call is relatively small when
there is a process to wake up. There is usually a process to wake
up for large writes and the system call overhead dwarfs the function
call overhead for small writes.
|
|
|
|
|
| |
Move static termioschars() from a couple of drivers to tty.c. Now there
is only one copy of ttydefchars[].
|
|
|
|
|
| |
Nuke `symbolic sleep message strings'. Use unique literal messages so that
`ps l' shows unambiguously where processes are sleeping.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Temporarily nuke TS_WOPEN. It was only used for the obscure MDMBUF
flow control option in the kernel and for informational purposes
in `pstat -t'. The latter worked properly only for ptys. In
general there may be multiple processes sleeping in open() and
multiple processes that successfully opened the tty by opening it
in O_NONBLOCK mode or during a window when CLOCAL was set. tty.c
doesn't have enough information to maintain the flag but always
cleared it in ttyopen().
TS_WOPEN should be restored someday just so that `pstat -t' can
display it (MDMBUF is already fixed). Fixing it requires counting
of processes sleeping in open() in too many serial drivers.
|
|
|
|
| |
Fix races for FIONREAD, TIOCSTI and TIOCSTAT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Temporarily nuke TS_WOPEN. It was only used for the obscure MDMBUF
flow control option in the kernel and for informational purposes
in `pstat -t'. The latter worked properly only for ptys. In
general there may be multiple processes sleeping in open() and
multiple processes that successfully opened the tty by opening it
in O_NONBLOCK mode or during a window when CLOCAL was set. tty.c
doesn't have enough information to maintain the flag but always
cleared it in ttyopen().
TS_WOPEN should be restored someday just so that `pstat -t' can
display it (MDMBUF is already fixed). Fixing it requires counting
of processes sleeping in open() in too many serial drivers.
|
|
|
|
|
|
|
| |
the function returns. Also, moved lock into .bss and made minor cosmetic
changes.
Submitted by: Bruce Evans
|
|
|
|
|
|
|
| |
Don't put partial PARMRK escape sequences in the input queue. Use
MAX_INPUT = TTYHOG instead of TTYHOG directly for the maximum input
queue size. Don't use the bogus MAX_INPUT advertised in
<sys/syslimits.h>.
|
| |
|
|
|
|
|
|
|
|
| |
First of many changes required to restore lost stability to the tty
driver.
ECHONL is supposed to enable echoing of NL when ECHO is off, but it
enabled echoing of everything except NL.
|
|
|
|
|
| |
in ffs_vget(), and for the same reason: to prevent a race condition that
results in duplicate vnodes/NFSnodes being allocated.
|
|
|
|
|
|
|
|
| |
VBLK vnodes isn't adequate since all NFS nodes aren't locked, either. The
result is a race condition that would lead to duplicate buffers at the
same block offset.
Submitted by: John Dyson
|
|
|
|
|
|
| |
try allocate the same inode/vnode, causing a duplicate.
Submitted by: Matt Dillon, slightly reworked by me.
|
| |
|
| |
|
|
|
|
| |
expensive for "normal" use.
|
|
|
|
|
| |
This code change should allow certain Compaq machines with a 128K hole
at 16MB to work.
|
|
|
|
|
|
| |
variable underneath ip, "directed-broadcast".
Reviewed by: David Greenman
Obtained from: NetBSD, by Darren Reed.
|
|
|
|
|
|
|
|
|
|
| |
This is performed by using a line similar to:
controller scbus0 at ahc0 bus 1
to wire scbus0 to the second bus on an adaptec 2742T controller.
Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
|
|
|
|
|
|
| |
buses on multi-bus controllers. Currently only affects the 274xT controllers.
Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
|
|
|
|
| |
controller buses for multi-bus controllers.
|
|
|
|
|
|
| |
half-configure a point-to-point interface.
Submitted by: Jonathan M. Bresler <jmb@kryten.atinc.com>
|
|
|
|
|
|
|
| |
buffer resizing and caused a "newbuf" deadlock.
Reviewed by: John Dyson & David Greenman
Submitted by: Peter Wemm
|
| |
|
|
|
|
|
|
|
|
| |
emul code when compiling with "options KTRACE".
ktrsyscall() was expecting an array of integers, this was passing the
address of a structure containing an array of integers..
The cosmetic problem was that it was calling the "enter syscall"
trace hook twice - this looks like a cut/paste error/typo.
|
|
|
|
|
|
| |
2) Changed swap_pager internal interfaces to cope w/#1.
3) Eliminated object->copy as we no longer have copy objects.
4) Minor stylistic changes.
|
|
|
|
|
|
|
|
|
| |
Submitted by: Andrew McRae <andrew@mega.com.au>
Some initial commits from the pcmcia stuff, to make life easier for the
testers.
We will use the name "pccard" since that is really the buzzword at present.
|
|
|
|
| |
This can be used in libdisk to guess a better bios-geometry.
|
|
|
|
|
|
|
| |
notebooks where a powerfail condition (external power drop; battery
state low) is signalled by an NMI. Makes it beep instead of panicing.
Reviewed by: davidg
|
|
|
|
|
|
| |
file.
Submitted by: hsu@clinet.fi (Heikki Suonsivu)
|
|
|
|
|
|
|
|
|
| |
associated files.
Submitted by: leo@dachau.marco.de (Matthias Pfaller)
Not-obtained from: NetBSD. Instead sent directly to me by Matthias.
(Sorry, this is to prevent people from claiming i might have gotten
this from NetBSD. :)
|
|
|
|
| |
files that don't depend on the internals of <sys/tty.h>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
probes). Apart from there being no reason to set SCSI_NOSLEEP on every
tape command, this prevents controller drivers from sleeping when resources
are fully utilized causing unecessary "Oops not queued" errors. This is
only noticed for controllers that can run out of resources like the
27/2842 adaptec controllers. Before this fix, it is almost impossible to
perform extended tape operations if more than one scsi disk is on the
bus with the tape drive with these controllers. This does not address a
similar problem that could occur if devices are probed while other targets
are active since SCSI_NOSLEEP will still be set in that case.
|
| |
|