unix-history/.git
30 years agoQuick and dirty patch from Jordan to make symbolic links work. This patch
Rod Grimes [Mon, 25 Oct 1993 03:39:55 +0000 (03:39 +0000)]
Quick and dirty patch from Jordan to make symbolic links work.  This patch
just flushes them from the i node cache as soon as we are done with the
link.

30 years agoFix panic's caused by Paul Kranenburg's ufs_lockf patch by using
David Greenman [Mon, 25 Oct 1993 03:19:43 +0000 (03:19 +0000)]
Fix panic's caused by Paul Kranenburg's ufs_lockf patch by using
Mark Tinguely's fix instead. Old code left in with #ifdef PK_LOCKF_FIX
until this new patch can be tested more thoroughly (i.e. remove for
FreeBSD 1.1).

30 years agoRestore the $Id$ strings so that they work correctly.
Rod Grimes [Mon, 25 Oct 1993 03:12:32 +0000 (03:12 +0000)]
Restore the $Id$ strings so that they work correctly.

30 years agoAdd entries for getdomainname and setdomainname so that the system calls
Rod Grimes [Mon, 25 Oct 1993 03:11:30 +0000 (03:11 +0000)]
Add entries for getdomainname and setdomainname so that the system calls
get added to the c library and can be used by bin/domainname.

Add manual page and link for above.

The manaul page for uname.2 was not getting installed as it was not
listed int the Makefile.inc.

30 years agoFix for -a and -o not working as second argument on command line.
Rod Grimes [Mon, 25 Oct 1993 02:39:26 +0000 (02:39 +0000)]
Fix for -a and -o not working as second argument on command line.

From Andrew Moore.  Added tests to TEST.csh to check for that these
work now and in the future.

30 years agoReverted back to previous version because Bruce's patch is buggy.
David Greenman [Mon, 25 Oct 1993 02:02:51 +0000 (02:02 +0000)]
Reverted back to previous version because Bruce's patch is buggy.

30 years agoAdded bug notes for PAS users.
Jordan K. Hubbard [Sun, 24 Oct 1993 20:29:19 +0000 (20:29 +0000)]
Added bug notes for PAS users.

30 years agoFrom: Amancio Hasty Jr <hasty@netcom.com>
Jordan K. Hubbard [Sun, 24 Oct 1993 19:38:06 +0000 (19:38 +0000)]
From:    Amancio Hasty Jr <hasty@netcom.com>
Make sure calls to gus_voice_irq() are protected from interrupts.

30 years agoPropagated syscall changes for domainname calls.
Paul Richards [Sun, 24 Oct 1993 07:10:25 +0000 (07:10 +0000)]
Propagated syscall changes for domainname calls.

30 years agoAdded domainname to bin/Makefile.
Paul Richards [Sun, 24 Oct 1993 06:38:43 +0000 (06:38 +0000)]
Added domainname to bin/Makefile.

