]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoMF22: Robert Swindells' patch for correct probing of more AMD cards.
jkh [Thu, 17 Sep 1998 13:09:16 +0000 (13:09 +0000)]
MF22: Robert Swindells' patch for correct probing of more AMD cards.
Merged by: Max Khon <fjoe@iclub.nsu.ru>

26 years agoThis goes in doc distribution now.
jkh [Thu, 17 Sep 1998 11:35:11 +0000 (11:35 +0000)]
This goes in doc distribution now.

26 years agoTemporary hacks to get releases working again:
jkh [Thu, 17 Sep 1998 11:25:48 +0000 (11:25 +0000)]
Temporary hacks to get releases working again:

o Remove MSDOSFS until I find some other way of gaining some space.
  This *totally disables* the use of DOS partitions in installation
  so it's truly just a temporary measure.

o Set NODOC=YES since docs are broken right now (they try and install
  into the bindist rather than the docdist - need to figure out why).

26 years agoTypo: hittab -> hitab
dwhite [Thu, 17 Sep 1998 09:51:15 +0000 (09:51 +0000)]
Typo: hittab -> hitab

26 years agoMerge with the latest i386 syscons.
dfr [Thu, 17 Sep 1998 09:38:36 +0000 (09:38 +0000)]
Merge with the latest i386 syscons.

26 years agoFix printf format errors.
dfr [Thu, 17 Sep 1998 09:35:31 +0000 (09:35 +0000)]
Fix printf format errors.

26 years agoTwo patches from the HARP people:
phk [Thu, 17 Sep 1998 09:35:02 +0000 (09:35 +0000)]
Two patches from the HARP people:

Various Makefile related fixes.

-Wformat fixes.

Submitted by: Mike Spengler <mks@networkcs.com>

26 years agos/the the/to the/
phk [Thu, 17 Sep 1998 08:56:03 +0000 (08:56 +0000)]
s/the the/to the/
PR: 7922
Reviewed by: phk
Submitted by: Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>

26 years agoDon't build ncrcontrol on alpha, its obsoleted by cam.
dfr [Thu, 17 Sep 1998 08:55:02 +0000 (08:55 +0000)]
Don't build ncrcontrol on alpha, its obsoleted by cam.

26 years agoDon't expect /usr/games in the path.
phk [Thu, 17 Sep 1998 08:52:40 +0000 (08:52 +0000)]
Don't expect /usr/games in the path.
Avoid using /usr/games versions if we can find what we need (caesar & strfile)
in the buildtree.

PR: 7936
Submitted by: Achim Patzner <ap@noses.com>

26 years agos/yellow pages/NIS/
phk [Thu, 17 Sep 1998 08:29:16 +0000 (08:29 +0000)]
s/yellow pages/NIS/
PR: 7949
Reviewed by: phk
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>

26 years agoFix a typo. "Primay" -> "Primary"
ken [Thu, 17 Sep 1998 05:10:23 +0000 (05:10 +0000)]
Fix a typo.  "Primay" -> "Primary"

26 years agodpt.h has moved back to sys/dev/dpt. The dpt ioctl interface will be
gibbs [Thu, 17 Sep 1998 03:58:58 +0000 (03:58 +0000)]
dpt.h has moved back to sys/dev/dpt.  The dpt ioctl interface will be
properly separated out from what is currently a header file filled with
lots of data mostly of interest to the kernel driver, and
placed in the proper location at that time.

26 years agolibscsi is obsoleted by CAM.
gibbs [Thu, 17 Sep 1998 03:56:23 +0000 (03:56 +0000)]
libscsi is obsoleted by CAM.

26 years agoObsoleted by CAM.
gibbs [Thu, 17 Sep 1998 03:54:31 +0000 (03:54 +0000)]
Obsoleted by CAM.

