unix-history/.git
30 years agoMuch to my astonishment, packets in the loopback net were being
David Greenman [Sat, 15 Jan 1994 14:29:21 +0000 (14:29 +0000)]
Much to my astonishment, packets in the loopback net were being
forwarded - even though this is specifically disallowed in ip_canforward.
...fixed.

30 years agoFix bug when RB_LEN == 0 && VMIN == 0 too.
Andrey Chernov [Sat, 15 Jan 1994 01:36:38 +0000 (01:36 +0000)]
Fix bug when RB_LEN == 0 && VMIN == 0 too.

30 years agoSmall patch that was accidently overlooked...from Martin Renters.
David Greenman [Fri, 14 Jan 1994 16:45:06 +0000 (16:45 +0000)]
Small patch that was accidently overlooked...from Martin Renters.
Necessary for diskless operation.

30 years agoThis is a list of the changes to the vm system as of 14 Jan 94:
David Greenman [Fri, 14 Jan 1994 16:27:33 +0000 (16:27 +0000)]
This is a list of the changes to the vm system as of 14 Jan 94:

1) Upages are now in process address space.  They can be paged out when
the process is swapped out.  The majority of changes are in
vm_glue.c and pmap.c.  Upages are always recorded to be modified.

2) Page table pages are not high level vm wired except to insert pages
pte's into the pmap.  The pmap subsystem has a wiring mechanism of
its own now, and releases page table pages to the vm system when the
number of pages pointed to by the page table page drops to zero.
This mechanism allows the physical memory for process page tables
to be reclaimed for use by other processes during memory shortages.
The majority of changes are in trap.c, pmap.c, kern__physio.c,
procfs_subr.c.  Page table pages are never recorded to be modified.

3) Page table pages are faulted in by referring to the page table page
from kernel address space.  Temporary wiring of the page table page
is performed by removing the page from the inactive and active
queues.  This is much more efficient than many other techniques
(explicit vm_fault's.)

4) Pmap.c has major sections rewritten for efficiency.  String operations
are used when possible.  Also, pmap_remove (called often) has
been rewritten to be *much* more efficient.

5) Pmap_attributes has been removed.  The side effect of storing the
modified and used (referenced) bits is difficult to control.  Mods
have been made to the rest of the vm system to not assume carryover
of the modified bits.  It is believed that this fixes a problem
where pages were often written to the backing store unnecessarily.

6) Pageout queue management is *much* more efficient:

6a) Pages that are deactivated are removed from pmaps.  This allows the
system to fault immediately when a page is used again.  Thereby
providing LRU heuristics used in [6b].

6b) The active page queue is logically segmented into slices, and a
page has to be scanned as unused for multiple passes to be deactivated.
Pages that are used are placed immediately at the end of the active
queue, thereby deferring deactivation for a "long time".

6c) A limited form of biasing page inactivation towards processes exceeding
RSS limits has been included.  Hooks have been added to support hard
RSS limits that may be added in the future.

7) Vm_fault now supports pagers that can do multiple block input.  The
logic makes sure that the readahead/behind falls in the same object
and pager (used in [8] and [9].)  Readaheads/behinds are inhibited
under very low memory conditions.  It is left to the pager to decide
whether to actually perform the readahead/behind.

8) The swap_pager supports contiguous block allocations and multi-block
input can be peformed.

9) The vnode_pager bypasses the buffer-caching mechanism, thereby
conserving buffer cache and eliminating page memory copies under
most circumstances.  Also, the vnode_pager supports contiguous
readaheads/behinds.

10) The vm_object_collapse code has be improved significantly, and the
swap_pager allocations have been modified to support the improved
operation.  (This improves the swap space allocation problem.)
Under rare circumstances it is still possible to run into the
VM swap space deallocation problems related to the object
paging_in_progress flag, but a fix is in the works ( and is
relatively simple, but tedious.)

11) The swap space full condition is handled in a rather severe way.
If a process tries to allocate another page in its working
set when swap space is zero and no backing store exists, it is killed.
(I know that this is not good, but it is worse to hang the system.)

12) Because of the swap space being allocated in blocks, it is possible
for a page that is allocated on swap space to never be used.  An
optimization has been made to the swap pager to reclaim the space,
thereby almost eliminating internal fragmentation of the swap
blocks.

13) The algorithms associated with vm_pageout have been improved to
decrease significantly the amount of CPU time used.  (Wakeups
of the pageout daemon have been minimized.)
13a) vm_page_alloc woke-up the page daemon MUCH too often.
13b) the swap pager output completion woke-up the page daemon too often.
13c) the probability of a page at the beginning of a queue needing
to be (deactivated or freed) is higher