30 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Paul Richards [Sun, 24 Oct 1993 06:31:48 +0000 (06:31 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

30 years agoAdd domainname command to set yp domain.
Paul Richards [Sun, 24 Oct 1993 06:31:48 +0000 (06:31 +0000)]
Add domainname command to set yp domain.

30 years agoAdded set/getdomainname system calls.
Paul Richards [Sun, 24 Oct 1993 06:23:11 +0000 (06:23 +0000)]
Added set/getdomainname system calls.

30 years agoRemoved #define ISDEBUG from top of file, should be config option
Paul Richards [Sun, 24 Oct 1993 04:42:32 +0000 (04:42 +0000)]
Removed #define ISDEBUG from top of file, should be config option
to get debugging code compiled in.

Moved bpfilter.h out of ifdef'd code so it can be seen.

30 years agoChange ISOFSMNT_NORRIP to just MNT_NORRIP to reflect the change in
Rod Grimes [Sun, 24 Oct 1993 04:30:08 +0000 (04:30 +0000)]
Change ISOFSMNT_NORRIP to just MNT_NORRIP to reflect the change in
mount.h.

Remove the #define ISOFS that was used to enable ISOFSMNT_NORRIP since
this is now always defined under the new name MNT_NORRIP

30 years agoChange ISOFSMNT_NORRIP to just MNT_NORRIP to reflect the change in
Rod Grimes [Sun, 24 Oct 1993 04:29:08 +0000 (04:29 +0000)]
Change ISOFSMNT_NORRIP to just MNT_NORRIP to reflect the change in
mount.h.

30 years agoChage ISOFSMNT_NORRIP to just be MNT_NORRIP and remove #ifdef ISOFS protection
Rod Grimes [Sun, 24 Oct 1993 04:28:11 +0000 (04:28 +0000)]
Chage ISOFSMNT_NORRIP to just be MNT_NORRIP and remove #ifdef ISOFS protection
from it, the flag is reserved and should always be defined.

30 years agoMoved allocation of memory into is_attach so that malloc gets
Paul Richards [Sun, 24 Oct 1993 04:27:00 +0000 (04:27 +0000)]
Moved allocation of memory into is_attach so that malloc gets
called once when card is attached. Solved problem with driver
getting hosed when a reset takes place.

Removed init_block array -- now part of malloced memory. No more
static declarations left.

Added code so that debug ioctl actually does something.
ifconfig is0 debug will now switch on debugging code.

Other general cleanups.

30 years agoNeeded to bump symtab space even more (to 102452).
Jordan K. Hubbard [Sat, 23 Oct 1993 22:55:43 +0000 (22:55 +0000)]
Needed to bump symtab space even more (to 102452).

30 years agoMoved sound drivers from major 21 to major 30.
Jordan K. Hubbard [Sat, 23 Oct 1993 22:24:35 +0000 (22:24 +0000)]
Moved sound drivers from major 21 to major 30.

30 years agoEnable mpu401 driver.
Jordan K. Hubbard [Sat, 23 Oct 1993 22:21:00 +0000 (22:21 +0000)]
Enable mpu401 driver.

30 years agoEnabled all sound drivers by default.
Jordan K. Hubbard [Sat, 23 Oct 1993 22:20:47 +0000 (22:20 +0000)]
Enabled all sound drivers by default.

30 years agoFixed up to at least compile (can't test) properly for FreeBSD
Jordan K. Hubbard [Sat, 23 Oct 1993 22:13:42 +0000 (22:13 +0000)]
Fixed up to at least compile (can't test) properly for FreeBSD

30 years agoMoved sound driver from major 21 to major 30
Jordan K. Hubbard [Sat, 23 Oct 1993 22:13:08 +0000 (22:13 +0000)]
Moved sound driver from major 21 to major 30

30 years agoAdded notes for MPU-401
Jordan K. Hubbard [Sat, 23 Oct 1993 22:12:50 +0000 (22:12 +0000)]
Added notes for MPU-401

30 years agoAdd documentation on configuring the Linux sound driver.
Jordan K. Hubbard [Sat, 23 Oct 1993 21:22:45 +0000 (21:22 +0000)]
Add documentation on configuring the Linux sound driver.

30 years agoRemoved comments from LINT file, left small example for SoundBlaster
Jordan K. Hubbard [Sat, 23 Oct 1993 21:21:52 +0000 (21:21 +0000)]
Removed comments from LINT file, left small example for SoundBlaster
in its place and moved commentary into /sys/i386/doc/sound.doc

30 years agoMade kernel printf's more closely follow standard BSD convention.
Jordan K. Hubbard [Sat, 23 Oct 1993 21:11:49 +0000 (21:11 +0000)]
Made kernel printf's more closely follow standard BSD convention.

30 years agoCatch missing reassign to machine/soundcard.h
Jordan K. Hubbard [Sat, 23 Oct 1993 20:58:06 +0000 (20:58 +0000)]
Catch missing reassign to machine/soundcard.h

30 years agoPut the sound stuff in alpabetic order.
Rod Grimes [Sat, 23 Oct 1993 20:31:17 +0000 (20:31 +0000)]
Put the sound stuff in alpabetic order.

30 years agoFix from Yuval Yurom:
David Greenman [Sat, 23 Oct 1993 16:34:45 +0000 (16:34 +0000)]
Fix from Yuval Yurom:

there is a bug in unp_detach that can cause a "panic: closef < 0"
(comment in the patch):

 * Normally the receive buffer is flushed later,
 * in sofree, but if our receive buffer holds references
 * to descriptors that are now garbage, we will dispose
 * of those descriptor references after the garbage collector
 * gets them (resulting in a "panic: closef: count < 0").

30 years agosocket writes of negative values can cause bad things to happen in sosend
David Greenman [Sat, 23 Oct 1993 16:23:49 +0000 (16:23 +0000)]
socket writes of negative values can cause bad things to happen in sosend
- fix by testing for negative value and returning EINVAL.  This bug is
often excercised with the talk program.

if the MSG_PEEK flag was set and an oobmark condition is true, the
condition wasn't being properly handled.

30 years agoVerify that rootfs is non-zero before using it - otherwise it is possible
David Greenman [Sat, 23 Oct 1993 16:02:54 +0000 (16:02 +0000)]
Verify that rootfs is non-zero before using it - otherwise it is possible
to dereference a null pointer in sync().
fix a bug where a race condition with two parallel renames can cause
a "panic: vrele: null vp".

30 years agoNew snd*) target for making driver entries for new sound driver.
Jordan K. Hubbard [Sat, 23 Oct 1993 10:58:51 +0000 (10:58 +0000)]
New snd*) target for making driver entries for new sound driver.

30 years agoThis is the Linux generic soundcard driver, version 1.0c. Supports
Jordan K. Hubbard [Sat, 23 Oct 1993 10:55:52 +0000 (10:55 +0000)]
This is the Linux generic soundcard driver, version 1.0c.  Supports
SBlaster/Adlib/ProAudio Spectrum/Gravis/etc cards.  This is a BETA test
driver, please test it and get back to me!

30 years agoSoundcard driver include file (/usr/include/machine/soundcard.h)
Jordan K. Hubbard [Sat, 23 Oct 1993 10:50:21 +0000 (10:50 +0000)]
Soundcard driver include file (/usr/include/machine/soundcard.h)

30 years agoNew soundcard driver at major device 21
Jordan K. Hubbard [Sat, 23 Oct 1993 10:49:24 +0000 (10:49 +0000)]
New soundcard driver at major device 21

30 years agoAdd config + files information for new Linux soundcard driver
Jordan K. Hubbard [Sat, 23 Oct 1993 10:49:01 +0000 (10:49 +0000)]
Add config + files information for new Linux soundcard driver

30 years agoFixed 'mkdep -p' to work
Nate Willams [Sat, 23 Oct 1993 08:29:50 +0000 (08:29 +0000)]
Fixed 'mkdep -p' to work

30 years agoRemoved un-necessary dependencies for assym.s
Nate Willams [Sat, 23 Oct 1993 08:28:17 +0000 (08:28 +0000)]
Removed un-necessary dependencies for assym.s

30 years agoReverted back to older version of ./genassym, instead of ./genassym.o
Nate Willams [Sat, 23 Oct 1993 06:46:24 +0000 (06:46 +0000)]
Reverted back to older version of ./genassym, instead of ./genassym.o
since make depend wasn't picking up any new dependencies.  However, due
to a bug in the old code, the original dependencies weren't being used, so
this version is better than the original and the lastest version.
(And is more readable as well)

30 years ago * Revision 2.11 1993/10/23 04:21:03 davidg
David Greenman [Sat, 23 Oct 1993 04:52:41 +0000 (04:52 +0000)]
 * Revision 2.11  1993/10/23  04:21:03  davidg
 * Novell probe changed to be invasive because of too many complaints
 * about some clone boards not being reset properly and thus not
 * found on a warmboot. Yuck.
 *
 * Revision 2.10  1993/10/23  04:07:12  davidg
 * increment output errors if the device times out (done via watchdog)
 *
 * Revision 2.9  1993/10/23  04:01:45  davidg
 * increment input error counter if a packet with a bad length is
 * detected.

30 years agoFix parsing of ranges.
J.T. Conklin [Fri, 22 Oct 1993 22:59:12 +0000 (22:59 +0000)]
Fix parsing of ranges.

30 years agoFrom Bruce Evans:
David Greenman [Fri, 22 Oct 1993 11:03:50 +0000 (11:03 +0000)]
From Bruce Evans:
4. sleep(1) sometimes slept less than 1 sec.  usleep(10000) slept as
little as 1 usec + syscall time.

This was because of incorrect rounding in hzto().  It is necessary to
round up instead of down, and then add 1 tick to allow for the current
tick finishing very soon.

hzto() did too much at splhigh().  It assumed that tick / 1000 is
integral.  It was unecessarily inaccurate for large time differences.

Here is a fix for hzto().

30 years agoFrom Andrew Chernov:
David Greenman [Fri, 22 Oct 1993 02:49:34 +0000 (02:49 +0000)]
From Andrew Chernov:

(see changes to getty which this patch is part of)

Basically, a few of the tty flags were changed to work better with
'CRT's, and the flags are better documented (documentation from Bruce
Evans).

30 years ago>From: Scott Mace <smace@freefall.cdrom.com>
Rod Grimes [Thu, 21 Oct 1993 23:36:21 +0000 (23:36 +0000)]
>From: Scott Mace <smace@freefall.cdrom.com>
Date: Thu, 21 Oct 1993 16:03:45 -0700 (PDT)

The Makefile in /usr/src is wrong.  It says setenv NOPROFILED to not
build profiled libaries you have to setenv NOPROFILE for it to work.

30 years agoFix problem where exitcode is set to 1, causing some invoking programs to get
Jordan K. Hubbard [Thu, 21 Oct 1993 18:11:46 +0000 (18:11 +0000)]
Fix problem where exitcode is set to 1, causing some invoking programs to get
upset when a file is left unedited.

30 years agoChange space to tab in ruserd line per Guido van Rooij
Rod Grimes [Thu, 21 Oct 1993 17:34:32 +0000 (17:34 +0000)]
Change space to tab in ruserd line per Guido van Rooij

30 years agoMake whatisdb after the whole system is installed, since the one in
Rod Grimes [Thu, 21 Oct 1993 17:33:43 +0000 (17:33 +0000)]
Make whatisdb after the whole system is installed, since the one in
share/man will only create entries for manual pages that have been
installed up to that point.

30 years agomagic and ignorecase options are now recognized if compiled with
Andrew Moore [Thu, 21 Oct 1993 10:03:54 +0000 (10:03 +0000)]
magic and ignorecase options are now recognized if compiled with
the REGEXP directive - this was causing ctags to not find
functions returning pointers (e.g., char *hello())

30 years agoIndex: test FreeBSD-current
Rod Grimes [Wed, 20 Oct 1993 22:32:36 +0000 (22:32 +0000)]
Index: test FreeBSD-current
Reference: FreeBSD-current/test/4

Description:
The bugfiler was broken due to some one publishing the address
FreeBSD-bugs@freefall as a mailing list.  To correct that I
disabled the bugfiler and made this address a mailing list!

I have now set up FreeBSD-bugfiler@freefall.cdrom.com to be
the bugfiler mailing address and am about to commit the changes
to the bugfiler code to make it work with this address.

The code is in place and working on freefall now.  This message
should automatacally get forwarded to the FreeBSD-bugs address
after it has been filed so that the team is aware of all bugfiler
bug reports.

This is also a good sample of what a REAL bug report should look like.

Repeat-By:
Get the new sources to bug filer after I commit them and
start using it!

Fix:
Change the bugfiler code to use the new address, and fix the
set up in /etc/aliases on freefall to work with these new addresses.

30 years agoReplaced instructions with immediate operands with compatible alternatives
J.T. Conklin [Wed, 20 Oct 1993 17:37:41 +0000 (17:37 +0000)]
Replaced instructions with immediate operands with compatible alternatives
saving a few bytes while the cycle count remains the same.

30 years ago>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Rod Grimes [Wed, 20 Oct 1993 15:49:02 +0000 (15:49 +0000)]
>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Date: Wed, 20 Oct 1993 18:28:44 +0300

Editors Note:
Line ended with comma (``,'') instead of semicolon (``;''),
this should not have effected the code.
Submitter made no comments other than it was ``simple''.

30 years agoFrom Andrew Chernov (ache@astral.msk.su):
David Greenman [Wed, 20 Oct 1993 09:03:44 +0000 (09:03 +0000)]
From Andrew Chernov (ache@astral.msk.su):
(note that #1 was not committed -DLG)

Fixed bugs list:

1) TIOCFLUSH stuff not working in getty,
because modems is *too* slow, and
issue TIOCFLUSH in the middle of CONNECT string output.
Solution is simple: I add sleep(2) after open port to allow
modem write CONNECT string, then flush it completely.

2) getty is really trick login: all 'gettytab' stuff not working,
because of usage of set_ttydefaults(0) before login call.
I restore meaning of all 'gettytab' flags and remove completely
unneded ttydefaults.c.
Initial TIOCGETP needed to initialize kernel's termios stuff.
because getty use old BSD ioctls,

3) TIOCFLUSH arguments are incorrect: last argument are address,
not value.

