]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoroll core version minor and wire a non-i386 default Loop ID to 113
Matt Jacob [Sat, 5 Dec 1998 01:28:38 +0000 (01:28 +0000)]
roll core version minor and wire a non-i386 default Loop ID to 113

25 years agooffset was wrong for HARDLOOPID in NVRAM
Matt Jacob [Sat, 5 Dec 1998 01:07:52 +0000 (01:07 +0000)]
offset was wrong for HARDLOOPID in NVRAM

25 years agoRoll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control which
Matt Jacob [Sat, 5 Dec 1998 00:47:25 +0000 (00:47 +0000)]
Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control which
one gets compiled in by default. The default is private loop, non-expanded lun.

25 years agoroll to 1.31 level
Matt Jacob [Sat, 5 Dec 1998 00:38:31 +0000 (00:38 +0000)]
roll to 1.31 level

25 years agotrivial header fix
Matt Jacob [Sat, 5 Dec 1998 00:07:04 +0000 (00:07 +0000)]
trivial header fix

25 years agoExamine all occurrences of sprintf(), strcat(), and str[n]cpy()
Archie Cobbs [Fri, 4 Dec 1998 22:54:57 +0000 (22:54 +0000)]
Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.

These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.

Reviewed by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: Mike Spengler <mks@networkcs.com>

25 years agoFix compiler warnings.
Archie Cobbs [Fri, 4 Dec 1998 22:14:05 +0000 (22:14 +0000)]
Fix compiler warnings.

25 years agoEliminate a zillion "left-hand operand of comma expression has no effect"
Archie Cobbs [Fri, 4 Dec 1998 22:00:33 +0000 (22:00 +0000)]
Eliminate a zillion "left-hand operand of comma expression has no effect"
compiler warnings when NLPT_DEBUG is not defined.

25 years agoPut back some missing chip identification code that got lost somehow
Bill Paul [Fri, 4 Dec 1998 21:48:12 +0000 (21:48 +0000)]
Put back some missing chip identification code that got lost somehow
during a trek through RCS. The Macronix 98713 and 98713A both have the
same PCI device ID but different revision numbers, and we need to be
able to tell one from the other. The 98715 and 98715A chips have the
same device ID as the 98725 chip but different revision numbers, however
we lump them into the same category except when identifying them during
the PCI probe output.

The main reason we need tell the chips apart is that the Macronix app
notes say you have to write a special magic number into one of the
registers in order to put the chip in normal operating mode. The 98713
requires one magic value, while all the others require a different one.

25 years agoFix typo: expression needs parentheses
Archie Cobbs [Fri, 4 Dec 1998 21:41:18 +0000 (21:41 +0000)]
Fix typo: expression needs parentheses
PR:             8280 (3/3 patches contained in this PR)
Submitted by:   Sakari Jalovaara <sja@tekla.fi>

25 years agoFix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..
Archie Cobbs [Fri, 4 Dec 1998 21:33:06 +0000 (21:33 +0000)]
Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..
PR:             8280 (2/3 patches contained in this PR)
Submitted by:   Sakari Jalovaara <sja@tekla.fi>

25 years agoFix typo: "==" should have been "="
Archie Cobbs [Fri, 4 Dec 1998 21:28:39 +0000 (21:28 +0000)]
Fix typo: "==" should have been "="
PR: 8280 (1/3 patches contained in this PR)
Reviewed by: Nate Williams <nate@mt.sri.com>
Submitted by: Sakari Jalovaara <sja@tekla.fi>

25 years agoTypo and formatting updates.
Bill Fumerola [Fri, 4 Dec 1998 19:39:05 +0000 (19:39 +0000)]
Typo and formatting updates.

PR: docs/8504
Approved by: Brian Somers
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>

25 years agoDon't print diagnostic anymore
Robert V. Baron [Fri, 4 Dec 1998 18:44:21 +0000 (18:44 +0000)]
Don't print diagnostic anymore

25 years agoIn vnode_pager_input_old, set auio.uio_procp = curproc
Robert V. Baron [Fri, 4 Dec 1998 18:39:44 +0000 (18:39 +0000)]
In vnode_pager_input_old, set auio.uio_procp = curproc
vs auio.uio_procp = (struct proc *) 0

