]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoClear error in nfsrv_create when we have a valid reply so that
alc [Wed, 28 Jul 1999 08:20:49 +0000 (08:20 +0000)]
Clear error in nfsrv_create when we have a valid reply so that
that reply is actually transmitted.
Submitted by: dillon

25 years agoAdd support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are
dfr [Wed, 28 Jul 1999 07:57:48 +0000 (07:57 +0000)]
Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are
equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual()
address of the resource is initialised to point into either dense-mapped
or bwx-mapped space respectively, allowing direct memory pointers to be
used to device memory.

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

25 years agoUse Yacc rather than Bison.
obrien [Wed, 28 Jul 1999 07:22:08 +0000 (07:22 +0000)]
Use Yacc rather than Bison.

25 years agoThe Unix way is arguments come before an input file name, not after.
obrien [Wed, 28 Jul 1999 07:19:38 +0000 (07:19 +0000)]
The Unix way is arguments come before an input file name, not after.

25 years agoCorrectly refer to the companion program rather than as "chown".
obrien [Wed, 28 Jul 1999 04:28:05 +0000 (04:28 +0000)]
Correctly refer to the companion program rather than as "chown".
Clean up wording a little (like I have any idea what real English looks like...)

25 years agoGo back to allowing ``.'' as a username.group separator for backward
obrien [Wed, 28 Jul 1999 04:26:10 +0000 (04:26 +0000)]
Go back to allowing ``.'' as a username.group separator for backward
compatibility.  : is still the documented non-ambiguous approach.  The
algorithm used will correctly parse david.obrien.staff as strrchar() is
used, and in my mind more people would use a ``.'' in the username than
the group name.

Convinced by argument and patch by: sheldonh (with slight changes by me)

25 years agoFix a load of typos
brian [Wed, 28 Jul 1999 03:01:52 +0000 (03:01 +0000)]
Fix a load of typos
Use sizeof, not a hardcode value.

Some of it submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>

25 years agoAdd a module Makefile for the PNIC driver.
wpaul [Wed, 28 Jul 1999 02:21:56 +0000 (02:21 +0000)]
Add a module Makefile for the PNIC driver.

25 years agoConvert the PNIC driver to newbus.
wpaul [Wed, 28 Jul 1999 02:19:52 +0000 (02:19 +0000)]
Convert the PNIC driver to newbus.

25 years agoShow how to use the new filter capabilities
brian [Tue, 27 Jul 1999 23:44:29 +0000 (23:44 +0000)]
Show how to use the new filter capabilities

Mostly submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>

25 years agoo Overhaul filtering, adding facilities to jump over rules and to
brian [Tue, 27 Jul 1999 23:44:00 +0000 (23:44 +0000)]
o Overhaul filtering, adding facilities to jump over rules and to
  negate the sense of rules.
o Remove the redundant (and undocumented) ``host'' and ``port''
  words (README.changes updated).
o Don't permit (and ignore) garbage instead of the protocol.

Mostly submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>

25 years agoEvery reqh in an aborted pipe is given status CANCELED and the callback is
n_hibma [Tue, 27 Jul 1999 20:22:29 +0000 (20:22 +0000)]
Every reqh in an aborted pipe is given status CANCELED and the callback is
called. It might be necessary to split that routine into two parts in
which calling the callback is not done at splusb().

25 years agoChange "telesis" to "telesyn" to reflect their change of name.
nik [Tue, 27 Jul 1999 18:25:29 +0000 (18:25 +0000)]
Change "telesis" to "telesyn" to reflect their change of name.

PR:             docs/12435
Submitted by:   Adam Kranzel <shade@dnai.com>

25 years agoFreeBSD.ORG -> FreeBSD.org
nik [Tue, 27 Jul 1999 18:23:14 +0000 (18:23 +0000)]
FreeBSD.ORG -> FreeBSD.org

25 years agoRemove references to the non-existent addgroup(8) and rmgroup(8)
nik [Tue, 27 Jul 1999 18:22:18 +0000 (18:22 +0000)]
Remove references to the non-existent addgroup(8) and rmgroup(8)
commands.

PR:             docs/12659
Submitted by:   Mark Diekhans <markd@Grizzly.COM>