4) "np" (No parity, 8-bit) flags present, but not working:
restored.

6) KILL character are printed when entered string are empty:
not printed now.

7) Many peoples prefer to use ^H/DEL, ^U, ^D while login in any case,
KILL/ERASE pre-setted defaults no matter at this place, fixed.

In <9307270711.AA02004@kralizec.zeta.org.au> Bruce Evans writes:

>Here are some additional fixes.

>1. PASS8 is an output parameter, sort of.  It controls whether the
>mode is cs7 parenb or cs8 -parenb.  So, in subr.c, check NP before
>returning, and in main.c, always do a TIOCLSET ioctl when doing a
>TIOCSETP ioctl.  Note that it is theoretically possible to have
>differerent parities for input and output.

>2. echoke and echoke were not being set for login (previously they
>were set in set_ttydefaults()).  Fixed in gettytab.  Other getty/
>gettytab defaults are OK.  Except :ap: should not be default :-).

>3. I documented what all combinations of gettytab parity flags do.

>4. The correctness of the setting setting of istrip took a long time
>to debug because codrv clears it on the first read.  Now this kludge
>in codrv is unnecessary (solution is using :np: instead of :ap:) in
>gettytab.

>Bruce

I additionally fix original Bruce's patch and here final result:

30 years agointegrate Yuval Yarom's advisory NFS locking patches. The lock is only
David Greenman [Wed, 20 Oct 1993 07:31:42 +0000 (07:31 +0000)]
integrate Yuval Yarom's advisory NFS locking patches. The lock is only
known to the local node, but this is better than nothing, and is
required for POSIX compliance.