25 years agoAn early Christmas present: add driver support for a whole bunch of
Bill Paul [Fri, 4 Dec 1998 18:01:24 +0000 (18:01 +0000)]
An early Christmas present: add driver support for a whole bunch of
PCI fast ethernet adapters, plus man pages.

if_pn.c: Netgear FA310TX model D1, LinkSys LNE100TX, Matrox FastNIC 10/100,
         various other PNIC devices

if_mx.c: NDC Communications SOHOware SFA100 (Macronix 98713A), various
         other boards based on the Macronix 98713, 98713A, 98715, 98715A
         and 98725 chips

if_vr.c: D-Link DFE530-TX, other boards based on the VIA Rhine and
         Rhine II chips (note: the D-Link and certain other cards
         that actually use a Rhine II chip still return the PCI
         device ID of the Rhine I. I don't know why, and it doesn't
         really matter since the driver treats both chips the same
         anyway.)

if_wb.c: Trendware TE100-PCIE and various other cards based on the
         Winbond W89C840F chip (the Trendware card is identical to
         the sample boards Winbond sent me, so who knows how many
         clones there are running around)

All drivers include support for ifmedia, BPF and hardware multicast
filtering.

Also updated GENERIC, LINT, RELNOTES.TXT, userconfig and
sysinstall device list.

I also have a driver for the ASIX AX88140A in the works.

25 years agoSync with sys/i386/conf/majors.i386 revision 1.93.
KATO Takenori [Fri, 4 Dec 1998 14:41:32 +0000 (14:41 +0000)]
Sync with sys/i386/conf/majors.i386 revision 1.93.

25 years agoSync with sys/i386/conf/majors.i386 revision up to 1.55.
KATO Takenori [Fri, 4 Dec 1998 14:39:29 +0000 (14:39 +0000)]
Sync with sys/i386/conf/majors.i386 revision up to 1.55.

25 years agoImplement 'software completion' for floating point arithmetic. On the
Doug Rabson [Fri, 4 Dec 1998 10:52:48 +0000 (10:52 +0000)]
Implement 'software completion' for floating point arithmetic.  On the
alpha, operations involving non-finite numbers or denormalised numbers
or operations which should generate such numbers will cause an arithmetic
exception.  For programs which follow some strict code generation rules,
the kernel trap handler can then 'complete' the operation by emulating
the faulting instruction.

To use software completion, a program must be compiled with the arguments
'-mtrap-precision=i' and '-mfp-trap-mode=su' or '-mfp-trap-mode=sui'.
Programs compiled in this way can use non-finite and denormalised numbers
at the expense of slightly less efficient code generation of floating
point instructions.  Programs not compiled with these options will receive
a SIGFPE signal when non-finite or denormalised numbers are used or
generated.

Reviewed by: John Polstra <jdp@polstra.com>

25 years agoAllow either tabs or spaces in configuration files.
Jordan K. Hubbard [Fri, 4 Dec 1998 06:49:20 +0000 (06:49 +0000)]
Allow either tabs or spaces in configuration files.

PR: 8762
Submitted by: Igor Roshchin <str@giganda.komkon.org>

25 years ago Cleanup icmp_var.h, make icmp bandlim sysctl permanent but if ICMP_BANDLIM
Matthew Dillon [Fri, 4 Dec 1998 04:21:25 +0000 (04:21 +0000)]
Cleanup icmp_var.h, make icmp bandlim sysctl permanent but if ICMP_BANDLIM
    option not defined the sysctl int value is set to -1 and read-only.

    #ifdef KERNEL's added appropriately to wall off visibility of kernel
    routines from user code.

25 years agoObtained from: "Andrey A. Chernov" <ache@nagual.pp.ru>
Matthew Dillon [Fri, 4 Dec 1998 03:49:18 +0000 (03:49 +0000)]
Obtained from: "Andrey A. Chernov" <ache@nagual.pp.ru>

     Quick add #ifdef KERNEL for ICMP_BANDLIM option so userland program
     can #include icmp_var.h

25 years agoFix typo ('strait' -> 'straight').
Joseph Koshy [Fri, 4 Dec 1998 00:51:17 +0000 (00:51 +0000)]
Fix typo ('strait' -> 'straight').