26 years agoMark the syscons and pcvt drivers as being allowed to conflict, so that
msmith [Thu, 17 Sep 1998 03:15:30 +0000 (03:15 +0000)]
Mark the syscons and pcvt drivers as being allowed to conflict, so that
well-meaning but uneducated users don't exterminate the psm driver in
their zeal to achieve zero conflicts.

26 years agoYikes, put .endif in wrong place.
asami [Thu, 17 Sep 1998 01:22:05 +0000 (01:22 +0000)]
Yikes, put .endif in wrong place.

26 years agoRemove shlib minor if PORTOBJFORMAT=elf.
asami [Thu, 17 Sep 1998 01:00:23 +0000 (01:00 +0000)]
Remove shlib minor if PORTOBJFORMAT=elf.

26 years agoSync with OpenBSD ifdefs
brian [Thu, 17 Sep 1998 00:45:27 +0000 (00:45 +0000)]
Sync with OpenBSD ifdefs

26 years agoAlphabeticalize SEE ALSO section.
brian [Thu, 17 Sep 1998 00:45:12 +0000 (00:45 +0000)]
Alphabeticalize SEE ALSO section.

26 years agoDTRT for file: URLs when output file is "-".
des [Thu, 17 Sep 1998 00:15:15 +0000 (00:15 +0000)]
DTRT for file: URLs when output file is "-".

PR: bin/7203

26 years agoUse %p with (void *) casts to print pointers with printf.
gibbs [Thu, 17 Sep 1998 00:08:29 +0000 (00:08 +0000)]
Use %p with (void *) casts to print pointers with printf.

26 years agoPrevent modification of permanent ARP entries (PR kern/7649)
fenner [Thu, 17 Sep 1998 00:04:21 +0000 (00:04 +0000)]
Prevent modification of permanent ARP entries (PR kern/7649)
Ignore ARP replies from the wrong interface (discussion on mailing list)
Add interface name to a couple of error messages

26 years agoSome Alpha patches for CAM from Doug Rabson.
ken [Wed, 16 Sep 1998 23:30:11 +0000 (23:30 +0000)]
Some Alpha patches for CAM from Doug Rabson.

Reviewed by: gibbs
Submitted by: dfr

26 years agoFix style bugs introduced by Matt Dillon in his previous, unreviewed
ken [Wed, 16 Sep 1998 23:14:47 +0000 (23:14 +0000)]
Fix style bugs introduced by Matt Dillon in his previous, unreviewed
commit.

Reviewed by: gibbs

26 years agoFix a regression that caused the script to spam itself by copying something
gibbs [Wed, 16 Sep 1998 22:46:04 +0000 (22:46 +0000)]
Fix a regression that caused the script to spam itself by copying something
of size sizeof(struct timeval) that is really of size sizeof(ticks).

Make another attempt at fixing the queue full case.

26 years agoSpaces -> tabs, don't use touch before it's available
brian [Wed, 16 Sep 1998 22:42:56 +0000 (22:42 +0000)]
Spaces -> tabs, don't use touch before it's available
Pointed out by: bde

26 years agoWork around an alpha compiler bug.
dfr [Wed, 16 Sep 1998 21:33:14 +0000 (21:33 +0000)]
Work around an alpha compiler bug.

Reviewed by: Kenneth D. Merry <ken@plutotech.com>

26 years agochecked, that new sa CAM driver takes care of using buffer sizes
andreas [Wed, 16 Sep 1998 20:52:12 +0000 (20:52 +0000)]
checked, that new sa CAM driver takes care of using buffer sizes
<= 64 KB. Was able to dump/restore with block sizes of 96, 128 and
200. using systat -vmstat I noticed transfer blocksizes <= 64KB,
so physio's limits aren't touched.
Since this check was originally from me, I feels safe now to back it
out.

26 years agoFix some Alpha portability problems, and add some belt-and-suspenders
ken [Wed, 16 Sep 1998 20:42:19 +0000 (20:42 +0000)]
Fix some Alpha portability problems, and add some belt-and-suspenders
checking in some functions.

Submitted by: dfr
Modified by: ken

