]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoNow that _pam_init_handlers() works as intended, it seems clear that we
Dag-Erling Smørgrav [Fri, 7 Dec 2001 00:38:37 +0000 (00:38 +0000)]
Now that _pam_init_handlers() works as intended, it seems clear that we
do not actually want to define PAM_READ_BOTH_CONFS, so back out previous
commit.

Sponsored by: DARPA, NAI Labs

22 years agoAlthough the previous went some way towards fixing the pam.conf / pam.d
Dag-Erling Smørgrav [Fri, 7 Dec 2001 00:37:10 +0000 (00:37 +0000)]
Although the previous went some way towards fixing the pam.conf / pam.d
problem, it still didn't DTRT for services that did not have a service-
specific policy if /etc/pam.d existed but did not contain an "other"
policy.  This fixes the problems some people have experienced with sudo.
And I almost didn't have to use goto.

The current configuration sequence is:

  1) Look for /etc/pam.d/foo

  2) If PAM_READ_BOTH_CONFS is defined, or step 1) failed, look for
     foo in /etc/pam.conf

  3) Look for /etc/pam.d/other (to fill in the gaps)

  4) If PAM_READ_BOTH_CONFS is defined, or step 3) failed, look for
     other in /etc/pam.conf

I believe this is the intended behaviour of the original code.  The least
surprising behaviour seems to be when PAM_READ_BOTH_CONFS is not defined -
/etc/pam.d/foo will be preferred over /etc/pam.conf, but the latter will
serve as a backup if the former does not exist.

Sponsored by: DARPA, NAI Labs

22 years agoInstall pam.d files with mode 0644, not 0755.
Dag-Erling Smørgrav [Thu, 6 Dec 2001 23:28:12 +0000 (23:28 +0000)]
Install pam.d files with mode 0644, not 0755.

22 years agoPart 2 of previous commit. Add joy_isa.c and joy_pccard.c.
Peter Wemm [Thu, 6 Dec 2001 23:10:24 +0000 (23:10 +0000)]
Part 2 of previous commit.  Add joy_isa.c and joy_pccard.c.

Submitted by: jhb

22 years agoo A few more minor whitespace and other style fixes.
Robert Watson [Thu, 6 Dec 2001 21:58:47 +0000 (21:58 +0000)]
o A few more minor whitespace and other style fixes.

Submitted by: bde

22 years agoo Remove unnecessary inclusion of opt_global.h.
Robert Watson [Thu, 6 Dec 2001 21:55:41 +0000 (21:55 +0000)]
o Remove unnecessary inclusion of opt_global.h.

Submitted by: bde

22 years agoAdd a commented-out defaultrouter entry for 6to4 users. See RFC-3068
Nick Sayer [Thu, 6 Dec 2001 20:44:14 +0000 (20:44 +0000)]
Add a commented-out defaultrouter entry for 6to4 users. See RFC-3068

22 years agoo Fix spelling of allocations as allocates.
Robert Watson [Thu, 6 Dec 2001 20:27:44 +0000 (20:27 +0000)]
o Fix spelling of allocations as allocates.

Submitted by: silby

22 years agoo Reflect changed default such that keepalives are always enabled by
Robert Watson [Thu, 6 Dec 2001 20:24:38 +0000 (20:24 +0000)]
o Reflect changed default such that keepalives are always enabled by
  default now.  Discuss why that's good.  Note that there are still
  some situations where turning it off may be advantageous, including
  situations where there are network outages and it's desirable to
  have TCP sessions last beyond the outage.

Reviewed by: fenner
Suggested by: silby

22 years agoModerate the recommendation that TCP keepalives always be turned on;
Robert Watson [Thu, 6 Dec 2001 19:57:34 +0000 (19:57 +0000)]
Moderate the recommendation that TCP keepalives always be turned on;
in some environments, this may result in the early termination of
legitimate TCP sessions during temporary network outages.  However,
maintain a strong recommendation that this be used when many network
clients are dialup.

Requested by: fenner

22 years agoo Add an additional .Pp between the send/recvbuffer comments and
Robert Watson [Thu, 6 Dec 2001 19:50:35 +0000 (19:50 +0000)]
o Add an additional .Pp between the send/recvbuffer comments and
  the ones on ipfw.  Note to self: why does ipfw/dummynet count as
  a sysctl in tuning(7)?