PR: docs/8956
Submitted by: Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>

25 years agoAdd __attribute__ ((unused)) to the SYSINIT etc macros which declare
John Birrell [Thu, 3 Dec 1998 23:02:03 +0000 (23:02 +0000)]
Add __attribute__ ((unused)) to the SYSINIT etc macros which declare
static structures that are used with the data set magic. This allows
kernel modules, for example, to be compiled with -Wall -Werror.

25 years agoMake a spelling fix, and make sure all instances of belltype contain the
Bill Fumerola [Thu, 3 Dec 1998 22:21:13 +0000 (22:21 +0000)]
Make a spelling fix, and make sure all instances of belltype contain the
preceded option "quiet."

PR: docs/8506
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>

25 years agoClarify what the '-r' option does.
Bill Fumerola [Thu, 3 Dec 1998 20:44:45 +0000 (20:44 +0000)]
Clarify what the '-r' option does.

PR: docs/8108
Submitted by: Matthew Fuller <fullermd@futuresouth.com>

25 years ago Make bootp error message slightly more verbose
Matthew Dillon [Thu, 3 Dec 1998 20:28:23 +0000 (20:28 +0000)]
Make bootp error message slightly more verbose

25 years agoReviewed by: freebsd-current
Matthew Dillon [Thu, 3 Dec 1998 20:23:21 +0000 (20:23 +0000)]
Reviewed by: freebsd-current

    Add ICMP_BANDLIM option and 'net.inet.icmp.icmplim' sysctl.  If option
    is specified in kernel config, icmplim defaults to 100 pps.  Setting it
    to 0 will disable the feature.  This feature limits ICMP error responses
    for packets sent to bad tcp or udp ports, which does a lot to help the
    machine handle network D.O.S. attacks.

    The kernel will report packet rates that exceed the limit at a rate of
    one kernel printf per second.  There is one issue in regards to the
    'tail end' of an attack... the kernel will not output the last report
    until some unrelated and valid icmp error packet is return at some
    point after the attack is over.  This is a minor reporting issue only.

25 years agoReviewed by: freebsd-current
Matthew Dillon [Thu, 3 Dec 1998 20:06:01 +0000 (20:06 +0000)]
Reviewed by: freebsd-current

    Add ICMP_BANDLIM option

25 years agoThe explanation shows "-V" as being 'verbose' correct this to "-v"
Bill Fumerola [Thu, 3 Dec 1998 19:54:43 +0000 (19:54 +0000)]
The explanation shows "-V" as being 'verbose' correct this to "-v"

PR: docs/8892
Submitted by: Hirayama Issei <iss@mail.wbs.ne.jp>

25 years agoFixed broken code in sendfile(2) when using file offsets.
David Greenman [Thu, 3 Dec 1998 12:35:47 +0000 (12:35 +0000)]
Fixed broken code in sendfile(2) when using file offsets.

25 years agoLocal reserved range is now 100-127 for bdevs and 200-255 for cdevs.
Jordan K. Hubbard [Thu, 3 Dec 1998 08:32:49 +0000 (08:32 +0000)]
Local reserved range is now 100-127 for bdevs and 200-255 for cdevs.

Corrected by: bde

25 years ago Fixed typo in previous commit. oops.
Matthew Dillon [Thu, 3 Dec 1998 07:25:13 +0000 (07:25 +0000)]
Fixed typo in previous commit. oops.

25 years agoReviewed by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, cvs-all@freebsd.org
Matthew Dillon [Thu, 3 Dec 1998 07:22:44 +0000 (07:22 +0000)]
Reviewed by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, cvs-all@freebsd.org

    Add '-g' main option to cvs to better support shared-group access
    to a common checked-out *working* set by multiple users.  See manual
    page for details.

25 years agoFixed long line in previous commit.
Bruce Evans [Thu, 3 Dec 1998 05:45:18 +0000 (05:45 +0000)]
Fixed long line in previous commit.

25 years agoAdd snprintf(3) and vsnprintf(3) capability to the kernel.
Archie Cobbs [Thu, 3 Dec 1998 04:45:57 +0000 (04:45 +0000)]
Add snprintf(3) and vsnprintf(3) capability to the kernel.
Reviewed by: bde