25 years agoRemove the quotes from the kernel configuration "options" lines, to
nik [Tue, 27 Jul 1999 18:21:17 +0000 (18:21 +0000)]
Remove the quotes from the kernel configuration "options" lines, to
reflect actual usage.

PR:             docs/12652
Submitted by:   Chris Costello <chris@calldei.com>

25 years agoChanged 'overriding what /etc/passwd says' to 'overriding default set
n_hibma [Tue, 27 Jul 1999 16:39:02 +0000 (16:39 +0000)]
Changed 'overriding what /etc/passwd says' to 'overriding default set
by cron'

PR: 12520
Submitted by: (not specified)

25 years agoRoar! Finish what I started last night: somehow only the header file change
wpaul [Tue, 27 Jul 1999 13:54:15 +0000 (13:54 +0000)]
Roar! Finish what I started last night: somehow only the header file change
got committed.

25 years agoIf we've negotiated CBCP and have also specified ``none'' as a possible
brian [Tue, 27 Jul 1999 13:47:59 +0000 (13:47 +0000)]
If we've negotiated CBCP and have also specified ``none'' as a possible
callback option, and the server sends us CBCP_NONUM, proceed directly
to the network phase rather than insisting on our configured CBCP
option.

Mostly submitted by: kkphang <phang@dgate.po.my>

25 years agoFixed disordering in previous commit.
bde [Tue, 27 Jul 1999 06:52:46 +0000 (06:52 +0000)]
Fixed disordering in previous commit.

Fixed overflow at column 80 in rev.1.96.

25 years agoCase matters.
mdodd [Tue, 27 Jul 1999 05:08:36 +0000 (05:08 +0000)]
Case matters.

DEv_METHOD to DEV_METHOD.

25 years agoImplement the BUS_PROBE_NOMATCH method for the PCI bus.
mdodd [Tue, 27 Jul 1999 04:28:14 +0000 (04:28 +0000)]
Implement the BUS_PROBE_NOMATCH method for the PCI bus.

This function is called for each device for which no driver
was found.

Output is similar to the eisa_probe_nomatch() function but with the
added benefit of displaying the assigned IRQ (since PCI gives us
this information up front.)

Output is like so:

pci0: unknown card CPQ0508 (vendor=0x0e11, dev=0x0508) at 11.0 irq 9
pci0: unknown card DFZ0508 (vendor=0x10da, dev=0x0508) at 11.0 irq 9
pci0: unknown card DBL0508 (vendor=0x104c, dev=0x0508) at 11.0 irq 9
pci0: unknown card DDM0011 (vendor=0x108d, dev=0x0011) at 11.0 irq 9

I'm not happy with the 3 lines of macro cruft that got added but
I consider it a temporary annoyance as those bits will be moved to
some place where PCI, EISA and ISAPNP code will be able to use them.

(Not surprisingly, this message is longer than the code in question.)

Reviewed by: peter, dfr

25 years agoOn FreeBSD/i386, when you use the SYS_RES_MEMORY resource to allocate
wpaul [Tue, 27 Jul 1999 03:54:48 +0000 (03:54 +0000)]
On FreeBSD/i386, when you use the SYS_RES_MEMORY resource to allocate
a PCI memory mapped region, rman_get_bushandle() returns what happens
to be a kernel virtual address pointing to the base of the PCI shared
memory window. However this is not the behavior on all platforms:
the only thing you should do with the bushandle is pass it to the
bus_spare_read()/bus_space_write() routines. If you actually do want
the kernel virtual address of the base of the PCI memory window, you
need to use rman_get_virtual().

The problem is that at the moment, rman_get_virtual() returns a physical
address, which is bad. In order to get the kernel virtual address we
need, we have to play with it a little.

Presumeably this behavior will be changed, but in the meantime the
Tigon driver won't work. So for the moment, I'm adding a kludge to
make things happy on the alpha: the correct kernel virtual address
is calculated from the value returned by rman_get_virtual(). This
should be removed once rman_get_virtual() starts doing the right
thing.

This should make the Tigon actuall work on the alpha now.