30 years agoInstall mse man page, and create link for it
Rod Grimes [Tue, 19 Oct 1993 20:20:33 +0000 (20:20 +0000)]
Install mse man page, and create link for it

30 years agoMove the mse mouse man page to the man4.i386 directory
Rod Grimes [Tue, 19 Oct 1993 20:19:15 +0000 (20:19 +0000)]
Move the mse mouse man page to the man4.i386 directory

30 years agoAdded very small man page for mse.4 mouse that was distributed in the
Nate Willams [Tue, 19 Oct 1993 20:04:08 +0000 (20:04 +0000)]
Added very small man page for mse.4 mouse that was distributed in the
package.

30 years agoFixe a spelling error and added both the mse (logitech and ATI inport) and
Nate Willams [Tue, 19 Oct 1993 20:00:35 +0000 (20:00 +0000)]
Fixe a spelling error and added both the mse (logitech and ATI inport) and
the psm (PS/2 bus) mouse support

(The psm driver will have to come later)

30 years agoMake darn sure that fsck does not try to fsck dos file systems by setting
Rod Grimes [Tue, 19 Oct 1993 19:58:55 +0000 (19:58 +0000)]
Make darn sure that fsck does not try to fsck dos file systems by setting
the fsck pass to 0, same thing for dump field, in the fstab that is
created by this script.