14) The system has been modified to support discontiguous allocation of
physical memory.  This allows use of memory below 640K when the kernel
is loaded at 1MB.  Now, the system is configured to load only at 1MB,
because the cost is minimal (1/4 page table page, instead of 640K) and
every kernel loads at the same address.

15) There now is an internal option to tune the location of the kernel in
the virtual address space.  Additionally, the default base kernel
virtual address is now 0xF0000000, moved from 0xFE000000, allowing
up to a 256MB kernel virtual address space.  Currently we support
a usable kernel address space of (60-1)MB (as determined by the actual
number of allocated kernel ptes (15).)  (Actually, now the kernel uses
virtual addresses starting at 0xF0100000 because it is loaded at
1MB.)

John Dyson
David Greenman

30 years ago"New" VM system from John Dyson & myself. For a run-down of the
David Greenman [Fri, 14 Jan 1994 16:26:06 +0000 (16:26 +0000)]
"New" VM system from John Dyson & myself. For a run-down of the
major changes, see the log of any effected file in the sys/vm
directory (swap_pager.c for instance).

30 years agoMake inetd a client of Poul-Henning Kamp's new config routines, plus
Jordan K. Hubbard [Fri, 14 Jan 1994 12:26:19 +0000 (12:26 +0000)]
Make inetd a client of Poul-Henning Kamp's new config routines, plus
fix some omissions in arg checking/reporting.  All changes from
Poul-Henning Kamp.

30 years agoAdd Poul-Henning Kamp's config routines.
Jordan K. Hubbard [Fri, 14 Jan 1994 12:24:39 +0000 (12:24 +0000)]
Add Poul-Henning Kamp's config routines.

30 years agoMore proper fix for for shared lib debugging support.
Jordan K. Hubbard [Fri, 14 Jan 1994 11:47:00 +0000 (11:47 +0000)]
More proper fix for for shared lib debugging support.

