]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThe ENDPTS_EQ macro was comparing the one of the fports to itself. Fix.
Jonathan Lemon [Tue, 22 Jan 2002 17:54:28 +0000 (17:54 +0000)]
The ENDPTS_EQ macro was comparing the one of the fports to itself.  Fix.

Submitted by: emy@boostworks.com

22 years agoInitialize the sysctl_ctx list early, which avoids a panic in case other
Jonathan Lemon [Tue, 22 Jan 2002 17:51:44 +0000 (17:51 +0000)]
Initialize the sysctl_ctx list early, which avoids a panic in case other
allocatiosn fail and fxp_release() is called.

22 years agoNull commit - the previous log message should have read:
David Greenman [Tue, 22 Jan 2002 17:38:58 +0000 (17:38 +0000)]
Null commit -  the previous log message should have read:

  Fixed bug in calculation of amount of file sent when nbytes !=0 and
  headers or trailers are supplied. Reported by Vladislav Shabanov
  <vs@rambler-co.ru>.

22 years agoUse the proper type (gid_t) for (group)->gr_gid to be orthogonal
Mark Murray [Tue, 22 Jan 2002 17:32:53 +0000 (17:32 +0000)]
Use the proper type (gid_t) for (group)->gr_gid to be orthogonal
with uid_t usage and (user)->pw_uid.

PR: 3242

22 years agoFixed bug in calculation of amount of file to send when nbytes !=0 and
David Greenman [Tue, 22 Jan 2002 17:32:10 +0000 (17:32 +0000)]
Fixed bug in calculation of amount of file to send when nbytes !=0 and
headers or trailers are supplied. Reported by Vladislav Shabanov
<vs@rambler-co.ru>.

PR: 33771
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
MFC after: 3 days

22 years agoDo not taint ::/124 for localhost reverse table.
Hajimu UMEMOTO [Tue, 22 Jan 2002 17:22:41 +0000 (17:22 +0000)]
Do not taint ::/124 for localhost reverse table.

22 years agoReincarnate SETUID code in man(1), not compiled in by default.
Ruslan Ermilov [Tue, 22 Jan 2002 15:15:38 +0000 (15:15 +0000)]
Reincarnate SETUID code in man(1), not compiled in by default.

The code will be fixed for all known security vulnerabilities,
and a make.conf(5) knob (ENABLE_SUID_MAN) will be provided for
those who still want it installed setuid for whatever reasons.

22 years agoRevert revision 1.57 -- ache@ axed /var/spool/uucp in BSD.var.dist,v 1.55.
Ruslan Ermilov [Tue, 22 Jan 2002 14:55:25 +0000 (14:55 +0000)]
Revert revision 1.57 -- ache@ axed /var/spool/uucp in BSD.var.dist,v 1.55.

22 years agoFix the description of the O_NONBLOCK flag to match reality.
Ruslan Ermilov [Tue, 22 Jan 2002 14:18:55 +0000 (14:18 +0000)]
Fix the description of the O_NONBLOCK flag to match reality.

Prodded by: Maxim Konovalov <maxim@macomnet.ru>
Obtained from: BSD/OS

22 years agoFix a typo I made in revision 1.5.
Ruslan Ermilov [Tue, 22 Jan 2002 12:38:43 +0000 (12:38 +0000)]
Fix a typo I made in revision 1.5.

Submitted by: trevor

22 years agoIn certain cases sbuf_printf() and sbuf_vprintf() could mistakely
Poul-Henning Kamp [Tue, 22 Jan 2002 11:22:55 +0000 (11:22 +0000)]
In certain cases sbuf_printf() and sbuf_vprintf() could mistakely
make extendable sbufs as overflowed.

Approved by: des

22 years agoMention that a minimal version of camcontrol(8) is now available in the
Joerg Wunsch [Tue, 22 Jan 2002 11:13:43 +0000 (11:13 +0000)]
Mention that a minimal version of camcontrol(8) is now available in the
installation environment (currently only for i386 releases).

22 years agoTiny style change. Whitespace only change.
Giorgos Keramidas [Tue, 22 Jan 2002 10:44:40 +0000 (10:44 +0000)]
Tiny style change.  Whitespace only change.
Use tab after #define ENOTSUP.

Reviewed by: mike

22 years agoFinish cleanup in chroot.c CSRG revision 5.6 by Keith Bostic
Ruslan Ermilov [Tue, 22 Jan 2002 10:44:02 +0000 (10:44 +0000)]
Finish cleanup in chroot.c CSRG revision 5.6 by Keith Bostic
(never installed setuid, so don't need to reset the uid).

PR: bin/34159

22 years agoFinish cleanup in kvm.c revisions 1.10 and 1.11 -- mark sf (swapfile)
Ruslan Ermilov [Tue, 22 Jan 2002 10:07:03 +0000 (10:07 +0000)]
Finish cleanup in kvm.c revisions 1.10 and 1.11 -- mark sf (swapfile)
argument to kvm_open() and kvm_openfiles() as unused.

BSD didn't read swap since kvm.c CSRG revision 5.21 (u-area is pageable
under new VM.  no need to read from swap.)

The old !NEWVM code was removed in CSRG revision 5.23 (~ten years ago).

22 years agoThis patch fixes a long standing complaint with soft updates in
Kirk McKusick [Tue, 22 Jan 2002 06:17:22 +0000 (06:17 +0000)]
This patch fixes a long standing complaint with soft updates in
which small and/or nearly full filesystems would fail with `file
system full' messages when trying to replace a number of existing
files (for example during a system installation). When the allocation
routines are about to fail with a file system full condition, they
make a call to softdep_request_cleanup() which attempts to accelerate
the flushing of pending deletion requests in an effort to free up
space. In the face of filesystem I/O requests that exceed the
available disk transfer capacity, the cleanup request could take
an unbounded amount of time. Thus, the softdep_request_cleanup()
routine will only try for tickdelay seconds (default 2 seconds)
before giving up and returning a filesystem full error. Under typical
conditions, the softdep_request_cleanup() routine is able to free
up space in under fifty milliseconds.

22 years agoMFen (1.263 --> 1.264).
Jun Kuriyama [Tue, 22 Jan 2002 06:04:46 +0000 (06:04 +0000)]
MFen (1.263 --> 1.264).
Fix typo.

22 years agohw.physmem is more properly a loader tunable, not an environment
Bruce A. Mah [Tue, 22 Jan 2002 05:21:21 +0000 (05:21 +0000)]
hw.physmem is more properly a loader tunable, not an environment
variable (which is ambiguous).

Submitted by: dwhite

22 years agoo Remove the -V [version number] option, since our version of at(1) no
Mike Barcroft [Tue, 22 Jan 2002 03:04:15 +0000 (03:04 +0000)]
o Remove the -V [version number] option, since our version of at(1) no
  longer resembles the original.
o Remove references to `you' in the manual.

Submitted by: Joe Halpin <joe.halpin@attbi.com>

22 years agoDon't read the sigcontext pointer directly from userspace. If the process
Andrew Gallatin [Tue, 22 Jan 2002 02:40:39 +0000 (02:40 +0000)]
Don't read the sigcontext pointer directly from userspace.  If the process
is swapped out, this can cause a system panic.  Copy it in, instead

tested by: Bernd Walter <ticso@cicely8.cicely.de>

22 years agoList bit 18 (reserved, apparently present on thunderbird cpus)
Peter Wemm [Tue, 22 Jan 2002 01:28:32 +0000 (01:28 +0000)]
List bit 18 (reserved, apparently present on thunderbird cpus)
and bit 19 (athlon XP/MP rev 0x662 and later) for amd_features.

Submitted by:  dwcjr

22 years agoThe idea of mapping non-existen characters to space (0x20) was nice alone,
Andrey A. Chernov [Mon, 21 Jan 2002 21:52:02 +0000 (21:52 +0000)]
The idea of mapping non-existen characters to space (0x20) was nice alone,
but those maps also used as backward maps for Paste, so space becomes mapped
to last non-existen character on Paste as result.

Fix it by mapping non-existen characters to another non-existen one, i.e. to
0x00, so unused 0x00 can be backward-mapped to some junk without real harm.

Pointed by: Alexander Kabaev <ak03@gte.com>

22 years agoGah! last commit botched indentation, fix indentation and some other
Poul-Henning Kamp [Mon, 21 Jan 2002 20:57:03 +0000 (20:57 +0000)]
Gah! last commit botched indentation, fix indentation and some other
white-space nits while at it.

22 years agoRestructure slightly, eliminating some repetitive source lines and
Poul-Henning Kamp [Mon, 21 Jan 2002 20:50:06 +0000 (20:50 +0000)]
Restructure slightly, eliminating some repetitive source lines and
making GEOM patches simpler and more readable at the same time.

22 years agoLink pam_opieaccess, pam_self and pam_ssh into the static library.
Dag-Erling Smørgrav [Mon, 21 Jan 2002 20:43:01 +0000 (20:43 +0000)]
Link pam_opieaccess, pam_self and pam_ssh into the static library.

Sponsored by: DARPA, NAI Labs

22 years agoAdd the necessary dependencies and linker flags for linking with a
Dag-Erling Smørgrav [Mon, 21 Jan 2002 20:42:25 +0000 (20:42 +0000)]
Add the necessary dependencies and linker flags for linking with a
static PAM library that includes pam_ssh.

Sponsored by: DARPA, NAI Labs

22 years agoCorrect typos and macro usage.
Ollivier Robert [Mon, 21 Jan 2002 20:12:02 +0000 (20:12 +0000)]
Correct typos and macro usage.

PR: 33179, 33181, 33295
Submitted by: Norihiro Kumagai <kumagai@attbi.com>
Reviewed by: sheldonh (MAINTAINER)
MFC after: 2 days

22 years ago- Check the address family of the destination cached in a PCB.
Hajimu UMEMOTO [Mon, 21 Jan 2002 20:04:22 +0000 (20:04 +0000)]
- Check the address family of the destination cached in a PCB.
- Clear the cached destination before getting another cached route.
  Otherwise, garbage in the padding space (which might be filled in if it was
  used for IPv4) could annoy rtalloc.

Obtained from: KAME

22 years ago- Check the address family of a cached destination, in case of
Hajimu UMEMOTO [Mon, 21 Jan 2002 20:02:36 +0000 (20:02 +0000)]
- Check the address family of a cached destination, in case of
  sharing the cache with IPv4.
- Check if the cached route is up in in6_selectsrc().

Obtained from: KAME

22 years agoRemove my workaround fallback since PAM now do it properly.
Andrey A. Chernov [Mon, 21 Jan 2002 19:07:15 +0000 (19:07 +0000)]
Remove my workaround fallback since PAM now do it properly.

22 years agoOn second thought, getpwnam() failure should be treated just as if the user
Dag-Erling Smørgrav [Mon, 21 Jan 2002 19:05:45 +0000 (19:05 +0000)]
On second thought, getpwnam() failure should be treated just as if the user
existed, but had no OPIE key, i.e. PAM_IGNORE.

Pointed out by: ache
Sponsored by: DARPA, NAI Labs

22 years agoReturn PAM_SERVICE_ERR rather than PAM_USER_UNKNOWN if getpwnam() fails, as
Dag-Erling Smørgrav [Mon, 21 Jan 2002 18:53:03 +0000 (18:53 +0000)]
Return PAM_SERVICE_ERR rather than PAM_USER_UNKNOWN if getpwnam() fails, as
PAM_USER_UNKNOWN will break the chain, revealing to an attacker that the
user does not exist.

Sponsored by: DARPA, NAI Labs

22 years agoEnable OPIE by default, using the no_fake_prompts option to hide it from
Dag-Erling Smørgrav [Mon, 21 Jan 2002 18:51:24 +0000 (18:51 +0000)]
Enable OPIE by default, using the no_fake_prompts option to hide it from
users who don't wish to use it.  If the admin is worried about leaking
information about which users exist and which have OPIE enabled, the
no_fake_prompts option can simply be removed.

Also insert the appropriate pam_opieaccess lines after pam_opie to break
the chain in case the user is logging in from an untrusted host, or has a
.opiealways file.  The entire opieaccess / opiealways concept is slightly
unpammish, but admins familiar with OPIE will expect it to work.

Reviewed by: ache, markm
Sponsored by: DARPA, NAI Labs

22 years agoFurther changes to allow enabling pam_opie(8) by default:
Dag-Erling Smørgrav [Mon, 21 Jan 2002 18:46:25 +0000 (18:46 +0000)]
Further changes to allow enabling pam_opie(8) by default:

 - Ignore the {try,use}_first_pass options by clearing PAM_AUTHTOK before
   challenging the user.  These options are meaningless for pam_opie(8)
   since the user can't possibly know the right response before she sees
   the challenge.

 - Introduce the no_fake_prompts option.  If this option is set, pam_opie(8)
   will fail - rather than present a bogus challenge - if the target user
   does not have an OPIE key.  With this option, users who haven't set up
   OPIE won't have to wonder what that "weird otp-md5 s**t" means :)

Reviewed by: ache, markm
Sponsored by: DARPA, NAI Labs

22 years agoWhen running on a local terminal, set PAM_RHOST to the local hostname.
Dag-Erling Smørgrav [Mon, 21 Jan 2002 16:19:38 +0000 (16:19 +0000)]
When running on a local terminal, set PAM_RHOST to the local hostname.

Sponsored by: DARPA, NAI Labs

22 years agoRFC1122 requires that addresses of the form { 127, <any> } MUST NOT
Ruslan Ermilov [Mon, 21 Jan 2002 13:59:42 +0000 (13:59 +0000)]
RFC1122 requires that addresses of the form { 127, <any> } MUST NOT
appear outside a host.

PR: 30792, 33996
Obtained from: ip_input.c
MFC after: 1 week

22 years agoAdd a new module, pam_opieaccess(8), which is responsible for checking
Dag-Erling Smørgrav [Mon, 21 Jan 2002 13:43:53 +0000 (13:43 +0000)]
Add a new module, pam_opieaccess(8), which is responsible for checking
/etc/opieaccess and ~/.opiealways so we can decide what to do after
pam_opie(8) fails.

Sponsored by: DARPA, NAI Labs
Reviewed by: ache, markm

22 years agoIspell sweep of share/man/man4/man4.i386.
Mike Pritchard [Mon, 21 Jan 2002 12:36:12 +0000 (12:36 +0000)]
Ispell sweep of share/man/man4/man4.i386.

22 years agoIspell sweep of share/man/man4.
Mike Pritchard [Mon, 21 Jan 2002 12:09:13 +0000 (12:09 +0000)]
Ispell sweep of share/man/man4.

22 years agoFix a typo in a comment field.
Mike Pritchard [Mon, 21 Jan 2002 11:10:32 +0000 (11:10 +0000)]
Fix a typo in a comment field.

22 years agoFix spelling errors.
Mike Pritchard [Mon, 21 Jan 2002 10:28:18 +0000 (10:28 +0000)]
Fix spelling errors.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 21 Jan 2002 05:02:21 +0000 (05:02 +0000)]
Merge from NetBSD:

    ohci.c: -r1.69 to 1.71
    ohcireg.h: -r1.14

Some of these deltas are based upon patches that we submitted back to
NetBSD.  They got manifested slightly differently though, so I've brought
back those differences to bring our code bases closer together.

The logs from the NetBSD version of ohci.c:

revision 1.71
date: 2000/02/01 05:42:52;  author: augustss;  state: Exp;  lines: +13 -2
Put some #ifdefs around power and shutdown hooks.
----------------------------
revision 1.70
date: 2000/01/31 22:35:13;  author: augustss;  state: Exp;  lines: +7 -7
Rename TAILMASK to HEADMASK, since it really masks the head pointer.
From FreeBSD.
----------------------------
revision 1.69
date: 2000/01/31 22:09:13;  author: augustss;  state: Exp;  lines: +18 -14
Change where the has table for physical-to-virtual address translation
is handled.  Partly from FreeBSD.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 21 Jan 2002 04:24:33 +0000 (04:24 +0000)]
Merge from NetBSD:

    ohci.c: -r1.68
    ohcireg.h: -r1.13

date: 2000/01/31 20:17:25;  author: augustss;  state: Exp;
Fiddle with over-current protect when turning on port power to make
things work for some OHCI controllers.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 21 Jan 2002 04:15:39 +0000 (04:15 +0000)]
Merge from NetBSD:

revision 1.65
date: 2000/01/25 12:06:21;  author: augustss;  state: Exp;  lines: +10 -2
Add done method for root control transfers.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 21 Jan 2002 03:44:00 +0000 (03:44 +0000)]
Merge from NetBSD:

revision 1.84
date: 2000/01/28 00:44:27;  author: augustss;  state: Exp;  lines: +9 -2
Add uhci_root_ctrl_done() method.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 21 Jan 2002 03:35:55 +0000 (03:35 +0000)]
Merge from NetBSD:

    uhci.c: -r1.82
    uhcivar.h: -r1.22

date: 2000/01/26 10:04:39;  author: augustss;  state: Exp;
Try to avoid accessing the HC if it is dead.  Suggested by mycroft.

22 years agoAllow dump device be configured as early as possible using loader(8) tunable.
Maxim Sobolev [Mon, 21 Jan 2002 01:16:11 +0000 (01:16 +0000)]
Allow dump device be configured as early as possible using loader(8) tunable.
This allows obtaining crash dumps from the panics occured during late stages
of kernel initialisation before system enters into single-user mode.

MFC after: 2 weeks

22 years agoAdd support for Linksys WDT11 PCI adaptors.
Brooks Davis [Mon, 21 Jan 2002 00:59:59 +0000 (00:59 +0000)]
Add support for Linksys WDT11 PCI adaptors.

Submitted by: Eric Liedtke <eliedtke@apogeetelecom.com>

22 years agoRemove some unused code, in line with NetBSD's version.
Josef Karthauser [Sun, 20 Jan 2002 23:56:46 +0000 (23:56 +0000)]
Remove some unused code, in line with NetBSD's version.

22 years agoMerge from NetBSD:
Josef Karthauser [Sun, 20 Jan 2002 23:48:43 +0000 (23:48 +0000)]
Merge from NetBSD:

revision 1.125
date: 2000/09/23 21:00:10;  author: augustss;  state: Exp;  lines: +19 -3
Avoid "bandwidth reclamation" for control transfers.  The kue device chokes
on it.

22 years agoMerge from NetBSD:
Josef Karthauser [Sun, 20 Jan 2002 23:38:33 +0000 (23:38 +0000)]
Merge from NetBSD:

    uhci.c: -r1.124
    uhcireg.h: -r1.13

date: 2000/08/13 18:20:14;  author: augustss;  state: Exp;
Fix race condition when unlinking xfers.  Thanks to IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp> for analyzing the problem and suggesting a fix.
Fixes PR 10662.

22 years agoMFS 1.536.2.52 (partial) and 1.536.2.70: kgzip loader if i386 (only).
Makoto Matsushita [Sun, 20 Jan 2002 23:17:52 +0000 (23:17 +0000)]
MFS 1.536.2.52 (partial) and 1.536.2.70: kgzip loader if i386 (only).

5.0-CURRENT-20020121-JPSNAP was failed to build since kern.flp has no
space.  There is already a hack to kgzip loader, and it makes:

-r-xr-xr-x  1 root  wheel  163840 Jan 21 07:40 loader*
-r-xr-xr-x  1 root  wheel   90121 Jan 21 08:06 loader.kgz*

73719 bytes of free spaces to us.

22 years agouse mutex pools for "struct file" locking.
Alfred Perlstein [Sun, 20 Jan 2002 22:58:08 +0000 (22:58 +0000)]
use mutex pools for "struct file" locking.
fix indentation of FILE_LOCK/UNLOCK macros while I'm here.

22 years agouse mutex pool mutexes for uidinfo locking.
Alfred Perlstein [Sun, 20 Jan 2002 22:48:49 +0000 (22:48 +0000)]
use mutex pool mutexes for uidinfo locking.
replace mutex_lock calls on uidinfo with macro calls:
  mtx_lock(&uidp->ui_mtx) -> UIDINFO_LOCK(uidp)

Terry Lambert <tlambert2@mindspring.com> helped with this.

22 years agosnprintf bloat -> strlcpy
Andrey A. Chernov [Sun, 20 Jan 2002 20:56:47 +0000 (20:56 +0000)]
snprintf bloat -> strlcpy
Add getpwnam return check

Approved by: des, markm

22 years agoMerge from NetBSD:
Josef Karthauser [Sun, 20 Jan 2002 20:12:25 +0000 (20:12 +0000)]
Merge from NetBSD:

    uhci.c: -r1.123 (and a tiny bit of -r1.92)
    uhcivar.h: -r1.32

date: 2000/08/13 16:18:09;  author: augustss;  state: Exp;
Implement what in Intel-speech is known as "bandwidth
reclamation".  It means that we continously poll USB devices
that have a pending transfer instead of polling just once
every ms.  This speeds up some transfers at the expense of
using more PCI bandwidth.

22 years agoCheck the return value from read() when reading the CR/LF at the end of a
Dag-Erling Smørgrav [Sun, 20 Jan 2002 19:53:12 +0000 (19:53 +0000)]
Check the return value from read() when reading the CR/LF at the end of a
chunk.

PR: bin/33608
MFC after: 2 weeks

22 years agoMark uploads as O_WRONLY, not O_RDONLY.
Dag-Erling Smørgrav [Sun, 20 Jan 2002 19:52:25 +0000 (19:52 +0000)]
Mark uploads as O_WRONLY, not O_RDONLY.

PR: misc/34043
MFC after: 2 weeks

22 years ago o Remove the unused vestiges of JOBST_JOBQPROC and
Alan Cox [Sun, 20 Jan 2002 18:59:58 +0000 (18:59 +0000)]
 o Remove the unused vestiges of JOBST_JOBQPROC and
   the per-thread jobtorun queue.
 o Use TAILQ_EMPTY() instead of TAILQ_FIRST(...) == NULL.

22 years agoWARNS=4 fixes.
Mark Murray [Sun, 20 Jan 2002 17:54:33 +0000 (17:54 +0000)]
WARNS=4 fixes.

OK'ed by: des

22 years agoAdd `-h' to the chown command so that symbolic links copied from
Ian Dowse [Sun, 20 Jan 2002 17:05:07 +0000 (17:05 +0000)]
Add `-h' to the chown command so that symbolic links copied from
the skeleton directory are chown'd to the new user.

PR: bin/10601
Submitted by: Adrian Filipi-Martin <adrian2ubergeeks.com@gosub.cstone.net>
MFC after: 1 month

22 years agoMinor typo fix: uquad_t -> u_quad_t.
Yaroslav Tykhiy [Sun, 20 Jan 2002 16:50:29 +0000 (16:50 +0000)]
Minor typo fix: uquad_t -> u_quad_t.

22 years agoRemove very outdated comment from the Bugs section that states that
Scott Long [Sun, 20 Jan 2002 16:09:18 +0000 (16:09 +0000)]
Remove very outdated comment from the Bugs section that states that
the driver cannot do U160.

Submitted by: ladisalv.kostal@fem.uniag.sk
MFC after: 1 day

22 years agofrom select(2):
Bill Fumerola [Sun, 20 Jan 2002 12:13:28 +0000 (12:13 +0000)]
from select(2):
Any of readfds, writefds, and exceptfds may be given as nil
pointers if no descriptors are of interest.

neither wfds nor efds were of interest so now they are nil.

also, do a little better then making an educated guess for nfds.

22 years agoMerge from NetBSD:
Josef Karthauser [Sun, 20 Jan 2002 12:08:09 +0000 (12:08 +0000)]
Merge from NetBSD:

    uchireg.h: -r1.12
    uchi.c: -r1.121

    date: 2000/07/23 19:43:38;  author: augustss;  state: Exp;
    Be a little more explicit and careful about setting links in TDs and QHs.

22 years agoCorrect the majors entry for 'iir'. 163 is vacated now.
Mike Smith [Sun, 20 Jan 2002 09:01:07 +0000 (09:01 +0000)]
Correct the majors entry for 'iir'.  163 is vacated now.

22 years agoAdd the 'iir' driver, for the Intel Integrated RAID controllers and
Mike Smith [Sun, 20 Jan 2002 08:51:08 +0000 (08:51 +0000)]
Add the 'iir' driver, for the Intel Integrated RAID controllers and
prior ICP Vortex models.  This driver was developed by Achim Leubner
of Intel (previously with ICP Vortex) and Boji Kannanthanam of Intel.

Submitted by: "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com>
MFC after: 2 weeks

22 years agoICP have been acquired by Intel, and their driver is now the Intel
Mike Smith [Sun, 20 Jan 2002 06:21:33 +0000 (06:21 +0000)]
ICP have been acquired by Intel, and their driver is now the Intel
Integrated RAID driver, supported by <boji.t.kannanthanam@intel.com> and
<achim.leubner@intel.com>.

Submitted by: "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com>

22 years agoThe Libretto L series has no $PIR table, but does have a _PIR table.
Warner Losh [Sun, 20 Jan 2002 03:28:29 +0000 (03:28 +0000)]
The Libretto L series has no $PIR table, but does have a _PIR table.
This typo keeps us from properly routing an interrupt for CardBus
bridges on this machine.  So, now we look for $PIR and then _PIR to
cope.  With these changes, the Libretto L1 now works properly.
Evidentally, the idea comes from patch that the Japanese version of
RedHat (or against a Japanese version of Red Hat), but my Japanese
isn't good enough to to know for sure.

Reported by: Hiroyuki Aizu-san <eyes@navi.org>

# This may be an MFC candidate, but I'm not yet sure.

22 years agoPrevent overflowing the buffer that stores the command arguments.
Mike Heffner [Sun, 20 Jan 2002 01:30:40 +0000 (01:30 +0000)]
Prevent overflowing the buffer that stores the command arguments.

PR: bin/19422
Not objected to by: -audit
MFC after: 3 weeks

22 years ago o Revision 1.99 ("KSE Milestone 2") left the aio daemons
Alan Cox [Sun, 20 Jan 2002 00:52:44 +0000 (00:52 +0000)]
 o Revision 1.99 ("KSE Milestone 2") left the aio daemons
   sleeping on a process object but changed the corresponding
   wakeup()s to the thread object.  The result was that non-raw
   aio ops waited for an aio daemon to timeout before action
   was taken.  Now, we sleep on the thread object.

PR: kern/34016

22 years agoLink mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,
Mike Heffner [Sat, 19 Jan 2002 23:47:21 +0000 (23:47 +0000)]
Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,
but it is pretty close.

Not objected to by: -standards

22 years agoI've been meaning to do this for a while. Add an underscore to the
Matthew Dillon [Sat, 19 Jan 2002 23:20:02 +0000 (23:20 +0000)]
I've been meaning to do this for a while.  Add an underscore to the
time_to_xxx() and xxx_to_time() functions.  e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard.  They will eventually be replaced when a real standard
comes out of committee.

22 years agoReally back out ache's commits. These files are now precisely as they were
Dag-Erling Smørgrav [Sat, 19 Jan 2002 18:29:50 +0000 (18:29 +0000)]
Really back out ache's commits.  These files are now precisely as they were
twentyfour hours ago, except for RCS ids.

22 years agoBack out PAM_CRED_ERR addition
Andrey A. Chernov [Sat, 19 Jan 2002 18:06:05 +0000 (18:06 +0000)]
Back out PAM_CRED_ERR addition

22 years agoBack out recent changes
Andrey A. Chernov [Sat, 19 Jan 2002 18:03:11 +0000 (18:03 +0000)]
Back out recent changes

22 years agoMFen (1.261 --> 1.263).
Jun Kuriyama [Sat, 19 Jan 2002 15:53:23 +0000 (15:53 +0000)]
MFen (1.261 --> 1.263).

22 years agoRemove bogus entry.
Jun Kuriyama [Sat, 19 Jan 2002 15:12:40 +0000 (15:12 +0000)]
Remove bogus entry.

22 years agoMFen (1.260 --> 1.261; order changes only).
Jun Kuriyama [Sat, 19 Jan 2002 15:12:05 +0000 (15:12 +0000)]
MFen (1.260 --> 1.261; order changes only).

22 years agoNew release notes: ARCNET support, cm driver.
Bruce A. Mah [Sat, 19 Jan 2002 13:38:48 +0000 (13:38 +0000)]
New release notes:  ARCNET support, cm driver.

22 years agoNew release notes: dc(4) supports VLANs, man(1) no longer SUID man,
Bruce A. Mah [Sat, 19 Jan 2002 13:02:32 +0000 (13:02 +0000)]
New release notes:  dc(4) supports VLANs, man(1) no longer SUID man,
/etc/pam.d/.

22 years agoAlphabetize the kernel changes section by manpage reference or
Bruce A. Mah [Sat, 19 Jan 2002 12:50:37 +0000 (12:50 +0000)]
Alphabetize the kernel changes section by manpage reference or
keyword, where possible.

22 years agoTurn on pam_opie by default. It should not affect non-OPIE users.
Andrey A. Chernov [Sat, 19 Jan 2002 10:31:32 +0000 (10:31 +0000)]
Turn on pam_opie by default. It should not affect non-OPIE users.

22 years agoIf user not exist in OPIE system, return failure immediately instead
Andrey A. Chernov [Sat, 19 Jan 2002 10:09:05 +0000 (10:09 +0000)]
If user not exist in OPIE system, return failure immediately instead
of producing fake prompts with random numbers which can be detected by
potential intruder in two tries and totally confuse non-OPIE users.

22 years agoBack out second right-now-expired password check in pam_sm_chauthtok,
Andrey A. Chernov [Sat, 19 Jan 2002 09:23:36 +0000 (09:23 +0000)]
Back out second right-now-expired password check in pam_sm_chauthtok,
old expired password assumed there

22 years agoTurn on pam_opie by default. It not affect non-OPIE users
Andrey A. Chernov [Sat, 19 Jan 2002 09:06:45 +0000 (09:06 +0000)]
Turn on pam_opie by default. It not affect non-OPIE users

22 years agoAdd PAM_CRED_ERR as valid failure case
Andrey A. Chernov [Sat, 19 Jan 2002 09:01:17 +0000 (09:01 +0000)]
Add PAM_CRED_ERR as valid failure case

22 years agoPrevious commit was incomplete, use
Andrey A. Chernov [Sat, 19 Jan 2002 08:39:35 +0000 (08:39 +0000)]
Previous commit was incomplete, use
"[default=ignore success=done cred_err=die]"
options instead of "required"

22 years agoPrevious commit was incomplete, use new error code PAM_CRED_ERR to
Andrey A. Chernov [Sat, 19 Jan 2002 08:36:47 +0000 (08:36 +0000)]
Previous commit was incomplete, use new error code PAM_CRED_ERR to
indicate die case, different from PAM_SUCCESS and PAM_AUTH_ERR

22 years agoAdd flags 0x10000 to IO Data WN-B11/PCM's entry. Evidentally, they
Warner Losh [Sat, 19 Jan 2002 08:11:39 +0000 (08:11 +0000)]
Add flags 0x10000 to IO Data WN-B11/PCM's entry.  Evidentally, they
changed firmware and the new cards don't work without this.

Submitted by: ume
MFC after: 3 days

22 years agoRemove explaining comment and pam_unix commented out, now pam_unix can be
Andrey A. Chernov [Sat, 19 Jan 2002 07:32:47 +0000 (07:32 +0000)]
Remove explaining comment and pam_unix commented out, now pam_unix can be
chained with pam_opie

22 years agoRewrite 'pwok' fallback in the way it can be properly chained with pam_unix
Andrey A. Chernov [Sat, 19 Jan 2002 07:23:48 +0000 (07:23 +0000)]
Rewrite 'pwok' fallback in the way it can be properly chained with pam_unix

Replace snprintf %s with strlcpy

Check for NULL returned from getpwnam()

22 years agoLock the caller process if the pid passed to getsid() or getpgid()
Seigo Tanimura [Sat, 19 Jan 2002 06:34:58 +0000 (06:34 +0000)]
Lock the caller process if the pid passed to getsid() or getpgid()
equals to zero.

22 years agoCall opieunlock() only if we skip opieverify() part
Andrey A. Chernov [Sat, 19 Jan 2002 05:59:24 +0000 (05:59 +0000)]
Call opieunlock() only if we skip opieverify() part

22 years agoMFen (1.259 --> 1.260).
Jun Kuriyama [Sat, 19 Jan 2002 05:41:17 +0000 (05:41 +0000)]
MFen (1.259 --> 1.260).

22 years agoFor getsid(), return the sid stored in struct session. This prevents
Seigo Tanimura [Sat, 19 Jan 2002 05:31:51 +0000 (05:31 +0000)]
For getsid(), return the sid stored in struct session. This prevents
panic in case where a session has no session leader.

Inspired by: Solaris 8

22 years agoNew release notes: bpf(4) works better with select(2) and poll(2),
Bruce A. Mah [Sat, 19 Jan 2002 05:23:17 +0000 (05:23 +0000)]
New release notes:  bpf(4) works better with select(2) and poll(2),
natd(8) -log_ipfw_denied.

22 years agoAdd yet one expired-right-now password check, in pam_sm_chauthtok
Andrey A. Chernov [Sat, 19 Jan 2002 04:58:51 +0000 (04:58 +0000)]
Add yet one expired-right-now password check, in pam_sm_chauthtok

srandomdev() can't be used in libraries, replace srandomdev()+random()
by arc4random()

22 years agoMFen (1.257 --> 1.259).
Jun Kuriyama [Sat, 19 Jan 2002 04:29:55 +0000 (04:29 +0000)]
MFen (1.257 --> 1.259).

22 years agoMake compile, remove extra fdrop() calls.
Alfred Perlstein [Sat, 19 Jan 2002 03:52:17 +0000 (03:52 +0000)]
Make compile, remove extra fdrop() calls.
Change name of function to what it's supposed to be (s/sys/do)