30 years agoPull in ../Makefile.inc so that the whatis database ends up in the correct
Rod Grimes [Tue, 19 Oct 1993 19:57:35 +0000 (19:57 +0000)]
Pull in ../Makefile.inc so that the whatis database ends up in the correct
place.  Rich Murphy has a better fix for this, but I lost it!

30 years agoUpdated LINT to have the mse0 config line
Nate Willams [Tue, 19 Oct 1993 19:49:24 +0000 (19:49 +0000)]
Updated LINT to have the mse0 config line

30 years agoThis is my patched version of a busmouse driver originally by Rick Macklem
Nate Willams [Tue, 19 Oct 1993 19:46:49 +0000 (19:46 +0000)]
This is my patched version of a busmouse driver originally by Rick Macklem
(rick@snowhite.cis.uoguelph.ca).  I am currently using it with a Microsoft
InPort busmouse, under FreeBSD Epsilon.  I hadn't planned on supporting it,
but I have patched it a few times, and I guess this is now the de facto
reference version, so send me any problems or improvements.

                                                        - Gene Stark
                                                          stark@cs.sunysb.edu
                                                          October 9, 1993

30 years agoRemove warnings about sigsetjmp(), siglongjmp, and sigjmp_buf being
J.T. Conklin [Tue, 19 Oct 1993 19:19:27 +0000 (19:19 +0000)]
Remove warnings about sigsetjmp(), siglongjmp, and sigjmp_buf being
placeholders.  They are now real, at least for the i386.

30 years agoInstall sigsetjmp and siglongjmp as link to setjmp manpage, remove
J.T. Conklin [Tue, 19 Oct 1993 19:04:27 +0000 (19:04 +0000)]
Install sigsetjmp and siglongjmp as link to setjmp manpage, remove
longjmperr link (there is a longjmperror link, which is the proper
name of the function.)
Fix formatting errors in setjmp manpage.

30 years agoAdded sigsetjmp.
J.T. Conklin [Tue, 19 Oct 1993 18:52:02 +0000 (18:52 +0000)]
Added sigsetjmp.

30 years agoLamp's down, so FreeBSD gets this first.
J.T. Conklin [Tue, 19 Oct 1993 18:51:21 +0000 (18:51 +0000)]
Lamp's down, so FreeBSD gets this first.

30 years agomerge free.c realloc.c into malloc.c so that all three are linked in
Paul Richards [Tue, 19 Oct 1993 18:22:37 +0000 (18:22 +0000)]
merge free.c realloc.c into malloc.c so that all three are linked in
if any are referenced.

libc's malloc.o contains malloc(), free() and realloc().  And libc
refers to realloc which will cause the linker to pull in redundant
malloc() and free() definitions from malloc.o if it isn't already
linked in from GNU malloc.  Rich

30 years agoRemove reference to EPSILON release.
Rod Grimes [Tue, 19 Oct 1993 17:33:38 +0000 (17:33 +0000)]
Remove reference to EPSILON release.

30 years agofixed bug where large amounts of unidirectional UDP traffic would fill
David Greenman [Tue, 19 Oct 1993 09:14:15 +0000 (09:14 +0000)]
fixed bug where large amounts of unidirectional UDP traffic would fill
the interface output queue and further udp packets would be fragmented
and only partially sent - keeping the output queue full and jamming the
network, but not actually getting any real work done (because you can't
send just 'part' of a udp packet - if you fragment it, you must send
the whole thing). The fix involves adding a check to make sure that the
output queue has sufficient space for all of the fragments.

30 years agofix bugs in the accounting code that was just added. The Mach VM system
David Greenman [Tue, 19 Oct 1993 09:05:51 +0000 (09:05 +0000)]
fix bugs in the accounting code that was just added. The Mach VM system
keeps track of things as pages, not K bytes, and the rusage stats want
Kbytes.

30 years agofix syscall args to be outside of params to quiet gcc.
David Greenman [Tue, 19 Oct 1993 05:46:05 +0000 (05:46 +0000)]
fix syscall args to be outside of params to quiet gcc.

30 years agoAdd ie0 to standard kernels, this is the ATT starlan/ethernet driver
Rod Grimes [Tue, 19 Oct 1993 01:28:09 +0000 (01:28 +0000)]
Add ie0 to standard kernels, this is the ATT starlan/ethernet driver
from Garrett Wollman.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:07:21 +0000 (01:07 +0000)]
Accounting patch:
The brains of the entire thing.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:06:29 +0000 (01:06 +0000)]
Accounting patch:
This counts block I/O.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:05:36 +0000 (01:05 +0000)]
Accounting patch:
This enables the summation of virtual memory used.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:02:16 +0000 (01:02 +0000)]
Accounting patch:
This this is the hook that causes accounting to save information when a
process exits

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:01:20 +0000 (01:01 +0000)]
Accounting patch:
This is the hook that causes accounting to save information when a
process exits.

