]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
28 years agoFilter by IP protocol.
alex [Mon, 5 Aug 1996 02:38:51 +0000 (02:38 +0000)]
Filter by IP protocol.

Submitted by: fenner (with modifications by me)

Bring in the interface unit wildcard flag fix from rev 1.15.4.8.

28 years agoFilter by IP protocol.
alex [Mon, 5 Aug 1996 02:35:04 +0000 (02:35 +0000)]
Filter by IP protocol.

Submitted by: fenner (with modifications by me)

Use a common prefix string for all warning messages generated during
ip_fw_ctl.

28 years agoGratuitous whitespace change so that I can commit the source of the recent
pst [Mon, 5 Aug 1996 00:50:02 +0000 (00:50 +0000)]
Gratuitous whitespace change so that I can commit the source of the recent
buffer overflow patch.
Reviewed by: pst
Submitted by: Dave Andersen <angio@aros.net>

28 years agoBring xditview back from the grave (part 2).
pst [Mon, 5 Aug 1996 00:44:59 +0000 (00:44 +0000)]
Bring xditview back from the grave (part 2).
Fix things so it *really* won't compile if the environment isn't there.

This commit has been sitting in my to-do list for 2 months.  Xditview
should never have been half-removed, so now it's back with a vengance
because we want to keep groff intact as a package.

28 years agoBring xditview back from the grave (1 of 2 commits).
pst [Mon, 5 Aug 1996 00:42:06 +0000 (00:42 +0000)]
Bring xditview back from the grave (1 of 2 commits).

28 years agoFix up some more buffer overflow problems.
pst [Mon, 5 Aug 1996 00:31:27 +0000 (00:31 +0000)]
Fix up some more buffer overflow problems.

28 years agoConvert STATS and PARANOID to run-time options.
pst [Mon, 5 Aug 1996 00:21:15 +0000 (00:21 +0000)]
Convert STATS and PARANOID to run-time options.
Document the new -R (relax paranoia) option.