22 years agoo When describing kern.ipc.nsfbufs, use the slightly less colloquial
Robert Watson [Thu, 6 Dec 2001 19:48:48 +0000 (19:48 +0000)]
o When describing kern.ipc.nsfbufs, use the slightly less colloquial
  "modify" rather than the slightly more colloquial "mess with".

22 years agoThe default values for net.inet.tcp.sendspace and net.inet.tcp.recvspace
Robert Watson [Thu, 6 Dec 2001 19:44:31 +0000 (19:44 +0000)]
The default values for net.inet.tcp.sendspace and net.inet.tcp.recvspace
have been changed to 32k and 64k respectively.

22 years agovmiodirenable is now on by default; reflect that change in default,
Robert Watson [Thu, 6 Dec 2001 19:39:33 +0000 (19:39 +0000)]
vmiodirenable is now on by default; reflect that change in default,
and talk more about the reasons to turn it off (restricted memory
environments), and less about why to turn it on.

22 years agoReword parts of tuning(7) regarding loader tunables, which are refered
Robert Watson [Thu, 6 Dec 2001 19:36:21 +0000 (19:36 +0000)]
Reword parts of tuning(7) regarding loader tunables, which are refered
to in the document as "boot-time sysctls".  Instead, refer to them as
loader tunables.

22 years agoAdd multiple inclusion protection.
John Baldwin [Thu, 6 Dec 2001 18:17:02 +0000 (18:17 +0000)]
Add multiple inclusion protection.

22 years agoSomebody moved joy.c from isa/ to dev/joy/ without updating conf/files.
Peter Wemm [Thu, 6 Dec 2001 18:00:42 +0000 (18:00 +0000)]
Somebody moved joy.c from isa/ to dev/joy/ without updating conf/files.

Pointy-hat to: imp

22 years agoCompile all kernels with "-ffreestanding":
David E. O'Brien [Thu, 6 Dec 2001 17:53:32 +0000 (17:53 +0000)]
Compile all kernels with "-ffreestanding":

Assert that compilation takes place in a freestanding environment. This
implies `-fno-builtin'. A freestanding environment is one in which the
standard library may not exist, and program startup may not necessarily be
at main. The most obvious example is an OS kernel. This is equivalent to
`-fno-hosted'.

22 years agoFixed two problems:
Prafulla Deuskar [Thu, 6 Dec 2001 17:50:21 +0000 (17:50 +0000)]
Fixed two problems:
1. Changed incorrect conditional in fxhw.c which would never
evaluate to true. Thanks to John Polstra for pointing that out.
2. Write to PCI config space by default, enabling memory access and
bus master enable.

Submitted by:Prafulla Deuskar
MFC after:3 days

22 years agoIntroduce the variable USE_PAM_D, which, if set, will cause pam.d to be
Dag-Erling Smørgrav [Thu, 6 Dec 2001 13:18:32 +0000 (13:18 +0000)]
Introduce the variable USE_PAM_D, which, if set, will cause pam.d to be
installed instead of pam.conf.  This is for testing; the conditionals will
be removed once we are confident that pam.d works as intended.

Sponsored by: DARPA, NAI Labs

22 years agoMakefile for pam.d configuration files.
Dag-Erling Smørgrav [Thu, 6 Dec 2001 13:16:47 +0000 (13:16 +0000)]
Makefile for pam.d configuration files.

Sponsored by: DARPA, NAI Labs

22 years agoWe need pam_client.h from libpamc. This unbreaks world
Dag-Erling Smørgrav [Thu, 6 Dec 2001 12:35:18 +0000 (12:35 +0000)]
We need pam_client.h from libpamc.  This unbreaks world

Pointed out by: jhay
Pointy hat to: des

22 years ago-lcipher is an installable library.
Ruslan Ermilov [Thu, 6 Dec 2001 10:50:23 +0000 (10:50 +0000)]
-lcipher is an installable library.

22 years agoProtect the '*' in pppoed_provider (the default) from metacharacter
Crist J. Clark [Thu, 6 Dec 2001 09:34:44 +0000 (09:34 +0000)]
Protect the '*' in pppoed_provider (the default) from metacharacter
expansion in the rc-scripts.

PR: 32552
Submitted by: Gleb Smirnoff <glebius@rinet.ru>
Approved by: ru
Obtained from: ru
MFC after: 1 day

22 years agoJust to be pedantic and more aesthetically pleasing, move the secure/
John Baldwin [Thu, 6 Dec 2001 07:44:47 +0000 (07:44 +0000)]
Just to be pedantic and more aesthetically pleasing, move the secure/
top-level subdirectory prior to share/ so that the top-level directories
are processed in alphabetical order.

22 years agoThe pccard/cardbus power interface should depend on having pccard or
Warner Losh [Thu, 6 Dec 2001 06:40:18 +0000 (06:40 +0000)]
The pccard/cardbus power interface should depend on having pccard or
cardbus in the kernel, not on all the bridges that implement it.
Note: this is NEWCARD only, so we don't want it for the 'card' case,
unlike card_if.m, which is both NEWCARD and OLDCARD.

22 years agoNew, improved, more Posix-compliant strerror_r implementation,
Wes Peters [Thu, 6 Dec 2001 04:53:31 +0000 (04:53 +0000)]
New, improved, more Posix-compliant strerror_r implementation,
complete with documentation.

Reviewed by: mike@ gad@
MFC after: 1 week

22 years agoUpgrade to Binutils 2.11.2.
David E. O'Brien [Thu, 6 Dec 2001 03:10:42 +0000 (03:10 +0000)]
Upgrade to Binutils 2.11.2.

22 years agoMake a bit more clear the types of characters that -B option will
Giorgos Keramidas [Thu, 6 Dec 2001 00:30:53 +0000 (00:30 +0000)]
Make a bit more clear the types of characters that -B option will
print in octal.

Reviewed by: roam, silence on -doc

22 years agoTrim yet another duplicate fortune.
John Baldwin [Wed, 5 Dec 2001 22:40:44 +0000 (22:40 +0000)]
Trim yet another duplicate fortune.

22 years agoProperly sort the last two fortunes alphabetically.
John Baldwin [Wed, 5 Dec 2001 22:39:00 +0000 (22:39 +0000)]
Properly sort the last two fortunes alphabetically.

22 years agoAdd a short commentary on libdialog by jkh.
John Baldwin [Wed, 5 Dec 2001 22:13:53 +0000 (22:13 +0000)]
Add a short commentary on libdialog by jkh.

22 years agoRemove an incorrect duplicate Douglas Adam quote and properly format and
John Baldwin [Wed, 5 Dec 2001 22:09:39 +0000 (22:09 +0000)]
Remove an incorrect duplicate Douglas Adam quote and properly format and
the correct duplicate.  Both versions also attributed the quote to the
wrong book.

22 years agoFix a typo and add a missing period.
John Baldwin [Wed, 5 Dec 2001 21:36:14 +0000 (21:36 +0000)]
Fix a typo and add a missing period.

22 years agoAwright, egg on my face. I should have taken more time with this. The
Dag-Erling Smørgrav [Wed, 5 Dec 2001 21:26:00 +0000 (21:26 +0000)]
Awright, egg on my face.  I should have taken more time with this.  The
conversion script generated the wrong format, so the configuration files
didn't actually work.  Good thing I hadn't thrown the switch yet...

Sponsored by: DARPA, NAI Labs (but the f***ups are all mine)

22 years agoOops! Previous commit used tabs instead of spaces.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 21:11:24 +0000 (21:11 +0000)]
Oops!  Previous commit used tabs instead of spaces.

22 years agoAdd /etc/pam.d.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 21:10:01 +0000 (21:10 +0000)]
Add /etc/pam.d.

Sponsored by: DARPA, NAI Labs

22 years agoRemove some duplicate fortunes.
John Baldwin [Wed, 5 Dec 2001 21:06:30 +0000 (21:06 +0000)]
Remove some duplicate fortunes.

22 years agopam.d-style configuration, auto-generated from pam.conf.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 21:06:21 +0000 (21:06 +0000)]
pam.d-style configuration, auto-generated from pam.conf.

Sponsored by: DARPA, NAI Labs

22 years agoForced commit to note that previous commit was
Dag-Erling Smørgrav [Wed, 5 Dec 2001 21:04:34 +0000 (21:04 +0000)]
Forced commit to note that previous commit was

Sponsored by: DARPA, NAI Labs

22 years agoShort README for /etc/pam.d, mostly extracted from the comments in pam.conf.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 20:59:38 +0000 (20:59 +0000)]
Short README for /etc/pam.d, mostly extracted from the comments in pam.conf.

22 years agoPerl script that splits pam.conf into separate files suitable for pam.d.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 20:58:39 +0000 (20:58 +0000)]
Perl script that splits pam.conf into separate files suitable for pam.d.

Sponsored by: DARPA, NAI Labs

22 years agoFiles in subdirectories of directories that have the nodump flag set
David E. O'Brien [Wed, 5 Dec 2001 20:42:52 +0000 (20:42 +0000)]
Files in subdirectories of directories that have the nodump flag set
are sometimes incorrectly being dumped.

The problem arises because the subdirectory only gets its entry
cleared from usedinomap if it is also present in dumpinomap, and it is
the absence of a directory in usedinomap that internally indicates
that the directory is under the effects of UF_NODUMP (either directly
or inherited).

PR: 32414
Submitted by: David C Lawrence <tale@dd.org>

22 years agoo Make kern.security.bsd.suser_enabled TUNABLE.
Robert Watson [Wed, 5 Dec 2001 18:49:20 +0000 (18:49 +0000)]
o Make kern.security.bsd.suser_enabled TUNABLE.

Requested by: green

22 years agoFixed remotely exploitable DoS in arpresolve().
Ruslan Ermilov [Wed, 5 Dec 2001 18:13:34 +0000 (18:13 +0000)]
Fixed remotely exploitable DoS in arpresolve().

Easily exploitable by flood pinging the target
host over an interface with the IFF_NOARP flag
set (all you need to know is the target host's
MAC address).

MFC after: 0 days

22 years agoo Whitespace sync to GENERIC
Robert Watson [Wed, 5 Dec 2001 18:08:23 +0000 (18:08 +0000)]
o Whitespace sync to GENERIC

22 years agoDefine PAM_READ_BOTH_CONFS. We can now have both /etc/pam.d and
Dag-Erling Smørgrav [Wed, 5 Dec 2001 17:06:16 +0000 (17:06 +0000)]
Define PAM_READ_BOTH_CONFS.  We can now have both /etc/pam.d and
/etc/pam.conf.

Sponsored by: DARPA, NAI Labs

22 years agoFix a bug that made PAM fail if /etc/pam.d/ existed but was empty.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 17:05:15 +0000 (17:05 +0000)]
Fix a bug that made PAM fail if /etc/pam.d/ existed but was empty.

Sponsored by: DARPA, NAI Labs

22 years agoClarify ' ' space issue
Andrey A. Chernov [Wed, 5 Dec 2001 16:33:11 +0000 (16:33 +0000)]
Clarify ' ' space issue

22 years agoClean up namespace pollution by prepending underscores to argument names in
Dag-Erling Smørgrav [Wed, 5 Dec 2001 16:31:34 +0000 (16:31 +0000)]
Clean up namespace pollution by prepending underscores to argument names in
function prototypes (or, in a few cases, removing argument names altogether).

Sponsored by: DARPA, NAI Labs

22 years agoInstall the correct version of pam_misc.h.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 16:27:41 +0000 (16:27 +0000)]
Install the correct version of pam_misc.h.

Sponsored by: DARPA, NAI Labs

22 years agoThis file isn't used; it's an older version of include/security/pam_misc.h.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 16:14:43 +0000 (16:14 +0000)]
This file isn't used; it's an older version of include/security/pam_misc.h.

Sponsored by: DARPA, NAI Labs

22 years agoAdd missed capital GHE letter.
Maxim Sobolev [Wed, 5 Dec 2001 16:09:10 +0000 (16:09 +0000)]
Add missed capital GHE letter.

PR: 28571
Submitted by: Alexey Klimov <kao@wiuu.kiev.ua>

22 years agoAdd dummy functions for all module types. These dummies return PAM_IGNORE
Dag-Erling Smørgrav [Wed, 5 Dec 2001 16:06:35 +0000 (16:06 +0000)]
Add dummy functions for all module types.  These dummies return PAM_IGNORE
rather than PAM_SUCCESS, so you'll get a failure if you list dummies but
no real modules for a particular module chain.

Sponsored by: DARPA, NAI Labs

22 years agoConnect the man page to the build.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 16:02:50 +0000 (16:02 +0000)]
Connect the man page to the build.

Sponsored by: DARPA, NAI Labs

22 years agoAdd a pam_self authentication module that succeeds if and only if the local
Dag-Erling Smørgrav [Wed, 5 Dec 2001 15:55:14 +0000 (15:55 +0000)]
Add a pam_self authentication module that succeeds if and only if the local
and remote user names are the same.

Sponsored by: DARPA, NAI Labs

22 years agoFix initialisation of struct nat entry, to solve a panic that occurs
Guido van Rooij [Wed, 5 Dec 2001 10:46:24 +0000 (10:46 +0000)]
Fix initialisation of struct nat entry, to solve a panic that occurs
when reloading a nat table after reboot

Submitted by: Arjan de Vet <devet@devet.org>
Reviewed by: IP Filter mailing list
MFC after: 3 days

22 years agoFix resume for HP Omnibook 500's.
Guido van Rooij [Wed, 5 Dec 2001 10:36:32 +0000 (10:36 +0000)]
Fix resume for HP Omnibook 500's.

MFC after: 1 week

22 years agoAdd suspend/resume hooks to this driver; necessary to overcome
Guido van Rooij [Wed, 5 Dec 2001 10:34:07 +0000 (10:34 +0000)]
Add suspend/resume hooks to this driver; necessary to overcome
problems on HP Omnibook 500.

MFC after: 1 week

22 years agoNote sis(4) VLAN support.
John Hay [Wed, 5 Dec 2001 09:34:49 +0000 (09:34 +0000)]
Note sis(4) VLAN support.

MFC after: 7 days

22 years agoAdd VLAN support.
John Hay [Wed, 5 Dec 2001 09:34:28 +0000 (09:34 +0000)]
Add VLAN support.

MFC after: 7 days

22 years agokernel/burncd in sync!
Warner Losh [Wed, 5 Dec 2001 09:21:51 +0000 (09:21 +0000)]
kernel/burncd in sync!

22 years agoWarn about PROCFS stuff.
Warner Losh [Wed, 5 Dec 2001 09:18:08 +0000 (09:18 +0000)]
Warn about PROCFS stuff.

Submitted by: des

22 years agoMoved to dev/joy
Warner Losh [Wed, 5 Dec 2001 09:10:47 +0000 (09:10 +0000)]
Moved to dev/joy

22 years agoMove joy from isa to dev/joy.
Warner Losh [Wed, 5 Dec 2001 09:10:20 +0000 (09:10 +0000)]
Move joy from isa to dev/joy.

22 years agoUse new location for joy, plus list its new bus front ends.
Warner Losh [Wed, 5 Dec 2001 09:09:48 +0000 (09:09 +0000)]
Use new location for joy, plus list its new bus front ends.

22 years agoSplit joystick driver into ISA and PC Card front ends.
Warner Losh [Wed, 5 Dec 2001 09:08:23 +0000 (09:08 +0000)]
Split joystick driver into ISA and PC Card front ends.

Similar code was submitted in PR 5559 by Takeshi OHASHI-san, but the
PC Card system has changed much since then, so this is a fresh
implementation.

PR: i386/5559
Submitted by: Takeshi OHASHI

22 years agoImplement prism2 detection from NetBSD. This mostly obsoletes the
Warner Losh [Wed, 5 Dec 2001 08:57:36 +0000 (08:57 +0000)]
Implement prism2 detection from NetBSD.  This mostly obsoletes the
prism2 flag in pccard.conf, but I'm leaving it place for the moment in
case the small sample of PrismII cards that I've tried is not
representative.

MFC After: 30 days
Obtained from: NetBSD

22 years agoBruce says the links are not needed.
Dag-Erling Smørgrav [Wed, 5 Dec 2001 08:50:51 +0000 (08:50 +0000)]
Bruce says the links are not needed.