25 years agoFix bugs in mdoc.samples(7): clean up references, quote usage of macros,
Joseph Koshy [Thu, 3 Dec 1998 03:38:45 +0000 (03:38 +0000)]
Fix bugs in mdoc.samples(7): clean up references, quote usage of macros,
correct typos.

PR: docs/9942
Submitted by: vanitas@ma3.seikyou.ne.jp
Reviewed by: jkoshy

25 years agoCosmetic and documentation changes brought from earlier FreeBSD versions.
Julian Elischer [Thu, 3 Dec 1998 02:41:11 +0000 (02:41 +0000)]
Cosmetic and documentation changes brought from earlier FreeBSD versions.
(e.g. RCS Id:)

25 years agoAdd a reference to man(7).
Joseph Koshy [Thu, 3 Dec 1998 02:32:20 +0000 (02:32 +0000)]
Add a reference to man(7).

25 years agoReviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>
Julian Elischer [Thu, 3 Dec 1998 02:27:35 +0000 (02:27 +0000)]
Reviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Obtained from: Mckusick, BSDI and a host of others

This exactly matches Kirks sources imported under the
Tag MCKUSICK2. These are as supplied by kirk with one small
change needed to compile under freeBSD.

Some FreeBSD patches will be added back, though many have been
added to Kirk's sources already.

25 years agoThese shouldn't have been checked in here..
Julian Elischer [Wed, 2 Dec 1998 23:45:28 +0000 (23:45 +0000)]
These shouldn't have been checked in here..

Reviewee by:

25 years agoslstats(8) --> slstat(8)
Bill Fumerola [Wed, 2 Dec 1998 23:29:25 +0000 (23:29 +0000)]
slstats(8) --> slstat(8)

PR: docs/8107
Submitted by: Matthew Fuller <fullermd@futuresouth.com>

25 years agoFix typo. "If the an entry" --> "If an entry"
Bill Fumerola [Wed, 2 Dec 1998 23:20:11 +0000 (23:20 +0000)]
Fix typo. "If the an entry" --> "If an entry"

PR: docs/8140
Submitted by: Sue Blake <sue@vedanix.welearn.com.au>

25 years agoInsert missing macro, and while I'm here change the inconsistent
Bill Fumerola [Wed, 2 Dec 1998 22:42:36 +0000 (22:42 +0000)]
Insert missing macro, and while I'm here change the inconsistent
"page_ctl" and "pagectl" to "pgctl" to reflect ``camcontrol --help''.

PR: docs/8781
Submitted by: Norihiro Kumagai <kuma@jp.FreeBSD.org>

25 years agoUpdate to correctly reflect the default values of
Bill Fumerola [Wed, 2 Dec 1998 22:11:02 +0000 (22:11 +0000)]
Update to correctly reflect the default values of
net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast

PR: docs/6745
Submitted by: Masachika Ishizuka <ishizuka@ish.org>

25 years ago109 id Intelligent Disk [Array] (md@doc.ic.ac.uk)
Jordan K. Hubbard [Wed, 2 Dec 1998 21:26:11 +0000 (21:26 +0000)]
109     id              Intelligent Disk [Array] (md@doc.ic.ac.uk)

Requested by: Mark Dawson <md@doc.ic.ac.uk>

25 years agoThis commit was generated by cvs2svn to compensate for changes in r41461,
Julian Elischer [Wed, 2 Dec 1998 20:53:40 +0000 (20:53 +0000)]
This commit was generated by cvs2svn to compensate for changes in r41461,
which included commits to RCS files with non-trunk default branches.

25 years agoLatest version of fsck from the folks at EX-CSRG specifically Kirk Mckusick.
Julian Elischer [Wed, 2 Dec 1998 20:53:40 +0000 (20:53 +0000)]
Latest version of fsck from the folks at EX-CSRG specifically Kirk Mckusick.
Don Lewis and Kirk have merges nearly all FreeBSD Fixes into Kirks sources
so there is very little that needs to be re-merged.

25 years ago Since we do not pre-create /etc/namedb/s, add additional documentation
Matthew Dillon [Wed, 2 Dec 1998 19:59:24 +0000 (19:59 +0000)]
Since we do not pre-create /etc/namedb/s, add additional documentation
    to the comments in named.conf to describe to the user how to create it.
    (named.conf does not use /etc/namedb/s by default anyway so us not
    pre-created it in the mtree does not hurt us terribly).

25 years ago Remove mtree creation of /etc/namedb/s until we find a good way
Matthew Dillon [Wed, 2 Dec 1998 19:57:20 +0000 (19:57 +0000)]
Remove mtree creation of /etc/namedb/s until we find a good way
    to handle new user id's in buildworld/installworld.

25 years ago"Fix" a problem with the Quantum Viking. It appears that this drive does
Kenneth D. Merry [Wed, 2 Dec 1998 17:35:28 +0000 (17:35 +0000)]
"Fix" a problem with the Quantum Viking.  It appears that this drive does
not like the 6-byte read and write commands!  It returns illegal request,
with the field pointer pointing to byte 9 of a 6 byte CDB.

In any case, the work around is to put in a quirk mechanism that makes sure
that we don't send 6-byte reads or writes to this device.  It's rather sad
that this is necessary.  You'd think that they would be able to get
something that basic to work right in their firmware...

Reviewed by: gibbs
Reported by: Adam McDougall <bsdx@spawnet.com>

25 years agoUse /sbin/nologin as shell for operator
Andrey A. Chernov [Wed, 2 Dec 1998 15:17:10 +0000 (15:17 +0000)]
Use /sbin/nologin as shell for operator
Replace non-existent directory for operator with /
Supply by default operator with non-existent but can be created directory
and /bin/csh is kinda security risk

25 years agoRestore the user HAE all the time, not just when returning to usermode.
Doug Rabson [Wed, 2 Dec 1998 10:24:56 +0000 (10:24 +0000)]
Restore the user HAE all the time, not just when returning to usermode.
This closes a very small window where the use HAE might not be restored
at all.  This only happens when switching to a process which has used the
HAE.

25 years agoEnable BWX i/o access. I disabled it by mistake with the last commit.
Doug Rabson [Wed, 2 Dec 1998 09:33:27 +0000 (09:33 +0000)]
Enable BWX i/o access.  I disabled it by mistake with the last commit.

Pointed out by: Andrew Gallatin <gallatin@cs.duke.edu>

25 years ago- For some old Cyrix CPUs, %cr2 is clobbered by interrupts. This
KATO Takenori [Wed, 2 Dec 1998 08:15:17 +0000 (08:15 +0000)]
-  For some old Cyrix CPUs, %cr2 is clobbered by interrupts.  This
   problem is worked around by using an interrupt gate for the page
   fault handler.  This code was originally made for NetBSD/pc98 by
   Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp> and has already
   been in PC98 tree.  Because of this bug, trap_fatal cannot show
   correct page fault address if %cr2 is obtained in this function.
   Therefore, trap_fatal uses the value from trap() function.
-  The trap handler always enables interruption when buggy application
   or kernel code has disabled interrupts and then trapped.  This code
   was prepared by Bruce Evans <bde@FreeBSD.org>.

Submitted by: Bruce Evans <bde@FreeBSD.org>
Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp>

25 years agoSync with sys/i386/isa/isa.c revision 1.117.
KATO Takenori [Wed, 2 Dec 1998 08:04:12 +0000 (08:04 +0000)]
Sync with sys/i386/isa/isa.c revision 1.117.

25 years agoSync with sys/i386/conf/majors.i386 revision up to 1.53.
KATO Takenori [Wed, 2 Dec 1998 08:02:41 +0000 (08:02 +0000)]
Sync with sys/i386/conf/majors.i386 revision up to 1.53.

25 years agoUpdate for XFree86 3.3.3
Jordan K. Hubbard [Wed, 2 Dec 1998 03:34:14 +0000 (03:34 +0000)]
Update for XFree86 3.3.3

25 years ago1. Increase NFS path length.
Jordan K. Hubbard [Wed, 2 Dec 1998 03:27:37 +0000 (03:27 +0000)]
1. Increase NFS path length.
2. Bump to XFree86 3.3.3.