From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks
(relax, we're still exportable), and /etc/ftpchroot feature for
semi-anonymous accounts

28 years agoadd CTM mirrors
wosch [Sun, 4 Aug 1996 22:41:09 +0000 (22:41 +0000)]
add CTM mirrors

28 years agoIf PARANOID is set, do not allow PORT commands to remote ports less than 1024
pst [Sun, 4 Aug 1996 22:40:35 +0000 (22:40 +0000)]
If PARANOID is set, do not allow PORT commands to remote ports less than 1024
or addresses other than the requestor's address.  This violates the FTP
protocol (hmm...as I write this, I'm going to change this to a run-time var.)

Require login before PASV and RNTO commands.

Close unused PASV ports so they don't hang around forever.

Do not allow file overwrites via rename or STOR when anonymous
(suspenders).

Clean up buffer utilization.

My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out
by Mike Prettejohn and Kit Knox.

28 years agoCreate FreeBSD copyright (c comment) for OS version
wosch [Sun, 4 Aug 1996 22:34:23 +0000 (22:34 +0000)]
Create FreeBSD copyright (c comment) for OS version

28 years agoFix a couple of bogons. The first two were brought to my attention
wpaul [Sun, 4 Aug 1996 22:13:05 +0000 (22:13 +0000)]
Fix a couple of bogons. The first two were brought to my attention
by Peter Wemm:

- In yppasswdproc_update_1_svc(), I wasn't paying attention and put
  a couple of lines of code _after_ a return() instead of before.
  (*blush*)

- The removal of certain temp files didn't always work (this showed
  up mostly if you were using /etc/master.passwd as your NIS passwd
  template instead of /var/yp/master.passwd). This is because the
  whole temp file creation mechanism I was using was tragically
  broken (you can't rename across filesystems).

This problem I found myself:

- If you have a very large password database (30,000 or more entries),
  there can be a delay of several seconds while pw_copy() copies the
  ASCII template file and subsitutes in the modified/new entry. During
  this time, the clnt_udp() code in the RPC library may get impatient
  and retry its request. This will get queued at the server and be
  treated as a second request. By then the password change will have
  been completed and the second request will fail (the old password is
  no longer valid). To attempt to fix this, we save the IP address and
  port of each request and ignore any subsequent requests from the
  same IP and same port that arrive within five minutes of each other.

28 years agoEnhance crunchgens understanding of our new /usr/obj/`pwd` strategy.
phk [Sun, 4 Aug 1996 20:38:53 +0000 (20:38 +0000)]
Enhance crunchgens understanding of our new /usr/obj/`pwd` strategy.

28 years agoAdd separate kmalloc classes for BIO buffers and Ktrace info.
phk [Sun, 4 Aug 1996 20:13:08 +0000 (20:13 +0000)]
Add separate kmalloc classes for BIO buffers and Ktrace info.

28 years agoThe check for multiple freed items were bogus. fixed.
phk [Sun, 4 Aug 1996 20:08:48 +0000 (20:08 +0000)]
The check for multiple freed items were bogus.  fixed.

28 years agoRemove a spurious message.
phk [Sun, 4 Aug 1996 20:04:57 +0000 (20:04 +0000)]
Remove a spurious message.

28 years agoReduce reset timeout. "only" 16 seconds (!) for a 512K board.
phk [Sun, 4 Aug 1996 20:04:11 +0000 (20:04 +0000)]
Reduce reset timeout.  "only" 16 seconds (!) for a 512K board.

28 years agodocumented in comments that 'avail' should be in
wosch [Sun, 4 Aug 1996 19:30:34 +0000 (19:30 +0000)]
documented in comments that 'avail' should be in
sync with the handbook

28 years agoUse err() instead of perror()/exit() and remember to #include <errno.h>
wpaul [Sun, 4 Aug 1996 19:17:15 +0000 (19:17 +0000)]
Use err() instead of perror()/exit() and remember to #include <errno.h>
and <err.h>.

28 years agoAdd "Denmark". Most dictionaries (e.g. Langenscheidt, Oxford)
wosch [Sun, 4 Aug 1996 18:29:39 +0000 (18:29 +0000)]
Add "Denmark". Most dictionaries (e.g. Langenscheidt, Oxford)
did not know this country. Shame!

28 years agoCorrect the warning about "xconsole" when generating ASCII output.
roberto [Sun, 4 Aug 1996 15:29:20 +0000 (15:29 +0000)]
Correct the warning about "xconsole" when generating ASCII output.

28 years agoUpdate the address for the Australian CD distributor.
roberto [Sun, 4 Aug 1996 15:21:53 +0000 (15:21 +0000)]
Update the address for the Australian CD distributor.

Suggested-By: David Henshaw by way of Martin Butkus (mail)
28 years agoAdd pointers to both EFNET and BSDNet IRC channels.
roberto [Sun, 4 Aug 1996 15:13:42 +0000 (15:13 +0000)]
Add pointers to both EFNET and BSDNet IRC channels.

Suggested-By: Dima
28 years ago* Added lots more introductory material.
jraynard [Sun, 4 Aug 1996 14:14:05 +0000 (14:14 +0000)]
* Added lots more introductory material.

* Removed material that was duplicated in the installation instructions.

* Updated the address for an Australian supplier of CDROMs (supplied by
  David Henshaw via Martin Butkus).

* Give more info about how to get started with the installation.

* Update references to 2.1.0 as "the latest release".

* Added pointer to a Web page explaining how to have multiple operating
  systems on the same machine.

* Moved question about running DOS binaries out of the installation section.

* Added question re boot floppy not loading properly.

* Added explanation of disk geometry, moved things around so that "please
  refer to the previous question" no longer sends the reader with a
  non-booting system to a PLIP cable wiring diagram!

* Mention the time/space requirements for making a custom install floppy.

* Acknowledge a couple of people whose answers I've adapted in various
  places (and who deserve credit anyway for answering so many questions!)

28 years agoMake the NS and IPX cases compile again.
phk [Sun, 4 Aug 1996 11:45:37 +0000 (11:45 +0000)]
Make the NS and IPX cases compile again.

28 years agoUpdate driver.
phk [Sun, 4 Aug 1996 10:58:17 +0000 (10:58 +0000)]
Update driver.

Obtained from: NetBSD

28 years agoReplace about 60 lines of code with a call to ether_ioctl().
phk [Sun, 4 Aug 1996 10:57:29 +0000 (10:57 +0000)]
Replace about 60 lines of code with a call to ether_ioctl().
This can be done for most of our ethernet drivers.

28 years agoAdd a callback pointer to the interfaces "init" routine.
phk [Sun, 4 Aug 1996 10:54:13 +0000 (10:54 +0000)]
Add a callback pointer to the interfaces "init" routine.
Add ether_ioctl() which can take care of the SIOC[SG]IFADDR cases for
most (ethernet) drivers.

28 years agoAdjust reference to PPP page.
jkh [Sun, 4 Aug 1996 03:28:14 +0000 (03:28 +0000)]
Adjust reference to PPP page.
Submitted-By: Tim Stoddard <tims@achilles.k12.ar.us>
28 years agoSuppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
jmz [Sun, 4 Aug 1996 00:35:39 +0000 (00:35 +0000)]
Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
are already correctly reported.

28 years agoAdd Mark Huizer <xaa@stack.urc.tue.nl> for the kaffe port.
chuckr [Sat, 3 Aug 1996 19:51:06 +0000 (19:51 +0000)]
Add Mark Huizer <xaa@stack.urc.tue.nl> for the kaffe port.
I forgot his name whilst typing in the commit message on the
port, and he wasn't in the handbook (I guessed wrong, using Marc
Van Kempen, sorry to both).  Now, his name is in here and I
won't get mixed up again!

Obtained from: Mark (not Marc!)

28 years agoAdd relevant files to the FILES section
markm [Sat, 3 Aug 1996 19:13:35 +0000 (19:13 +0000)]
Add relevant files to the FILES section
Submitted by: Julian H Stacey

28 years agoSync copyright notices.
jkh [Sat, 3 Aug 1996 14:26:41 +0000 (14:26 +0000)]
Sync copyright notices.
Noticed-By: jfieber
28 years agodocumented that the dog Biff is dead
wosch [Sat, 3 Aug 1996 14:25:02 +0000 (14:25 +0000)]
documented that the dog Biff is dead

Obtained from: A Quarter Century of UNIX, Peter H. Salus

28 years agoRemove clauses 3 and 4 from template copyright.
jkh [Sat, 3 Aug 1996 13:46:00 +0000 (13:46 +0000)]
Remove clauses 3 and 4 from template copyright.

28 years agoAdapt to new libftpio. [jkh]
jkh [Sat, 3 Aug 1996 13:14:47 +0000 (13:14 +0000)]
Adapt to new libftpio. [jkh]
Better error messages.
Submitted-By: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
28 years agoThe bootstrap target in src/Makefile has the wrong order for lex/tsort
jkh [Sat, 3 Aug 1996 13:00:35 +0000 (13:00 +0000)]
The  bootstrap target  in src/Makefile  has  the wrong  order for lex/tsort
because lex has a library (libln.a) and bsd.lib.mk has been modified to use
'tsort -q'. Tsort has not been build yet...

tsort should be before lex.  [Whoops! Thanks! -jkh]

Submitted-By: roberto@keltia.freenix.fr (Ollivier Robert)
28 years ago1. Add verbose flag to ftp_login()
jkh [Sat, 3 Aug 1996 11:58:54 +0000 (11:58 +0000)]
1. Add verbose flag to ftp_login()
2. Remove pkg_* support - tcl7.5's channel interface has rendered this
   almost entirely unsupportable (at least in the way it currently stands).
Submitted-By: jmz & jkh
28 years agoTry to make screen update more efficient (less flickering) by more
jkh [Sat, 3 Aug 1996 10:11:56 +0000 (10:11 +0000)]
Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().

28 years agoCombine the four Mach ATI64 questions and answers into one.
jraynard [Sat, 3 Aug 1996 09:48:15 +0000 (09:48 +0000)]
Combine the four Mach ATI64 questions and answers into one.
(Suggested by Charles Green).

28 years agoDon't stick CD distributions under dists/ directory.
jkh [Sat, 3 Aug 1996 06:49:00 +0000 (06:49 +0000)]
Don't stick CD distributions under dists/ directory.

28 years agoAdd tsort to bootstrap targets.
jkh [Sat, 3 Aug 1996 06:44:46 +0000 (06:44 +0000)]
Add tsort to bootstrap targets.

28 years agoUse tsort -q
jkh [Sat, 3 Aug 1996 06:43:05 +0000 (06:43 +0000)]
Use tsort -q

28 years agoChanges to the SLIP support files to show how to do proxy ARP.
nate [Sat, 3 Aug 1996 05:43:40 +0000 (05:43 +0000)]
Changes to the SLIP support files to show how to do proxy ARP.

28 years agoMake the same fix to the disk partition editor screen.
jkh [Sat, 3 Aug 1996 05:29:24 +0000 (05:29 +0000)]
Make the same fix to the disk partition editor screen.

28 years agoFix an embarassing bogon in the key input code. I'll roll another snap
jkh [Sat, 3 Aug 1996 05:25:56 +0000 (05:25 +0000)]
Fix an embarassing bogon in the key input code.  I'll roll another snap
boot floppy for this one..

28 years agomake si.c compile in kernels without COMPAT_43.
peter [Sat, 3 Aug 1996 00:21:44 +0000 (00:21 +0000)]
make si.c compile in kernels without COMPAT_43.

28 years agoEliminated i586_ctr_rate. Use i586_ctr_freq instead.
bde [Fri, 2 Aug 1996 21:16:27 +0000 (21:16 +0000)]
Eliminated i586_ctr_rate.  Use i586_ctr_freq instead.

28 years agoEliminated i586_ctr_rate. Use i586_ctr_freq instead.
bde [Fri, 2 Aug 1996 21:16:13 +0000 (21:16 +0000)]
Eliminated i586_ctr_rate.  Use i586_ctr_freq instead.

Changed i586_ctr_bias from long long to u_int.  Only the low 32 bits
are used now that microtime uses a multiplication to do the scaling.
Previously the high 32 bits had to match those of rdtsc() to prevent
overflow traps and invalid timeval adjustments.

28 years agoReduced division by i586_ctr_rate to multiplication by i586_ctr_multiplier.
bde [Fri, 2 Aug 1996 20:17:50 +0000 (20:17 +0000)]
Reduced division by i586_ctr_rate to multiplication by i586_ctr_multiplier.

28 years agoAdd optional support for separate international CVS repository
pst [Fri, 2 Aug 1996 18:19:47 +0000 (18:19 +0000)]
Add optional support for separate international CVS repository

28 years agodscheck() was returning without setting bp->b_error when given a negative
peter [Fri, 2 Aug 1996 06:14:25 +0000 (06:14 +0000)]
dscheck() was returning without setting bp->b_error when given a negative
block number.. (assuming Debugger() returned).  The disk drivers assume
that dscheck() sets both error markers (bp->b_error and set B_ERROR in
bp->b_flags) if it fails.

28 years agoThe sd and od drivers didn't check for negative block numbers (like wd.c
peter [Fri, 2 Aug 1996 06:10:49 +0000 (06:10 +0000)]
The sd and od drivers didn't check for negative block numbers (like wd.c
does) before calling dscheck().  dscheck() doesn't appreciate this and
calls Debugger() and returns without setting bp->b_error.

