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.
David Greenman [Tue, 22 Mar 1994 02:02:25 +0000 (02:02 +0000)]
From mrl@teleport.com (Mostyn R. Lewis)
>PPP and SLIP users - deleting a route can be deadly!
>
>Yes this can cause a kernel page fault or random hang.
...
>you stand a good chance of a kernel page fault or a random hang because
>the routing table for default still has a pointer to the deleted kernel
>ifaddr structure. Depending on the re-use state of that memory you live
>or die. Death is caused by a function pointer dereference.
>
>A fix for this, in route.c (/usr/src/sys/net) is to scan the linked list
>of ifaddr entries for the interface to see if the pointer is still valid.
>The diffs for the fix are appended. There are two versions; mute and
>verbose. The verbose fix prints information the the system log to verify
>states.
Andrey Chernov [Tue, 22 Mar 1994 01:18:34 +0000 (01:18 +0000)]
for SLIPDISC:
nullmodem changed to ttymodem, in other case tsleep never awake
Andrey Chernov [Tue, 22 Mar 1994 01:16:06 +0000 (01:16 +0000)]
Sorry, backed out ttywflush removing, real place to fix is tty_conf.c
Andreas Schulz [Mon, 21 Mar 1994 22:44:42 +0000 (22:44 +0000)]
Catch a null pointer dereference. This should solve the problem reported
with the configure for xdvik and the other TeX configure scripts.
Andrey Chernov [Mon, 21 Mar 1994 22:19:56 +0000 (22:19 +0000)]
Add siostop to sioclose, because ttyflush called from
wrong places removed now.
Andrey Chernov [Mon, 21 Mar 1994 22:10:37 +0000 (22:10 +0000)]
Remove ttywflush from pppclose,
can cause dead hang in tsleep and don't really belongs here
Andrey Chernov [Mon, 21 Mar 1994 21:50:30 +0000 (21:50 +0000)]
Remove ttyflush from ttyclose,
it really belongs only to ttylclose, other than tty
disciplines must not touch t_out & t_raw or
dead tsleep hang can occurse.
Andrey Chernov [Mon, 21 Mar 1994 21:29:50 +0000 (21:29 +0000)]
Remove ttywflush from slclose, it cause
dead hang in tsleep when carier dropped.
Moreover, it is incorrect to deal anything with t_out & t_raw here
(like ttywflush does), we already change line discipline.
Andrey Chernov [Mon, 21 Mar 1994 21:12:55 +0000 (21:12 +0000)]
My previous changes was a bit incorrect in nullmodem() case, back them out.
Real place to fix is if_sl.c
Andreas Schulz [Mon, 21 Mar 1994 20:59:55 +0000 (20:59 +0000)]
Changed the raw partition number from 3 to 0. This change lets us use
/dev/mcd0a instead of /dev/mcd0d. This is more conforming to the /dev/cd0a
for the SCSI cdrom drives. It breaks the convention d the whole drive.
But the question is, do we really need partitions on cdrom drives ?
Andreas Schulz [Mon, 21 Mar 1994 20:48:52 +0000 (20:48 +0000)]
Makefile.i386:
put vers.o at the end of the loader line. We are simply jumping in the
moment into the first location of the text segment in 386bsd. So the
linking order is very important :-). With the addition of the const
types in newvers.sh we jumped into them. I have experimented with an
entry point specification, but was unsuccessfull. Someone else should
look at this.
devices.i386:
files.i386:
Added entries for a Sony cdrom driver.
Andrey Chernov [Mon, 21 Mar 1994 18:28:28 +0000 (18:28 +0000)]
wakeup t_out & t_raw for all carrier changes
to avoid dead tsleep
Andrey Chernov [Mon, 21 Mar 1994 15:18:27 +0000 (15:18 +0000)]
Increase default DTR wait time up to 3 secs.
Also hardw. specs says 2.5 secs is enough, many modems needs
at least 3 secs.
Andrey Chernov [Mon, 21 Mar 1994 15:13:20 +0000 (15:13 +0000)]
Remove bug with root filesystem on second floppy, fixed now
Andrey Chernov [Mon, 21 Mar 1994 15:02:47 +0000 (15:02 +0000)]
Now printf("changing root... indicates raw partition for floppy
f.e. fd1d
Andrey Chernov [Mon, 21 Mar 1994 14:53:08 +0000 (14:53 +0000)]
Fix printf for root system mounted on second floppy
Andrey Chernov [Mon, 21 Mar 1994 14:37:01 +0000 (14:37 +0000)]
Fix for root system mounted on second floppy
David Greenman [Mon, 21 Mar 1994 09:46:12 +0000 (09:46 +0000)]
Modified swap space allocation policy to be more conservative when
dealing with small objects. This is a first-cut change, and will likely
change again. Lowered size of 'window' of pages to watch ("MINSCAN")
in pageout daemon to 256, and fixed a minor bug that resulted in a benign
console message.
David Greenman [Mon, 21 Mar 1994 09:35:30 +0000 (09:35 +0000)]
Changed dynamic stack grow code to grow by "SGROWSIZ" amount. Initially
allocate SGROWSIZ amount of stack. Also set vm_ssize to the initial
stack VM size. Increased DFLSSIZ stack rlimit default to 8MB.
David Greenman [Mon, 21 Mar 1994 06:37:04 +0000 (06:37 +0000)]
previous optimization from John wasn't quite ready for primetime.
Garrett Wollman [Sun, 20 Mar 1994 21:30:38 +0000 (21:30 +0000)]
Oops, forgot to check in last bit of sleep() removal.
Andreas Schulz [Sun, 20 Mar 1994 21:22:04 +0000 (21:22 +0000)]
Added a forgotten htonl() in the last patch. It makes no difference
in the moment, but it looks better.
David Greenman [Sun, 20 Mar 1994 20:06:04 +0000 (20:06 +0000)]
Two fixes from John Dyson to fix hangs and panics when using ctrl-T:
1) tty.c: gather all the info about the processes before calling ttyprintf
(which may block).
2) syscons.c: handle asynchronous output properly (data structures may
be corrupted otherwise).
Guido van Rooij [Sun, 20 Mar 1994 18:51:49 +0000 (18:51 +0000)]
Moved ttyfree() to ifdef broken. See my reply on the sio change.
Andreas Schulz [Sun, 20 Mar 1994 18:17:11 +0000 (18:17 +0000)]
Adding the new filesystem types ( ISOFS, PROCFS, DEVFS ) into the
manual page. Changing the MOUNT_PC to MOUNT_MSDOS as the include file
uses it.
Andreas Schulz [Sun, 20 Mar 1994 18:04:18 +0000 (18:04 +0000)]
Next try to get a bug description about find and awk into the KNOWNBUGS.
Jordan K. Hubbard [Sun, 20 Mar 1994 12:35:42 +0000 (12:35 +0000)]
Remove redundant copies of err() and warn().
Rod Grimes [Sun, 20 Mar 1994 01:23:42 +0000 (01:23 +0000)]
Pull in changes just made to the BETA 1.1 branch for cd install floppy
support.
Garrett Wollman [Sun, 20 Mar 1994 00:33:06 +0000 (00:33 +0000)]
#ifdef'ed out definition of sleep() now that nothing uses it. This will
ensure that uses don't creep back in when nobody's looking.
Garrett Wollman [Sun, 20 Mar 1994 00:30:59 +0000 (00:30 +0000)]
Get rid of a nagging call to sleep() which crept back in.
Garrett Wollman [Sun, 20 Mar 1994 00:30:04 +0000 (00:30 +0000)]
Delete some references to sleep() that somehow crept in.
Jordan K. Hubbard [Sun, 20 Mar 1994 00:22:08 +0000 (00:22 +0000)]
Added comments on Buslogic controllers. Cleaned up some syntax.
Rod Grimes [Sun, 20 Mar 1994 00:12:38 +0000 (00:12 +0000)]
These are the installation and profile files from the 1.0 cdins*.flp
floppy images. Put in as they were in 1.0, about to change them to
work with 1.1.
Garrett Wollman [Sun, 20 Mar 1994 00:03:33 +0000 (00:03 +0000)]
Declare cpu_model, machine.
Garrett Wollman [Sat, 19 Mar 1994 23:58:58 +0000 (23:58 +0000)]
Added cpu_model and machine variables.
Garrett Wollman [Sat, 19 Mar 1994 23:41:17 +0000 (23:41 +0000)]
Declare ostype, osrelease, etc.
Garrett Wollman [Sat, 19 Mar 1994 23:40:24 +0000 (23:40 +0000)]
Define new osrelease, ostype, osbuild, osconfig variables with the
pre-broken-down information from version.
Jordan K. Hubbard [Sat, 19 Mar 1994 23:31:39 +0000 (23:31 +0000)]
As per Rod's wishes, man uses uid/gid 9 now.
Garrett Wollman [Sat, 19 Mar 1994 22:55:43 +0000 (22:55 +0000)]
Remove e-mail headers.
Jordan K. Hubbard [Sat, 19 Mar 1994 22:45:04 +0000 (22:45 +0000)]
Remove man group - no longer necessary (that was quick! :). I'll let Rod
pick the uid for the `man' user, since he staked a claim on that, but he'd
better not forget or the make install will break badly! :)
David Greenman [Sat, 19 Mar 1994 22:31:09 +0000 (22:31 +0000)]
Back out previous change to vm_page.h.
Jordan K. Hubbard [Sat, 19 Mar 1994 22:27:30 +0000 (22:27 +0000)]
No longer necessary to make catpages group write.
Jordan K. Hubbard [Sat, 19 Mar 1994 22:25:17 +0000 (22:25 +0000)]
Make man the default owner, don't bother with sgid.
Jordan K. Hubbard [Sat, 19 Mar 1994 22:24:48 +0000 (22:24 +0000)]
Correct pre-installation target.
David Greenman [Sat, 19 Mar 1994 22:24:40 +0000 (22:24 +0000)]
Check for error from VOP_BMAP(). Not doing so leads to very strange
results (panics) when the filesystem doesn't support bmap().
Garrett Wollman [Sat, 19 Mar 1994 22:19:11 +0000 (22:19 +0000)]
Added vfs_update_interval variable and UPDATE_INTERVAL configuration
parameter. (Normally this would go in param.c, but since I'll be
making this run-time configurable sometime soon, I'd just as soon not
move it.)
Jordan K. Hubbard [Sat, 19 Mar 1994 22:18:22 +0000 (22:18 +0000)]
Go to userid man, groupid bin for catpages (and uid/gid bin for man dirs)
Garrett Wollman [Sat, 19 Mar 1994 22:17:56 +0000 (22:17 +0000)]
More symtab space.
David Greenman [Sat, 19 Mar 1994 22:13:37 +0000 (22:13 +0000)]
vm_page_hold isn't quite up to handling the case where shared pages
are involved, so do the old thing until this is fixed.
Jordan K. Hubbard [Sat, 19 Mar 1994 22:02:35 +0000 (22:02 +0000)]
Mistake: Man files should not be group owned by man (only catfiles).
Engage brain, reverse commit.
Garrett Wollman [Sat, 19 Mar 1994 21:43:18 +0000 (21:43 +0000)]
Brain fart - wrong location for ansi.h.
Andrew Moore [Sat, 19 Mar 1994 07:37:22 +0000 (07:37 +0000)]
Upgrade to sendmail 8.6.8
Included Karl Strickland's CHOWN_RESTRICTED patch
Andrey Chernov [Fri, 18 Mar 1994 23:35:37 +0000 (23:35 +0000)]
Remove ttyfree from sioclose
Example:
Application use port cua01
Getty open ttyd1 (allocates rawq,outq,etc) and waits while application
done
Application quits, sioclose issued, ttyfree issued (getty calls revoke)
Getty awakes and goes to panic into initrb (NULL rawq)
Andreas Schulz [Fri, 18 Mar 1994 17:42:20 +0000 (17:42 +0000)]
Only format the last patch better with correct tabsettings.
Andreas Schulz [Fri, 18 Mar 1994 17:18:12 +0000 (17:18 +0000)]
Disabled the free of the tty structure. Else we have a very reproducable
panic, if you reboot the machine remote. The machine doesn't reboot but
hang until you type a key on the console. Then a panic happens in ttyinput.
The console interrupt is never switched off and the console driver
tries to write the character into the freed raw queue :-).
Maybe the same bug is lurking in syscons ?
Jordan K. Hubbard [Fri, 18 Mar 1994 14:08:57 +0000 (14:08 +0000)]
From: Keith Bostic <bostic@vangogh.CS.Berkeley.edu>
Here are the patches that make stty support vmin/vtime set
and display.
I'm not sure that reset should also handle this problem. (I
wouldn't mind if reset were to fix this, but I'd argue that it
should do a full "stty sane" then, not just add vmin/vtime to
what it already does.)
--keith
Andrey Chernov [Fri, 18 Mar 1994 13:40:01 +0000 (13:40 +0000)]
Some changes from Julian Stacey installed
Jordan K. Hubbard [Fri, 18 Mar 1994 13:38:56 +0000 (13:38 +0000)]
Fix memory leak.
Jordan K. Hubbard [Fri, 18 Mar 1994 11:58:47 +0000 (11:58 +0000)]
Change default MANGRP to `man'.
Jordan K. Hubbard [Fri, 18 Mar 1994 11:55:53 +0000 (11:55 +0000)]
Change group id to man
Jordan K. Hubbard [Fri, 18 Mar 1994 11:46:12 +0000 (11:46 +0000)]
Make man files group owned by man. Make cat dirs group write.
Jordan K. Hubbard [Fri, 18 Mar 1994 11:45:49 +0000 (11:45 +0000)]
Added a man group ID.
Rod Grimes [Fri, 18 Mar 1994 03:09:51 +0000 (03:09 +0000)]
>From Chris Christoph P. U. Kukulies kuku@acds.physik.rwth-aachen.de
Change references to we0 to be ed0 since the we driver is long gone.
David Greenman [Thu, 17 Mar 1994 23:07:19 +0000 (23:07 +0000)]
#ifdef KERNEL the include of systm.h, as vm_page.h is sometimes included
externally.
David Greenman [Thu, 17 Mar 1994 22:21:02 +0000 (22:21 +0000)]
Increased maximum protection for data segment to VM_PROT_ALL because
some (lisp) programs try to execute code out of it.
David Greenman [Wed, 16 Mar 1994 23:32:58 +0000 (23:32 +0000)]
Return EPERM if hard linking to a directory as required by POSIX. Pointed
out by Sean Eric Fagan.
Garrett Wollman [Wed, 16 Mar 1994 20:55:05 +0000 (20:55 +0000)]
Added recent changes by me and David.
Garrett Wollman [Wed, 16 Mar 1994 20:29:53 +0000 (20:29 +0000)]
Pollution control per bde.
Garrett Wollman [Wed, 16 Mar 1994 19:18:34 +0000 (19:18 +0000)]
Defined _POSIX_* to be one, rather than just empty.
Garrett Wollman [Wed, 16 Mar 1994 19:10:39 +0000 (19:10 +0000)]
Forgot to correct prototype of execve(). Now done.
Garrett Wollman [Wed, 16 Mar 1994 19:06:28 +0000 (19:06 +0000)]
Documented execve()'s action wrt SUGID, and corrected reference to and value of
NCARGS to ARG_MAX.
Garrett Wollman [Wed, 16 Mar 1994 19:01:10 +0000 (19:01 +0000)]
Documented new logic of set*id calls. Moved setuid.3 to setuid.2, since
everything there describes system calls. Moved setr[ug]id.c to compat-43;
it mgiht be better to remove them, since they don't actually do anything,
and the POSIX security model (such as it is) forbids changing the real ID
without simultaneously changing the effective and saved IDs.
Garrett Wollman [Wed, 16 Mar 1994 17:38:10 +0000 (17:38 +0000)]
Defined _POSIX_SAVED_IDS per bde and P1003.1.
Jordan K. Hubbard [Wed, 16 Mar 1994 13:05:31 +0000 (13:05 +0000)]
Make man sgid bin, not sgid AND suid. There is no reason to make man suid
bin since all you need to do is make the cat dirs group owned and writable
by bin - much less dangerous.
David Greenman [Wed, 16 Mar 1994 07:28:35 +0000 (07:28 +0000)]
Added call to setlogin().
David Greenman [Wed, 16 Mar 1994 05:54:08 +0000 (05:54 +0000)]
Increased VM_PAGEOUT_PAGE_COUNT from 4 to 6 pages. ...better all-around
number.
Andreas Schulz [Tue, 15 Mar 1994 20:49:09 +0000 (20:49 +0000)]
Catch the divide by zero bug earlier. If the drive give back
a zero cylinder and/or head count, set them and the sector count
to some fictious values. The same already happens if the request
sense is unsuccessfull.
Andrey Chernov [Tue, 15 Mar 1994 20:28:54 +0000 (20:28 +0000)]
Remove x-bit from regular msdos files to reflect real situation,
now x-bit mapped to hidden attribute.
So, 99% of your msdos files looks now rw-rw-rw-,
hidden msdos files and unix executable files into msdos filesys
looks now rwxrwxrwx.
When you boot DOS, unix executable files becomes hidden :-)
Garrett Wollman [Tue, 15 Mar 1994 18:51:23 +0000 (18:51 +0000)]
Deleted references to SPAGE and added SUGID. When the functionality of
SPAGE is re-implemented, that code should be re-activated.
Andrey Chernov [Tue, 15 Mar 1994 11:22:10 +0000 (11:22 +0000)]
Fix yet one security hole with overflowing bufer (and zeroing userid)
David Greenman [Tue, 15 Mar 1994 05:55:08 +0000 (05:55 +0000)]
Don't ever allow hard links to directories.
Garrett Wollman [Tue, 15 Mar 1994 04:02:32 +0000 (04:02 +0000)]
Added system call stubs for ntp_gettime and ntp_adjtime. These will
some day be documented.
Garrett Wollman [Tue, 15 Mar 1994 03:55:35 +0000 (03:55 +0000)]
Forgot to set SUGID in set-id exec.
Garrett Wollman [Tue, 15 Mar 1994 02:48:51 +0000 (02:48 +0000)]
Implement 4.4's SUGID flag, which keeps track of processes which
call set*id() (reset on exec()). Also, implement 4.4's logic for
setre[ug]id(), which is much simpler and closer to being the correct
behavior (given that we're stuck with setre[ug]id() for a variety of reasons).
Garrett Wollman [Tue, 15 Mar 1994 01:58:40 +0000 (01:58 +0000)]
Added David Mills' kernel NTP PLL code. The current version of NTP does
not yet speak to this code.
Andrey Chernov [Tue, 15 Mar 1994 00:30:06 +0000 (00:30 +0000)]
Fix server return code
Andrey Chernov [Tue, 15 Mar 1994 00:01:34 +0000 (00:01 +0000)]
Fix security hole:
change creat to open to correct security flaw involving symlinks
Andrey Chernov [Mon, 14 Mar 1994 23:54:34 +0000 (23:54 +0000)]
Fix two security holes:
1) IFS-related, don't bother us, because 'ash' don't use it
2) chown-related (instead of fchown).
Andreas Schulz [Mon, 14 Mar 1994 23:09:34 +0000 (23:09 +0000)]
Put a safety check in for the secsiz divide for the MB printf. Else
we get a panic integer divide fault in the kernel if the drive returns
a bogus zero secsize.
David Greenman [Mon, 14 Mar 1994 21:54:34 +0000 (21:54 +0000)]
Performance improvements from John Dyson.
1) A new mechanism has been added to prevent pages from being paged
out called "vm_page_hold". Similar to vm_page_wire, but
much lower overhead.
2) Scheduling algorithm has been changed to improve interactive
performance.
3) Paging algorithm improved.
4) Some vnode and swap pager bugs fixed.
Rod Grimes [Mon, 14 Mar 1994 19:20:45 +0000 (19:20 +0000)]
Add Russian site ftp.kiae.su
Andrey Chernov [Mon, 14 Mar 1994 18:52:14 +0000 (18:52 +0000)]
Checking l_close in unneeded (one of my previous fixes),
so back it out.
Garrett Wollman [Sat, 12 Mar 1994 00:59:33 +0000 (00:59 +0000)]
Fix from Bruce Evans; dup() would turn itself into dup2() bogusly
for fd values >= 64.
Steven Wallace [Fri, 11 Mar 1994 22:18:19 +0000 (22:18 +0000)]
Added explanation of EXCLUDE_<driver> options for sound drivers.
Steven Wallace [Fri, 11 Mar 1994 22:17:24 +0000 (22:17 +0000)]
Removed EXCLUDE_<driver> for sound drivers so that all sound drivers
are compiled into kernel. Users are referred to sound doc for info.
Steven Wallace [Fri, 11 Mar 1994 10:32:25 +0000 (10:32 +0000)]
Updated documentation for the sound drivers.