25 years ago(deliberately seperate commits) - reserve cdev for Nick Hibma's usb
Jordan K. Hubbard [Wed, 2 Dec 1998 03:14:27 +0000 (03:14 +0000)]
(deliberately seperate commits) - reserve cdev for Nick Hibma's usb
driver.

25 years ago*thwap* - move id driver to blkdev from cdev list; it's obviously
Jordan K. Hubbard [Wed, 2 Dec 1998 03:13:35 +0000 (03:13 +0000)]
*thwap* - move id driver to blkdev from cdev list; it's obviously
going to want a major number from that list instead.  Also use the
same preallocated local range (500-600) for blkdevs as well as cdevs,
just to be orthogonal.  The latter was for Brian, who has a *lot*
of local device drivers and needs more than just a single reserved
number.

25 years agoAllocate 108 for Intelligent Disk [Array] driver
Jordan K. Hubbard [Wed, 2 Dec 1998 03:09:44 +0000 (03:09 +0000)]
Allocate 108 for Intelligent Disk [Array] driver
(http://www.doc.ic.ac.uk/~md/ida/).

Requested by: Mark Dawson <md@doc.ic.ac.uk>

25 years agoCheck return value of malloc() in expand_name.
Eivind Eklund [Wed, 2 Dec 1998 01:53:48 +0000 (01:53 +0000)]
Check return value of malloc() in expand_name.

Reviewed by: sef

25 years agoAdded a -D option to turn on TCP_NODELAY.
David Greenman [Tue, 1 Dec 1998 23:27:24 +0000 (23:27 +0000)]
Added a -D option to turn on TCP_NODELAY.

25 years ago comsat sandbox prevents biff/comsat from being able to print partial
Matthew Dillon [Tue, 1 Dec 1998 22:01:59 +0000 (22:01 +0000)]
comsat sandbox prevents biff/comsat from being able to print partial
    mailbox contents.  comsat instead simply prints that new mail is
    available.  Add appropriate comment to inetd.conf but leave comsat in
    sandbox.

25 years agoThe Neomagic chip is a 2160 not a 3160.
Søren Schmidt [Tue, 1 Dec 1998 21:50:58 +0000 (21:50 +0000)]
The Neomagic chip is a 2160 not a 3160.

25 years agoReviewed by: freebsd-current, freebsd-security
Matthew Dillon [Tue, 1 Dec 1998 21:36:33 +0000 (21:36 +0000)]
Reviewed by: freebsd-current, freebsd-security

    Adjust rc.conf to run named in sandbox, adjust mtree to add /etc/namedb/s
    subdirectory (user bind, group bind) to hold secondaries, adjust
    comments in named.conf to reflect new secondary scheme.  (Note that
    core read-only zone files are left owned by root, increasing security even
    more).

25 years ago Added group bind(53), added sandbox users tty(4), kmem(5), and bind(53),
Matthew Dillon [Tue, 1 Dec 1998 21:19:49 +0000 (21:19 +0000)]
Added group bind(53), added sandbox users tty(4), kmem(5), and bind(53),
    adjustd inetd.conf to run comsat and ntalk from tty sandbox, and
    the (commented out) ident from the kmem sandbox.

    Note that it is necessary to give each group access it's own uid to
    prevent programs running under a single uid from being able to gdb
    or otherwise mess with other programs (with different group perms) running
    under the same uid.

25 years agoReviewed by: freebsd-current, freebsd-security
Matthew Dillon [Tue, 1 Dec 1998 21:12:57 +0000 (21:12 +0000)]
Reviewed by: freebsd-current, freebsd-security

    Removed getuid() root check so ntalkd can be run from a tty sandbox.
    It isn't suid root anyway, who knows why the getuid() check was even
    in there in the first place!

25 years agoMacro "Re" stands for "Reference End", not "Reference Start"
Bill Fumerola [Tue, 1 Dec 1998 19:58:58 +0000 (19:58 +0000)]
Macro "Re" stands for "Reference End", not "Reference Start"

PR: docs/8727
Reviewed by: jdp
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>

25 years agoObtained from: "Jan B. Koum " <jkb@best.com>
Matthew Dillon [Tue, 1 Dec 1998 17:05:08 +0000 (17:05 +0000)]
Obtained from: "Jan B. Koum " <jkb@best.com>

    Add a reference to pam(8) in the login(1) and login.access(5) manual
    pages.

25 years ago Added reference to mdoc(7) and mdoc.samples(7) to the bottom of
Matthew Dillon [Tue, 1 Dec 1998 06:35:06 +0000 (06:35 +0000)]
Added reference to mdoc(7) and mdoc.samples(7) to the bottom of
    man(1).  The man manual page is the obvious first place that people
    who are trying to write manual pages look.

25 years ago- Fix modulo bug.
Nate Williams [Tue, 1 Dec 1998 05:29:06 +0000 (05:29 +0000)]
- Fix modulo bug.

Reminded by: bde

25 years ago".Mn mountd" -> ".Nm mountd" which now makes the instructions accurate.
Bill Fumerola [Mon, 30 Nov 1998 23:21:24 +0000 (23:21 +0000)]
".Mn mountd" -> ".Nm mountd" which now makes the instructions accurate.

PR: docs/8525
Submitted by: Norihiro Kumagai <kuma@jp.FreeBSD.org>

25 years agosuperceded -> superseded, which after some debate on #FreeBSD is in
Bill Fumerola [Mon, 30 Nov 1998 23:05:38 +0000 (23:05 +0000)]
superceded -> superseded, which after some debate on #FreeBSD is in
fact the proper spelling.

PR: docs/8697
Submitted by: Sascha Blank <blank@fox.uni-trier.de>

25 years agochangable -> changeable
Bill Fumerola [Mon, 30 Nov 1998 22:56:44 +0000 (22:56 +0000)]
changable -> changeable

PR: docs/8697
Submitted by: Sascha Blank <blank@fox.uni-trier.de>

25 years agoWe use login.conf, not login.cap
Bill Fumerola [Mon, 30 Nov 1998 22:41:58 +0000 (22:41 +0000)]
We use login.conf, not login.cap

PR: doc/8897
Submitted by: Jonathan Hanna <pangolin@home.com>

25 years agoGrammer fix and style nits.
Bill Fumerola [Mon, 30 Nov 1998 22:25:24 +0000 (22:25 +0000)]
Grammer fix and style nits.

PR: docs/8879
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>

25 years agoFormatting bug. What should have been "Veritas(tm)" was coming out
Bill Fumerola [Mon, 30 Nov 1998 21:38:06 +0000 (21:38 +0000)]
Formatting bug. What should have been "Veritas(tm)" was coming out
"Veritastm".

PR: docs/8733
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>

25 years ago- Fix modulo bug that was masked by the correct code in libgcc.a which is
Nate Williams [Mon, 30 Nov 1998 20:25:37 +0000 (20:25 +0000)]
- Fix modulo bug that was masked by the correct code in libgcc.a which is
  used in almost all programs unless a shared library specifically
  ignores libgcc.a.

25 years agoRefer to "da" rather than "sd" device.
Robert Nordier [Mon, 30 Nov 1998 17:52:45 +0000 (17:52 +0000)]
Refer to "da" rather than "sd" device.

25 years agoOn the alpha, sizeof(char*) != sizeof(int) which was assumed in
Doug Rabson [Mon, 30 Nov 1998 10:12:03 +0000 (10:12 +0000)]
On the alpha, sizeof(char*) != sizeof(int) which was assumed in
term_init().  This is the cause of /usr/bin/ftp faulting on the alpha.

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>

25 years agoHonor MNT_NOATIME.
Dmitrij Tejblum [Sun, 29 Nov 1998 22:38:57 +0000 (22:38 +0000)]
Honor MNT_NOATIME.

PR: 8383
Submitted by: Carl Mascott <cmascott@world.std.com>

25 years agoMake the previous behaviour the default, add a sysctl which you
Poul-Henning Kamp [Sun, 29 Nov 1998 20:31:02 +0000 (20:31 +0000)]
Make the previous behaviour the default, add a sysctl which you
can set if your hw/sw produces the "calcru negative..." message.

Setting the alternate method (sysctl -w kern.timecounter.method=1)
makes the the get{nano|micro}*() functions call the real thing at
resulting in a measurable but minor overhead.

I decided to NOT have the "calcru" change the method automatically
because you should be aware of this problem if you have it.

The problems currently seen, related to usleep and a few other corners
are fixed for both methods.

25 years agodon't print '?' for ioaddr the device may legitimately not have an
Poul-Henning Kamp [Sun, 29 Nov 1998 15:42:40 +0000 (15:42 +0000)]
don't print '?' for ioaddr the device may legitimately not have an
ioaddr.

25 years agoSet TMPDIR to /tmp
Wolfram Schneider [Sun, 29 Nov 1998 14:46:35 +0000 (14:46 +0000)]
Set TMPDIR to /tmp
Use the new find option -s for sorted output.
Remove the temp directory in trap.

25 years agoDrop EDD support detection, though retain configurable use of disk
Robert Nordier [Sun, 29 Nov 1998 14:09:00 +0000 (14:09 +0000)]
Drop EDD support detection, though retain configurable use of disk
packet interface.  Add booteasy-style F5 support.  Add no-update
option. Implement various space optimizations and consistency fixes.

25 years agoDescribe `bs=n' more precisely. Fixed some English errors.
Bruce Evans [Sun, 29 Nov 1998 13:54:20 +0000 (13:54 +0000)]
Describe `bs=n' more precisely.  Fixed some English errors.

Obtained from: OpenBSD

25 years agoDescribed the search path Make uses to find makefiles.
Peter da Silva [Sun, 29 Nov 1998 13:46:39 +0000 (13:46 +0000)]
Described the search path Make uses to find makefiles.

25 years agoFixed non-use of .Nm and hard line breaks in rev.1.16-1.17:
Bruce Evans [Sun, 29 Nov 1998 13:20:04 +0000 (13:20 +0000)]
Fixed non-use of .Nm and hard line breaks in rev.1.16-1.17:

25 years agoStraightened the terminology straightening in 1.17-1.18. Fixed hard
Bruce Evans [Sun, 29 Nov 1998 13:09:01 +0000 (13:09 +0000)]
Straightened the terminology straightening in 1.17-1.18.  Fixed hard
line breaks in rev.1.16-1.18.

25 years agoFixed style bugs in previous commit.
Bruce Evans [Sun, 29 Nov 1998 12:17:09 +0000 (12:17 +0000)]
Fixed style bugs in previous commit.

25 years agoFixed English in previous commit. Clarify "lexicographical order".
Bruce Evans [Sun, 29 Nov 1998 12:00:06 +0000 (12:00 +0000)]
Fixed English in previous commit.  Clarify "lexicographical order".
Don't format paragraphs manually (new sentences not beginning on new
lines give hard-formatted line breaks).