22 years agoNewer SA is prefered for a out-bound packet than old one
Hajimu UMEMOTO [Wed, 5 Dec 2001 05:40:49 +0000 (05:40 +0000)]
Newer SA is prefered for a out-bound packet than old one
when net.key.prefered_oldsa is set to zero.

Obtained from: KAME
MFC after: 1 week

22 years agoAn extra #ifdef crept in with rev 1.38.
David E. O'Brien [Wed, 5 Dec 2001 04:16:33 +0000 (04:16 +0000)]
An extra #ifdef crept in with rev 1.38.

22 years agoFix breakage in 'camcontrol defects' introduced in rev 1.34 (the new error
Kenneth D. Merry [Wed, 5 Dec 2001 03:41:40 +0000 (03:41 +0000)]
Fix breakage in 'camcontrol defects' introduced in rev 1.34 (the new error
recovery code) back in March, 2001.

In effect, this brain-o would cause 'camcontrol defects' to always return
an error.

Pointed out by: joerg
Tested by: mdodd

22 years agoFix speling errur.
John Polstra [Wed, 5 Dec 2001 02:55:23 +0000 (02:55 +0000)]
Fix speling errur.

22 years agoMove the WARNS attribute down so that it also applies to the
Mike Barcroft [Wed, 5 Dec 2001 02:29:23 +0000 (02:29 +0000)]
Move the WARNS attribute down so that it also applies to the
RELEASE_CRUNCH case.

22 years agoMove the checks for '/' a little sooner in the code which receives files
Garance A Drosehn [Wed, 5 Dec 2001 02:07:20 +0000 (02:07 +0000)]
Move the checks for '/' a little sooner in the code which receives files
for a remote print job.  This change comes from OpenBSD (who got it from
Sebastian Krahmer of SuSE).  In OpenBSD this avoids a tiny theoretical
security issue, but that security issue does not exist in FreeBSD's lpr
due to the changes which added 'ctl_renametf()' just before 4.4-release.
This change is still worth doing in our version, but it isn't fixing a
security issue.

MFC after: 4 days

22 years agoUpdate pathnames for creation of tags file.
Kirk McKusick [Wed, 5 Dec 2001 01:23:21 +0000 (01:23 +0000)]
Update pathnames for creation of tags file.

22 years agoAdd the ability to write VCD/SVCD disc's.
Søren Schmidt [Tue, 4 Dec 2001 21:48:56 +0000 (21:48 +0000)]
Add the ability to write VCD/SVCD disc's.
It is still nessesary to supply the tracks as individual files, burncd
can't read .cue files yet, but now the infrastructure to do it is
present we just need a .cue file parser (hint hint)...

22 years agoAdd entries to allow setting the CD type on cue sheets
Søren Schmidt [Tue, 4 Dec 2001 21:40:41 +0000 (21:40 +0000)]
Add entries to allow setting the CD type on cue sheets

22 years agoAllow setting the CD type on cue sheets
Søren Schmidt [Tue, 4 Dec 2001 21:39:34 +0000 (21:39 +0000)]
Allow setting the CD type on cue sheets

22 years agoTurn back on fmtcheck's attribute checks, guarded for non-GCC compilers.
David E. O'Brien [Tue, 4 Dec 2001 21:30:23 +0000 (21:30 +0000)]
Turn back on fmtcheck's attribute checks, guarded for non-GCC compilers.

Submitted by: bde

22 years agoReword "OpenSSH UseLogin yes" item, with cross-reference to
Bruce A. Mah [Tue, 4 Dec 2001 17:27:32 +0000 (17:27 +0000)]
Reword "OpenSSH UseLogin yes" item, with cross-reference to
security advisory.

22 years agoBack out the part of the previous commit that dealt with network device
Bruce A. Mah [Tue, 4 Dec 2001 17:20:33 +0000 (17:20 +0000)]
Back out the part of the previous commit that dealt with network device
polling (it isn't in CURRENT yet, as pointed out by rwatson).

New release note:  TCP stalls fixed.

22 years agoWhen VOP_SYMLINK fails, the value of *vpp is junk, so we must NULL
Ian Dowse [Tue, 4 Dec 2001 16:53:42 +0000 (16:53 +0000)]
When VOP_SYMLINK fails, the value of *vpp is junk, so we must NULL
out nd.ni_vp to prevent the resource cleanup code at the end of
nfsrv_symlink from trying to vrele it. This fixes a "vrele: negative
ref cnt" panic that can occur when a symlink is attempted on an NFS
filesystem with no free space. Found locally, but the symptoms
correspond to those in the PR referenced below.

PR: kern/26878
MFC after: 3 days

22 years agomdoc(7) police: section 1 and 8 manpages document their exit
Ruslan Ermilov [Tue, 4 Dec 2001 16:17:35 +0000 (16:17 +0000)]
mdoc(7) police: section 1 and 8 manpages document their exit
codes under the DIAGNOSTICS section, not RETURN VALUES, which
is for section 2, 3, and 9 manpages.

22 years agomdoc(7) police: markup the previous delta.
Ruslan Ermilov [Tue, 4 Dec 2001 16:09:27 +0000 (16:09 +0000)]
mdoc(7) police: markup the previous delta.

22 years agoFixed bugs from previous revision.
Ruslan Ermilov [Tue, 4 Dec 2001 16:02:36 +0000 (16:02 +0000)]
Fixed bugs from previous revision.

Removed -s from SYNOPSIS and restored -S in DESCRIPTION.

22 years agoNew release notes: em(4), network device polling, ata(4) improved
Bruce A. Mah [Tue, 4 Dec 2001 15:15:04 +0000 (15:15 +0000)]
New release notes:  em(4), network device polling, ata(4) improved
SiS chipset support, OpenSSH UseLogin yes fix.

22 years agoMention access control.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 14:28:38 +0000 (14:28 +0000)]
Mention access control.

22 years agoAdd cross-reference to pseudofs(9).
Dag-Erling Smørgrav [Tue, 4 Dec 2001 14:28:26 +0000 (14:28 +0000)]
Add cross-reference to pseudofs(9).

22 years agoSpelling.
Ruslan Ermilov [Tue, 4 Dec 2001 14:20:46 +0000 (14:20 +0000)]
Spelling.

22 years agomdoc(7) police: s/LKM/KLD/, sort xrefs.
Ruslan Ermilov [Tue, 4 Dec 2001 14:17:52 +0000 (14:17 +0000)]
mdoc(7) police: s/LKM/KLD/, sort xrefs.

22 years agoimplement MFC links properly (and I think long links too). This make
Warner Losh [Tue, 4 Dec 2001 13:48:16 +0000 (13:48 +0000)]
implement MFC links properly (and I think long links too).  This make
the sprint wireless card try to attach.  Sadly, the pci code at the
bridge keeps this from happening.

Bug w/o PR: jhb :-)