26 years agorc.conf variable $amd_map_program needs to be eval'ed.
cracauer [Wed, 16 Sep 1998 20:38:23 +0000 (20:38 +0000)]
rc.conf variable $amd_map_program needs to be eval'ed.
PR: misc/7435
Submitted by: David Wolfskill <dhw@whistle.com>

26 years agoAdd 450NX chipset components.
msmith [Wed, 16 Sep 1998 20:29:22 +0000 (20:29 +0000)]
Add 450NX chipset components.

26 years agoFix the (unported) resource shortage case- I'd done a xpt_freeze_simq
mjacob [Wed, 16 Sep 1998 19:52:22 +0000 (19:52 +0000)]
Fix the (unported) resource shortage case- I'd done a xpt_freeze_simq
but had never done a CAM_RELEASE_SIMQ to restart the queues.

26 years agoLinux swap and Solaris x86 use the same BIOS partition id.
obrien [Wed, 16 Sep 1998 19:25:47 +0000 (19:25 +0000)]
Linux swap and Solaris x86 use the same BIOS partition id.

26 years agoMake consoles immutable. If you want to turn them off, use wizard mode.
msmith [Wed, 16 Sep 1998 19:23:49 +0000 (19:23 +0000)]
Make consoles immutable.  If you want to turn them off, use wizard mode.

Fix assorted formatting violations in the device table.

26 years agoEffectively disable resource limit setting by default, leaving the
msmith [Wed, 16 Sep 1998 19:18:36 +0000 (19:18 +0000)]
Effectively disable resource limit setting by default, leaving the
original contents of the file preserved as examples for administrators
that need to enable them.

Also add a comment to the examples pointing out that the authentication
functionality is largely unused and requires rebuilding libutil.

Reviewed by: jkh

26 years agoSupply correct type widths etc. for alpha.
dfr [Wed, 16 Sep 1998 18:57:57 +0000 (18:57 +0000)]
Supply correct type widths etc. for alpha.

26 years agosync with GENERIC file, raise maxusers variable from '10' to '32'
andreas [Wed, 16 Sep 1998 18:27:45 +0000 (18:27 +0000)]
sync with GENERIC file, raise maxusers variable from '10' to '32'

26 years ago vmstat shows all manually-specified devices rather then just the first
dillon [Wed, 16 Sep 1998 18:20:23 +0000 (18:20 +0000)]
vmstat shows all manually-specified devices rather then just the first
    three.

26 years ago Fixed segfault when more then four devices are specified (improper free),
dillon [Wed, 16 Sep 1998 18:03:44 +0000 (18:03 +0000)]
Fixed segfault when more then four devices are specified (improper free),
    fixed variable so all manually-specified devices are shown rather then
    cutting the display off at 3, fixed formatting for msps when msps is
    larger then 100 (it was blowing the columner display output before),
    added -K option to make blk count (-oIK) force a 1K block size (to conform
    more closely to systat, vmstat definition of blocksize).

26 years agoMake this somewhat cam-compatible.
phk [Wed, 16 Sep 1998 17:44:37 +0000 (17:44 +0000)]
Make this somewhat cam-compatible.

Justin, can you take a peek please ?

26 years agoPrevent ldconfig from choking by creating any missing directories.
phk [Wed, 16 Sep 1998 17:42:53 +0000 (17:42 +0000)]
Prevent ldconfig from choking by creating any missing directories.

26 years agoGeneralise the build a bit more.
markm [Wed, 16 Sep 1998 17:25:52 +0000 (17:25 +0000)]
Generalise the build a bit more.

1) Fix up the NOSHARED stuff (bde)
2) Accomodate CFLAGS (vanilla)
3) Provide separate files for i386 and alpha (Doug Rabson)

In case 3, the supplied files were corrupted, but the concepts
sound enough, so I just copied what exists into
config.SH-{elf|aout}.{i386|alpha}. Alpha team, go ahead and do what
is necessary on config.SH-elf.alpha. :-)