This can happen when there is a casting error and offsets > 2G are
converted to negative off_t's in the disk tools.  (dumpfs used to do this).

28 years agoClose PR#1455. In a couple of weeks, I'll change bsd.lib.mk to use
jkh [Fri, 2 Aug 1996 04:50:44 +0000 (04:50 +0000)]
Close PR#1455.  In a couple of weeks, I'll change bsd.lib.mk to use
tsort -q as well - I don't feel like adding tsort as Yet Another Item to the
bootstrap target.

28 years agoWhen I hit [Ctrl]+8, appeared 9 instead of 8. It may not be critical but
nate [Thu, 1 Aug 1996 22:38:30 +0000 (22:38 +0000)]
When I hit [Ctrl]+8, appeared 9 instead of 8. It may not be critical but
surprised me. ;-)

Submitted by: tacha@tera.fukui-med.ac.jp <Tatoku Ogaito>
Obtained from: NetBSD/GNATS

28 years agoWrite protect the text segment of gzip'ed programs.
phk [Thu, 1 Aug 1996 22:00:14 +0000 (22:00 +0000)]
Write protect the text segment of gzip'ed programs.
Various other cleanups by phk.

Reviewed by: phk
Submitted by: Igor Khasilev <igor@jabber.paco.odessa.ua>

28 years agoDeclare fls() for the non-inline case. Defer writing the generic version
wollman [Thu, 1 Aug 1996 20:31:45 +0000 (20:31 +0000)]
Declare fls() for the non-inline case.  Defer writing the generic version
until it actually matters.

28 years agoAdd an fls() inline function which does the opposite operation to
wollman [Thu, 1 Aug 1996 20:29:28 +0000 (20:29 +0000)]
Add an fls() inline function which does the opposite operation to
ffs().  (That is to say, it searches in the opposite direction.)

28 years agoUse the defines and macros defined in /sys/pccard/cis.h to make the code
nate [Thu, 1 Aug 1996 15:45:46 +0000 (15:45 +0000)]
Use the defines and macros defined in /sys/pccard/cis.h to make the code
easier to understand.  LOTS more work needed in this area.

Inspired by: The Nomad code

28 years agoWhoops! VTYs return zero values for TIOCGSIZE! Work around this.
jkh [Thu, 1 Aug 1996 13:47:03 +0000 (13:47 +0000)]
Whoops!  VTYs return zero values for TIOCGSIZE!  Work around this.

28 years agoDon't query DNS if we haven't got it configured.
jkh [Thu, 1 Aug 1996 12:59:54 +0000 (12:59 +0000)]
Don't query DNS if we haven't got it configured.