25 years agoSync with sys/i386/boot/netboot/Makefile revision 1.21.
KATO Takenori [Sun, 29 Nov 1998 11:55:11 +0000 (11:55 +0000)]
Sync with sys/i386/boot/netboot/Makefile revision 1.21.

25 years agoFixed my English fixes.
Bruce Evans [Sun, 29 Nov 1998 11:34:30 +0000 (11:34 +0000)]
Fixed my English fixes.

25 years agoFixed style bugs and English in previous commit.
Bruce Evans [Sun, 29 Nov 1998 11:11:07 +0000 (11:11 +0000)]
Fixed style bugs and English in previous commit.

25 years agoFixed disorder and and usage message. Improved English.
Bruce Evans [Sun, 29 Nov 1998 10:41:01 +0000 (10:41 +0000)]
Fixed disorder and and usage message.  Improved English.

Broken in: previous commit

25 years agoFixed disordering in previous commit.
Bruce Evans [Sun, 29 Nov 1998 10:08:27 +0000 (10:08 +0000)]
Fixed disordering in previous commit.

25 years agoDon't use the strange null pointer constant `(ufs_daddr_t)0' in a call
Bruce Evans [Sun, 29 Nov 1998 03:12:06 +0000 (03:12 +0000)]
Don't use the strange null pointer constant `(ufs_daddr_t)0' in a call
to VOP_BMAP().  Don't use uncast NULLs in the same call.

25 years agoFixed SUBDIR order.
Bruce Evans [Sun, 29 Nov 1998 02:47:52 +0000 (02:47 +0000)]
Fixed SUBDIR order.