26 years agoFix a bug in ncr_freeze_devq() which is called when we see a queue
gibbs [Wed, 16 Sep 1998 17:11:59 +0000 (17:11 +0000)]
Fix a bug in ncr_freeze_devq() which is called when we see a queue
full condition or other error which requires us to purge the
controller's start queue of transactions for a particular device.
We were relying on the NCR CCB's program address to cause the
script engine to skip to the next entry in the queue even though
the CCB is freed (and its program address switched to the idle
loop) by this action.  We now set the address in the start queue
to be the "skip" function directly.

26 years agoAlpha port related fixes from Doug Rabson.
mjacob [Wed, 16 Sep 1998 16:43:17 +0000 (16:43 +0000)]
Alpha port related fixes from Doug Rabson.
Submitted by: dfr

26 years agoalpha port fixes from Doug.
mjacob [Wed, 16 Sep 1998 16:42:40 +0000 (16:42 +0000)]
alpha port fixes from Doug.
Reviewed by: dfr

26 years agoAvoid infinite loop if read() fails consistently.
des [Wed, 16 Sep 1998 15:53:25 +0000 (15:53 +0000)]
Avoid infinite loop if read() fails consistently.

PR: misc/7926
Submitted by: Sergey Potapov <sp@alkor.ru>

26 years agoAdd entries to make CodaFS run out of the box.
des [Wed, 16 Sep 1998 15:42:32 +0000 (15:42 +0000)]
Add entries to make CodaFS run out of the box.

PR: misc/5855
Submitted by: Robert Watson <robert@cyrus.watson.org>

26 years agoAdd new '-i' option to usage().
abial [Wed, 16 Sep 1998 13:55:26 +0000 (13:55 +0000)]
Add new '-i' option to usage().

26 years agoProperly allocate our, per lun, probe peripheral softc from
gibbs [Wed, 16 Sep 1998 13:24:37 +0000 (13:24 +0000)]
Properly allocate our, per lun, probe peripheral softc from
the TEMP malloc pool.

Noticed by: Don Lewis <Don.Lewis@tsc.tdk.com>

26 years ago(1) Pass PORTOBJFORMAT in SCRIPTS_ENV too.
asami [Wed, 16 Sep 1998 12:04:38 +0000 (12:04 +0000)]
(1) Pass PORTOBJFORMAT in SCRIPTS_ENV too.
Submitted by: "Eugene M. Kim" <gene@nttlabs.com>

(2) Check for exact version of perl5 in /usr/bin and exit with error
    message if USE_PERL5 is defined and version does not match
    ${PERL_VERSION}.

(3) Note LIB_DEPENDS should not have any regular expressions.  Remove
    those in USE_XLIB and USE_QT.

26 years agoSnip out some dead code from the alpha part.
dfr [Wed, 16 Sep 1998 09:34:07 +0000 (09:34 +0000)]
Snip out some dead code from the alpha part.

26 years agoAdd some things to the alpha build.
dfr [Wed, 16 Sep 1998 09:33:23 +0000 (09:33 +0000)]
Add some things to the alpha build.

26 years agoPut ldd back in the standard list since it builds on alpha now.
dfr [Wed, 16 Sep 1998 09:32:29 +0000 (09:32 +0000)]
Put ldd back in the standard list since it builds on alpha now.

26 years agoMake ldd work on alpha.
dfr [Wed, 16 Sep 1998 09:31:48 +0000 (09:31 +0000)]
Make ldd work on alpha.

26 years agoAdjust the declarations of kvm_read and kvm_write to match reality a little
dfr [Wed, 16 Sep 1998 09:30:14 +0000 (09:30 +0000)]
Adjust the declarations of kvm_read and kvm_write to match reality a little
closer.

26 years agoChange to a code sequence which is more likely to work on SMP systems.
dfr [Wed, 16 Sep 1998 09:27:05 +0000 (09:27 +0000)]
Change to a code sequence which is more likely to work on SMP systems.
Now all I need is an alpha SMP box to port FreeBSD to :-)

