]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoUse the stock 2.12.0_snap version of this now.
obrien [Sun, 27 Jan 2002 12:15:52 +0000 (12:15 +0000)]
Use the stock 2.12.0_snap version of this now.

22 years agoUse the vendor's 2.12.0_snap vendor version of this file as in rev 1.5.
obrien [Sun, 27 Jan 2002 12:12:53 +0000 (12:12 +0000)]
Use the vendor's 2.12.0_snap vendor version of this file as in rev 1.5.

22 years agoUse the vendor's 2.12.0_snap version of this file as in rev 1.4.
obrien [Sun, 27 Jan 2002 12:09:38 +0000 (12:09 +0000)]
Use the vendor's 2.12.0_snap version of this file as in rev 1.4.

22 years agoCommit the stock 2.12.0_snap version.
obrien [Sun, 27 Jan 2002 12:08:47 +0000 (12:08 +0000)]
Commit the stock 2.12.0_snap version.

22 years agoMerge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
obrien [Sun, 27 Jan 2002 12:08:15 +0000 (12:08 +0000)]
Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12.0_snap.

22 years agoMerge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
obrien [Sun, 27 Jan 2002 12:07:38 +0000 (12:07 +0000)]
Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.12.0_snap.

22 years agoMerge our ELF branding into Binutils 2.12.0_snap.
obrien [Sun, 27 Jan 2002 12:06:54 +0000 (12:06 +0000)]
Merge our ELF branding into Binutils 2.12.0_snap.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r89857,
obrien [Sun, 27 Jan 2002 12:00:11 +0000 (12:00 +0000)]
This commit was generated by cvs2svn to compensate for changes in r89857,
which included commits to RCS files with non-trunk default branches.

22 years agoEnlist the FreeBSD-CURRENT users as testers of what is to become Binutils
obrien [Sun, 27 Jan 2002 12:00:11 +0000 (12:00 +0000)]
Enlist the FreeBSD-CURRENT users as testers of what is to become Binutils
version 2.12.0.  These bits are taken from the FSF anoncvs repo on
27-January-2002 03:41 PST.

22 years agoUnbreak pcvt, it suffered from common variables. Whoever added the
joerg [Sun, 27 Jan 2002 09:17:27 +0000 (09:17 +0000)]
Unbreak pcvt, it suffered from common variables.  Whoever added the
-fno-common could not have possibly compiled LINT afterwards with
this...

22 years agoAdd info about sppp and fd changes in December to current.
imp [Sun, 27 Jan 2002 07:00:25 +0000 (07:00 +0000)]
Add info about sppp and fd changes in December to current.

Submitted by: joerg

22 years agoAdd note about openssh 2.9 changing some defaults
imp [Sun, 27 Jan 2002 06:50:09 +0000 (06:50 +0000)]
Add note about openssh 2.9 changing some defaults

Submitted by: Thomas.Quinot@Cuivre.FR.EU.ORG
PR: 28724

22 years agoAdd only once to the tip workaround.
imp [Sun, 27 Jan 2002 06:36:13 +0000 (06:36 +0000)]
Add only once to the tip workaround.

Submitted by: ru

22 years agovinumioctl: Fix a double fault caused by calling setjmp() without holding the config...
grog [Sun, 27 Jan 2002 04:20:52 +0000 (04:20 +0000)]
vinumioctl: Fix a double fault caused by calling setjmp() without holding the config lock.  The call was in fact superfluous.

22 years agoUpdate list of manpages
kris [Sun, 27 Jan 2002 03:36:57 +0000 (03:36 +0000)]
Update list of manpages

22 years agoResolve conflicts.
kris [Sun, 27 Jan 2002 03:17:13 +0000 (03:17 +0000)]
Resolve conflicts.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r89837,
kris [Sun, 27 Jan 2002 03:13:07 +0000 (03:13 +0000)]
This commit was generated by cvs2svn to compensate for changes in r89837,
which included commits to RCS files with non-trunk default branches.

22 years agoInitial import of OpenSSL 0.9.6c
kris [Sun, 27 Jan 2002 03:13:07 +0000 (03:13 +0000)]
Initial import of OpenSSL 0.9.6c

22 years agoNote that the bge driver now supports the Netgear GA302T.
jdp [Sun, 27 Jan 2002 01:16:50 +0000 (01:16 +0000)]
Note that the bge driver now supports the Netgear GA302T.

MFC after: 3 days

22 years agoAdd support for the Netgear GA302T 10/100/1000 adapter. Given that
jdp [Sun, 27 Jan 2002 01:00:16 +0000 (01:00 +0000)]
Add support for the Netgear GA302T 10/100/1000 adapter.  Given that
it's a 32-bit card, it's quite nice for $75.

MFC after: 3 days

22 years ago* improve error handling
cg [Sat, 26 Jan 2002 22:13:24 +0000 (22:13 +0000)]
* improve error handling
* be more specific in verbose boot messages
* allow the feeder subsystem to veto pcm* attaching if there is an error
  initialising the root feeder
* don't free/malloc a new tmpbuf when resizing a snd_dbuf to the same size as
  it currently is
* store the feeder description in the feeder structure instead of mallocing
  space for it

22 years ago- Spelling fix: "functons" -> "functions".
arr [Sat, 26 Jan 2002 21:41:28 +0000 (21:41 +0000)]
- Spelling fix: "functons" -> "functions".

22 years agoAdd some verbage about make environment poisoning.
imp [Sat, 26 Jan 2002 21:33:07 +0000 (21:33 +0000)]
Add some verbage about make environment poisoning.

Submitted by: sheldonh
Ignored for two months by: imp

22 years agoo return EINVAL if acl_to_text() have been sent a NULL acl. o...
jedgar [Sat, 26 Jan 2002 19:32:50 +0000 (19:32 +0000)]
o return EINVAL if acl_to_text() have been sent a NULL acl.                     o update copyright dates.

Reviewed by: rwatson

22 years agoUpdate the number of ports available.
murray [Sat, 26 Jan 2002 15:56:54 +0000 (15:56 +0000)]
Update the number of ports available.

22 years agoSomething i always wanted to see: add a function to print the list of
joerg [Sat, 26 Jan 2002 15:53:23 +0000 (15:53 +0000)]
Something i always wanted to see: add a function to print the list of
blocks allocated by some inode.  Indirect blocks are printed
recursively, so beware :), the list could become lengthy...
(We should probably add some output pager to fsdb.)

MFC after: 1 month

22 years agoAvoid pointless initialization of global variables to 0. This only
joerg [Sat, 26 Jan 2002 15:47:24 +0000 (15:47 +0000)]
Avoid pointless initialization of global variables to 0.  This only
bloats the resulting binary file by forcing them out of .bss into
.data, while the C standard already guarantees them to become
initialized to 0 at program startup.

MFC after: 1 week

22 years agoRearrange the code in USB_DETACH, so that it's like NetBSD's. No
joe [Sat, 26 Jan 2002 14:00:25 +0000 (14:00 +0000)]
Rearrange the code in USB_DETACH, so that it's like NetBSD's.  No
functional change.

22 years agoBack out the last commit. I committed the wrong file by accident.
joe [Sat, 26 Jan 2002 13:57:08 +0000 (13:57 +0000)]
Back out the last commit.  I committed the wrong file by accident.
The commit message wasn't relevant to that change.  This code will
be committed later.

22 years agoRearrange the code in USB_DETACH, so that it's like NetBSD's.
joe [Sat, 26 Jan 2002 13:52:53 +0000 (13:52 +0000)]
Rearrange the code in USB_DETACH, so that it's like NetBSD's.
No functional change.

22 years agoUpdate the $NetBSD$ ident.
joe [Sat, 26 Jan 2002 13:09:52 +0000 (13:09 +0000)]
Update the $NetBSD$ ident.

22 years agoReduce the diffs between NetBSD and our version where appropriate
joe [Sat, 26 Jan 2002 13:08:57 +0000 (13:08 +0000)]
Reduce the diffs between NetBSD and our version where appropriate
(comments, etc.)

22 years agoMerge from NetBSD:
joe [Sat, 26 Jan 2002 12:48:57 +0000 (12:48 +0000)]
Merge from NetBSD:

    usb.c: revision 1.39

revision 1.39
date: 2000/02/22 11:30:56;  author: augustss;  lines: +7 -1
Prepare a little for having USB interrupt processing done
outside the hard interrupt level (in a thread or a softintr).
No real soft processing done yet.

22 years agoMerge from NetBSD:
joe [Sat, 26 Jan 2002 12:40:03 +0000 (12:40 +0000)]
Merge from NetBSD:

    usb.c: revision 1.41

revision 1.41
date: 2000/03/16 00:46:38;  author: augustss;  lines: +2 -2
Make the USB event queue longer.  Mine overflows before the
(user-land) event handler has started.  But then I have
about 25 devices connected. :)

22 years agoUpdate the $NetBSD$ ident to show that some patches have been applied
joe [Sat, 26 Jan 2002 12:25:32 +0000 (12:25 +0000)]
Update the $NetBSD$ ident to show that some patches have been applied
in the past.

22 years agoMerge from NetBSD:
joe [Sat, 26 Jan 2002 12:04:22 +0000 (12:04 +0000)]
Merge from NetBSD:

    ohci.c: revision 1.72 and 1.73
    ohcivar.h: revision 1.19 and 1.20
    uhci.c: revision 1.85
    usbdi.h: a small part of revision 1.40
    usbdivar.h: revision 1.47

Relevant commit messages from NetBSD are:

date: 2000/02/22 11:30:54;  author: augustss;  state: Exp;
Prepare a little for having USB interrupt processing done
outside the hard interrupt level (in a thread or a softintr).
No real soft processing done yet.
----------------------------
date: 2000/02/01 05:42:53;  author: augustss;  state: Exp;
Put some #ifdefs around power and shutdown hooks.

22 years agoDon't exit with -1 if the user typed "quit".
joerg [Sat, 26 Jan 2002 11:21:19 +0000 (11:21 +0000)]
Don't exit with -1 if the user typed "quit".

MFC after: 1 week

22 years agoThe ipfw(8) 'tee' action simply hasn't worked on incoming packets for
cjc [Sat, 26 Jan 2002 10:14:08 +0000 (10:14 +0000)]
The ipfw(8) 'tee' action simply hasn't worked on incoming packets for
some time. _All_ packets, regardless of destination, were accepted by
the machine as if addressed to it.

Jump back to 'pass' processing for a teed packet instead of falling
through as if it was ours.

PR: kern/31130
Reviewed by: -net, luigi
MFC after: 2 weeks

22 years agoMake the rc.conf(5) 'log_in_vain' knob an integer.
cjc [Sat, 26 Jan 2002 09:05:13 +0000 (09:05 +0000)]
Make the rc.conf(5) 'log_in_vain' knob an integer.

Try this out in -CURRENT, MFC, and then consider dropping the
'log_in_vain' knob all together. It really is something for
sysctl.conf(5).

PR: bin/32953
Reviewed by: -bugs discussion
MFC after: 1 week

22 years agoMFen (1.266 --> 1.269).
kuriyama [Sat, 26 Jan 2002 05:48:38 +0000 (05:48 +0000)]
MFen (1.266 --> 1.269).

22 years agoMerged all of the lockmgr functions into a single file (lock.9); as well,
davidc [Sat, 26 Jan 2002 00:09:41 +0000 (00:09 +0000)]
Merged all of the lockmgr functions into a single file (lock.9); as well,
some content and layout changes were made.

lock.9 had existed before but was never added to Makefile, so it was
never installed.  That is why the duplicate files were created in the
first place.

Reviewed by: ru, alfred

22 years agoUse ctime_r to build the timestamp for syslog, so that we don't
dwmalone [Fri, 25 Jan 2002 21:49:34 +0000 (21:49 +0000)]
Use ctime_r to build the timestamp for syslog, so that we don't
clobber a ctime buffer which is passed in.

PR: 34022
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
MFC after: 2 weeks

22 years agoRemove a parameter name from a prototype.
dwmalone [Fri, 25 Jan 2002 21:33:10 +0000 (21:33 +0000)]
Remove a parameter name from a prototype.

22 years agoBe more conservative about interrupt latency, it aint getting better it seems.
phk [Fri, 25 Jan 2002 21:22:34 +0000 (21:22 +0000)]
Be more conservative about interrupt latency, it aint getting better it seems.

22 years agoModify release note: larger buffer sizes might mean needing to
bmah [Fri, 25 Jan 2002 20:54:46 +0000 (20:54 +0000)]
Modify release note:  larger buffer sizes might mean needing to
increase NMBCLUSTERS.

22 years agoFix some function prototypes.
phk [Fri, 25 Jan 2002 20:45:30 +0000 (20:45 +0000)]
Fix some function prototypes.
Cure the "lets put everything in registers" ailment.
Set WARNS=2
Fix two problems where casting messed up large quotafiles.

PR: 34108
Submitted by: Maxim Katargin <kmv@asplinux.ru>
MFC after: 3 weeks

22 years agoNew release note: sysinstall(8) autoloads drivers from mfsroot
bmah [Fri, 25 Jan 2002 18:35:53 +0000 (18:35 +0000)]
New release note:  sysinstall(8) autoloads drivers from mfsroot
/stand/modules.

22 years agoRemove a not-very-useful printf(3).
green [Fri, 25 Jan 2002 18:33:40 +0000 (18:33 +0000)]
Remove a not-very-useful printf(3).

22 years agoAllow fsdb the ability to work with entries named with whitespace embedded.
green [Fri, 25 Jan 2002 18:31:57 +0000 (18:31 +0000)]
Allow fsdb the ability to work with entries named with whitespace embedded.

This works by retokenizing a line with a split limit so that if the
argument count for a command is greater than the number of arguments
formed by splitting apart the line of user input, the last argument
is instead all of the remainder of the input line.

Yes, I needed this capability at one point to fix a filesystem manually,
which happened to break with a problematic space-containing directory
entry.

22 years agoUpdated release note: Auto-tuning maxusers now maxes out at 384.
bmah [Fri, 25 Jan 2002 18:27:45 +0000 (18:27 +0000)]
Updated release note:  Auto-tuning maxusers now maxes out at 384.

22 years agoCommit general cleanups (separate get_num() and get_off_t() functions to
green [Fri, 25 Jan 2002 17:44:47 +0000 (17:44 +0000)]
Commit general cleanups (separate get_num() and get_off_t() functions to
debogosify some of the command-line string-number conversions into
an unsigned and signed variant.)

22 years agoMake st_blksize default to PAGE_SIZE instead of zero.
phk [Fri, 25 Jan 2002 16:39:57 +0000 (16:39 +0000)]
Make st_blksize default to PAGE_SIZE instead of zero.

22 years agoChange the library search order so that LD_LIBRARY_PATH overrides
jdp [Fri, 25 Jan 2002 16:35:43 +0000 (16:35 +0000)]
Change the library search order so that LD_LIBRARY_PATH overrides
all others.

PR: bin/28191
MFC after: 2 weeks

22 years agoUse mktemp(1) when creating temporary files.
nectar [Fri, 25 Jan 2002 15:02:01 +0000 (15:02 +0000)]
Use mktemp(1) when creating temporary files.

22 years agoRegen.
sheldonh [Fri, 25 Jan 2002 09:05:33 +0000 (09:05 +0000)]
Regen.

22 years agoDon't bogusly look for inexact matches because a package contains a '-'
steve [Fri, 25 Jan 2002 05:10:00 +0000 (05:10 +0000)]
Don't bogusly look for inexact matches because a package contains a '-'
for packages like sawfish-gnome for instance.

Reviewed by: murray, sobomax

22 years agoFix code that had rotted behind debugging macros.
scottl [Fri, 25 Jan 2002 04:14:12 +0000 (04:14 +0000)]
Fix code that had rotted behind debugging macros.

Approved by: cg (in principle)
MFC after: 2 weeks

22 years agoa buffer offset equal to the buffer size is illegal too, fix assertion in
cg [Fri, 25 Jan 2002 02:39:34 +0000 (02:39 +0000)]
a buffer offset equal to the buffer size is illegal too, fix assertion in
sndbuf_getbufofs()

22 years agocosmetic change, free b instead of c->bufhard for consistency within
cg [Fri, 25 Jan 2002 02:36:22 +0000 (02:36 +0000)]
cosmetic change, free b instead of c->bufhard for consistency within
chn_kill()

22 years agoMake the 'maxusers 0' auto-sizing code slightly more conservative. Change
dillon [Fri, 25 Jan 2002 01:54:16 +0000 (01:54 +0000)]
Make the 'maxusers 0' auto-sizing code slightly more conservative.  Change
from 1 megabyte of ram per user to 2 megabytes of ram per user, and
reduce the cap from 512 to 384.  512 leaves around 240 MB of KVM available
while 384 leaves 270 MB of KVM available.  Available KVM is important
in order to deal with zalloc and kernel malloc area growth.

Reviewed by: mckusick
MFC: either before 4.5 if re's agree, or after 4.5

22 years agoHave sysctl() return the correct errno(2) as documented in the
cjc [Fri, 25 Jan 2002 00:50:49 +0000 (00:50 +0000)]
Have sysctl() return the correct errno(2) as documented in the
sysctl(3) manpage.

Submitted by: ru
Obtained from: BSD/OS

22 years agoMake usage message and man page synopsis reflect the fact that -n
dwmalone [Thu, 24 Jan 2002 22:27:50 +0000 (22:27 +0000)]
Make usage message and man page synopsis reflect the fact that -n
and -c are mutually exclusive.

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

22 years agoZeroing memset() in opiechallenge() really is not needed because it is the
ache [Thu, 24 Jan 2002 22:19:21 +0000 (22:19 +0000)]
Zeroing memset() in opiechallenge() really is not needed because it is the
very first thing immediately following opielookup() does being entered, i.e.
look at this:

int opielookup FUNCTION((opie, principal), struct opie *opie AND char
*principal
)
{
  int i;

  memset(opie, 0, sizeof(struct opie));
...

22 years agoYet a bug with extensible sbufs being marked as OVERFLOWED. This time
phk [Thu, 24 Jan 2002 20:57:56 +0000 (20:57 +0000)]
Yet a bug with extensible sbufs being marked as OVERFLOWED.  This time
because of a signed/unsigned problem.

Approved by: DES

22 years agoMerge from NetBSD:
joe [Thu, 24 Jan 2002 20:21:17 +0000 (20:21 +0000)]
Merge from NetBSD:

    usb.c: -r1.35 - 1.37
    usb_port.h: tiny bit of -r1.26 + an extra bit in the FreeBSD config section.

revision 1.37
date: 2000/01/24 18:35:51;  author: thorpej;  state: Exp;  lines: +7 -1
Use config_pending.
----------------------------
revision 1.36
date: 1999/12/22 23:54:09;  author: augustss;  state: Exp;  lines: +2 -2
Use the flags `locator' to govern if devices are detected early or
late during cold boot.
----------------------------
revision 1.35
date: 1999/12/20 02:12:23;  author: augustss;  state: Exp;  lines: +8 -5
Make sure tsleep() is not called during cold boot.

22 years agoAdd libfetch.so.2 from a 17-Dec-2001 4.5-RC (releng4) build.
obrien [Thu, 24 Jan 2002 18:59:29 +0000 (18:59 +0000)]
Add libfetch.so.2 from a 17-Dec-2001 4.5-RC (releng4) build.

22 years agoWARNS=4 fixes. Protect with NO_WERROR for the modules that have
markm [Thu, 24 Jan 2002 18:37:17 +0000 (18:37 +0000)]
WARNS=4 fixes. Protect with NO_WERROR for the modules that have
warnings that are hard to fix or that I've been asked to leave alone.

22 years agoAdd new option HAVE_STRERROR to CFLAGS.
dwmalone [Thu, 24 Jan 2002 17:59:39 +0000 (17:59 +0000)]
Add new option HAVE_STRERROR to CFLAGS.

22 years agoResolve conflicts.
dwmalone [Thu, 24 Jan 2002 17:58:42 +0000 (17:58 +0000)]
Resolve conflicts.

22 years agoResolve conflicts (our -t option, we'd fixed a bug in a slightly different way).
dwmalone [Thu, 24 Jan 2002 17:55:40 +0000 (17:55 +0000)]
Resolve conflicts (our -t option, we'd fixed a bug in a slightly different way).

22 years agoResolve conflicts (we have a -t option).
dwmalone [Thu, 24 Jan 2002 17:54:04 +0000 (17:54 +0000)]
Resolve conflicts (we have a -t option).

22 years agoResolve conflict: We made a fix renaming a structure member error,
dwmalone [Thu, 24 Jan 2002 17:52:26 +0000 (17:52 +0000)]
Resolve conflict: We made a fix renaming a structure member error,
but it was renamed errnum on the vendor branch.

22 years agoInsert a missing paragraph break (.Pp).
schweikh [Thu, 24 Jan 2002 17:49:09 +0000 (17:49 +0000)]
Insert a missing paragraph break (.Pp).
MFC after: 3 weeks

22 years agoPAM modules shouldn't call putenv(); pam_putenv() is sufficient. The
des [Thu, 24 Jan 2002 17:26:27 +0000 (17:26 +0000)]
PAM modules shouldn't call putenv(); pam_putenv() is sufficient.  The
caller is supposed to check the PAM envlist and export the variables it
contains; if it doesn't, it's broken.

Sponsored by: DARPA, NAI Labs

22 years agoThis commit was generated by cvs2svn to compensate for changes in r89750,
dwmalone [Thu, 24 Jan 2002 17:24:16 +0000 (17:24 +0000)]
This commit was generated by cvs2svn to compensate for changes in r89750,
which included commits to RCS files with non-trunk default branches.

22 years agoimport top_3_5beta12
dwmalone [Thu, 24 Jan 2002 17:24:16 +0000 (17:24 +0000)]
import top_3_5beta12

22 years agoAdd entry for EVFILT_NETDEV, which was inadverdently omitted back in Sept.
jlemon [Thu, 24 Jan 2002 17:20:55 +0000 (17:20 +0000)]
Add entry for EVFILT_NETDEV, which was inadverdently omitted back in Sept.

22 years agoChange the order in which pam_sm_open_session() updates the logs. This
des [Thu, 24 Jan 2002 17:15:04 +0000 (17:15 +0000)]
Change the order in which pam_sm_open_session() updates the logs.  This
doesn't really make any difference, except it matches wtmp(5) better.

Don't do anything in pam_sm_close_session(); init(8) will take care of
utmp and wtmp when the tty is released.  Clearing them here would make it
possible to create a ghost session by logging in, running 'login -f $USER'
and exiting the subshell.

Sponsored by: DARPA, NAI Labs (but the bugs are all mine)

22 years agoStyle.
ru [Thu, 24 Jan 2002 16:53:08 +0000 (16:53 +0000)]
Style.

Approved by: ken

22 years agoDon't set PAM_RHOST, this is a local login.
des [Thu, 24 Jan 2002 16:20:17 +0000 (16:20 +0000)]
Don't set PAM_RHOST, this is a local login.

Sponsored by: DARPA, NAI Labs

22 years agoCorrectly interpret PAM_RHOST being unset as an indicator of a local
des [Thu, 24 Jan 2002 16:18:43 +0000 (16:18 +0000)]
Correctly interpret PAM_RHOST being unset as an indicator of a local
login.

Sponsored by: DARPA, NAI Labs

22 years agoCorrectly interpret PAM_RHOST being unset as an indicator of a local
des [Thu, 24 Jan 2002 16:16:01 +0000 (16:16 +0000)]
Correctly interpret PAM_RHOST being unset as an indicator of a local
login.

22 years agoStyle nits.
des [Thu, 24 Jan 2002 16:14:56 +0000 (16:14 +0000)]
Style nits.

Sponsored by: DARPA, NAI Labs

22 years agoget __time_load_locale() prototype from include file, rather than declare
phantom [Thu, 24 Jan 2002 15:38:59 +0000 (15:38 +0000)]
get __time_load_locale() prototype from include file, rather than declare
own

22 years agoThis commit disables chain caching.
des [Thu, 24 Jan 2002 15:30:03 +0000 (15:30 +0000)]
This commit disables chain caching.

Chain caching is a feature of Linux-PAM, where pam_authenticate() and
pam_open_session() "freeze" the chain so that their companion
primitive (pam_setcred() and pam_close_session() respectively) will
call the exact same modules, skipping those that failed in the
previous call.

There are several reasons not to do this, the most prominent of which
is that it makes it impossible to call pam_setcred() without first
calling pam_authenticate() - which is perfectly valid according to
DCE/RFC 86.0 and XSSO, and is necessary to make 'login -f' work.

Instead of chain caching, implement something similar to the way
Solaris' libpam behaves: pam_setcred treats "sufficient" modules as if
they were "required", i.e. does not break the chain when they succeed.

PAM modules whose pam_sm_setcred() should not be called unless their
pam_sm_authenticate() succeeded can simply set a state variable using
pam_set_data() in pam_sm_authenticate(), and use pam_get_data() to
check it in pam_sm_setcred().

Sponsored by: DARPA, NAI Labs

22 years ago1) Fix a debug statement by filling in its data before the printf in
guido [Thu, 24 Jan 2002 15:10:53 +0000 (15:10 +0000)]
1) Fix a debug statement by filling in its data before the printf in
stead of after
2) Honour NO_TEST_UNIT_READY quirk for atapi devices as well
3) Actually support FujiFilm FinePix 6800 camera's. Will very likely also
work for other FinePix models.

Based on a debug session about half a year ago with Nik Hibma.
MFC after: 2 weeks

22 years ago* style(9)'fy
phantom [Thu, 24 Jan 2002 15:07:44 +0000 (15:07 +0000)]
* style(9)'fy
* declare prototype for __time_load_locale() in timelocal.h

22 years agoFix problem where with PicoBSD the shell coredumps if it does not find an
obrien [Thu, 24 Jan 2002 13:54:19 +0000 (13:54 +0000)]
Fix problem where with PicoBSD the shell coredumps if it does not find an
entry for its terminal type in /etc/termcap.

Submitted by: bde

22 years agoDocument the even_root option.
des [Thu, 24 Jan 2002 13:35:06 +0000 (13:35 +0000)]
Document the even_root option.

Sponsored by: DARPA, NAI Labs

22 years agoDon't let root through unless the "even_root" option was specified.
des [Thu, 24 Jan 2002 12:47:42 +0000 (12:47 +0000)]
Don't let root through unless the "even_root" option was specified.

Sponsored by: DARPA, NAI Labs

22 years agoChange brk's prototype from char *brk(const char *) to int brk(const void *)
dwmalone [Thu, 24 Jan 2002 12:11:31 +0000 (12:11 +0000)]
Change brk's prototype from char *brk(const char *) to int brk(const void *)
and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).

This makes us more consistant with NetBSD and standards which include
these functions. Bruce pointed out that ptrdiff_t would probably
have been better than intptr_t, but this doesn't match other
implimentations.

Also remove local declarations of sbrk and unnecessary casting.

PR: 32296
Tested by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 1 month

22 years agoProviding long filename support on the Macintosh requires over 30
murray [Thu, 24 Jan 2002 10:44:16 +0000 (10:44 +0000)]
Providing long filename support on the Macintosh requires over 30
megabytes of additional space on the install CD.  Given our premium
for space, I don't think this is a wise use of 30MB.  HFS support was
not provided on the FreeBSD 4.4 CDs and I received a grand total of 0
complaints.

22 years agoAdd a PAM module that records sessions in utmp/wtmp/lastlog.
des [Thu, 24 Jan 2002 09:45:17 +0000 (09:45 +0000)]
Add a PAM module that records sessions in utmp/wtmp/lastlog.

Sponsored by: DARPA, NAI Labs

22 years agoFix some pastos. Rather shoddy of me...
des [Thu, 24 Jan 2002 09:44:22 +0000 (09:44 +0000)]
Fix some pastos.  Rather shoddy of me...

Sponsored by: DARPA, NAI Labs

22 years agoAdd libfetch.so.2 from a 10-Dec-2001 releng4 build.
obrien [Thu, 24 Jan 2002 00:54:44 +0000 (00:54 +0000)]
Add libfetch.so.2 from a 10-Dec-2001 releng4 build.

22 years agoMFen (1.265 --> 1.266).
kuriyama [Thu, 24 Jan 2002 00:27:53 +0000 (00:27 +0000)]
MFen (1.265 --> 1.266).

22 years agoDetect if a udp socket on STDIN_FILENO is connected by calling
brian [Wed, 23 Jan 2002 23:36:35 +0000 (23:36 +0000)]
Detect if a udp socket on STDIN_FILENO is connected by calling
getpeername() and don't set PASSIVE mode if it's is.

22 years agoRegenerated file from previous commit to syscalls.master
gallatin [Wed, 23 Jan 2002 22:47:47 +0000 (22:47 +0000)]
Regenerated file from previous commit to syscalls.master

22 years agoLinux/alpha uses the same BSDish return mechanism we do for
gallatin [Wed, 23 Jan 2002 22:46:14 +0000 (22:46 +0000)]
Linux/alpha uses the same BSDish return mechanism we do for
getpid, getuid, getgid and pipe, since they bootstrapped from
OSF/1 and never cleaned up.  Switch to the native syscalls
on alpha so that the above functions work

MFC after: 7 days

22 years agoCross reference the NETWORK ADDRESS TRANSLATION section when describing
brian [Wed, 23 Jan 2002 21:11:33 +0000 (21:11 +0000)]
Cross reference the NETWORK ADDRESS TRANSLATION section when describing
the -nat flag.

Requested by: eivind