30 years ago1. Fix bug where duplicate symbol warnings were suppressed. This often
Jordan K. Hubbard [Wed, 12 Jan 1994 23:16:19 +0000 (23:16 +0000)]
1. Fix bug where duplicate symbol warnings were suppressed.  This often
   caued ld to `exit silently', to general confusion.

2. Add Gary Jennejohn's fix to support debugging of shared libraries.

30 years agoCommented out the global clean up that searched all file systems and
Rod Grimes [Wed, 12 Jan 1994 06:23:30 +0000 (06:23 +0000)]
Commented out the global clean up that searched all file systems and
added a note that you must decide what is appropriate for your system.

>From: borsburn@mcs.kent.edu (Bret Orsburn)
Date: Wed, 12 Jan 94 01:09:43 -0500
I've finally figured out (one of the reasons) why I can't run MS-Windows
after running FreeBSD 1.0...*sometimes*.

Here's your first clue. This is what your MS-Windows video drivers are called
if you run a Number 9 GXE video card:

    /dos/windows/system/#9gxetc.drv
    /dos/windows/system/#9gxe.drv

30 years agoModified the rule for f2c Fortran in gcc.c. Now the rule is called "f2c"
Wiljo Heinen [Wed, 12 Jan 1994 03:13:37 +0000 (03:13 +0000)]
Modified the rule for f2c Fortran in gcc.c. Now the rule is called "f2c"
instead of fortran_f2c(not even me could remember this). The rule also
handles the -N* options to f2c and no -pipe is needed.
Modified f77 to use -xf2c for *.i files, and link with -lf2c -lm for
executables. Removed the -pipe option to gcc.

30 years agoAdded -o option to rename C output file. This only works when Fortran
Wiljo Heinen [Wed, 12 Jan 1994 03:10:31 +0000 (03:10 +0000)]
Added -o option to rename C output file. This only works when Fortran
input is from a file, not stdin. Added some support for this in teh
parse function.

30 years agoAdded the support for the Toshiba ethernet cards. It is only
Andreas Schulz [Tue, 11 Jan 1994 23:28:21 +0000 (23:28 +0000)]
Added the support for the Toshiba ethernet cards. It is only
ifdef and not default, because, i don't know  if anyone else
is using this card.

30 years agoThrown out the obsolete drivers in the TODO list.
Andreas Schulz [Tue, 11 Jan 1994 21:28:29 +0000 (21:28 +0000)]
Thrown out the obsolete drivers in the TODO list.
Added the Toshiba board-id's into the if_edreg.h file and the different
checksum for the Toshiba ethernet-boards.

30 years agoUpdated YP code from Theo Deraadt taken from NetBSD. This code was written
Nate Willams [Tue, 11 Jan 1994 19:01:30 +0000 (19:01 +0000)]
Updated YP code from Theo Deraadt taken from NetBSD.  This code was written
by Theo Deraadt, and he deserves all the credit he can get from it.

30 years agoFrom ache:
Andrey Chernov [Tue, 11 Jan 1994 18:31:45 +0000 (18:31 +0000)]
From ache:
Choose older MULTIPORT version, because lastest bde version
not worked.
Don't force HUPCL for bidirectional case.
From bde:
Use bit (1 << (16 + 4)) in schedsoftcom() to avoid clash with
non-serial h/w on IRQ4.
Allow FIFO_TRIGGER in config.
Clear com->mcr_image when clearing mcr for init of 4port.  The
usual value MCR_IENABLE should have broken 4ports unless
something happened to clear it later.
Turn off interrupts as well as DTR after an error waiting for
carrier (bidir dialin case).
Drain fifo more carefully.
Don't hang up if debugging.
Rearrange siointr() -> siointr1() for multiport case for speed,
lower latency and clarity.
Use suser() to check perms.
Provide missing splx() after failed perms checks.
c_ispeed == 0 means c_ispeed = c_ospeed (POSIX).
Set parameters (except speed) for c_ospeed == 0 as well as
hanging up.
Better initialization for console (fifo stuff...).
Misc. cleanups.
Fix dead hang if modem power is off.

30 years agoFix ugly error in ttywait:
Andrey Chernov [Tue, 11 Jan 1994 18:09:36 +0000 (18:09 +0000)]
Fix ugly error in ttywait:
after starting t_oproc (comstart f.e)
length of output queue can be equal 0, but sleep started
in any way and may be forever!

30 years agoAdded the following so that people can have these built
Rod Grimes [Tue, 11 Jan 1994 08:06:49 +0000 (08:06 +0000)]
Added the following so that people can have these built
automatically if they like:
# This is for people who want to have src/ports, src/local built
# automatically.
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)
SUBDIR+= local
.endif
.if defined(MAKE_PORTS) & exists(ports) & exists(ports/Makefile)
SUBDIR+= ports
.endif

30 years agoAdd comment to MAX_SLOTS that it may need to be 16 and to check against
Rod Grimes [Tue, 11 Jan 1994 07:24:32 +0000 (07:24 +0000)]
Add comment to MAX_SLOTS that it may need to be 16 and to check against
EISA spec.  Fixed off by one error in ahbprobe so that it can find an
aha1742 in slot 8 (now uses slot <= MAX_SLOT, instead of slot < 8).

30 years agoCorrect Vresume size, we have now 32 bits for it.
Andrey Chernov [Mon, 10 Jan 1994 23:15:09 +0000 (23:15 +0000)]
Correct Vresume size, we have now 32 bits for it.

30 years agoAdded define __FreeBSD__ to gcc default defines.
Paul Richards [Mon, 10 Jan 1994 22:48:12 +0000 (22:48 +0000)]
Added define __FreeBSD__ to gcc default defines.

30 years agoFirst beta version of the 3C509 driver changed for FreeBSD. Known
Andreas Schulz [Mon, 10 Jan 1994 19:13:50 +0000 (19:13 +0000)]
First beta version of the 3C509  driver changed for FreeBSD. Known
problems in the moment are stray intr's in the ifconfig up/down.
No way to select all three interfaces on a combo card with
AUI/BNC/UTP interfaces and the performance doesn't look good.
Only tested with a ISA AUI/BNC card yet.

30 years agoCommitted the original NetBSD version of this driver to get the changes
Andreas Schulz [Mon, 10 Jan 1994 18:56:26 +0000 (18:56 +0000)]
Committed the original NetBSD version of this driver to get the changes
made for FreeBSD as cvs diffs. This is the 3C509 ethernet driver.

30 years agoNow enabled the line for the 3C509 driver.
Andreas Schulz [Mon, 10 Jan 1994 18:53:52 +0000 (18:53 +0000)]
Now enabled the line for the 3C509 driver.

30 years agoAdd callout device for bidirectional port
Andrey Chernov [Mon, 10 Jan 1994 18:11:30 +0000 (18:11 +0000)]
Add callout device for bidirectional port

30 years agoChanged a variable from short to int. The setting of bnc/aui does
Andreas Schulz [Mon, 10 Jan 1994 18:01:52 +0000 (18:01 +0000)]
Changed a variable from short to int. The setting of bnc/aui does
now function again.

30 years ago Removed the extra -O option and un-needed -I.. in CFLAGS.
Wiljo Heinen [Sun, 9 Jan 1994 23:29:30 +0000 (23:29 +0000)]
 Removed the extra -O option and un-needed -I.. in CFLAGS.

30 years agoI got the order of gcc and pipe wrong last time...
Wiljo Heinen [Sun, 9 Jan 1994 23:27:33 +0000 (23:27 +0000)]
I got the order of gcc and pipe wrong last time...

30 years agoI have a new adaptec 1542CF board bought, that has the board id of 0x45.
Andreas Schulz [Sun, 9 Jan 1994 18:11:21 +0000 (18:11 +0000)]
I have a new adaptec 1542CF board bought, that has the board id of 0x45.
Added it to the list of known boards and put it into the the list for
the mailbox unlock. Maybe all board-ids over 0x42 should be in the
mailbox unlock part ?

30 years agoActually install queue.h. Note that I've put it in /usr/include/queue.h,
Jordan K. Hubbard [Sun, 9 Jan 1994 17:00:11 +0000 (17:00 +0000)]
Actually install queue.h.  Note that I've put it in /usr/include/queue.h,
though BSD 4.4 seems to expect it in /usr/include/sys.  I do not understand
why you'd want it in sys since it's not system dependent (I.E. UNIX dependent)
so I've stuck it in /usr/include for now in hopes that my data on 4.4 is in
error.

30 years agoAdded lines for an Etherlink III ( 3C509 ) driver.
Andreas Schulz [Sun, 9 Jan 1994 13:30:50 +0000 (13:30 +0000)]
Added lines for an Etherlink III ( 3C509 ) driver.

30 years agoAdding a beginning of a ktrace.2 manual page.
Andreas Schulz [Sun, 9 Jan 1994 13:19:19 +0000 (13:19 +0000)]
Adding a beginning of a ktrace.2 manual page.

30 years agoMove "mount -a -t nfs" *after* network daemons,
Andrey Chernov [Sat, 8 Jan 1994 17:49:47 +0000 (17:49 +0000)]
Move "mount -a -t nfs" *after* network daemons,
must be at least after named & gated for proper name resolution.

30 years agoAfter some testing dma_pagesize reduced to 4096 for *both*
Andrey Chernov [Sat, 8 Jan 1994 16:48:35 +0000 (16:48 +0000)]
After some testing dma_pagesize reduced to 4096 for *both*
byte and word DMA channels, use bounce buffer now.

30 years agoAdd /var/at/jobs & /var/at/spool, remove /var/at/past
Andrey Chernov [Sat, 8 Jan 1994 16:07:19 +0000 (16:07 +0000)]
Add /var/at/jobs & /var/at/spool, remove /var/at/past

30 years agoatrun uncommented.
Andrey Chernov [Sat, 8 Jan 1994 15:07:43 +0000 (15:07 +0000)]
atrun uncommented.
atrun interval changed to 5 minutes.

30 years agoGreat speedup ttread, if !(ICANON | ISIG), from bde.
Andrey Chernov [Sat, 8 Jan 1994 12:09:47 +0000 (12:09 +0000)]
Great speedup ttread, if !(ICANON | ISIG), from bde.

30 years agoWhen a probe fails print a 'not found' line instead of nothing
Nate Willams [Sat, 8 Jan 1994 00:00:52 +0000 (00:00 +0000)]
When a probe fails print a 'not found' line instead of nothing

30 years agoFrom: swildner@channelz.GUN.de (Sascha Wildner)
David Greenman [Fri, 7 Jan 1994 11:10:42 +0000 (11:10 +0000)]
From: swildner@channelz.GUN.de (Sascha Wildner)

What follows are the changes I made to make XChess compile.  There are
still a couple of bugs left which maybe someone else will fix.

30 years agoRemove 'PROCFS' define, as it is no longer used. Also, I forgot to
David Greenman [Fri, 7 Jan 1994 10:55:37 +0000 (10:55 +0000)]
Remove 'PROCFS' define, as it is no longer used. Also, I forgot to
mention in the previous commit the source of the fix, it was:

Guy Helmer,
 Dakota State University Computing Services - ghelmer@alpha.dsu.edu

30 years ago> I hope I'm not bothering you with something you already know or have
David Greenman [Fri, 7 Jan 1994 10:45:23 +0000 (10:45 +0000)]
> I hope I'm not bothering you with something you already know or have
> fixed, but there's a little bug in libutil/kvm.c that's tickled by top,
> depending on whether the "PATCHED_KVM" flag is set in m_386bsd.c.  If
> David isn't working on kvm.c, maybe you'd be interested in this change
> (relative to the current kvm.c on freefall); without this change, top
> freaks out if it is compiled to call kvm_freeprocs():

30 years agoSCSIDUMP option no longer needed, it is now standard.
Rod Grimes [Thu, 6 Jan 1994 18:17:09 +0000 (18:17 +0000)]
SCSIDUMP option no longer needed, it is now standard.

30 years agosddump code is now standard, no more options SDDUMP needed in the kernel
Rod Grimes [Thu, 6 Jan 1994 18:08:03 +0000 (18:08 +0000)]
sddump code is now standard, no more options SDDUMP needed in the kernel
config file.
Fixed to not use pmap_enter as this causes side effects and other
problems like a page fault while trying to do the dump.

30 years agoFixed "free vnode isn't" panic in procfs that was caused by a missing
David Greenman [Thu, 6 Jan 1994 14:58:29 +0000 (14:58 +0000)]
Fixed "free vnode isn't" panic in procfs that was caused by a missing
refrence (via vget).

30 years agoAdded directories needed for at/atrun
Nate Willams [Thu, 6 Jan 1994 01:15:04 +0000 (01:15 +0000)]
Added directories needed for at/atrun

30 years agoSubmitted-By: bostic@cs.berkeley.edu (Keith Bostic)
Nate Willams [Wed, 5 Jan 1994 23:46:25 +0000 (23:46 +0000)]
Submitted-By: bostic@cs.berkeley.edu (Keith Bostic)
Archive-Name: queue/part01

  DESCRIPTION
     These macros define and operate on three types of data structures: lists,
     tail queues, and circular queues.  All three structures support the fol-
     lowing functionality:
           1.   Insertion of a new entry at the head of the list.
           2.   Insertion of a new entry after any element in the list.
           3.   Removal of any entry in the list.
           4.   Forward traversal through the list.

30 years agoSpelling and sentence structure fixes in comments. No functional
Nate Willams [Wed, 5 Jan 1994 20:11:49 +0000 (20:11 +0000)]
Spelling and sentence structure fixes in comments.   No functional
changes.

30 years agoFixed comment that refered to 8252 (we really have 8253's).
Rod Grimes [Wed, 5 Jan 1994 15:03:28 +0000 (15:03 +0000)]
Fixed comment that refered to 8252 (we really have 8253's).
Per some one on the mailing list.

30 years agoAdded dumps on wd0 to the end of all config lines so people know about it
Rod Grimes [Wed, 5 Jan 1994 14:56:50 +0000 (14:56 +0000)]
Added dumps on wd0 to the end of all config lines so people know about it
and can change it.  This really won't change the kernels, it just documents
how to do the dumps on option.

30 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Wiljo Heinen [Wed, 5 Jan 1994 03:50:04 +0000 (03:50 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

30 years agoCombined f2c library
Wiljo Heinen [Wed, 5 Jan 1994 03:50:04 +0000 (03:50 +0000)]
Combined f2c library

30 years agoDepending on SPLIT_F2C we either add libF77 and libI77 to SUBDIR or only
Wiljo Heinen [Wed, 5 Jan 1994 03:48:09 +0000 (03:48 +0000)]
Depending on SPLIT_F2C we either add libF77 and libI77 to SUBDIR or only
libf2c.

30 years agoDeleted some spurious CFLAGS. Added the deletd z_abs.c file under another
Wiljo Heinen [Wed, 5 Jan 1994 03:45:29 +0000 (03:45 +0000)]
Deleted some spurious CFLAGS. Added the deletd z_abs.c file under another
name.

30 years agoMade small changes to support our non-standard file fields. Got a
Wiljo Heinen [Wed, 5 Jan 1994 03:42:34 +0000 (03:42 +0000)]
Made small changes to support our non-standard file fields. Got a
BSD Makefile, removed checksums.

30 years agoReplaced makefile with BSD Makefile. Removed z_abs.c because we have
Wiljo Heinen [Wed, 5 Jan 1994 03:30:41 +0000 (03:30 +0000)]
Replaced makefile with BSD Makefile. Removed z_abs.c because we have
the functions in our math library. Changed function f_cabs in cabs.c
to call cabs(). Removed checksums.

30 years agoReplaced makefile with a BSD Makefile. Moved the unformatted man page
Wiljo Heinen [Wed, 5 Jan 1994 03:24:01 +0000 (03:24 +0000)]
Replaced makefile with a BSD Makefile. Moved the unformatted man page
to f2c.1. Removed an automatically generated file and a checksum file.

30 years agof2c libI77 from netlib.att.com Jan 4 1994
Wiljo Heinen [Wed, 5 Jan 1994 02:55:25 +0000 (02:55 +0000)]
f2c libI77 from netlib.att.com Jan 4 1994

30 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Wiljo Heinen [Wed, 5 Jan 1994 02:55:25 +0000 (02:55 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

30 years agof2c libF77 from netlib.att.com Jan 4 1994
Wiljo Heinen [Wed, 5 Jan 1994 02:54:34 +0000 (02:54 +0000)]
f2c libF77 from netlib.att.com Jan 4 1994

30 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Wiljo Heinen [Wed, 5 Jan 1994 02:54:34 +0000 (02:54 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

30 years agof2c from netlib.att.com Jan 4 1994
Wiljo Heinen [Wed, 5 Jan 1994 02:53:40 +0000 (02:53 +0000)]
f2c from netlib.att.com Jan 4 1994

30 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Wiljo Heinen [Wed, 5 Jan 1994 02:53:40 +0000 (02:53 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

30 years agoAdded f2c's include file.
Wiljo Heinen [Wed, 5 Jan 1994 02:46:13 +0000 (02:46 +0000)]
Added f2c's include file.

30 years agoAdded a rule for .f files to the compiler driver. The rules calls f2c and
Wiljo Heinen [Wed, 5 Jan 1994 02:41:28 +0000 (02:41 +0000)]
Added a rule for .f files to the compiler driver. The rules calls f2c and
gcc1. Also added a f77 script that is derived from g++, modified Makefile
to install new script.

30 years agoAdded .f.so rule for shared Fortran libraries. Changed RFLAGS to FFLAGS in the
Wiljo Heinen [Wed, 5 Jan 1994 02:29:48 +0000 (02:29 +0000)]
Added .f.so rule for shared Fortran libraries. Changed RFLAGS to FFLAGS in the
.f.o and .f.po rules.

30 years agoAdded at to Makefile
Nate Willams [Wed, 5 Jan 1994 01:11:34 +0000 (01:11 +0000)]
Added at to Makefile

30 years agoChanged reference from NetBSD to FreeBSD
Nate Willams [Wed, 5 Jan 1994 01:10:24 +0000 (01:10 +0000)]
Changed reference from NetBSD to FreeBSD

30 years agoAdded at/atrm/atq/batch from Linux as hacked by Chris Demetriou.
Nate Willams [Wed, 5 Jan 1994 01:09:14 +0000 (01:09 +0000)]
Added at/atrm/atq/batch from Linux as hacked by Chris Demetriou.

30 years agoAdded atrun to libexec makefile
Nate Willams [Wed, 5 Jan 1994 01:05:31 +0000 (01:05 +0000)]
Added atrun to libexec makefile

30 years agoModified Os string to be FreeBSD instead of NetBSD
Nate Willams [Wed, 5 Jan 1994 01:03:58 +0000 (01:03 +0000)]
Modified Os string to be FreeBSD instead of NetBSD

30 years agoAdded the Linux atrun command as hacked by Chris Demetriou for NetBSD.
Nate Willams [Wed, 5 Jan 1994 01:03:02 +0000 (01:03 +0000)]
Added the Linux atrun command as hacked by Chris Demetriou for NetBSD.

30 years agoAdded entry for new wd driver
Nate Willams [Wed, 5 Jan 1994 00:22:32 +0000 (00:22 +0000)]
Added entry for new wd driver

30 years agoWhoops, I committed an older version that didn't have some warnings fixed.
Nate Willams [Tue, 4 Jan 1994 20:20:38 +0000 (20:20 +0000)]
Whoops, I committed an older version that didn't have some warnings fixed.
This version fixes all warnings given the default compiler flags with some
casts.

30 years agoUpdated config files for new multi-controller wd.c driver and removed
Nate Willams [Tue, 4 Jan 1994 20:10:34 +0000 (20:10 +0000)]
Updated config files for new multi-controller wd.c driver and removed
outdated wx config file.

30 years agoRemoved wx driver hooks.
Nate Willams [Tue, 4 Jan 1994 20:09:28 +0000 (20:09 +0000)]
Removed wx driver hooks.

30 years agoRemoved wx driver hooks
Nate Willams [Tue, 4 Jan 1994 20:08:56 +0000 (20:08 +0000)]
Removed wx driver hooks

30 years agoTemporary hack to allow multiple controller support until Rod gets more
Nate Willams [Tue, 4 Jan 1994 20:06:30 +0000 (20:06 +0000)]
Temporary hack to allow multiple controller support until Rod gets more
time to do it the 'Right Way'.

30 years agoNew wd driver, based on Bruce Evans 'wx/altwd' driver which has passed
Nate Willams [Tue, 4 Jan 1994 20:05:26 +0000 (20:05 +0000)]
New wd driver, based on Bruce Evans 'wx/altwd' driver which has passed
enough tests to be considered more stable than current driver.

Lots of work by Bruce, David G., and Guido have gone into this version, and
more is to come in the future.

Support for multiple controllers is in, but doesn't work correctly with
different controllers (IDE AND MFM), but multiple alike controllers appears
to work.

Most of the stray interrupts problems should be fixed, although you will
get a couple 'extra interrupts' when disklabeling and on startup.

30 years agoAdd warning comment line (rm anything into /var/run)
Andrey Chernov [Tue, 4 Jan 1994 18:06:18 +0000 (18:06 +0000)]
Add warning comment line (rm anything into /var/run)

30 years agoAdd adjkerntz to track time zone change.
Andrey Chernov [Tue, 4 Jan 1994 17:50:25 +0000 (17:50 +0000)]
Add adjkerntz to track time zone change.

30 years agoMissing ipprintfs declaration added -- kernel doesn't
Andrey Chernov [Tue, 4 Jan 1994 17:47:13 +0000 (17:47 +0000)]
Missing ipprintfs declaration added -- kernel doesn't
compile with DIAGNOSTIC

30 years agoAdd (commented) stuff to make 'tcsh' 8-bit clean.
Andrey Chernov [Tue, 4 Jan 1994 17:29:58 +0000 (17:29 +0000)]
Add (commented) stuff to make 'tcsh' 8-bit clean.

30 years agoEntries put in earlier were completely and utterly wrong (temporary insanity).
Jordan K. Hubbard [Tue, 4 Jan 1994 04:38:17 +0000 (04:38 +0000)]
Entries put in earlier were completely and utterly wrong (temporary insanity).
Back them out and think some more.

30 years agoAdded additional magic numbers for new QMAGIC stuff.
Jordan K. Hubbard [Tue, 4 Jan 1994 00:06:25 +0000 (00:06 +0000)]
Added additional magic numbers for new QMAGIC stuff.

30 years agoUpdated man page to document new behaviour of -Z, -z and -Q flags.
Jordan K. Hubbard [Mon, 3 Jan 1994 23:52:35 +0000 (23:52 +0000)]
Updated man page to document new behaviour of -Z, -z and -Q flags.

30 years agoImplemented 'QMAGIC' a.out format correctly, and changed the default
David Greenman [Mon, 3 Jan 1994 18:35:54 +0000 (18:35 +0000)]
Implemented 'QMAGIC' a.out format correctly, and changed the default
output to be QMAGIC.

30 years agoYanked out history section as it is unlikely there will be any further
David Greenman [Mon, 3 Jan 1994 17:17:19 +0000 (17:17 +0000)]
Yanked out history section as it is unlikely there will be any further
changes for some time. Also changed the indentation style a little.

30 years agoIncreased maximum and default 'size' limits to more reasonable values.
David Greenman [Mon, 3 Jan 1994 16:00:52 +0000 (16:00 +0000)]
Increased maximum and default 'size' limits to more reasonable values.

30 years agoFixed a typo in the ktrace man page. Added a check for a signal SIGSYS
Andreas Schulz [Mon, 3 Jan 1994 10:22:03 +0000 (10:22 +0000)]
Fixed a typo in the ktrace man page. Added a check for a signal SIGSYS
into ktrace, that happens, if ktrace is not enabled in the kernel. So
that it no longer dumps simply a core for that.

30 years agoOnly use syscallmap if FM_TRAP or EX_TRAPSTK are defined.
David Greenman [Mon, 3 Jan 1994 08:10:47 +0000 (08:10 +0000)]
Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined.

30 years agoFix from John Dyson for potential lost wakeup. Note that this does not
David Greenman [Mon, 3 Jan 1994 07:58:07 +0000 (07:58 +0000)]
Fix from John Dyson for potential lost wakeup. Note that this does not
fix the problem reported by ATS regarding processes hanging on swread
sleep.

30 years agoMinor change to move setting of SP register to setregs() in machdep
David Greenman [Mon, 3 Jan 1994 07:56:43 +0000 (07:56 +0000)]
Minor change to move setting of SP register to setregs() in machdep

30 years agoConvert syscall to trapframe. Based on work done by John Brezak.
David Greenman [Mon, 3 Jan 1994 07:55:47 +0000 (07:55 +0000)]
Convert syscall to trapframe. Based on work done by John Brezak.

30 years agoPatches from John Brezak (necessary for the syscall->trapframe conversion
David Greenman [Mon, 3 Jan 1994 07:54:10 +0000 (07:54 +0000)]
Patches from John Brezak (necessary for the syscall->trapframe conversion
as well as add additional functionality):

Print symbolic args and line no's in stack traces.

30 years agoCorrected the if exists() stuff so that it looks for the necessary directories
Rod Grimes [Sun, 2 Jan 1994 22:52:29 +0000 (22:52 +0000)]
Corrected the if exists() stuff so that it looks for the necessary directories
in both the build environment (/usr/X386/includes and /usr/X386/lib), as
well as the necessary directories in the $DESTDIR environement (/usr/X386/bin,
/usr/X386/man/man1, and /usr/X386/lib/X11/app-defaults)

30 years agoThought about the sylog warning for the utmp size a little bit and
Andreas Schulz [Sun, 2 Jan 1994 16:53:47 +0000 (16:53 +0000)]
Thought about the sylog warning  for the utmp size a little bit and
commented it out now. The more typical user for FreeBSD system is a
user who reboots/boots his system more often and get this failures
unintentionally. This is only interesting for users, that are running
their system for long times. A change in the utmp size for the latter
indicates a possible problem, like a hacking has occured on it.

30 years agoTemporary plug CLOCAL security hole, while sticky bits
Andrey Chernov [Sun, 2 Jan 1994 10:17:29 +0000 (10:17 +0000)]
Temporary plug CLOCAL security hole, while sticky bits
yet not implemented. Only for bidirectional case.

30 years agotemporarily change protection of /proc to be group kmem and no world
David Greenman [Fri, 31 Dec 1993 17:42:57 +0000 (17:42 +0000)]
temporarily change protection of /proc to be group kmem and no world
access. the process files are changed to be world read. This must be this
way or ps/w et all will have to be setuid root (a security hole!).

30 years agoAdded y.tab.h to the CLEANFILES target.
Andreas Schulz [Fri, 31 Dec 1993 11:24:16 +0000 (11:24 +0000)]
Added y.tab.h to the CLEANFILES target.

30 years agoRemoved the bootstrapld target from the world target, this was not
Rod Grimes [Fri, 31 Dec 1993 09:02:25 +0000 (09:02 +0000)]
Removed the bootstrapld target from the world target, this was not
a very good idea in the first place.  To bootstrap the shared libraries
you now just do a ``cd /usr/src; make bootstrapld;''.  This should only
need to be done once to boot up the shared library code on a pre-sharedlib
system (or to fix one that is broken).

Commented out the chown/chmod of /usr/share/mk in the mk target, this
should not be needed.  Also the commented out block is not inside of
#if defined(CLOBBER) since it really was meant to be a CLOBBER operation.
Some time soon I will figure out how to install the mk files without
them already existing in /usr/share/mk and then reenable this block.

Fixed up target bootstrapld so that it is now a standalone target that
only needs to be called once to boot the shared library stuff up.  Now
depends on installing the required updated files:
bootstrapld: directories cleandist mk includes

Eliminated the .if !defined(NOBOOTSTRAPLD) that was used to disable
the bootstrapld stuff for normal make world, thus puts make world
back to it's old default behavior.

Added nm and ranlib to bootstrap ld makes, this fixes the bootstrapping
of 1.0.2 systems to -current, I also had to reorder a few things, like
we need the new ld (built -NOPIC so it can be built) to be made very early.
Also added -DNOPIC to a few others so that you can acutally rerun the
bootstrapld target on a shared lib system and it should  ``reboot'' the
system with out having to restore a bunch of binaries (untested, but in
theory this should make it work).

A few cosmetic cleanups to tabbing.