]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoCast a pointer to a uintptr_t instead of a u_int.
John Baldwin [Thu, 7 Nov 2002 22:21:10 +0000 (22:21 +0000)]
Cast a pointer to a uintptr_t instead of a u_int.

21 years agoFix the rest of the 64-bit warnings for the sr(4) driver.
John Baldwin [Thu, 7 Nov 2002 22:20:22 +0000 (22:20 +0000)]
Fix the rest of the 64-bit warnings for the sr(4) driver.

21 years agoDon't exit with success after timeout during authentication.
Bill Fenner [Thu, 7 Nov 2002 22:16:45 +0000 (22:16 +0000)]
Don't exit with success after timeout during authentication.

21 years agoMark ed(4) as i386/pc98-only, tracking src/sys/conf/NOTES rev. 1.1109.
Bruce A. Mah [Thu, 7 Nov 2002 22:11:00 +0000 (22:11 +0000)]
Mark ed(4) as i386/pc98-only, tracking src/sys/conf/NOTES rev. 1.1109.

21 years ago- Fix a bunch of casts to long which were truncating off_t's.
Maxime Henrion [Thu, 7 Nov 2002 21:56:05 +0000 (21:56 +0000)]
- Fix a bunch of casts to long which were truncating off_t's.
- Remove the comments which were justifying this by the fact
that we don't have %q in the kernel, this was probably right
back in time, but we now have %q, and we even have better to
print those types (%j).

21 years agoExplicitly cast daddr_t's to long long's when printing them since daddr_t
John Baldwin [Thu, 7 Nov 2002 21:52:51 +0000 (21:52 +0000)]
Explicitly cast daddr_t's to long long's when printing them since daddr_t
is not long long on all archs.  (They happen to be long's on 64-bit arch's
and gcc considers that significant enough to warn about it.)  These should
probably be uintmax_t but I didn't feel like adding all the extra includes.

21 years agoA bunch of style(9) fixes.
Maxime Henrion [Thu, 7 Nov 2002 21:45:28 +0000 (21:45 +0000)]
A bunch of style(9) fixes.

Obtained from: bde

21 years agoCast a ptrdiff_t value to an int to quiet a warning since we don't support
John Baldwin [Thu, 7 Nov 2002 21:34:21 +0000 (21:34 +0000)]
Cast a ptrdiff_t value to an int to quiet a warning since we don't support
%t in the kernel printf yet.

21 years agoQuiet some DIAGNOSTIC printf warnings with band-aid casts.
John Baldwin [Thu, 7 Nov 2002 21:25:49 +0000 (21:25 +0000)]
Quiet some DIAGNOSTIC printf warnings with band-aid casts.

21 years agoPrint pointers with %p instead of casting them to an unsigned int and
John Baldwin [Thu, 7 Nov 2002 21:19:47 +0000 (21:19 +0000)]
Print pointers with %p instead of casting them to an unsigned int and
then printing them with 0x%x which doesn't work when sizeof(void *) >
sizeof(int).

21 years agoMove sr(4) over to i386-only as it is yet another user of kvtop().
John Baldwin [Thu, 7 Nov 2002 21:15:29 +0000 (21:15 +0000)]
Move sr(4) over to i386-only as it is yet another user of kvtop().

21 years ago- Use a better definition for MNAMELEN which doesn't require
Maxime Henrion [Thu, 7 Nov 2002 21:15:02 +0000 (21:15 +0000)]
- Use a better definition for MNAMELEN which doesn't require
  to have one #ifdef per architecture.
- Change a space to a tab after a nearby #define.

Obtained from: bde

21 years agoFix lots of places that assume sizeof(int) == sizeof(void *). Most of
John Baldwin [Thu, 7 Nov 2002 21:13:15 +0000 (21:13 +0000)]
Fix lots of places that assume sizeof(int) == sizeof(void *).  Most of
these were cosmetic.  However, at least two of these changes fix bugs
where a (fake) pointer to a RX descriptor was added to the physical
memory start address with the cast in the wrong place resulting in
rxdesc[pmem_start] instead of (uintptr_t)rxdesc + pmem_start.