28 years agoHandle SIGPIPE in a couple of crucial places.
jkh [Thu, 1 Aug 1996 12:35:51 +0000 (12:35 +0000)]
Handle SIGPIPE in a couple of crucial places.

28 years agoPut verbosity in the right place.
jkh [Thu, 1 Aug 1996 12:13:20 +0000 (12:13 +0000)]
Put verbosity in the right place.

28 years agoPurely cosmetic tweaks.
jkh [Thu, 1 Aug 1996 12:02:26 +0000 (12:02 +0000)]
Purely cosmetic tweaks.

28 years agoClean up the results from getch().
jkh [Thu, 1 Aug 1996 11:39:49 +0000 (11:39 +0000)]
Clean up the results from getch().

28 years agoClose PR#1542. Don't just assume 24 lines, get the tty size.
jkh [Thu, 1 Aug 1996 10:58:54 +0000 (10:58 +0000)]
Close PR#1542.  Don't just assume 24 lines, get the tty size.
Some things may still display text on the 24th line, but that's because
they've always been screens designed to fit into a minimal real-estate
and have hardwired assumptions about the dimensions.  They'll be a little
harder to make dynamic.

28 years agoChange ${NCFTP} to ${FETCH}. Fix bogon that describes the do-* targets
asami [Thu, 1 Aug 1996 00:12:11 +0000 (00:12 +0000)]
Change ${NCFTP} to ${FETCH}.  Fix bogon that describes the do-* targets
(it wasn't even English!).

Fixes PR docs/1448.

28 years agoMake -force work for pkg_add.
jkh [Wed, 31 Jul 1996 21:52:33 +0000 (21:52 +0000)]
Make -force work for pkg_add.

28 years agoAdd a required save/restore
jkh [Wed, 31 Jul 1996 14:49:20 +0000 (14:49 +0000)]
Add a required save/restore

28 years agoEliminated pcb_inl. It was always 0 because context switches don't occur
bde [Wed, 31 Jul 1996 12:36:11 +0000 (12:36 +0000)]
Eliminated pcb_inl.  It was always 0 because context switches don't occur
in interrupt handlers.

28 years agoTry again.
jkh [Wed, 31 Jul 1996 10:55:19 +0000 (10:55 +0000)]
Try again.

28 years agoChanged wakeup_one() to continue looping, possibly waking up additional
dg [Wed, 31 Jul 1996 10:35:47 +0000 (10:35 +0000)]
Changed wakeup_one() to continue looping, possibly waking up additional
processes, until it finds one that is not swapped out.

Submitted by: dyson

28 years agoDon't munge keystrokes.
jkh [Wed, 31 Jul 1996 09:29:35 +0000 (09:29 +0000)]
Don't munge keystrokes.

28 years agoUpdated to match kernel changes for timer/run queue.
dg [Wed, 31 Jul 1996 09:27:23 +0000 (09:27 +0000)]
Updated to match kernel changes for timer/run queue.

28 years agoConverted timer/run queues to 4.4BSD queue style. Removed old and unused
dg [Wed, 31 Jul 1996 09:26:54 +0000 (09:26 +0000)]
Converted timer/run queues to 4.4BSD queue style. Removed old and unused
sleep(). Implemented wakeup_one() which may be used in the future to combat
the "thundering herd" problem for some special cases.

Reviewed by: dyson

28 years agoPrevent Geometry warning messages when the disk is already "dedicated"
jkh [Wed, 31 Jul 1996 09:10:39 +0000 (09:10 +0000)]
Prevent Geometry warning messages when the disk is already "dedicated"

28 years agoMove intermediary file generation to /var partition
pst [Wed, 31 Jul 1996 06:47:05 +0000 (06:47 +0000)]
Move intermediary file generation to /var partition

28 years agoMore minor tweaks (that I'm trying to get into the SNAP).
jkh [Wed, 31 Jul 1996 06:41:29 +0000 (06:41 +0000)]
More minor tweaks (that I'm trying to get into the SNAP).

28 years agoDetect which partitions have already been created with `auto' so as not to create...
jkh [Wed, 31 Jul 1996 06:20:59 +0000 (06:20 +0000)]
Detect which partitions have already been created with `auto' so as not to create them
twice.

Various cosmetic tweaks.

28 years agolink chgrp to chown, don't list it as a binary
jkh [Wed, 31 Jul 1996 05:21:20 +0000 (05:21 +0000)]
link chgrp to chown, don't list it as a binary

28 years agoAdd New porter Andreas Kohout <shanee@rabbit.augusta.de>
chuckr [Tue, 30 Jul 1996 23:56:45 +0000 (23:56 +0000)]
Add New porter Andreas Kohout <shanee@rabbit.augusta.de>
Thanks for the new ports, Andreas!

28 years agoadd br275.iso.kbd - Brazilian 275 keyboard ISO-8859-1
wosch [Tue, 30 Jul 1996 22:30:11 +0000 (22:30 +0000)]
add br275.iso.kbd - Brazilian 275 keyboard ISO-8859-1
add br275.cp850.kbd - Brazilian 275 keyboard Codepage 850

Makefile: sort keymaps entries

submitted by: Daniel C. Sobral <dcs@gns.com.br>

28 years agoAdd links to the sample Makefile from two other sections that talk
asami [Tue, 30 Jul 1996 22:19:42 +0000 (22:19 +0000)]
Add links to the sample Makefile from two other sections that talk
about Makefiles.

28 years agoEnsure that each Kerberised applet has CFLAGS containing -DKERBEROS.
markm [Tue, 30 Jul 1996 21:16:34 +0000 (21:16 +0000)]
Ensure that each Kerberised applet has CFLAGS containing -DKERBEROS.

28 years agoSome breakeages sneaked in. This fixes them.
markm [Tue, 30 Jul 1996 21:09:48 +0000 (21:09 +0000)]
Some breakeages sneaked in. This fixes them.
(this relates to a name change in a library that was not properly backed
up by the author)
Reported by: too mant :-(

28 years agoFixed longstanding bug of not checking `dumpdev' or setting `dumplo'
bde [Tue, 30 Jul 1996 20:30:49 +0000 (20:30 +0000)]
Fixed longstanding bug of not checking `dumpdev' or setting `dumplo'
early enough when the dump device is specified in the config file.

Removed stale comment about configuration root and swap devices.

Don't bother clearing dumplo when dumpdev is set to NODEV.  Everything
is controlled by dumpdev.

Fixed the kern.dumpdev sysctl.  Writes were handle bogusly.

28 years agoSynced with sio.c: added support for TIOCDCDTIMESTAMP and simplified
bde [Tue, 30 Jul 1996 19:50:37 +0000 (19:50 +0000)]
Synced with sio.c: added support for TIOCDCDTIMESTAMP and simplified
timestamp code.

28 years agoFixed the machdep.i8254_freq and machdep.i586_freq sysctls. Writes were
bde [Tue, 30 Jul 1996 19:26:55 +0000 (19:26 +0000)]
Fixed the machdep.i8254_freq and machdep.i586_freq sysctls.  Writes were
handled bogusly.

Centralized the setting of all the frequency variables.  Set these
variables atomically.  Some new ones aren't used yet.

28 years agoAdd better support for retrieving management information from network
wollman [Tue, 30 Jul 1996 19:17:07 +0000 (19:17 +0000)]
Add better support for retrieving management information from network
interfaces.  This creates two new tables in the net.link.generic branch
of the MIB; one contains (essentially) `ifdata' structures, and the other
contains a blob provided by the interface (and presumably used to
implement link-layer-specific MIB variables).  A number of things
have been moved around in the `ifnet' and `ifdata' structures, so
NEW VERSIONS OF ifconfig(8) AND routed(8) ARE REQUIRED.  (A simple
recompile is all that's necessary.)

I have a sample program which uses this interface for those interested
in making use of it.

28 years agoFix a bug under time's "-l" option. The values reported for average
jdp [Tue, 30 Jul 1996 19:00:12 +0000 (19:00 +0000)]
Fix a bug under time's "-l" option.  The values reported for average
shared memory size, average unshared data size, and average unshared
stack size were too high by a factor of 128/100, because the program
used a hard-coded hz value of 100.  The correct value is the frequency
of the statistics clock, currently 128.  The program now uses sysctl
to get the stathz value from the kernel.

Discussed with: bde@freebsd.org (Bruce Evans)

28 years agoAnother round of merge.
asami [Tue, 30 Jul 1996 18:56:16 +0000 (18:56 +0000)]
Another round of merge.

Submitted by: The FreeBSD(98) Development Team

28 years agoOnly use the special bdevvp() for DEVFS if DEVFS_ROOT is defined. This
bde [Tue, 30 Jul 1996 18:00:32 +0000 (18:00 +0000)]
Only use the special bdevvp() for DEVFS if DEVFS_ROOT is defined.  This
makes option DEVFS safe to use again (although mounting devfs is unsafe).

28 years agoDocument that the major and minor numbers are parsed by strtoul().
bde [Tue, 30 Jul 1996 17:44:36 +0000 (17:44 +0000)]
Document that the major and minor numbers are parsed by strtoul().

28 years agoUse strtoul() more carefully.
bde [Tue, 30 Jul 1996 17:43:21 +0000 (17:43 +0000)]
Use strtoul() more carefully.

Check that the major and minor are valid.

Don't print `.' at the end of error messages.

Fixed all warnings from "cc -Wall".

28 years agoDocument that the relevant clock ticks are for the statistics clock
bde [Tue, 30 Jul 1996 17:32:49 +0000 (17:32 +0000)]
Document that the relevant clock ticks are for the statistics clock
and that the statistics clock has a frequency of sysconf(_SC_CLK_TCK).

28 years agoDocument that clock ticks are for the profiling clock and that the
bde [Tue, 30 Jul 1996 17:26:34 +0000 (17:26 +0000)]
Document that clock ticks are for the profiling clock and that the
clock frequency is stored in the gmon header.

28 years agoFixed description of _SC_CLK_TCK. Both the clock and the units
bde [Tue, 30 Jul 1996 17:15:09 +0000 (17:15 +0000)]
Fixed description of _SC_CLK_TCK.  Both the clock and the units
were wrong.

28 years agoFixed comment about ru_maxrss. This field isn't an integral.
bde [Tue, 30 Jul 1996 17:06:44 +0000 (17:06 +0000)]
Fixed comment about ru_maxrss.  This field isn't an integral.

28 years agoFixed resource usage integrals. They were too large by a factor of
bde [Tue, 30 Jul 1996 16:59:22 +0000 (16:59 +0000)]
Fixed resource usage integrals.  They were too large by a factor of
of profhz/stathz when profiling was enabled.

28 years agoone file somehow slipped by me in the previous commit
adam [Tue, 30 Jul 1996 15:44:30 +0000 (15:44 +0000)]
one file somehow slipped by me in the previous commit
tidy up

28 years agoFix GIO_ATTR ioctl return to match SYSV
ache [Tue, 30 Jul 1996 15:20:08 +0000 (15:20 +0000)]
Fix GIO_ATTR ioctl return to match SYSV