22 years agoPrototype usage() and set WARNS?=2
Chris D. Faulhaber [Tue, 4 Dec 2001 13:39:02 +0000 (13:39 +0000)]
Prototype usage() and set WARNS?=2

Approved by: rwatson
Obtained from: TrustedBSD Project

22 years agoCorrect some egregious style bugs.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 12:32:35 +0000 (12:32 +0000)]
Correct some egregious style bugs.

22 years agoAdd a missing error check. This fixes a bug that would cause pwd_mkdb to
Dag-Erling Smørgrav [Tue, 4 Dec 2001 12:31:02 +0000 (12:31 +0000)]
Add a missing error check.  This fixes a bug that would cause pwd_mkdb to
dump core if invoked with an input file that looks like a password file
but isn't (e.g. /etc/group).

PR: 32378
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
MFC after: 1 week

22 years agoRegen.
Sheldon Hearn [Tue, 4 Dec 2001 12:26:12 +0000 (12:26 +0000)]
Regen.

22 years agoThe entry for the 'set' command no longer has a list of variables.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 12:01:00 +0000 (12:01 +0000)]
The entry for the 'set' command no longer has a list of variables.

PR: 32454
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days

22 years agoPROCFS requires PSEUDOFS.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 11:48:16 +0000 (11:48 +0000)]
PROCFS requires PSEUDOFS.

22 years agos/^options\t\t/options \t/
Dag-Erling Smørgrav [Tue, 4 Dec 2001 11:17:31 +0000 (11:17 +0000)]
s/^options\t\t/options \t/

22 years agoPROCFS requires PSEUDOFS.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 11:17:30 +0000 (11:17 +0000)]
PROCFS requires PSEUDOFS.