26 years agoUpdate the man page to match the rest of crunchide.
jhay [Wed, 16 Sep 1998 09:26:14 +0000 (09:26 +0000)]
Update the man page to match the rest of crunchide.

26 years agoMake SCSI stuff truly optional.
jkh [Wed, 16 Sep 1998 09:25:20 +0000 (09:25 +0000)]
Make SCSI stuff truly optional.
Noticed by: jhay

26 years agoSync with etc.i386/MAKEDEV version 1.171.
dfr [Wed, 16 Sep 1998 09:21:43 +0000 (09:21 +0000)]
Sync with etc.i386/MAKEDEV version 1.171.

26 years agoSync with sys/i386/isa/pcaudio.c revision 1.43.
kato [Wed, 16 Sep 1998 08:38:50 +0000 (08:38 +0000)]
Sync with sys/i386/isa/pcaudio.c revision 1.43.

26 years agoSync with sys/i386/isa/files.i386 and options.i386 revisions 1.204 and
kato [Wed, 16 Sep 1998 08:37:40 +0000 (08:37 +0000)]
Sync with sys/i386/isa/files.i386 and options.i386 revisions 1.204 and
1.87, respectively.

26 years agoSome workarounds for a common DEC pci-pci bridge found on alphas.
dfr [Wed, 16 Sep 1998 08:28:11 +0000 (08:28 +0000)]
Some workarounds for a common DEC pci-pci bridge found on alphas.
Fix printf format errors which show up on the alpha.

26 years agoPort de driver to alpha.
dfr [Wed, 16 Sep 1998 08:27:07 +0000 (08:27 +0000)]
Port de driver to alpha.

26 years agoDocument BUS_CREATE_INTR and BUS_CONNECT_INTR.
dfr [Wed, 16 Sep 1998 08:25:56 +0000 (08:25 +0000)]
Document BUS_CREATE_INTR and BUS_CONNECT_INTR.

26 years agoWorkaround some EB164 wierdness.
dfr [Wed, 16 Sep 1998 08:24:30 +0000 (08:24 +0000)]
Workaround some EB164 wierdness.

Obtained from: NetBSD

26 years agoDisable unwanted isa interrupts.
dfr [Wed, 16 Sep 1998 08:23:51 +0000 (08:23 +0000)]
Disable unwanted isa interrupts.

26 years agoAdd cam spls.
dfr [Wed, 16 Sep 1998 08:23:21 +0000 (08:23 +0000)]
Add cam spls.

26 years agoPort i386 bus_space and bus_dma to alpha.
dfr [Wed, 16 Sep 1998 08:22:57 +0000 (08:22 +0000)]
Port i386 bus_space and bus_dma to alpha.

26 years agoChange to cam.
dfr [Wed, 16 Sep 1998 08:22:09 +0000 (08:22 +0000)]
Change to cam.

26 years agoAdd cam software interrupts.
dfr [Wed, 16 Sep 1998 08:21:12 +0000 (08:21 +0000)]
Add cam software interrupts.

26 years agoPort the i386 bus_dma implementation to alpha.
dfr [Wed, 16 Sep 1998 08:20:45 +0000 (08:20 +0000)]
Port the i386 bus_dma implementation to alpha.

26 years agoSync with sys/i386/isa/fd.c revision 1.123.
kato [Wed, 16 Sep 1998 08:08:38 +0000 (08:08 +0000)]
Sync with sys/i386/isa/fd.c revision 1.123.

26 years agoSync with sys/i386/conf/Makefile.i386 revision 1.123.
kato [Wed, 16 Sep 1998 08:04:40 +0000 (08:04 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.123.

26 years agoSort table and descriptions.
jkoshy [Wed, 16 Sep 1998 07:25:34 +0000 (07:25 +0000)]
Sort table and descriptions.

Pointed out by: bde

26 years agoThis commit was generated by cvs2svn to compensate for changes in r39332,
grog [Wed, 16 Sep 1998 05:57:36 +0000 (05:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r39332,
which included commits to RCS files with non-trunk default branches.

26 years agoImport base vinum userland sources
grog [Wed, 16 Sep 1998 05:57:36 +0000 (05:57 +0000)]
Import base vinum userland sources

26 years agoThis commit was generated by cvs2svn to compensate for changes in r39330,
grog [Wed, 16 Sep 1998 05:56:21 +0000 (05:56 +0000)]
This commit was generated by cvs2svn to compensate for changes in r39330,
which included commits to RCS files with non-trunk default branches.

26 years agoImport base vinum lkm sources
grog [Wed, 16 Sep 1998 05:56:21 +0000 (05:56 +0000)]
Import base vinum lkm sources

26 years agoFix up the boot-time ldconfig handling to deal with dual object
jdp [Wed, 16 Sep 1998 05:42:38 +0000 (05:42 +0000)]
Fix up the boot-time ldconfig handling to deal with dual object
file formats.  I have added a new rc.conf variable ${ldconfig_paths_aout}
which is like ${ldconfig_paths}, but only for a.out shared libraries.

On a "standard" ELF system, the ELF ldconfig path is taken from
${ldconfig_paths}, while the a.out ldconfig path is taken from
${ldconfig_paths_aout}.

On a not-yet-converted a.out system, only the a.out ldconfig path
is set, and it is taken from ${ldconfig_paths_aout}.  If that
variable is unset, /etc/rc defaults it to the value of ${ldconfig_paths},
on the assumption that the system's "/etc/rc.conf" file hasn't been
updated.

26 years agoAdd entries to describe CAM's new features.
jkh [Wed, 16 Sep 1998 05:15:37 +0000 (05:15 +0000)]
Add entries to describe CAM's new features.

26 years agoReplace memory leaking instances of realloc with non-leaking reallocf.
imp [Wed, 16 Sep 1998 04:17:47 +0000 (04:17 +0000)]
Replace memory leaking instances of realloc with non-leaking reallocf.
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...

26 years agoAdd links to addr2line, objcopy, and objdump. These exist only for
jdp [Wed, 16 Sep 1998 04:11:15 +0000 (04:11 +0000)]
Add links to addr2line, objcopy, and objdump.  These exist only for
ELF, but still I think this is the best way to get them into the
shell's search path.

26 years agoo Don't reference non-existant function freealloc.
imp [Wed, 16 Sep 1998 04:07:31 +0000 (04:07 +0000)]
o Don't reference non-existant function freealloc.
o Properly order things

Pointed out by: bde

26 years agoFix printf format bugs.
gibbs [Wed, 16 Sep 1998 03:27:12 +0000 (03:27 +0000)]
Fix printf format bugs.

26 years agoFix compile warnings.
mjacob [Wed, 16 Sep 1998 03:26:10 +0000 (03:26 +0000)]
Fix compile warnings.

26 years agoFix style problems noted by Bruce:
imp [Wed, 16 Sep 1998 03:16:06 +0000 (03:16 +0000)]
Fix style problems noted by Bruce:
o No copyright on reallocf.
o Order makefile list correctly.
o indent reallocf properly.

26 years agoFix a bug that showed up when debugging dynamically linked programs.
jdp [Wed, 16 Sep 1998 02:54:08 +0000 (02:54 +0000)]
Fix a bug that showed up when debugging dynamically linked programs.
References from GDB to "printf" and various other functions would
find the versions in the dynamic linker itself, rather than the
versions in the program's libc.  This fix moves the GDB link map
entry for the dynamic linker to the end of the search list, where
its symbols will be found only if they are not found anywhere else.
It was suggested by Doug Rabson, though I implemented it a little
differently.

I personally would prefer to leave the dynamic linker's entry out
of the GDB search list altogether.  But Doug argues that it is
handy there for such things as setting breakpoints on dlopen().
So it stays for now, at least.

Note, if we ever integrate the dynamic linker with libc (which has
several important benefits to recommend it), this whole problem
goes away.

26 years agoRestore the core-dumping of all writable segments for ELF executables,
jdp [Wed, 16 Sep 1998 02:04:05 +0000 (02:04 +0000)]
Restore the core-dumping of all writable segments for ELF executables,
minus the NULL pointer dereference in rev. 1.33.  Also simplify
things somewhat by eliminating one traversal of the VM map entries.
Finally, eliminate calls to vm_map_{un,}lock_read() which aren't
needed here.  I originally took them from procfs_map.c, but here
we know we are dealing only with the map of the current process.

26 years agoApply patch from Stefan Esser to close PR #7941: add code to handle
wpaul [Wed, 16 Sep 1998 01:50:04 +0000 (01:50 +0000)]
Apply patch from Stefan Esser to close PR #7941: add code to handle
dynamic loading of libdes on ELF systems. The patch looks correct to
me.

26 years agoDelete unused code. This has been obsoleted by the new devstat code.
ken [Wed, 16 Sep 1998 00:25:54 +0000 (00:25 +0000)]
Delete unused code.  This has been obsoleted by the new devstat code.

Reviewed by: imp

26 years agoCheck to make sure that this device is opened read-write, not just read
ken [Wed, 16 Sep 1998 00:11:53 +0000 (00:11 +0000)]
Check to make sure that this device is opened read-write, not just read
only.  Previously, if the device was chmoded 644, someone could open it
with the O_RDONLY flag and issue any ioctl to the device.

Reviewed by: imp, gibbs

26 years agoChange the permissions for the transport layer (xpt) and passthrough (pass)
ken [Wed, 16 Sep 1998 00:10:26 +0000 (00:10 +0000)]
Change the permissions for the transport layer (xpt) and passthrough (pass)
devices from 644 to 600.

Reviewed by: imp, gibbs

26 years agofix reported compile error flying blind- I do not have the new compiler yet
mjacob [Tue, 15 Sep 1998 22:44:51 +0000 (22:44 +0000)]
fix reported compile error flying blind- I do not have the new compiler yet

26 years agoUpdate to use CAM device names.
gibbs [Tue, 15 Sep 1998 22:38:50 +0000 (22:38 +0000)]
Update to use CAM device names.

26 years agoErk. Revert back to 1.31, dumping only data and stack to the core
jdp [Tue, 15 Sep 1998 22:23:12 +0000 (22:23 +0000)]
Erk.  Revert back to 1.31, dumping only data and stack to the core
file, until I can solve a panic that has just cropped up.

26 years agoNuke uninitialized varible fd from retrier(). Change the devstat code
gibbs [Tue, 15 Sep 1998 22:07:24 +0000 (22:07 +0000)]
Nuke uninitialized varible fd from retrier().  Change the devstat code
to reference fdc->fd instead.

26 years agoWhen choosing segments to write to the core file, don't assume that
jdp [Tue, 15 Sep 1998 22:07:20 +0000 (22:07 +0000)]
When choosing segments to write to the core file, don't assume that
writable implies readable.

26 years agoCorrect printf format bugs.
gibbs [Tue, 15 Sep 1998 22:05:44 +0000 (22:05 +0000)]
Correct printf format bugs.

26 years agoInstead of just the data and stack segments, include all writable
jdp [Tue, 15 Sep 1998 21:46:34 +0000 (21:46 +0000)]
Instead of just the data and stack segments, include all writable
segments (except memory-mapped devices) in the ELF core file.  This
is really nice.  You get access to the data areas of all shared
libraries, and even to files that are mapped read-write.

In the future, it might be good to add a new resource limit in the
spirit of RLIMIT_CORE.  It would specify the maximum sized writable
segment to include in core dumps.  Segments larger than that would
be omitted.  This would be useful for programs that map very large
files read/write but that still would like to get usable core dumps.