21 years agoDo a bit more work in the aio code to simulate the credential environment
Robert Watson [Thu, 7 Nov 2002 20:46:37 +0000 (20:46 +0000)]
Do a bit more work in the aio code to simulate the credential environment
of the original AIO request: save and restore the active thread credential
as well as using the file credential, since MAC (and some other bits of
the system) rely on the thread credential instead of/as well as the
file credential.  In brief: cache td->td_ucred when the AIO operation
is queued, temporarily set and restore the kernel thread credential,
and release the credential when done.  Similar to ktrace credential
management.

Reviewed by: alc
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoLicense and blurb update authorized by Network Associates.
Robert Watson [Thu, 7 Nov 2002 20:37:04 +0000 (20:37 +0000)]
License and blurb update authorized by Network Associates.

21 years agoCast a pointer to uintptr_t instead ot u_int.
John Baldwin [Thu, 7 Nov 2002 19:56:21 +0000 (19:56 +0000)]
Cast a pointer to uintptr_t instead ot u_int.

21 years agoFactor out the code that determines whether a message must be skipped
Thomas Quinot [Thu, 7 Nov 2002 19:53:29 +0000 (19:53 +0000)]
Factor out the code that determines whether a message must be skipped
as a consequence of a host or program name specification into a common
function, skip_pmessage.

Reviewed by: roberto

21 years agoSimplify and optimize pmap_object_init_pt(). More specifically,
Alan Cox [Thu, 7 Nov 2002 18:33:55 +0000 (18:33 +0000)]
Simplify and optimize pmap_object_init_pt().   More specifically,
take advantage of the fact that the vm object's list of pages is
now ordered to reduce the overhead of finding the desired set of
pages to be mapped.  (See revision 1.215 of vm/vm_page.c.)