[ Note, I accidentally brought this change in from my tree a bit ago, so I
  edited the comment on the changed line so that the accounting patch
  could be brought in this time around ]

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 00:58:51 +0000 (00:58 +0000)]
Accounting patch:
This turns off the AFORK bit -- AFORK says a process forked but did not
exec, obviously, it did exec, and the bit needs to be turned off.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 00:54:49 +0000 (00:54 +0000)]
Accounting patch:
This counts the number of swaps for use by getrusage().

30 years agoFor folks that still use /dev/vga as the console.
Nate Willams [Tue, 19 Oct 1993 00:53:07 +0000 (00:53 +0000)]
For folks that still use /dev/vga as the console.

Beginning of the accounting patches from Mark Tinguely.

30 years agoFrom: phk@data.fls.dk (Poul-Henning Kamp/P-HK)
Rod Grimes [Mon, 18 Oct 1993 23:03:20 +0000 (23:03 +0000)]
From: phk@data.fls.dk (Poul-Henning Kamp/P-HK)
Date: Mon, 18 Oct 93 20:15:47 MET
I have made a pass over the source to inetd, added a couple of missing
#include's and prototyped it all, also dumped all the register definitions,
since that's only for places which really deserves it, it only confuses gcc
in this context anyway.  Gcc -Wall now only complains about surplus /*'s
in some rpc header files:
    /usr/include/rpc/rpc.h:62: warning: `/*' within comment
    /usr/include/rpc/svc.h:158: warning: `/*' within comment

I added a option '-l' which will stick an entry in syslog each time an
accept(2) is done.

30 years agoFrom: Scott Bolte <scott@craycos.com>
Jordan K. Hubbard [Mon, 18 Oct 1993 22:57:03 +0000 (22:57 +0000)]
From: Scott Bolte <scott@craycos.com>
I made a mod to touch(3) that allows seconds since
the epoch to be used as the desired timestamp. The patch to the
source code and man page are included below for your
consideration.

Example:

    niss% touch -T 750873167 timestamp
    niss% ls -l timestamp
    -rw-rw-r--    1 root     wheel          0 Oct 17 09:52 timestamp

30 years agoFree malloc'ed memory when resetting card.
Paul Richards [Mon, 18 Oct 1993 22:48:48 +0000 (22:48 +0000)]
Free malloc'ed memory when resetting card.

30 years agoCorrect config line for ie0 per Garrett Wollman.
Rod Grimes [Mon, 18 Oct 1993 22:46:58 +0000 (22:46 +0000)]
Correct config line for ie0 per Garrett Wollman.

30 years agoFrom: sef@kithrup.com
Rod Grimes [Mon, 18 Oct 1993 22:31:55 +0000 (22:31 +0000)]
From: sef@kithrup.com
Date:     Mon, 18 Oct 93 14:44:11 PDT

Make w output - for non-idle processes.

30 years agoAdded some words about how to subscribe to lists, the purpose of
Jordan K. Hubbard [Mon, 18 Oct 1993 19:32:45 +0000 (19:32 +0000)]
Added some words about how to subscribe to lists, the purpose of
freebsd-hackers, etc.

30 years agoFixed so that if the process is idle for 0 time do not print the 0, just
Rod Grimes [Mon, 18 Oct 1993 19:20:08 +0000 (19:20 +0000)]
Fixed so that if the process is idle for 0 time do not print the 0, just
leave the field blank.  I don't know how it ever worked before, but this
fixes it!

30 years agoFix for version name in /etc/motd, now uses uname to get this information!
Rod Grimes [Mon, 18 Oct 1993 19:08:36 +0000 (19:08 +0000)]
Fix for version name in /etc/motd, now uses uname to get this information!

30 years ago>From: Julian Elischer <julian@jules.dialix.oz.au>
Rod Grimes [Mon, 18 Oct 1993 18:45:48 +0000 (18:45 +0000)]
>From: Julian Elischer <julian@jules.dialix.oz.au>
Date: Tue, 19 Oct 1993 02:22:41 -40962758 (WST)

As the subject line says:
I can;t believe this typo is still here.

Has NOBODY used the isa_dmastart() routine for 16bit DMA?

I know I just hit the dma regs directly for the AHA1542,
and it appears that either everybody else does as well, or
they only use 8bit DMA (e.g. floppy)

Editors Note:
The definition of DMA2_CHN was incorrectly using IO_DMA1!

30 years agoYank out Christoph Robitschko's hack for the hanging console problem as
David Greenman [Mon, 18 Oct 1993 14:22:16 +0000 (14:22 +0000)]
Yank out Christoph Robitschko's hack for the hanging console problem as
it didn't actually fix it, and because starting the getty on /dev/console
instead of /dev/vga is a good work-around.

30 years agoChange getty entry to start on /dev/console instead of /dev/vga, this fixes
Rod Grimes [Mon, 18 Oct 1993 14:11:53 +0000 (14:11 +0000)]
Change getty entry to start on /dev/console instead of /dev/vga, this fixes
the syslogd problem with consoles that do not respond after hupping syslogd.

30 years agososend was attempting to reserve space in an mbuf cluster for a datagram
David Greenman [Mon, 18 Oct 1993 05:40:30 +0000 (05:40 +0000)]
sosend was attempting to reserve space in an mbuf cluster for a datagram
header and because of bugs in the sosend's mbuf allocation algorithm,
sosend was calling uiomove twice as many times as was necessary. It turns
out that PREPEND does the right thing when a cluster is associated with
an mbuf header, so the datagram header allocation can be defered. This
also ends up additionally consuming one less mbuf for the TCP protocol
because TCP always allocates another header mbuf regardless if space is
available to prepend the protocol header. The net result of this fix is
that unix domain and pipe throughput is increased by a measured 10%.

30 years agoFrom John Dyson and David Greenman
David Greenman [Mon, 18 Oct 1993 03:47:24 +0000 (03:47 +0000)]
From John Dyson and David Greenman
Fix bug where malloc would never return 4k and 8k allocations
back to the system memory pool because MAXALLOCSAVE was set to
2*CLBYTES, and should really be CLBYTES-1. Defeated check for
MAXALLOCSAVE being a power of two because CLBYTES-1 is also
okay, and changed minimum for MAXALLOCSAVE to allow it to be
one less than CLBYTES. These fixes are important when using the
kernel mallocator for file system buffers (otherwise fragmentation
can become a real problem).

30 years agoPatch from stever@csuohio.edu (Steve Ratliff) to make FAT_CURSOR work
Jordan K. Hubbard [Mon, 18 Oct 1993 02:19:54 +0000 (02:19 +0000)]
Patch from stever@csuohio.edu (Steve Ratliff) to make FAT_CURSOR work
on HDA/CGA displays.

30 years agoModified memory allocation to use malloc rather than a static array.
Paul Richards [Sun, 17 Oct 1993 22:22:46 +0000 (22:22 +0000)]
Modified memory allocation to use malloc rather than a static array.

30 years agosccs removed, no longer usefull without the rest of the code
Rod Grimes [Sun, 17 Oct 1993 21:02:02 +0000 (21:02 +0000)]
sccs removed, no longer usefull without the rest of the code

30 years agoFrom: Gene Stark <stark!gene@newsserv.cs.sunysb.edu>
Jordan K. Hubbard [Sun, 17 Oct 1993 18:12:48 +0000 (18:12 +0000)]
From: Gene Stark <stark!gene@newsserv.cs.sunysb.edu>
Running "find / -ls" gives garbage where the file size ought
to be.

This fixes it.  Thanks Gene!

30 years agoFix reference no ni_rdir, new name is ni_rootdir, these where inside
Rod Grimes [Sun, 17 Oct 1993 01:48:37 +0000 (01:48 +0000)]
Fix reference no ni_rdir, new name is ni_rootdir, these where inside
#ifdef PARNOIA, so there have been overlooked for a long time!

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 21:33:31 +0000 (21:33 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc