Commit Graph

86537 Commits

Author SHA1 Message Date
des
2753d4cfa6 Alphabetize. 2003-02-16 13:07:20 +00:00
des
a9bd5d5fb8 Back out previous commit now that pam_opieaccess(8) has an allow_local
option.
2003-02-16 13:04:27 +00:00
des
a9b8975387 Add the allow_local option to all pam_opieaccess entries. 2003-02-16 13:02:39 +00:00
des
8c8f33d988 Add the want_agent option to the commented-out "session" pam_ssh entry. 2003-02-16 13:02:03 +00:00
des
d1e778062c Add an "allow_local" option which forces historical behaviour. 2003-02-16 13:01:03 +00:00
des
4afefd34d1 This commit was generated by cvs2svn to compensate for changes in r110989,
which included commits to RCS files with non-trunk default branches.
2003-02-16 11:28:55 +00:00
des
2e76ae7fcb MFP4: guard against null pointer dereference which sshd can cause (#25271) 2003-02-16 11:28:55 +00:00
des
fc3e30fe3b Paranoia: instead of a NULL conversation function, use one that always
returns PAM_CONV_ERR; moreover, make sure we always have the right
conversation function installed before calling PAM service functions.
Also unwrap some not-so-long lines.

MFC after:	3 days
2003-02-16 11:03:55 +00:00
jeff
de87d496d3 - Introduce a new function bremfreel() that does a bremfree with the buf
queue lock already held.
 - In getblk() and flushbufqueues() use bremfreel() while we still have the
   buf queue lock held to keep the lists consistent.
 - Add LK_NOWAIT to two cases where we're essentially asserting that the bufs
   are not locked while acquiring the locks.  This will make sure that we get
   the appropriate panic() and not another one for sleeping with a lock held.
2003-02-16 10:43:06 +00:00
jeff
bdd1053074 - Add a WITNESS_SLEEP() for the appropriate cases in lockmgr(). 2003-02-16 10:39:49 +00:00
matusita
e112efd22c Pass FTP_PASSIVE_MODE, FTP_PROXY, and HTTP_PROXY variables to chroot sandbox.
These variables will be used by pkg_add, which installs mkisofs package
while MAKE_ISOS=YES.  See src/release/${arch}/mkisoimages.sh if you doubt.

No objection heard from:	current@FreeBSD.org
Suggested by:			des, nectar (about *_PROXY variables)
2003-02-16 08:34:11 +00:00
alc
7393ec9f9d Remove GIANT_REQUIRED from vm_pageq_remove(). 2003-02-16 06:36:48 +00:00
alfred
4e5b966b93 prevent overflow in shminfo.shmmax 2003-02-16 06:08:55 +00:00
tjr
52f557176d Temporarily back out machdep.h/ALIGN changes. It seems that on sparc64,
using the alignment from sys/param.h (16) instead of the alignment
from machdep.h (8) tickled a nasty bug in the memory allocator that I
haven't been able to track down yet.
2003-02-16 03:28:11 +00:00
tjr
6ff2b5ed6a Add MPSAFE comment to linux_sigpending(). 2003-02-16 02:33:12 +00:00
tjr
e140562e4d Regen from syscalls.master 1.52. 2003-02-16 02:32:17 +00:00
tjr
6300af60d3 Mark linux_sigpending() as MPSAFE. 2003-02-16 02:31:05 +00:00
tjr
9888fe786e Regen from syscalls.master 1.49. 2003-02-16 02:28:35 +00:00
hsu
762f64befa Remove extraneous FILEDESC_LOCK around atomic read. 2003-02-16 02:15:15 +00:00
imp
ef91f3388a Checkpoint a work in progress:
o Use the common pci_* routines in preference to the copied and hacked
  routines from an ancient pci.c.

This saves 509 lines in cardbus.c.  More savings to follow when I
convert the resource code over.  In the past when I've done this the
resource code conversion breaks cardbus in subtle ways so I'm doing a
1/2 way checkpoint this time.  cardbus still works for me the same as
it did before.

It also looks like cardbus devices now show up as pci bus devices to
pciconf -l, but maybe that was happening before.

Inspired by a patch from Justin Gibbs many moons ago.  When he
finishes his kobj multiple inheritance work, we can transition the
finished version of this work to that fairly easily.
2003-02-16 02:06:50 +00:00
imp
51131e1cc2 Use rman_get_device rather than rle->resl->r_dev.
make pci_hdrtypedata and pci_read_extcap accessible (but maybe in the end
   we'll make them private again).
2003-02-16 02:02:44 +00:00
mjacob
3d5956dc22 Make sure we propagate rxid && iid in isp_target_put_atio 2003-02-16 01:37:51 +00:00
mjacob
6765821484 Pick up some compilation warning fixes from NetBSD.
If we don't have ISP_FW_CRASH_DUMP defined, we have to do
a isp_reinit in the core code- not the platform code- so
fix the ISP_CONN_FATAL case.
2003-02-16 01:32:52 +00:00
mjacob
db5e071a4d Roll to latest level. 2003-02-16 01:30:31 +00:00
chris
8ce1605e5f Include a section about enabling MAC on UFS2 file systems. UFS1 is
a bit more challenging and will be added later.

Sponsored by:	DARPA, Network Associates Laboratories
2003-02-16 00:57:48 +00:00
scottl
246f078802 Clean up the CIS BAR parsing code by removing several pointless checks.
Don't complain about the Option ROM BAR type since it's perfectly valid.
2003-02-16 00:20:24 +00:00
des
af39bbe733 Assume "localhost" if no remote host was specified. This is safe from a
POLA point of view since the stock /etc/opieaccess now allows localhost.
2003-02-15 23:26:49 +00:00
arr
8e7322af29 - Update a couple of comments to make sense with what today's code is
doing (stale comments make arr something something ;)).
2003-02-15 23:25:12 +00:00
des
3fc8f67380 Back out previous commit, I wasn't thinking clearly. 2003-02-15 23:20:04 +00:00
des
cc216413fb Allow password logins from localhost (including the console). 2003-02-15 23:17:40 +00:00
des
56e06910f2 Set PAM_RHOST to "localhost" if no remote host was specified. This allows
pam_opieaccess() to work as expected for local logins.
2003-02-15 23:16:41 +00:00
keramida
6b0752c491 Remove {man,cat}n from /usr/share/man. They had been added for TCL,
but it's no longer a part of the base-system and buildworld works fine
here after deleting them both on disk and from the mtree spec files.

Not objected to by:	kris, silence on -audit
2003-02-15 23:05:48 +00:00
tegge
f360480a68 Avoid file lock leakage when linuxthreads port or rfork is used:
- Mark the process leader as having an advisory lock
  - Check if process leader is marked as having advisory lock when
    closing file
  - Check that file is still open after lock has been obtained
  - Don't allow file descriptor table sharing between processes
    with different leaders

PR:		10265
Reviewed by:	alfred
2003-02-15 22:43:05 +00:00
trhodes
6db4854a46 Link several of the if_* modules to their respected manual pages. 2003-02-15 22:28:33 +00:00
ru
5425aa75fa Added dependency on the apm(4) module. 2003-02-15 21:22:19 +00:00
marcel
1141b745fe Fix misuse of Maxmem in the calculation of the VHPT size. Maxmem
is already in pages, so we should not convert from bytes to pages.
The result of this bug was bad scaling of the VHPT relative to the
available memory.

Submitted by: Arun Sharma <arun@sharma-home.net>
2003-02-15 20:58:32 +00:00
alc
193a881675 Remove the acquisition and release of Giant around pmap_growkernel().
It's unnecessary for two reasons: (1) Giant is at present already held in
such cases and (2) our various implementations of pmap_growkernel() look to
be MP safe.  (For example, for sparc64 the proof of (2) is trivial.)
2003-02-15 20:01:09 +00:00
alc
11334c6aeb Move kernel_vm_end's declaration to pmap.h; add a comment regarding the
synchronization of access to kernel_vm_end.
2003-02-15 19:38:23 +00:00
des
91e02c6515 Log to stdout if no file was specified. 2003-02-15 19:32:52 +00:00
alc
4045291582 Assert that the kernel map's system mutex is held in pmap_growkernel(). 2003-02-15 19:23:37 +00:00
trhodes
f86d730016 Update xrefs to point at other usb pages. 2003-02-15 19:17:30 +00:00
obrien
f078dbeb01 Update for version 3.40.
* We have inttypes.h (yes, even in RELENG_4).
* We now have GNU getopt, so lets be the first thing in the tree to
  acutally use it...
2003-02-15 19:05:10 +00:00
arr
e1e48e3d34 - Remove old comment for PURGE() as it no longer exists and implied it
was a comment to cache_zap().
- Add a comment to quickly state what cache_zap() does.

Reviewed by:	phk, mux
2003-02-15 18:58:06 +00:00
obrien
1b4249c6eb This commit was generated by cvs2svn to compensate for changes in r110949,
which included commits to RCS files with non-trunk default branches.
2003-02-15 18:53:17 +00:00
obrien
822cce384d Virgin import of Christos Zoulas's FILE 3.40. 2003-02-15 18:53:17 +00:00
trhodes
0478745d0f 1: wi(4) does not need miibus(4).
2: Add arp(4) and netintro(4) to Xrefs.

1: Discussed with: imp
2003-02-15 17:16:44 +00:00
trhodes
28fe8617c7 Xref miibus(4). 2003-02-15 17:12:53 +00:00
jhay
0333c90edc kenv moved from /usr/bin/ to /bin/. 2003-02-15 16:34:14 +00:00
jhay
b671096f55 Add another backslash ('\'). 2003-02-15 16:29:20 +00:00
nectar
31407d6289 Add libcrypto.so.2/libssl.so.2 from 4.7-RELEASE CDs. 2003-02-15 16:26:10 +00:00