21 years agod_read_t functions return an int, not a ssize_t. (Considering the fact
John Baldwin [Thu, 7 Nov 2002 17:26:38 +0000 (17:26 +0000)]
d_read_t functions return an int, not a ssize_t.  (Considering the fact
that read(2) returns a ssize_t perhaps this is a bug in d_read_t?)

21 years agoWarning fixes for sizeof(int) != sizeof(void *).
John Baldwin [Thu, 7 Nov 2002 17:25:33 +0000 (17:25 +0000)]
Warning fixes for sizeof(int) != sizeof(void *).

21 years ago- Make 'irq' intptr_t instead of uintptr_t so it handles a value of -1
John Baldwin [Thu, 7 Nov 2002 17:20:58 +0000 (17:20 +0000)]
- Make 'irq' intptr_t instead of uintptr_t so it handles a value of -1
  properly.
- Add a cast to quiet a printf warning.

21 years agoFix to support pc98.
Yoshihiro Takahashi [Thu, 7 Nov 2002 16:42:37 +0000 (16:42 +0000)]
Fix to support pc98.
It is mostly merged from MBR specific part.

Reviewed by: phk

21 years agoAdd a Firewire section to the hardware notes, with initial content
Bruce A. Mah [Thu, 7 Nov 2002 16:30:17 +0000 (16:30 +0000)]
Add a Firewire section to the hardware notes, with initial content
derived from the fwohci(4) and sbp(4) manpages.

21 years agoNew release notes: getconf(1), nextboot(8),
Bruce A. Mah [Thu, 7 Nov 2002 16:23:30 +0000 (16:23 +0000)]
New release notes:  getconf(1), nextboot(8),

Updated release notes:  ntp-4.1.1b.

MFCs noted:  firewire(4), atapicam(4), uudecode(1)/uuencode(1) base64
links.

21 years agoMove firewire back to being MI.
John Baldwin [Thu, 7 Nov 2002 16:19:43 +0000 (16:19 +0000)]
Move firewire back to being MI.

21 years agoAdd two new workaround for firmware anomalies:
Thomas Moestl [Thu, 7 Nov 2002 16:07:46 +0000 (16:07 +0000)]
Add two new workaround for firmware anomalies:
1. At least some Netra t1 models have PCI buses with no associated
   interrupt map, but obviously expect the PCI swizzle to be done with
   the interrupt number from the higher level as intpin. In this case,
   the mapping also needs to continue at parent bus nodes.
   To handle that, add a quirk table based on the "name" property of
   the root node to avoid breaking other boxen. This property is now
   retrieved and printed at boot.
2. On SPARCengine Ultra AX machines, interrupt numbers are not mapped
   at all, and full interrupt numbers (not just INOs) are given in
   the interrupt properties. This is more or less cosmetical; the
   PCI interrupt numbers would be wrong, but the psycho resource
   allocation method would pass the right numbers on anyway.

Tested by: mux (1), Maxim Mazurok <maxim@km.ua> (2)

21 years agoProperly fix the occassional random crash issue that revision 1.142
Ian Dowse [Thu, 7 Nov 2002 16:04:07 +0000 (16:04 +0000)]
Properly fix the occassional random crash issue that revision 1.142
just limited to the DEVICE_POLLING case. This removes the FXP_RFA_RNRMARK
hack, and replaces it with a softc flag that is used to record when
the handling of a no-resource condition was deferred due to running
out of DEVICE_POLLING cycles. This was tested on -stable, but the
code is essentially the same as in -current. It should only affect
the case where DEVICE_POLLING is defined.

The details of the mechanism behind the crashes are still uncertain
but the most likely cause seems to be some kind of hardware confusion
when the no-resource recovery code is accidentally invoked while
the receiver is still active. This could have happened if the
hardware left the 0x4000 bit of the RFA status word set. The comments
in the commit log for revision 1.142 stating that the driver could
clash with the hardware writing to this status word were not correct.

Tested by: Guy Helmer <ghelmer@palisadesys.com>

21 years agoFix one misspelling and two punctuation nits.
Bruce A. Mah [Thu, 7 Nov 2002 16:00:48 +0000 (16:00 +0000)]
Fix one misspelling and two punctuation nits.

21 years agoMerge over ar(4) and db(4) to files.pc98.
John Baldwin [Thu, 7 Nov 2002 15:52:34 +0000 (15:52 +0000)]
Merge over ar(4) and db(4) to files.pc98.

21 years agoCreate a MACHINE_ARCH == i386 section that first lists modules common
John Baldwin [Thu, 7 Nov 2002 15:01:12 +0000 (15:01 +0000)]
Create a MACHINE_ARCH == i386 section that first lists modules common
to both i386 and pc98 and then uses MACHINE subsections to list modules
specific to i386/i386 and i386/pc98.

21 years agoFixed pc98 support.
Yoshihiro Takahashi [Thu, 7 Nov 2002 14:54:53 +0000 (14:54 +0000)]
Fixed pc98 support.
(merged i386 changes from chunk.c 1.41 and disk.c 1.100)

21 years agoGet this closer to working. The Write_Disk() function's for loop needed
John Baldwin [Thu, 7 Nov 2002 14:39:21 +0000 (14:39 +0000)]
Get this closer to working.  The Write_Disk() function's for loop needed
to use the same start condition as the i386 version.  However, since
Alpha's only have one fake "slice" from sysinstall's perspective we don't
need to use a loop, but can just write out the BSD label in the first
fake "slice".

21 years agoTurn on GEOM. It works on Alpha and we are going to need it for installs.
John Baldwin [Thu, 7 Nov 2002 14:36:56 +0000 (14:36 +0000)]
Turn on GEOM.  It works on Alpha and we are going to need it for installs.

21 years ago- Fix printf warnings on 64bit plathome.
Hidetoshi Shimokawa [Thu, 7 Nov 2002 02:13:40 +0000 (02:13 +0000)]
- Fix printf warnings on 64bit plathome.
- Disable fw_vmaccess() because it's not used and unuseful 64bit plathome.

21 years ago1.Fix smp race between kernel vm86 BIOS calling and userland vm86 mode code,
David Xu [Thu, 7 Nov 2002 01:34:23 +0000 (01:34 +0000)]
1.Fix smp race between kernel vm86 BIOS calling and userland vm86 mode code,
  remove global variable in_vm86call, set vm86 calling flag in PCB flags.

2.Fix vm86 BIOS calling preempted problem by changing vm86_lock mutex type
  from MTX_DEF to MTX_SPIN. vm86pcb is not remembered in thread struct,
  when the thread calling vm86 BIOS is preempted by interrupt thread,
  and later switching back to the thread would cause incorrect context be
  loaded into CPU registers, this leads to kernel crash.

21 years agos/HZ/Hz/
Maxime Henrion [Wed, 6 Nov 2002 23:31:01 +0000 (23:31 +0000)]
s/HZ/Hz/

21 years agoAdjust some casts to quiet warnings.
John Baldwin [Wed, 6 Nov 2002 22:58:55 +0000 (22:58 +0000)]
Adjust some casts to quiet warnings.

Reviewed by: mdodd

21 years agolnc(4) uses kvtop() and is thus i386-only for now.
John Baldwin [Wed, 6 Nov 2002 22:56:57 +0000 (22:56 +0000)]
lnc(4) uses kvtop() and is thus i386-only for now.

21 years agoStyle sync with rest of FreeBSD.
David E. O'Brien [Wed, 6 Nov 2002 22:54:58 +0000 (22:54 +0000)]
Style sync with rest of FreeBSD.

21 years agoUse long long to print out a bus_addr_t again.
John Baldwin [Wed, 6 Nov 2002 22:42:45 +0000 (22:42 +0000)]
Use long long to print out a bus_addr_t again.

21 years agoCast a bus_addr_t to a long long to make printf happy.
John Baldwin [Wed, 6 Nov 2002 22:40:01 +0000 (22:40 +0000)]
Cast a bus_addr_t to a long long to make printf happy.

21 years agoMake firewire i386-only for now. It doesn't quite handle machines with
John Baldwin [Wed, 6 Nov 2002 22:30:33 +0000 (22:30 +0000)]
Make firewire i386-only for now.  It doesn't quite handle machines with
64-bit address spaces yet.  Pointy hat to myself for sticking it in the MI
NOTES file to begin with.

21 years agoWrap ()'s around an argument before casting it to a void *. If the
John Baldwin [Wed, 6 Nov 2002 22:18:26 +0000 (22:18 +0000)]
Wrap ()'s around an argument before casting it to a void *.  If the
argument is an expression you can end up casting part of it to void *.
This resulted in bogus warnings about pointer arith using void *'s for
the ep(4) driver.

21 years agoed(4) uses kvtop() and is thus i386-only. It has several other warnings
John Baldwin [Wed, 6 Nov 2002 22:03:53 +0000 (22:03 +0000)]
ed(4) uses kvtop() and is thus i386-only.  It has several other warnings
related to sizeof(int) != sizeof(void *), but kvtop() is much harder to
fix.

Approved by: imp

21 years agoMove the drm code to the i386 MD NOTES file. It can be added to other MD
John Baldwin [Wed, 6 Nov 2002 21:42:42 +0000 (21:42 +0000)]
Move the drm code to the i386 MD NOTES file.  It can be added to other MD
NOTES files if desired, but this code is not MI on FreeBSD.  The Alpha
support is Linux specific and does not compile on FreeBSD.

21 years agoPacked structures are defined differently in older gcc's, like the one
Josef Karthauser [Wed, 6 Nov 2002 21:37:21 +0000 (21:37 +0000)]
Packed structures are defined differently in older gcc's, like the one
currently in -stable.  Put the exception into usb.h instead of having it
hard coded in the sound code.

21 years agoUse bus_addr_t instead of u_int32_t in functions to convert between
John Baldwin [Wed, 6 Nov 2002 21:19:17 +0000 (21:19 +0000)]
Use bus_addr_t instead of u_int32_t in functions to convert between
physical and virtual addresses.

21 years agoMove digi to the i386 MD NOTES until it stops using inb() and outb().
John Baldwin [Wed, 6 Nov 2002 21:11:42 +0000 (21:11 +0000)]
Move digi to the i386 MD NOTES until it stops using inb() and outb().
Please use bus_space functions instead.

21 years ago- Move comments regarding flags for dgb(4) over to the MD NOTES file where
John Baldwin [Wed, 6 Nov 2002 21:07:13 +0000 (21:07 +0000)]
- Move comments regarding flags for dgb(4) over to the MD NOTES file where
  dgb(4) lives.
- Move dgb(4) back to where it used to be relative to other drives in the
  old NOTES/LINT file.

21 years agodgb(4) currently is i386-only.
John Baldwin [Wed, 6 Nov 2002 21:02:19 +0000 (21:02 +0000)]
dgb(4) currently is i386-only.

21 years agoUse the explicit value 0xffffffff instead of assuming that is what ~0UL
John Baldwin [Wed, 6 Nov 2002 20:40:29 +0000 (20:40 +0000)]
Use the explicit value 0xffffffff instead of assuming that is what ~0UL
equals.

Approved by: imp

21 years agoAdd some band-aid casts to quiet warnings. This driver still assumes
John Baldwin [Wed, 6 Nov 2002 20:34:38 +0000 (20:34 +0000)]
Add some band-aid casts to quiet warnings.  This driver still assumes
that sizeof(int) == sizeof(void *) == 4.  However, it also seems that the
hardware assumes this.

21 years agoMore int != pointer stuff.
John Baldwin [Wed, 6 Nov 2002 20:16:39 +0000 (20:16 +0000)]
More int != pointer stuff.

21 years agoStraighten up the geom.ctl config interface definitions.
Poul-Henning Kamp [Wed, 6 Nov 2002 20:05:15 +0000 (20:05 +0000)]
Straighten up the geom.ctl config interface definitions.

Sponsored by: DARPA & NAI Labs

21 years agoRepeat after me: sizeof(int) != sizeof(void *).
John Baldwin [Wed, 6 Nov 2002 20:04:41 +0000 (20:04 +0000)]
Repeat after me: sizeof(int) != sizeof(void *).

21 years agoUse some long long casts to quiet warnings in debug printf's on alpha.
John Baldwin [Wed, 6 Nov 2002 19:52:13 +0000 (19:52 +0000)]
Use some long long casts to quiet warnings in debug printf's on alpha.

21 years agoUse a bandaid to fix a warning. However, this driver is very, very far
John Baldwin [Wed, 6 Nov 2002 19:42:59 +0000 (19:42 +0000)]
Use a bandaid to fix a warning.  However, this driver is very, very far
from being MI in any fashion.  It currently "assumes" that it can get
a kernel virtual address for a phyiscal address by adding KERNBASE to the
physical address.  It also tries to read values out of a the PC BIOS on
all archs.  It also uses "manual" inb() and outb()'s to talk to the mcclock
device which just happens to be at that location on both i386 and alpha.
This driver should likely be i386-only.

21 years agoMake the ar(4) driver i386-only for now. It has lots of sizeof(int) ==
John Baldwin [Wed, 6 Nov 2002 19:27:09 +0000 (19:27 +0000)]
Make the ar(4) driver i386-only for now.  It has lots of sizeof(int) ==
sizeof(void *) assumptions and doesn't use busdma yet (it uses kvtop()
which is not an MI interface).

Recommended by: jake, mux

21 years agoRestore most (90%) of the text I removed in my previous commit. Remove the
Tom Rhodes [Wed, 6 Nov 2002 18:58:02 +0000 (18:58 +0000)]
Restore most (90%) of the text I removed in my previous commit.  Remove the
part about spelling and grammar.

Discussed with: -developers

21 years agoFix warning where sizeof(size_t) != sizeof(int).
John Baldwin [Wed, 6 Nov 2002 18:55:24 +0000 (18:55 +0000)]
Fix warning where sizeof(size_t) != sizeof(int).

21 years agoIn the !DEBUG case, we were passing foo.ko two times on the
Maxime Henrion [Wed, 6 Nov 2002 17:40:13 +0000 (17:40 +0000)]
In the !DEBUG case, we were passing foo.ko two times on the
rm -f command line when doing a make clean.  Fix this.

Reviewed by: ru

21 years agoo Make the COMPATIBILITY section a bit less redundant.
Chris Costello [Wed, 6 Nov 2002 17:38:18 +0000 (17:38 +0000)]
o Make the COMPATIBILITY section a bit less redundant.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs

21 years agoo Update man page to reflect the new prototypes for mac_{to,from}_text.
Chris Costello [Wed, 6 Nov 2002 17:34:29 +0000 (17:34 +0000)]
o Update man page to reflect the new prototypes for mac_{to,from}_text.
o Remove a (currently) no-longer-pertinent entry from errors.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs

21 years agoAdd support for DEVICE_POLLING.
Hidetoshi Shimokawa [Wed, 6 Nov 2002 15:50:32 +0000 (15:50 +0000)]
Add support for DEVICE_POLLING.

PR: kern/44772
Submitted by: Takashi Oono <takashi@yha.att.ne.jp>
MFC after: 1 week

21 years agoMinor clean up on cdb handling.
Hidetoshi Shimokawa [Wed, 6 Nov 2002 15:34:52 +0000 (15:34 +0000)]
Minor clean up on cdb handling.

21 years agoKill EOL whitespaces, style(9) fix.
Maxim Konovalov [Wed, 6 Nov 2002 15:09:34 +0000 (15:09 +0000)]
Kill EOL whitespaces, style(9) fix.

21 years agoFix UID/GID options parsing.
Maxim Konovalov [Wed, 6 Nov 2002 14:57:18 +0000 (14:57 +0000)]
Fix UID/GID options parsing.

PR: bin/42579
Submitted by: Belousov Oleg <oleg@belousov.com>
Approved by: luigi
MFC after: 2 weeks

21 years agoRemove what was a temporary bogus assignment of bits of siginfo_t, as it does
Juli Mallett [Wed, 6 Nov 2002 14:53:35 +0000 (14:53 +0000)]
Remove what was a temporary bogus assignment of bits of siginfo_t, as it does
not look like the prerequisites to fill it in properly will be in the tree
for the upcoming release, but it's mostly done, so there is no need for these
to stay around to remind us.

