Geoff Rehmet [Wed, 6 Apr 1994 13:01:38 +0000 (13:01 +0000)]
/bin/sh read builtin causes sh to dump core if read is
used with either no args, or with an arg in the form "$var"
where var is not defined yet:
freefall:/home/csgr/cvswork/sh%sh
$ read
hi
Segmentation fault (core dumped)
freefall:/home/csgr/cvswork/sh%sh
$ read $foo
foobar
Segmentation fault (core dumped)
Paul Richards [Wed, 6 Apr 1994 08:28:56 +0000 (08:28 +0000)]
Don't try to clean out ex since it's a directory.
Andrey Chernov [Wed, 6 Apr 1994 02:50:06 +0000 (02:50 +0000)]
Now -ulogin passed to uucico
Nate Willams [Tue, 5 Apr 1994 23:05:42 +0000 (23:05 +0000)]
split -b dumps core if no count is given.
Garrett Wollman [Tue, 5 Apr 1994 22:09:33 +0000 (22:09 +0000)]
Previous fix didn't define rune_t like it should. Now it does.
Garrett Wollman [Tue, 5 Apr 1994 19:01:55 +0000 (19:01 +0000)]
Don't forget to install octype.h, rune.h, and runetype.h.
Garrett Wollman [Tue, 5 Apr 1994 18:52:11 +0000 (18:52 +0000)]
Document some of the latest changes from David&John.
Garrett Wollman [Tue, 5 Apr 1994 18:48:03 +0000 (18:48 +0000)]
Make stdlib.h in the non-ANSI case work.
Andrey Chernov [Tue, 5 Apr 1994 10:12:41 +0000 (10:12 +0000)]
o Clean up my previous fix per bde suggestion
o Move ptcwakeup before line close
o Make all ttysleep strings unique for debug purposes
Andreas Schulz [Tue, 5 Apr 1994 08:24:19 +0000 (08:24 +0000)]
Add that /usr/X386/lib is also in the default path for ldconfig. Bug found
by Satoshi Asami ( asami@cs.berkeley.edu ). Fixed also a minor typo
problem.
Andrey Chernov [Tue, 5 Apr 1994 07:14:48 +0000 (07:14 +0000)]
Russian locale template added
David Greenman [Tue, 5 Apr 1994 03:23:53 +0000 (03:23 +0000)]
from John Dyson:
1) fixed some bugs related to the bounce buffer code
2) vnode pager now supports clustered pageouts
3) experimental code for clustering all I/O via a new "cldisksort"
4) added >16MB check to Bustek driver
5) made some experimental algorithmic changes to the pageout daemon
6) fixed bugs in truncating mapped files (esp when mapped via NFS)
7) reorganized vnode pager I/O code
Garrett Wollman [Mon, 4 Apr 1994 21:13:55 +0000 (21:13 +0000)]
First pass at adding locale support. This code only deals with the LC_CTYPE
class of locale data, but could be extended to handle other locale
classes, as well as message catalogues and other non-locale i18n
support.
I have left the old _ctype_ array in place, and moved the ctype.h
header to octype.h, so that existing shared binaries will still be
able to find and use it as they require.
See /usr/src/share/locale for information on how to create new locale
data files (eventually this procedure will be improved). I'd like to
have a family of locale files for various countries, languages, and
character sets, so please contribute some.
This code was originally written by Paul Borman and contributed to
4.4; I did the integration, and have somewhat tested it. crt0.c
probably ought to call setlocale() if it doesn't already, but I'd like
for people to create some locale files and try things manually first
before I make every program do this.
Garrett Wollman [Mon, 4 Apr 1994 19:49:12 +0000 (19:49 +0000)]
Use setuid(geteuid()) rather than setruid(geteuid()); seems tto be the
right thing to do, as this program never un-renounces.
Garrett Wollman [Mon, 4 Apr 1994 19:33:58 +0000 (19:33 +0000)]
Added back setruid() and setrgiod(), but make them print an obnoxious
warning message whenever called. If our linker didn't have this support
broken, it would also print out a warning message at link time. The warning
message is:
warning: this program uses setruid, which doesn't do anything
(but used to)
Poul-Henning Kamp [Mon, 4 Apr 1994 17:27:45 +0000 (17:27 +0000)]
corrected pointer to sound.doc
Andrey Chernov [Sun, 3 Apr 1994 22:16:38 +0000 (22:16 +0000)]
This addition allows compilation with EXCLUDE_AUDIO
without compilation error.
Garrett Wollman [Sun, 3 Apr 1994 20:37:34 +0000 (20:37 +0000)]
Upgraded to Delaware version 3.3p (yes, that's right, they're not increasing).
This version still doesn't talk to the kernel PLL code, but you should be
able to convince it to do so relatively easily. Also deleted some junk
files and fixed all compilation warnings.
Garrett Wollman [Sun, 3 Apr 1994 19:50:51 +0000 (19:50 +0000)]
xntp 3.3p from Delaware
Garrett Wollman [Sun, 3 Apr 1994 19:50:51 +0000 (19:50 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Andrey Chernov [Sun, 3 Apr 1994 19:40:01 +0000 (19:40 +0000)]
Fix two bugs in slave ptys:
1) TS_WOPEN not cleared upon exit of ptsopen(), can cause
several problems with ttymodem stuff, etc. (minor bug)
2) TS_ISOPEN not cleared upon exit of ptsclose(), can cause
serious bug with inheritance of previous tty flags on next pty open.
F.e. somethimes triggered echo in telnetd.
Garrett Wollman [Sun, 3 Apr 1994 18:38:48 +0000 (18:38 +0000)]
Documented MAXMEM. Added warnings about certain options being subject to
extermination in the near future. Added a pre-formatted `options.doc' file so
Julian Stacey can stop complaining. Documented PANIC_REBOOT_DELAY or whatever
it's called. Documented UPDATE_INTERVAL. Deleted some old and bogus
option references.
Andrey Chernov [Sun, 3 Apr 1994 14:24:52 +0000 (14:24 +0000)]
Fix tty? entry in the same way like cua entry
Add error diagnotic about unknown device name
Andrey Chernov [Sun, 3 Apr 1994 12:25:57 +0000 (12:25 +0000)]
Add declaration missing from previous bde's version
Andrey Chernov [Sun, 3 Apr 1994 11:41:11 +0000 (11:41 +0000)]
CHANGES from Bruce:
---
This list of changes is in approximately chronological order (oldest first).
o Many cosmetic changes - renamed comintr1 -> siointr1, moved
things around and fixed whitespace.
o Reduced SLIP latency (FRAME_END hack) from 20-30 ms to 16 ms
at 115200 bps (you won't notice the average 10 ms improvement
on slow lines). ppp seems to use only counted transfers so
there's no similar hack available. It's too hard for the
driver to know the count.
o Temporary #ifdefs for new and old interrupt handling
(OLD_INTERRUPT_HANDLING decided by setsofttty() not being
externally defined.
o Don't test for the IIR_NOPEND bit being set - test for the
non-fifo part of the iir equalling it like the docs say to.
States with other IIR_NOPEND set in combination with the
other iir bits are undefined. The docs may be stupid - the
old test would not have broken when the fifo bits were
introduced.
o Noted more problems with DTR wait.
o Rewrote console stuff. Still some initialization and state
preservation problems. Same for kgdb stuff. The driver
doesn't do anything about the console close bug. It needs
to be fixed entirely in i386/cons.c. I like chmr's version
where the the console driver revectors the device open and
close routines.
o Temporary (?) #ifdefs for references to tty buffers.
o Noted further things to do in (2 comments about 3 places) for
phk's change to not touch RTS unless it is being used for flow
control.
o Temporary #ifdefs for timestamp handling. It needs fixing.
The microtime() call breaks the first rule of writing fast
interrupt handlers: NO calls to functions that might do slow
and bad things. microtime() enables interrupts. This turns
out to be only moderately harmful. Also, I want the timestamp
copy outside of the normal interrupt handler.
o Don't init com->tp early for the !DONT_MALLOC_TTYS case -
both sides are NULL.
o Worry about com->tp == NULL in siopoll. I don't see how you
survived the (incc <= 0 || !(tp->state & TS_ISOPEN)) test.
Perhaps early sttys or comcontrols set up the tp's for _all_
the ports before this code is reached.
Andrey Chernov [Sun, 3 Apr 1994 05:13:59 +0000 (05:13 +0000)]
Now cua handled like tty, i.e. name+3
Andrey Chernov [Sun, 3 Apr 1994 05:06:29 +0000 (05:06 +0000)]
Now cua handled like tty, i.e. name+3
Andrey Chernov [Sun, 3 Apr 1994 04:39:54 +0000 (04:39 +0000)]
Fix error in making cua entries for two multiports
(> 10 devices)
Garrett Wollman [Sun, 3 Apr 1994 00:28:10 +0000 (00:28 +0000)]
Add RCS Id to Makefile.
Garrett Wollman [Sun, 3 Apr 1994 00:27:38 +0000 (00:27 +0000)]
Added locale files and mklocale utility from Paul Borman's `runes'
library. Can't be enabled until the library itself is in libc.
Jordan K. Hubbard [Sun, 3 Apr 1994 00:16:36 +0000 (00:16 +0000)]
Barry Morris's (bsm@freefall) changes to su.
Jordan K. Hubbard [Sat, 2 Apr 1994 23:03:01 +0000 (23:03 +0000)]
Add a little extra sanity checking so that end profil requests
don't generate spurious faults. I'm not sure how long this has been broken,
but profiling sure won't work as it is before this patch.
Garrett Wollman [Sat, 2 Apr 1994 22:25:08 +0000 (22:25 +0000)]
Completely delete setr[ug]id, since they no longer do anything any more.
Bump shared-library minor version to reflect this change.
Garrett Wollman [Sat, 2 Apr 1994 22:15:18 +0000 (22:15 +0000)]
Document new interrupt code.
Andrey Chernov [Sat, 2 Apr 1994 20:43:25 +0000 (20:43 +0000)]
Change from Bruce:
isa_dmarangecheck() is off by one error.
> ISARAM_END should be >= ISARAM_END. Only the first page above 16M
was mishandled.
Jordan K. Hubbard [Sat, 2 Apr 1994 18:22:06 +0000 (18:22 +0000)]
Newsgroups: comp.unix.bsd
From: david@wubios.wustl.edu (David J Camp)
Subject: patch for FreeBSD man page
Organization: Division of Biostatistics, WUMS, St. Louis, MO
Date: Sat, 2 Apr 1994 15:15:52 GMT
I found a minor but confusing error in one of the FreBSD man pages.
Here is a patch: -David-
Jordan K. Hubbard [Sat, 2 Apr 1994 17:10:19 +0000 (17:10 +0000)]
Back out previous change.
David Greenman [Sat, 2 Apr 1994 08:39:20 +0000 (08:39 +0000)]
Changed _profiling back to profiling.
David Greenman [Sat, 2 Apr 1994 07:09:28 +0000 (07:09 +0000)]
Output *_imask instead of *mask.
David Greenman [Sat, 2 Apr 1994 07:01:04 +0000 (07:01 +0000)]
New interrupt code from Bruce Evans. In additional to Bruce's attached
list of changes, I've made the following additional changes:
1) i386/include/ipl.h renamed to spl.h as the name conflicts with the
file of the same name in i386/isa/ipl.h.
2) changed all use of *mask (i.e. netmask, biomask, ttymask, etc) to
*_imask (net_imask, etc).
3) changed vestige of splnet use in if_is to splimp.
4) got rid of "impmask" completely (Bruce had gotten rid of netmask),
and are now using net_imask instead.
5) dozens of minor cruft to glue in Bruce's changes.
These require changes I made to config(8) as well, and thus it must
be rebuilt.
-DG
from Bruce Evans:
sio:
o No diff is supplied. Remove the define of setsofttty(). I hope
that is enough.
*.s:
o i386/isa/debug.h no longer exists. The event counters became too
much trouble to maintain. All function call entry and exception
entry counters can be recovered by using profiling kernel (the new
profiling supports all entry points; however, it is too slow to
leave enabled all the time; it also). Only BDBTRAP() from debug.h
is now used. That is moved to exception.s. It might be worth
preserving SHOW_BITS() and calling it from _mcount() (if enabled).
o T_ASTFLT is now only set just before calling trap().
o All exception handlers set SWI_AST_MASK in cpl as soon as possible
after entry and arrange for _doreti to restore it atomically with
exiting. It is not possible to set it atomically with entering
the kernel, so it must be checked against the user mode bits in
the trap frame before committing to using it. There is no place
to store the old value of cpl for syscalls or traps, so there are
some complications restoring it.
Profiling stuff (mostly in *.s):
o Changes to kern/subr_mcount.c, gcc and gprof are not supplied yet.
o All interesting labels `foo' are renamed `_foo' and all
uninteresting labels `_bar' are renamed `bar'. A small change
to gprof allows ignoring labels not starting with underscores.
o MCOUNT_LABEL() is to provide names for counters for times spent
in exception handlers.
o FAKE_MCOUNT() is a version of MCOUNT() suitable for exception
handlers. Its arg is the pc where the exception occurred. The
new mcount() pretends that this was a call from that pc to a
suitable MCOUNT_LABEL().
o MEXITCOUNT is to turn off any timer started by MCOUNT().
/usr/src/sys/i386/i386/exception.s:
o The non-BDB BPTTRAP() macros were doing a sti even when interrupts
were disabled when the trap occurred. The sti (fixed) sti is
actually a no-op unless you have my changes to machdep.c that make
the debugger trap gates interrupt gates, but fixing that would
make the ifdefs messier. ddb seems to be unharmed by both
interrupts always disabled and always enabled (I had the branch in
the fix back to front for some time :-().
o There is no known pushal bug.
o tf_err can be left as garbage for syscalls.
/usr/src/sys/i386/i386/locore.s:
o Fix and update BDE_DEBUGGER support.
o ENTRY(btext) before initialization was dangerous.
o Warm boot shot was longer than intended.
/usr/src/sys/i386/i386/machdep.c:
o DON'T APPLY ALL OF THIS DIFF. It's what I'm using, but may require
other changes.
Use the following:
o Remove aston() and setsoftclock().
Maybe use the following:
o No netisr.h.
o Spelling fix.
o Delay to read the Rebooting message.
o Fix for vm system unmapping a reduced area of memory
after bounds_check_with_label() reduces the size of
a physical i/o for a partition boundary. A similar
fix is required in kern_physio.c.
o Correct use of __CONCAT. It never worked here for non-
ANSI cpp's. Is it time to drop support for non-ANSI?
o gdt_segs init. 0xffffffffUL is bogus because ssd_limit
is not 32 bits. The replacement may have the same
value :-), but is more natural.
o physmem was one page too low. Confusing variable names.
Don't use the following:
o Better numbers of buffers. Each 8K page requires up to
16 buffer headers. On my system, this results in 5576
buffers containing [up to]
2854912 bytes of memory.
The usual allocation of about 384 buffers only holds
192K of disk if you use it on an fs with a block size
of 512.
o gdt changes for bdb.
o *TGT -> *IDT changes for bdb.
o #ifdefed changes for bdb.
/usr/src/sys/i386/i386/microtime.s:
o Use the correct asm macros. I think asm.h was copied from Mach
just for microtime and isn't used now. It certainly doesn't
belong in <sys>. Various macros are also duplicated in
sys/i386/boot.h and libc/i386/*.h.
o Don't switch to and from the IRR; it is guaranteed to be selected
(default after ICU init and explicitly selected in isa.c too, and
never changed until the old microtime clobbered it).
/usr/src/sys/i386/i386/support.s:
o Non-essential changes (none related to spls or profiling).
o Removed slow loads of %gs again. The LDT support may require
not relying on %gs, but loading it is not the way to fix it!
Some places (copyin ...) forgot to load it. Loading it clobbers
the user %gs. trap() still loads it after certain types of
faults so that fuword() etc can rely on it without loading it
explicitly. Exception handlers don't restore it. If we want
to preserve the user %gs, then the fastest method is to not
touch it except for context switches. Comparing with
VM_MAXUSER_ADDRESS and branching takes only 2 or 4 cycles on
a 486, while loading %gs takes 9 cycles and using it takes
another.
o Fixed a signed branch to unsigned.
/usr/src/sys/i386/i386/swtch.s:
o Move spl0() outside of idle loop.
o Remove cli/sti from idle loop. sw1 does a cli, and in the
unlikely event of an interrupt occurring and whichqs becoming
zero, sw1 will just jump back to _idle.
o There's no spl0() function in asm any more, so use splz().
o swtch() doesn't need to be superaligned, at least with the
new mcounting.
o Fixed a signed branch to unsigned.
o Removed astoff().
/usr/src/sys/i386/i386/trap.c:
o The decentralized extern decls were inconsistent, of course.
o Fixed typo MATH_EMULTATE in comments. */
o Removed unused variables.
o Old netmask is now impmask; print it instead. Perhaps we
should print some of the new masks.
o BTW, trap() should not print anything for normal debugger
traps.
/usr/src/sys/i386/include/asmacros.h:
o DON'T APPLY ALL OF THIS DIFF. Just use some of the null macros
as necessary.
/usr/src/sys/i386/include/cpu.h:
o CLKF_BASEPRI() changes since cpl == SWI_AST_MASK is now normal
while the kernel is running.
o Don't use var++ to set boolean variables. It fails after a mere
4G times :-) and is slower than storing a constant on [3-4]86s.
/usr/src/sys/i386/include/cpufunc.h:
o DON'T APPLY ALL OF THIS DIFF. You need mainly the include of
<machine/ipl.h>. Unfortunately, <machine/ipl.h> is needed by
almost everything for the inlines.
/usr/src/sys/i386/include/ipl.h:
o New file. Defines spl inlines and SWI macros and declares most
variables related to hard and soft interrupt masks.
/usr/src/sys/i386/isa/icu.h:
o Moved definitions to <machine/ipl.h>
/usr/src/sys/i386/isa/icu.s:
o Software interrupts (SWIs) and delayed hardware interrupts (HWIs)
are now handled uniformally, and dispatching them from splx() is
more like dispatching them from _doreti. The dispatcher is
essentially *(handler[ffs(ipending & ~cpl)]().
o More care (not quite enough) is taken to avoid unbounded nesting
of interrupts.
o The interface to softclock() is changed so that a trap frame is
not required.
o Fast interrupt handlers are now handled more uniformally.
Configuration is still too early (new handlers would require
bits in <machine/ipl.h> and functions to vector.s).
o splnnn() and splx() are no longer here; they are inline functions
(could be macros for other compilers). splz() is the nontrivial
part of the old splx().
/usr/src/sys/i386/isa/ipl.h
o New file. Supposed to have only bus-dependent stuff. Perhaps
the h/w masks should be declared here.
/usr/src/sys/i386/isa/isa.c:
o DON'T APPLY ALL OF THIS DIFF. You need only things involving
*mask and *MASK and comments about them. netmask is now a pure
software mask. It works like the softclock mask.
/usr/src/sys/i386/isa/vector.s:
o Reorganize AUTO_EOI* macros.
o Option FAST_INTR_HANDLER_USERS_ES for people who don't trust
fastintr handlers.
o fastintr handlers need to metamorphose into ordinary interrupt
handlers if their SWI bit has become set. Previously, sio had
unintended latency for handling output completions and input
of SLIP framing characters because this was not done.
/usr/src/sys/net/netisr.h:
o The machine-dependent stuff is now imported from <machine/ipl.h>.
/usr/src/sys/sys/systm.h
o DON'T APPLY ALL OF THIS DIFF. You need mainly the different
splx() prototype. The spl*() prototypes are duplicated as
inlines in <machine/ipl.h> but they need to be duplicated here
in case there are no inlines. I sent systm.h and cpufunc.h
to Garrett. We agree that spl0 should be replaced by splnone
and not the other way around like I've done.
/usr/src/sys/kern/kern_clock.c
o splsoftclock() now lowers cpl so the direct call to softclock()
works as intended.
o softclock() interface changed to avoid passing the whole frame
(some machines may need another change for profile_tick()).
o profiling renamed _profiling to avoid ANSI namespace pollution.
(I had to improve the mcount() interface and may as well fix it.)
The GUPROF variant doesn't actually reference profiling here,
but the 'U' in GUPROF should mean to select the microtimer
mcount() and not change the interface.
Andrew Moore [Sat, 2 Apr 1994 06:19:12 +0000 (06:19 +0000)]
Renamed executable to avoid name-clash with directory
Andrey Chernov [Fri, 1 Apr 1994 18:33:12 +0000 (18:33 +0000)]
Replace CAPS led with ALTGR led for ALTGR mode (soft) keyboards,
currently affects only russian keyboard.
Andrey Chernov [Fri, 1 Apr 1994 16:47:01 +0000 (16:47 +0000)]
Change got_status/modem_status assignment per Bruce suggestion,
because inb clears modem status port.
Andrey Chernov [Fri, 1 Apr 1994 15:04:49 +0000 (15:04 +0000)]
Localize previous changes (removing dma_reset)
only for SB card, it seems that it breaks GUS at least.
Jordan K. Hubbard [Fri, 1 Apr 1994 13:11:01 +0000 (13:11 +0000)]
Fix from Gene for bogus destinations.
Jordan K. Hubbard [Fri, 1 Apr 1994 10:13:22 +0000 (10:13 +0000)]
Fix bug with ppp.h I introduced earlier. This should do it.
Andrey Chernov [Thu, 31 Mar 1994 20:54:25 +0000 (20:54 +0000)]
Tracker "swapping" problem finally solved,
all (expect one) dma_reset calls commented out.
David Greenman [Thu, 31 Mar 1994 14:11:02 +0000 (14:11 +0000)]
Minor performance improvements from J.T.Conklin and Charles Hannum.
David Greenman [Thu, 31 Mar 1994 11:06:29 +0000 (11:06 +0000)]
corrected comment.
Andrey Chernov [Thu, 31 Mar 1994 00:51:01 +0000 (00:51 +0000)]
Remove compilation warning in ttyinfo
Andreas Schulz [Wed, 30 Mar 1994 22:06:08 +0000 (22:06 +0000)]
Give an error if the "ident" is missing, instead of a core dump.
Error found by Poul-Henning Kamp/P-HK:
I just noticed in passing that if the 'ident' line was accidentially
commented out here on REF the config(1) program would coredump. I have no
time to hunt this one, I hope somebody else can/will chase it.
Garrett Wollman [Wed, 30 Mar 1994 20:37:52 +0000 (20:37 +0000)]
Move this directory, too.
Garrett Wollman [Wed, 30 Mar 1994 20:36:37 +0000 (20:36 +0000)]
Give these files the right owerships (first attempt didn't do that). Change
history isn't particularly important for these files.
Andrey Chernov [Wed, 30 Mar 1994 20:33:28 +0000 (20:33 +0000)]
Fix error with reducing speed on SB reset.
Andreas Schulz [Wed, 30 Mar 1994 19:22:00 +0000 (19:22 +0000)]
Added LDFLAGS to the build of rrestore, else we end with a shared lib
executable of it.
Andreas Schulz [Wed, 30 Mar 1994 18:37:41 +0000 (18:37 +0000)]
Added LDFLAGS to the initdeck build, so that a compile with NOSHARED?=YES
works.
Andreas Schulz [Wed, 30 Mar 1994 18:35:02 +0000 (18:35 +0000)]
Added LDFLAGS to the makedefs build, so that a compile with NOSHARED?=YES
works.
Jordan K. Hubbard [Wed, 30 Mar 1994 09:56:23 +0000 (09:56 +0000)]
Update this too.
Jordan K. Hubbard [Wed, 30 Mar 1994 09:38:20 +0000 (09:38 +0000)]
Add some missing files, rename NPPP to _NPPP to avoid name clash with the
kernel symbol denoting number of ppp devices.
Jordan K. Hubbard [Wed, 30 Mar 1994 09:31:44 +0000 (09:31 +0000)]
Update to pppd 2.0.4
David Greenman [Wed, 30 Mar 1994 02:47:13 +0000 (02:47 +0000)]
Eliminated the "physstrat" wart and merged it into kern_physio.c. This
patch also fixes a bug which causes a kernel VM leak.
David Greenman [Wed, 30 Mar 1994 02:31:26 +0000 (02:31 +0000)]
Eliminated the "physstrat" wart and merged it into kern_physio.c. This
patch also fixes a bug which causes a kernel VM leak.
David Greenman [Wed, 30 Mar 1994 02:22:00 +0000 (02:22 +0000)]
New routine "pmap_kenter", designed to take advantage of the special
case of the kernel pmap.
Jordan K. Hubbard [Tue, 29 Mar 1994 08:52:55 +0000 (08:52 +0000)]
Add comments about new gdb from Gary Jennejohn.
Andrew Moore [Tue, 29 Mar 1994 01:15:13 +0000 (01:15 +0000)]
Use tmac.s since we don't have tmac.sU.
Andrew Moore [Mon, 28 Mar 1994 20:07:39 +0000 (20:07 +0000)]
Change mmap(): MAP_PRIVATE to MAP_FILE|MAP_PRIVATE
Andrew Moore [Mon, 28 Mar 1994 11:18:26 +0000 (11:18 +0000)]
Upgrade to 1.11b.
Hacks:
ex_tag.c: mmap(MAP_FILE|MAP_PRIVATE) so tag stacks should now work.
Disabled support for NEXINIT environ var and .nexrc initialization files
(since EXINIT and .exrc are better known).
Changed the vi.1 and vi.ref acorrdingly.
Changed <sys/queue.h> --> <queue.h> in all files.
rm'd #include "compat.h" from all files.
Added #include "compat.h" to vi.h ONLY.
vi/compat.h contains only typedefs for u_int8_t et al.
Added vi/vi.1 so install works.
Changed Makefile accordingly.
Andrew Moore [Mon, 28 Mar 1994 10:58:00 +0000 (10:58 +0000)]
Upgrade to 1.11b.
Hacks:
ex_tag.c: mmap(MAP_FILE|MAP_PRIVATE) so tag stacks should now work.
Disabled support for NEXINIT environ var and .nexrc initialization files
(since EXINIT and .exrc are better known).
Changed the vi.1 and vi.ref acorrdingly.
Changed <sys/queue.h> --> <queue.h> in all files.
rm'd #include "compat.h" from all files.
Added #include "compat.h" to vi.h ONLY.
vi/compat.h contains only typedefs for u_int8_t et al.
Added vi/vi.1 so install works.
Changed Makefile accordingly.
Andrey Chernov [Sat, 26 Mar 1994 14:08:23 +0000 (14:08 +0000)]
Restore incorrectly removed splclock() on reading p_stime/p_utime
Andrey Chernov [Sat, 26 Mar 1994 13:40:18 +0000 (13:40 +0000)]
1) Better fix for false carrier detect on bidir port
2) ttyclose moved after comhardclose, because clears t_state
3) slpx(s) moved after l_open to prevent undetected carrier down
David Greenman [Sat, 26 Mar 1994 12:24:27 +0000 (12:24 +0000)]
minor formatting and comment changes; removed some old #if 0'd code.
David Greenman [Fri, 25 Mar 1994 22:26:22 +0000 (22:26 +0000)]
Patch from mrl@teleport.com (Mostyn R. Lewis), with the comment improved
by me:
Below is a fix to isofs_vnops.c in /usr/src/sys/isofs to make find traverse
directories in the usual way. The va_nlink field needs either to be correct,
i.e the number of directories and the path or else 1 to fool fts.
(Note that this is correct for non-RR FS, but needs to be re-done in the
presence of RR - but there isn't any higher level support for this yet.
-DG)
David Greenman [Fri, 25 Mar 1994 22:08:59 +0000 (22:08 +0000)]
ifdef KERNEL the pmap_kextract inline function; ps is unhappy otherwise.
Pointed out by Frank Terhaar-Yonkers <fty@vislab.epa.gov>.
Jordan K. Hubbard [Fri, 25 Mar 1994 15:27:46 +0000 (15:27 +0000)]
Leave comments in about 16MB ISA DMA in as public service, but describe
how bounce-buffers used in such cases. Remove comments about DTC3290 only
working with 16Mb of memory.
Andrey Chernov [Fri, 25 Mar 1994 15:14:35 +0000 (15:14 +0000)]
Fix bug with standouted last spaces
Andrey Chernov [Fri, 25 Mar 1994 15:10:50 +0000 (15:10 +0000)]
Fix false carrier detection on incoming bidir port.
Paul Richards [Fri, 25 Mar 1994 04:58:58 +0000 (04:58 +0000)]
Add /usr/X11R6/lib to the ldconfig path if it exists.
David Greenman [Thu, 24 Mar 1994 23:12:48 +0000 (23:12 +0000)]
From John Dyson: performance improvements to the new bounce buffer
code.
Andrey Chernov [Thu, 24 Mar 1994 22:23:51 +0000 (22:23 +0000)]
1) After discussion with Hannu, returning speed changed back.
Real problem fixed by my previous fix for SB 2.x
2) get_time function slightly modified to minimize possible
overflowing.
Garrett Wollman [Thu, 24 Mar 1994 21:57:50 +0000 (21:57 +0000)]
Document existewnce of bounce buffers.
David Greenman [Thu, 24 Mar 1994 21:57:38 +0000 (21:57 +0000)]
Minor corrections to the supported ethernet section.
David Greenman [Thu, 24 Mar 1994 02:23:00 +0000 (02:23 +0000)]
Enabled bounce buffers by default. This should be done via a probe for
the specific controller type, so this change is temporary.
Andrey Chernov [Wed, 23 Mar 1994 22:52:30 +0000 (22:52 +0000)]
For SB 2.x speed was reduced to 22050;
I already fix this bug in previous driver version,
but new driver update breaks my changes!
Andrey Chernov [Wed, 23 Mar 1994 21:58:59 +0000 (21:58 +0000)]
SPEED-related ioctls returns wrong speed cause Tracker's damage.
Andrey Chernov [Wed, 23 Mar 1994 19:27:52 +0000 (19:27 +0000)]
1) GET_TIME function completely broken
it returns time in microseconds instead of HZ
(feel difference!)
2) change GET_TIME type to unsigned long in all places to prevent overflow
Jordan K. Hubbard [Wed, 23 Mar 1994 18:50:57 +0000 (18:50 +0000)]
Something bogus happened here; not sure what or how.
Fixed.
Andrey Chernov [Wed, 23 Mar 1994 17:35:48 +0000 (17:35 +0000)]
tty/nullmodem "not open" printf ifdefed DIAGNOSTIC
Andrey Chernov [Wed, 23 Mar 1994 17:28:35 +0000 (17:28 +0000)]
1) Change dtrwait 300 to 3 * hz (to be more kosher)
2) Protect sioclose by spltty()
David Greenman [Wed, 23 Mar 1994 09:16:16 +0000 (09:16 +0000)]
Bounce buffers. From John Dyson with help from me.
Andrew Moore [Wed, 23 Mar 1994 04:36:59 +0000 (04:36 +0000)]
use umask 077 for buffer file
Andrey Chernov [Wed, 23 Mar 1994 01:58:30 +0000 (01:58 +0000)]
Set of changes from Bruce:
1) Macro CAN_DO_IO to replace all TS_CARR_ON || CLOCAL tests
2) Fix bug with clearing TS_ISOPEN in ttioctl.
3) New TS_ZOMBIE flag introduced: carrier dropped when !CLOCAL.
4) Add two debug printf's when tty/nullmodem called without open.
Andrey Chernov [Wed, 23 Mar 1994 00:05:25 +0000 (00:05 +0000)]
Add missing EXCLUDE_SBPRO
David Greenman [Tue, 22 Mar 1994 21:58:38 +0000 (21:58 +0000)]
Removed a disgusting wart that attempts to verify that the data in the
kernel namelist database is correct for the booted kernel.
Rationale for removal:
The most common cause of a DB inconsistancy is when a user boots a non-
default kernel. The DB version check catches this and then resorts to the
Removed a disgusting wart that attempts to verify that the data in the
kernel namelist database is correct for the booted kernel.
Rationale for removal:
The most common cause of a DB inconsistancy is when a user boots a non-
default kernel. The DB version check catches this and then resorts to the
"hard method" of reading the namelist directly (from the default kernel!)
and gets it wrong anyway, just a little slower.
This patch fixes the problem that was created when vers.o is no longer
linked first. It also gets rid of a really ugly hack that I submitted
back in the patchkit days.
David Greenman [Tue, 22 Mar 1994 21:56:48 +0000 (21:56 +0000)]
Removed a disgusting wart that attempts to verify that the data in the
kernel namelist database is correct for the booted kernel.
Rationale for removal:
The most common cause of a DB inconsistancy is when a user boots a non-
default kernel. The DB version check catches this and then resorts to the
"hard method" of reading the namelist directly (from the default kernel!)
and gets it wrong anyway, just a little slower.
This patch fixes the problem that was created when vers.o is no longer
linked first. It also gets rid of a really ugly hack that I submitted
back in the patchkit days.
Andrey Chernov [Tue, 22 Mar 1994 19:41:40 +0000 (19:41 +0000)]
First attempt to bring uucpd to work
1) compilation flags in Makefile fixed
2) Security leak fixed
3) cr/nl problem fixed
4) uucico path fixed
5) several minor bugs in uucpd fixed
6) added recognition of ^U
David Greenman [Tue, 22 Mar 1994 19:03:01 +0000 (19:03 +0000)]
Patch from piero@strider.st.dsi.unimi.it to quiet compiler warning.
Jordan K. Hubbard [Tue, 22 Mar 1994 16:43:59 +0000 (16:43 +0000)]
More detailed notes on just what's wrong with the Buslogic controllers
(and which ones).
Jordan K. Hubbard [Tue, 22 Mar 1994 11:50:34 +0000 (11:50 +0000)]
From: Andras Olah <olah@cs.utwente.nl>
Date: Tue, 22 Mar 94 10:14:44 +0100
Sender: freebsd-bugs-owner@freefall.cdrom.com
Precedence: bulk
Hi,
I'm not (yet ;-) very familiar with BSD but I found something in the
getty code what seems like a minor bug. I might be wrong. As I
understand it affects the processing of the options from
/etc/gettytab, so one might have problems if tries to set op or ap
in gettytab.
David Greenman [Tue, 22 Mar 1994 06:15:10 +0000 (06:15 +0000)]
From John Dyson: fixed bug in call to VOP_BMAP and handle NFS correctly
David Greenman [Tue, 22 Mar 1994 06:07:12 +0000 (06:07 +0000)]
From John Dyson: Improved swap space allocation method to handle small
allocations better, and reduce fragmentation.