25 years agoHide pthread cancellation routines behind #ifdef NOT_YET. They are
deischen [Tue, 27 Jul 1999 03:29:01 +0000 (03:29 +0000)]
Hide pthread cancellation routines behind #ifdef NOT_YET.  They are
not currently supported.  Also corrected the declaration for
pthread_testcancel which incorrectly returned int when POSIX and
SUSv2 both say it should be void.

Submitted by: Ralf S. Engelschall <rse@engelschall.com>
Reviewed by: John Birrell <jb@freebsd.org>

25 years agoThis covers the previous version, since a null commit message was accidentally
green [Tue, 27 Jul 1999 02:08:55 +0000 (02:08 +0000)]
This covers the previous version, since a null commit message was accidentally
used:

Add a -c flag to print a count of messages and exit.

PR:             10921
Submitted by:   James Howard <howardjp@byzantine.student.umd.edu>
Requested by: DES

25 years agoBe a bit more consistent with variable names.
brian [Tue, 27 Jul 1999 00:30:32 +0000 (00:30 +0000)]
Be a bit more consistent with variable names.

25 years ago*** empty log message ***
green [Mon, 26 Jul 1999 23:12:12 +0000 (23:12 +0000)]
*** empty log message ***

25 years agoStart ppp before natd, not afterwards.
brian [Mon, 26 Jul 1999 15:17:23 +0000 (15:17 +0000)]
Start ppp before natd, not afterwards.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>

25 years agoSync with sys/i386/isa/npx.c revision up to 1.75.
kato [Mon, 26 Jul 1999 12:22:41 +0000 (12:22 +0000)]
Sync with sys/i386/isa/npx.c revision up to 1.75.

25 years agoSync with sys/i386/isa/clock.c revision up to 1.140.
kato [Mon, 26 Jul 1999 12:21:09 +0000 (12:21 +0000)]
Sync with sys/i386/isa/clock.c revision up to 1.140.
This commit may break 8MHz system clock mode.

25 years agoSync with sys/i386/i386/userconfig.c revision up to 1.150.
kato [Mon, 26 Jul 1999 12:14:59 +0000 (12:14 +0000)]
Sync with sys/i386/i386/userconfig.c revision up to 1.150.

25 years agoSync with sys/i386/i386/machdep.c revision 1.356.
kato [Mon, 26 Jul 1999 12:14:00 +0000 (12:14 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.356.

25 years agoSync with sys/i386/conf/files.i386 revision 1.254.
kato [Mon, 26 Jul 1999 12:12:58 +0000 (12:12 +0000)]
Sync with sys/i386/conf/files.i386 revision 1.254.

25 years agoDon't complain if 0 bytes are written to the tun device, simply
brian [Mon, 26 Jul 1999 12:11:10 +0000 (12:11 +0000)]
Don't complain if 0 bytes are written to the tun device, simply
do nothing.

25 years agoSync with sys/i386/conf/GENERIC revision 1.178.
kato [Mon, 26 Jul 1999 12:10:33 +0000 (12:10 +0000)]
Sync with sys/i386/conf/GENERIC revision 1.178.

25 years agoAdd missing cause for an EINVAL return (msgtype < 1).
sheldonh [Mon, 26 Jul 1999 11:39:02 +0000 (11:39 +0000)]
Add missing cause for an EINVAL return (msgtype < 1).

PR: 12783
Submitted by: Kevin Day <toasty@dragondata.com>

25 years agoFix an off-by-one error and correct the man page WRT clearing
brian [Mon, 26 Jul 1999 11:15:11 +0000 (11:15 +0000)]
Fix an off-by-one error and correct the man page WRT clearing
filters.

Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
PR: 12437

25 years agoAdd a default ppp.conf (mode 600).
brian [Mon, 26 Jul 1999 10:49:37 +0000 (10:49 +0000)]
Add a default ppp.conf (mode 600).

Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>

25 years agoCorrect HISTORY section, according to CVS logs.
sheldonh [Mon, 26 Jul 1999 09:37:47 +0000 (09:37 +0000)]
Correct HISTORY section, according to CVS logs.

PR: 12810
Submitted by: Alex Perel <veers@disturbed.net>

25 years agoConvert interrupt count from signed to unsigned and the total
n_hibma [Mon, 26 Jul 1999 09:18:26 +0000 (09:18 +0000)]
Convert interrupt count from signed to unsigned and the total
from signed long to unsigned lon long.

PR: 12808
Submitted by: Kevin Day toasty@dragondata.com
Reviewed by: bde

25 years agoPull on my asbestos undies and claim ownership of inetd to prevent further
des [Mon, 26 Jul 1999 08:43:03 +0000 (08:43 +0000)]
Pull on my asbestos undies and claim ownership of inetd to prevent further
flamage between our beloved messrs Hearn and Feldman. Further commits go
through me. I urge the contestants to direct their energies at cleaning
up main() in inetd.c, which has over time become a crawling horror.

25 years agoHere goes, the "clear up any possible confusion" commit.
green [Mon, 26 Jul 1999 07:57:35 +0000 (07:57 +0000)]
Here goes, the "clear up any possible confusion" commit.
I've taken time to write up comments for the ident code tonight,
so there should no longer be any confusion about the purpouse of
whatever is in there. Wow, me commenting code... who'd have thought
that would happen?

Reviewed by: DES

25 years agoPave the way for the fla driver.
phk [Mon, 26 Jul 1999 07:43:26 +0000 (07:43 +0000)]
Pave the way for the fla driver.

25 years agoBring two wayward memory allocation failure messages in line with
sheldonh [Mon, 26 Jul 1999 06:39:46 +0000 (06:39 +0000)]
Bring two wayward memory allocation failure messages in line with
those featured in the rest of the code.

25 years agoAdd sysctl and support code to allow directories to be VMIO'd. The default
alc [Mon, 26 Jul 1999 06:25:53 +0000 (06:25 +0000)]
Add sysctl and support code to allow directories to be VMIO'd.  The default
setting for the sysctl is OFF, which is the historical operation.

Submitted by: dillon

25 years agoremove <ctype.h> - not needed
ache [Mon, 26 Jul 1999 05:50:43 +0000 (05:50 +0000)]
remove <ctype.h> - not needed

25 years agoVarious formatting fixes on my FPE trapcode commit.
cracauer [Mon, 26 Jul 1999 05:47:31 +0000 (05:47 +0000)]
Various formatting fixes on my FPE trapcode commit.

Submitted by: BDE

25 years agoTypo: assember -> assembler
kris [Mon, 26 Jul 1999 03:47:41 +0000 (03:47 +0000)]
Typo: assember -> assembler

25 years agoAdd recognition that Microsoft NT does not exist.
grog [Mon, 26 Jul 1999 03:35:08 +0000 (03:35 +0000)]
Add recognition that Microsoft NT does not exist.

Requested-by: John Baldwin <jobaldwi@vt.edu>

25 years agounsigned char cleanup
ache [Mon, 26 Jul 1999 01:33:38 +0000 (01:33 +0000)]
unsigned char cleanup
fix wrong index from p_simp_re()

PR: 8790
Submitted by: Alexander Viro <viro@math.psu.edu> (partially)

25 years agoDon't background pccardd, it nullfies the "-z" flag. pccardd itself
obrien [Mon, 26 Jul 1999 01:08:16 +0000 (01:08 +0000)]
Don't background pccardd, it nullfies the "-z" flag.  pccardd itself
daemonizes, lets just let things progress normally.

25 years agoMore cleanups to ident_stream. Variables moved around, changed.
green [Sun, 25 Jul 1999 23:15:03 +0000 (23:15 +0000)]
More cleanups to ident_stream.  Variables moved around, changed.
Got rid of an extra variable or two, while making corrections to
problems (that would probably not be a problem anyway, and worked.)

Partially Obtained from: David Malone <dwmalone@maths.tcd.ie>

25 years agoRemove paths that are listed as compulsory (sorta). /usr/local is not
markm [Sun, 25 Jul 1999 19:33:06 +0000 (19:33 +0000)]
Remove paths that are listed as compulsory (sorta). /usr/local is not
guaranteed to be there on a new system. This fixes whereis' "Could not
stat file..." errors.

25 years agoAdd comments, change variable names to make them consistent (r -> err,
n_hibma [Sun, 25 Jul 1999 18:54:22 +0000 (18:54 +0000)]
Add comments, change variable names to make them consistent (r -> err,
timo_handle -> timeout_handle, p -> pipe, *pipe -> *rpipe, etc.)

25 years agoasprintf() does use realloc() internally, but saying so in the manpage can be
hoek [Sun, 25 Jul 1999 17:38:59 +0000 (17:38 +0000)]
asprintf() does use realloc() internally, but saying so in the manpage can be
misinterpreted to mean that the pointer passed to asprintf() must be suitable
for passing to realloc() as-is (ie. either a NULL pointer or a valid pointer).

25 years agoOn FPU exceptions, pass a useful error code (one of the FPE_...
cracauer [Sun, 25 Jul 1999 13:16:09 +0000 (13:16 +0000)]
On FPU exceptions, pass a useful error code (one of the FPE_...
macros) to the signal handler, for old-style BSD signal handlers as
the second (int) argument, for SA_SIGINFO signal handlers as
siginfo_t->si_code. This is source-compatible with Solaris, except
that we have no <siginfo.h> (which isn't even mentioned in POSIX
1003.1b).

An rather complete example program is at
  http://www3.cons.org/cracauer/freebsd-signal.c
This will be added to the regression tests in src/.

This commit also adds code to disable the (hardware) FPU from
userconfig, so that you can use a software FP emulator on a machine
that has hardware floating point. See LINT.

25 years agoAdd a sensible message if an invalid ID was entered
n_hibma [Sun, 25 Jul 1999 11:00:05 +0000 (11:00 +0000)]
Add a sensible message if an invalid ID was entered

PR: 8739
Submitted by: Love lha@stacken.kth.se
Reviewed by: Doug Rabson <doug@freebsd.org>

25 years agoMake this compile on the Alpha. I'm not 100% sure about this but I
peter [Sun, 25 Jul 1999 06:46:19 +0000 (06:46 +0000)]
Make this compile on the Alpha.  I'm not 100% sure about this but I
think it's ok.  ti_bhandle is fetched from newbus on both the Alpha
and x86, the Alpha-only ti_vhandle is gone.

25 years agoRemember to clear the IFF_RUNNING and IFF_OACTIVE flags in sf_stop() and
wpaul [Sun, 25 Jul 1999 05:16:05 +0000 (05:16 +0000)]
Remember to clear the IFF_RUNNING and IFF_OACTIVE flags in sf_stop() and
sk_stop().

25 years agoThis commit adds device driver support for Adaptec Duralink PCI fast
wpaul [Sun, 25 Jul 1999 04:32:50 +0000 (04:32 +0000)]
This commit adds device driver support for Adaptec Duralink PCI fast
ethernet controllers based on the AIC-6915 "Starfire" controller chip.
There are single port, dual port and quad port cards, plus one 100baseFX
card. All are 64-bit PCI devices, except one single port model.

The Starfire would be a very nice chip were it not for the fact that
receive buffers have to be longword aligned. This requires buffer
copying in order to achieve proper payload alignment on the alpha.
Payload alignment is enforced on both the alpha and x86 platforms.
The Starfire has several different DMA descriptor formats and transfer
mechanisms. This driver uses frame descriptors for transmission which
can address up to 14 packet fragments, and a single fragment descriptor
for receive. It also uses the producer/consumer model and completion
queues for both transmit and receive. The transmit ring has 128
descriptors and the receive ring has 256.

This driver supports both FreeBSD/i386 and FreeBSD/alpha, and uses newbus
so that it can be compiled as a loadable kernel module. Support for BPF
and hardware multicast filtering is included.

25 years agoDon't set DE_ACCESS for unsuccessful reads.
bde [Sun, 25 Jul 1999 04:01:32 +0000 (04:01 +0000)]
Don't set DE_ACCESS for unsuccessful reads.
Translated from: a similar fix in ufs_readwrite.c rev.1.61.

Don't forget to set DE_ACCESS for short reads.

Check for invalid (negative) offsets before checking for reads of
0 bytes, as in ufs, although checking for invalid offsets at all
is probably a bug.

25 years agoDon't set IN_ACCESS for requests to read 0 bytes or for unsuccessful reads.
bde [Sun, 25 Jul 1999 02:56:17 +0000 (02:56 +0000)]
Don't set IN_ACCESS for requests to read 0 bytes or for unsuccessful reads.

Translated from: similar fixes in ufs_readwrite.c rev.1.61.  Things
are simpler (but annoyingly different) here because there are no
vm optimisations.

25 years agoFixed access timestamp bugs:
bde [Sun, 25 Jul 1999 02:07:16 +0000 (02:07 +0000)]
Fixed access timestamp bugs:

Set IN_ACCESS for successful reads of 0 bytes (except for requests to
read 0 bytes).  This was broken in rev.1.42.
PR: misc/10148

Don't set IN_ACCESS for requests to read 0 bytes.

Don't set IN_ACCESS for unsuccessful reads.

25 years agoAdded CyQ've ELA-010 Ethernet Card
hosokawa [Sun, 25 Jul 1999 01:56:16 +0000 (01:56 +0000)]
Added CyQ've ELA-010 Ethernet Card

25 years ago3C574TX Fast Etherlink PC-card support.
hosokawa [Sun, 25 Jul 1999 01:21:44 +0000 (01:21 +0000)]
3C574TX Fast Etherlink PC-card support.

25 years ago3C574TX 16bit FastEtherlink PC-card support.
hosokawa [Sun, 25 Jul 1999 01:20:37 +0000 (01:20 +0000)]
3C574TX 16bit FastEtherlink PC-card support.
Reviewed by: HAMADA Naoki <nao@tom-yam.or.jp>
Submitted by: Osamu MIHARA <mihara@prd.fc.nec.co.jp>

25 years agoIncreased max kmem to 200MB. This should fix some out-of-kmem panics on
dg [Sat, 24 Jul 1999 22:26:42 +0000 (22:26 +0000)]
Increased max kmem to 200MB. This should fix some out-of-kmem panics on
large systems.

25 years agoAdd mx and ax modules for the Macronix and ASIX drivers and update the
wpaul [Sat, 24 Jul 1999 20:55:05 +0000 (20:55 +0000)]
Add mx and ax modules for the Macronix and ASIX drivers and update the
modules Makefile so they get built.

25 years agoConvert the ASIX and Macronix drivers to newbus.
wpaul [Sat, 24 Jul 1999 20:52:57 +0000 (20:52 +0000)]
Convert the ASIX and Macronix drivers to newbus.

25 years agoOops, the previous commit only worked in the one case it was tested for.
bde [Sat, 24 Jul 1999 20:21:10 +0000 (20:21 +0000)]
Oops, the previous commit only worked in the one case it was tested for.

25 years agoUpdate intpm driver.
nsouch [Sat, 24 Jul 1999 19:13:54 +0000 (19:13 +0000)]
Update intpm driver.

PR:             kern/12631
Submitted by:   Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>

25 years agoApply suggested patch- seems reasonable.
mjacob [Sat, 24 Jul 1999 17:49:17 +0000 (17:49 +0000)]
Apply suggested patch- seems reasonable.
PR: 12020
Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>

25 years agoRecognise NetBSD slices.
rnordier [Sat, 24 Jul 1999 17:40:40 +0000 (17:40 +0000)]
Recognise NetBSD slices.

Submitted by : Lars Koeller <lkoeller@cc.fh-lippe.de>
PR           : 12772

25 years agoAdd -n to the example and explanation of the internal auth service.
green [Sat, 24 Jul 1999 17:19:54 +0000 (17:19 +0000)]
Add -n to the example and explanation of the internal auth service.

25 years agoCorrect a groff error in macro usage ("foo : bar" becomes "``foo: bar''").
green [Sat, 24 Jul 1999 17:11:50 +0000 (17:11 +0000)]
Correct a groff error in macro usage ("foo : bar" becomes "``foo: bar''").
Document the auth -n flag.

25 years agoMore cleanups, asprintf() usage (proper, as opposed to using snprintf()),
green [Sat, 24 Jul 1999 17:06:05 +0000 (17:06 +0000)]
More cleanups, asprintf() usage (proper, as opposed to using snprintf()),
and addition of a -n .noident-checking flag.

25 years agoUpdate the manpage for the number of symlinks in ELOOP
n_hibma [Sat, 24 Jul 1999 16:45:57 +0000 (16:45 +0000)]
Update the manpage for the number of symlinks in ELOOP

PR: 12634 (partial)
Submitted by: Julian H. Stacey jhs@FreeBSD.ORG

25 years agoClean up to match style(9) more closely. This should fix the problem of
green [Sat, 24 Jul 1999 16:24:03 +0000 (16:24 +0000)]
Clean up to match style(9) more closely. This should fix the problem of
people having ants in their pants ;)

25 years agoCorrect a typo (22th -> 22nd)
n_hibma [Sat, 24 Jul 1999 16:23:52 +0000 (16:23 +0000)]
Correct a typo (22th -> 22nd)
Remove some whitespace
Fix a problem where any event on the Last whatever of the month
was duplicated after the last day of the month (e.g. 32oct.)

PR: 4907
Submitted by: Mikhail Teterin mi@aldan.algebra.com

25 years agoUse comments to group functions by service more clearly. I've used the
sheldonh [Sat, 24 Jul 1999 13:02:09 +0000 (13:02 +0000)]
Use comments to group functions by service more clearly. I've used the
excuse of providing the RFC numbers for the associated services.

25 years agoStyle nits:
sheldonh [Sat, 24 Jul 1999 12:35:50 +0000 (12:35 +0000)]
Style nits:
      * Bring memory allocation failure handling in line with that of
the rest of the code.
      * Nestle block curlies between case statements correctly.

I've left the in-block declarations alone, since style(9) says we should
conform to the existing style within the code, and inetd already does
this. I've left the asprintf()'s in there because that's how Brian wants
it.

25 years agoFix typo.
n_hibma [Sat, 24 Jul 1999 10:44:50 +0000 (10:44 +0000)]
Fix typo.

PR: 12784
Submitted by: Doug <Doug@gorean.org>

25 years ago- Correctly initialize cn_dev_t and cn_udev_t.
yokota [Sat, 24 Jul 1999 09:41:06 +0000 (09:41 +0000)]
- Correctly initialize cn_dev_t and cn_udev_t.
- Add D_TTY for alpha.

Reviewed by: bde, dfr

25 years agoDo not print resource values which are not set.
yokota [Sat, 24 Jul 1999 09:35:21 +0000 (09:35 +0000)]
Do not print resource values which are not set.

Reviewed by: dfr

25 years agoThis makes the in kernel printf routines conform to the documented
dfr [Sat, 24 Jul 1999 09:34:12 +0000 (09:34 +0000)]
This makes the in kernel printf routines conform to the documented
behavior of their userland counterparts with respect to return values.

Submitted by: Matthew N. Dodd <winter@jurai.net>

25 years agoWhen we fetch previously retrieved IP fragments from the alias
brian [Sat, 24 Jul 1999 02:53:39 +0000 (02:53 +0000)]
When we fetch previously retrieved IP fragments from the alias
tables, copy them correctly back into our mbuf rather giving a
bzero'd count to memcpy() and ending up with a 0 byte fragment.

The old code resulted in a 0 byte write to the tun device which
tickled a bug that resulted in a panic :-(

25 years agoBacked out previous commit. devname.3 and devname.c were broken in Lite1
bde [Sat, 24 Jul 1999 00:33:27 +0000 (00:33 +0000)]
Backed out previous commit.  devname.3 and devname.c were broken in Lite1
(devname() returned "??" when the lookup failed, but callers expected it
to return NULL).  This was fixed in Lite2, but until recently the changes
were only merged into devname.3.  A day or two after devname.c was fixed,
devname.3 was made inconsistent again by backing out most of the Lite2
changes.

25 years agoatomic.h:
alc [Fri, 23 Jul 1999 23:45:50 +0000 (23:45 +0000)]
atomic.h:
Change "void *" to "volatile TYPE *", improving type safety
and eliminating some warnings (e.g., mp_machdep.c rev 1.106).

cpufunc.h:
Eliminate setbits.  As defined, it's not precisely correct;
and it's redundant.  (Use atomic_set_int instead.)

ipl_funcs.c:
Use atomic_set_int instead of setbits.

systm.h:
Include atomic.h.

Reviewed by: bde

25 years agoRegenerate to match changes made in the embedded yacc parser.
hoek [Fri, 23 Jul 1999 23:13:44 +0000 (23:13 +0000)]
Regenerate to match changes made in the embedded yacc parser.

25 years agoRegenerate this file. This fixes a y2k bogon. As an unintentional side-effect,
hoek [Fri, 23 Jul 1999 23:10:34 +0000 (23:10 +0000)]
Regenerate this file.  This fixes a y2k bogon.  As an unintentional side-effect,
it also fixes that fact that this file badly needed to be regenerated due
to changes in yacc.

Not done by: pst (in misc/1380)
Almost done by: danny (in ftp.y)

25 years ago(1) Avoid ambigous if/else
billf [Fri, 23 Jul 1999 21:31:08 +0000 (21:31 +0000)]
(1) Avoid ambigous if/else

PR: bin/12768
Submitted By: Stephen J. Roznowski <sjr@home.net>

(2) Follow KNF

25 years agofix a problem w/ zero byte writes to the tunnel device. It would bypass
jmg [Fri, 23 Jul 1999 20:08:27 +0000 (20:08 +0000)]
fix a problem w/ zero byte writes to the tunnel device.  It would bypass
the loop and not set an error, so we would then try to access an invalid
mbuf...

PR: 12780
Submitted by: bright@rush.net aka zb^3

a new record in length a pr was open... only about a half hour...

25 years agoClean up the buffer allocation code a bit. Make sure to initialize certain
wpaul [Fri, 23 Jul 1999 18:46:24 +0000 (18:46 +0000)]
Clean up the buffer allocation code a bit. Make sure to initialize certain
critical mbuf fields to sane values. Simplify the use of ETHER_ALIGN to
enforce payload alignment, and turn it on on the x86 as well as alpha
since it helps with NFS which wants the payload to be longword aligned
even though the hardware doesn't require it.

This fixes a problem with the ti driver causing an unaligned access trap
on the Alpha due to m_adj() sometimes not setting the alignment correctly
because of incomplete mbuf initialization.

25 years agoGrrr. Return the rman_get_bustag()/rman_get_bushandle() lines to their
wpaul [Fri, 23 Jul 1999 16:21:43 +0000 (16:21 +0000)]
Grrr. Return the rman_get_bustag()/rman_get_bushandle() lines to their
proper place in ti_attach(). I'm positive I typed them in there, but
they must have fallen victim to a drive-by cut & pasting.

25 years agoDocument the -o and -t options to the internal auth service and give an
sheldonh [Fri, 23 Jul 1999 15:49:34 +0000 (15:49 +0000)]
Document the -o and -t options to the internal auth service and give an
example of their usage in the sample config. Merge the two examples
for the green internal auth service.

This commit failed the first time around because Brian beat me to the
punch on inetd.8 . I like my descriptions better and I'm pretty sure
Brian won't mind.

25 years agoAhem. Put things back a bit. I declare variables in the scope they're
green [Fri, 23 Jul 1999 15:49:14 +0000 (15:49 +0000)]
Ahem. Put things back a bit. I declare variables in the scope they're
used! I don't declare every variable at the top of a function because
that wastes stack space. I've clarified the error a bit (for if asprintf()
filas.)

25 years agoDisable more PC98isms on the Alpha
jkh [Fri, 23 Jul 1999 15:39:51 +0000 (15:39 +0000)]
Disable more PC98isms on the Alpha

25 years agoAs per DES's prodding, document _all_ the arguments to inetd's auth
green [Fri, 23 Jul 1999 15:37:39 +0000 (15:37 +0000)]
As per DES's prodding, document _all_ the arguments to inetd's auth
service. This includes the -o "operating system" argument and the -t
"timeout" argument.

25 years agoStyle cleanups for iderror() and ident_stream(). Looks like c++ hang-over.
sheldonh [Fri, 23 Jul 1999 15:26:42 +0000 (15:26 +0000)]
Style cleanups for iderror() and ident_stream(). Looks like c++ hang-over.
;-)

25 years agoFix auth -t argument handling. It was broken for the "sec.usec" case.
sheldonh [Fri, 23 Jul 1999 15:00:07 +0000 (15:00 +0000)]
Fix auth -t argument handling. It was broken for the "sec.usec" case.
Add a warning for bogus -t arguments for the (debug) case.