21 years agoThere's no need for a locally defined usb_proc_t when we've got
Josef Karthauser [Wed, 6 Nov 2002 14:29:27 +0000 (14:29 +0000)]
There's no need for a locally defined usb_proc_t when we've got
usb_proc_ptr that does the same thing.

21 years agoAdd a MAINTAINERS entry for make(1), to the make@ alias, which anyone can use
Juli Mallett [Wed, 6 Nov 2002 14:01:08 +0000 (14:01 +0000)]
Add a MAINTAINERS entry for make(1), to the make@ alias, which anyone can use
to run patches to make(1) by.  Hopefully this will make it easier to get bugs
fixed in make(1), as well as get review by people with experience working on,
in, around, etc., make(1).

Currently it points to two people who have demonstrated maintainership (ru@
and myself) and one person interested in helping (alane@).  That list is
subject to expansion and contraction.

21 years agoMove adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc.
Yoshihiro Takahashi [Wed, 6 Nov 2002 13:47:00 +0000 (13:47 +0000)]
Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc.

21 years agoInclude "../Makefile.inc".
Yoshihiro Takahashi [Wed, 6 Nov 2002 13:41:40 +0000 (13:41 +0000)]
Include "../Makefile.inc".

21 years agoAdd missing #includes of <stdio.h>. Correct a few typos in comments.
Tim J. Robbins [Wed, 6 Nov 2002 09:37:47 +0000 (09:37 +0000)]
Add missing #includes of <stdio.h>. Correct a few typos in comments.

21 years agoImport the latest hints file from Internic. The most important change
Doug Barton [Wed, 6 Nov 2002 09:21:39 +0000 (09:21 +0000)]
Import the latest hints file from Internic. The most important change
is that J has moved, however I'm sure you'll all be very disappointed
to hear that you can no longer retrieve this file via gopher.

21 years agoClean up a little. Don't need to include fetch.h any more, and I can't
David E. O'Brien [Wed, 6 Nov 2002 09:03:53 +0000 (09:03 +0000)]
Clean up a little.  Don't need to include fetch.h any more, and I can't
find any consumers of HOSTNAME_MAX.

21 years agoBreak fileGetURL() out into its own file so that pkg_install/lib consumers
David E. O'Brien [Wed, 6 Nov 2002 08:57:03 +0000 (08:57 +0000)]
Break fileGetURL() out into its own file so that pkg_install/lib consumers
pkg_{create,delete} don't need to needlessly link with libfetch.

21 years agoWhitespace, style fixes.
Matthew N. Dodd [Wed, 6 Nov 2002 08:08:55 +0000 (08:08 +0000)]
Whitespace, style fixes.

21 years agoAdd caveats regarding the effect of PAM on PasswordAuthentication and
Dag-Erling Smørgrav [Wed, 6 Nov 2002 08:04:56 +0000 (08:04 +0000)]
Add caveats regarding the effect of PAM on PasswordAuthentication and
PermitRootLogin.

PR: docs/43776
MFC after: 1 week

21 years agoBetter emulate the FSF build for Sparc64.
David E. O'Brien [Wed, 6 Nov 2002 07:00:59 +0000 (07:00 +0000)]
Better emulate the FSF build for Sparc64.

21 years agoDon't ever disable ACPI on ia64. We cannot life without it.
Marcel Moolenaar [Wed, 6 Nov 2002 04:59:22 +0000 (04:59 +0000)]
Don't ever disable ACPI on ia64. We cannot life without it.

21 years agoDefine UMA_MD_SMALL_ALLOC so that we can allocate memory with region
Marcel Moolenaar [Wed, 6 Nov 2002 04:47:38 +0000 (04:47 +0000)]
Define UMA_MD_SMALL_ALLOC so that we can allocate memory with region
7 addresses for use by page tables and kernel stacks.

Obtained from: peter

21 years ago - Let the PCI code try to route interrupt in -current
Hidetoshi Shimokawa [Wed, 6 Nov 2002 04:07:05 +0000 (04:07 +0000)]
 - Let the PCI code try to route interrupt in -current
 - Print warning in -stable.

21 years agoRemove Realtek discriminating comments from the rl(4) manual page.
Tom Rhodes [Wed, 6 Nov 2002 03:53:08 +0000 (03:53 +0000)]
Remove Realtek discriminating comments from the rl(4) manual page.
This leaves us with 'just the facts'

PR: 31271

21 years agoHook up the userland wrapper for __mac_execve().
Robert Watson [Wed, 6 Nov 2002 03:38:47 +0000 (03:38 +0000)]
Hook up the userland wrapper for __mac_execve().

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoCheck the FSLABEL argument and invoke the generic doFS.sh script
Marcel Moolenaar [Wed, 6 Nov 2002 03:36:57 +0000 (03:36 +0000)]
Check the FSLABEL argument and invoke the generic doFS.sh script
if it's not defined as efi. This makes sure we create a proper
MFS root filesystem and still allow the boot disk to be EFI
based.

At this time EFI auto boot works and we're properly loading the
MFS root file system. Time to create drivers.conf and get this
show on the road!

21 years agoReserve a major number for the mdsio driver: RS-485 driver for 8250-family
Robert Watson [Wed, 6 Nov 2002 02:19:28 +0000 (02:19 +0000)]
Reserve a major number for the mdsio driver: RS-485 driver for 8250-family
UARTs.

Requested by: doconnor@gsoft.com.au

21 years agoUse warn() instead of perror() or fprintf() where appropriate.
Tim J. Robbins [Wed, 6 Nov 2002 01:18:12 +0000 (01:18 +0000)]
Use warn() instead of perror() or fprintf() where appropriate.

21 years agoMount devfs with nmount(2) instead of mount(2). This error was masked
John Baldwin [Tue, 5 Nov 2002 22:56:44 +0000 (22:56 +0000)]
Mount devfs with nmount(2) instead of mount(2).  This error was masked
because errors from mount(2) were explicitly ignored.  I didn't fix that
bug.

21 years agoTake sizeof() the right string for fspath's iovec. The old string was the
John Baldwin [Tue, 5 Nov 2002 20:06:01 +0000 (20:06 +0000)]
Take sizeof() the right string for fspath's iovec.  The old string was the
same size so this doesn't fix a bug, but it makes it cleaner.

21 years agoFix formatting bogon.
Dima Dorfman [Tue, 5 Nov 2002 19:23:25 +0000 (19:23 +0000)]
Fix formatting bogon.

21 years agoUndelete FILES section (taken from RELENG_4), primarily to give the
Dima Dorfman [Tue, 5 Nov 2002 19:18:19 +0000 (19:18 +0000)]
Undelete FILES section (taken from RELENG_4), primarily to give the
location of the passwd and master.passwd files.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>

21 years agomaster.passwd, not master.password
Dima Dorfman [Tue, 5 Nov 2002 19:13:06 +0000 (19:13 +0000)]
master.passwd, not master.password

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>

21 years agoSpotted a couple of places where the socket buffer's counters were being
Kelly Yancey [Tue, 5 Nov 2002 18:52:25 +0000 (18:52 +0000)]
Spotted a couple of places where the socket buffer's counters were being
manipulated directly (rather than using sballoc()/sbfree()); update them
to tweak the new sb_ctl field too.

Sponsored by: NTT Multimedia Communications Labs

21 years agoFix filt_soread() to properly flag a kevent when a 0-byte datagram is
Kelly Yancey [Tue, 5 Nov 2002 18:48:46 +0000 (18:48 +0000)]
Fix filt_soread() to properly flag a kevent when a 0-byte datagram is
received.

Verified by: dougb, Manfred Antar <null@pozo.com>
Sponsored by: NTT Multimedia Communications Labs

21 years agoo Introduce variable DOFS_SH to hold the path of the doFS.sh.
Marcel Moolenaar [Tue, 5 Nov 2002 18:06:01 +0000 (18:06 +0000)]
o  Introduce variable DOFS_SH to hold the path of the doFS.sh.
o  ia64: Set DOFS_SH to point to an alternate version.
o  ia64: Lower BIGBOOTSIZE from 120M (LS-120) to ~5M.
o  ia64: Set BIGBOOTLABEL to efi so that we can check for it
   in the alternate doFS.sh script. If the label is not efi, we
   can invoke the generic doFS.sh.

21 years agoCorrect merge-o: disable the right execve() variation if !MAC
Robert Watson [Tue, 5 Nov 2002 18:04:50 +0000 (18:04 +0000)]
Correct merge-o: disable the right execve() variation if !MAC

21 years agoUpdate policy modules for changes in arguments associated with support
Robert Watson [Tue, 5 Nov 2002 17:52:42 +0000 (17:52 +0000)]
Update policy modules for changes in arguments associated with support
for label access on the interpreter, not just the shell script.  No
policies currently present in the system rely on the new labels.

21 years agoBring in two sets of changes:
Robert Watson [Tue, 5 Nov 2002 17:51:56 +0000 (17:51 +0000)]
Bring in two sets of changes:

(1) Permit userland applications to request a change of label atomic
    with an execve() via mac_execve().  This is required for the
    SEBSD port of SELinux/FLASK.  Attempts to invoke this without
    MAC compiled in result in ENOSYS, as with all other MAC system
    calls.  Complexity, if desired, is present in policy modules,
    rather than the framework.

(2) Permit policies to have access to both the label of the vnode
    being executed as well as the interpreter if it's a shell
    script or related UNIX nonsense.  Because we can't hold both
    vnode locks at the same time, cache the interpreter label.
    SEBSD relies on this because it supports secure transitioning
    via shell script executables.  Other policies might want to
    take both labels into account during an integrity or
    confidentiality decision at execve()-time.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoRegen.
Robert Watson [Tue, 5 Nov 2002 17:48:04 +0000 (17:48 +0000)]
Regen.

21 years agoFlesh out the definition of __mac_execve(): per earlier discussion,
Robert Watson [Tue, 5 Nov 2002 17:47:08 +0000 (17:47 +0000)]
Flesh out the definition of __mac_execve(): per earlier discussion,
it's essentially execve() with an optional MAC label argument.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories