| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
PCI_MAP_MEMORY_TYPE_32BIT_1M should be accepted as well as
PCI_MAP_MEMORY_TYPE_32BIT (and now is).
(Problem reported by David Greenman.)
|
|
|
|
|
| |
Must have been a cut/paste foulup... The whole idea of 'make reinstall'
is that it doesn't build anything from the source server mount.
|
| |
|
|
|
|
|
| |
which does no longer get called for non-Ultra cards.
Fix suggested by Gerard Roudier, slightly modified by me.
|
|
|
|
|
| |
Submitted by: Craig Leres <leres@ee.lbl.gov>
Submitted by: Theo Deraadt <deraadt@theos.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but Bill has beaten me on this. ;-)
However, he missed the part to compute the kernelsize in kilobytes,
so the minfree consideration was now overcautious. (I've also
changed the return type of dump_size() to void since int was useless.)
Being here, the fact that `vmcore' was written world-readable was just
a plain security hole: everybody who was able to crash a kernel could
later read any confidential information out of it at his will. Create
it with umask 077 instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the partition. Only if the size is 0 should the
special handling of 0 as first argument be triggered.
[This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.]
The init_sector0 function needs to decrease the first argument
to the second call to dos() by one to be consistent with the
calls to dos() in change_part().
[This bug caused fdisk -i to create bogus partition tables with
the ending C/H/S value 1 too high. This usually gives S = 1
instead of S = maximum, so the geometry guessing in the slice
code and perhaps in SCSI BIOSes was defeated.]
Submitted by: Tor Egge <tegge@itea.ntnu.no>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- make minfree work by getting the dump size before checking to see
if the dump will fit on the filesystem
- also fail to dump if no minfree is specified but there are not enough
free blocks.
Fix a typo in the man page.
Fixes PR bin/1322
Submitted by: "Philippe C." <charnier@lirmm.fr>
|
|
|
|
|
|
|
| |
it's and useful. (Ever tried to read 'nm' and 'ldd -v' output on a c++
object or library? :-) This filter decodes the mangled symbol names.)
Requested by: Chuck Robey <chuckr@glue.umd.edu>
|
|
|
|
|
|
|
|
|
|
| |
default, so there's no use in running it without any printer
definition in printcap. Also added a bunch of hints about the printer
setup, to guide the admin about the printer setup (handbook,
"apsfilter"), and a commented-out sample setup for a remote printer.
In the same line, add /var/spool/lpd/output to BSD.var.dist since it
is referred to by the "lp" entry in printcap.
|
|
|
|
|
| |
shell command is only executabel from command files, not
from the commandline.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
disabling the RSS listing in ps and ^T. This commit re-inserts
the macro defn.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Old locate(1) programs still works with the new database format, print
some garbage for 8 bit characters, but don't core (maybe except char 30).
7-Bit Puritan should not notice any difference. Same speed,
Same database size if the database contain only ASCII characters.
Reviewed by: ache
|
| |
|
| |
|
|
|
|
|
| |
A "MAKEDEV ttyc0" now creates 32 units for controller 0, ttyc1 for
controller 1, etc..
|
|
|
|
| |
serial adapter, and support for multiple Cyclom controllers.
|
|
|
|
| |
/etc file changes out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ufs_read() and ufs_write().
Found by: looking at warnings for comparing the result of lblktosize()
(which is usually daddr_t = long) with file sizes (which are u_quad_t
for ufs). File sizes should probably be off_t's to avoid warnings
when the are compared with file offsets, so the fixed lblktosize()
casts to off_t instead of u_quad_t.
Added definition of smalllblksize(). It is the same as the old
lblksize() and is more efficient for small block numbers on 32-bit
machines.
Use smalllblktosize() instead of its expansion in blksize() and
dblksize(). This keeps the line length short and makes it more
obvious that the shift can't overflow.
|
|
|
|
|
|
| |
capable of being used for things other than swap space allocation,
and splvm would have been appropriate for only swap space allocation
and other VM things. My commit broke that (and was actually a mistake.)
|
|
|
|
|
|
|
|
| |
previous snap. Specifically, kern_exit and kern_exec now makes a
call into the pmap module to do a very fast removal of pages from the
address space. Additionally, the pmap module now updates the PG_MAPPED
and PG_WRITABLE flags. This is an optional optimization, but helpful
on the X86.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fixed a sloppy common-style declaration.
- removed an unused macro.
- moved once-used macros to the one file where they are used.
- removed unused forward struct declarations.
- removed __pure.
- declared inline functions as inline in their prototype as well
as in theire definition (gcc unfortunately allows the prototype
to be inconsistent).
- staticized.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the kernel panic when propagating userconfig changes to
arbitrary kernels.
Remove obsoleted `#include <tcl.h>' added a few <stdio.h> where
necessary.
Fix getting scsi bus information from an -incore kernel.
Turned on SAVE_USERCONFIG by default.
|
|
|
|
|
| |
of gcc by definition, and __pure2 is a no-op in effect (presumably the
compiler can see when an inline function has no side effects).
|
|
|
|
|
|
|
| |
<net/if_arp.h> and fixed the things that depended on it. The nested
include just allowed unportable programs to compile and made my
simple #include checking program report that networking code doesn't
need to include <sys/socket.h>.
|
|
|
|
| |
Suggested by: Hal Snyder <hsndyer@thoughtport.com>
|
|
|
|
|
| |
for error return as well (not sure if this is it, but it's one possible
explanation).
|
|
|
|
| |
Submitted-By: Tor Egge <Tor.Egge@idt.ntnu.no>
|
| |
|
| |
|
|
|
|
|
|
| |
initialized, or a kernel panic will occur.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
required. a core is not dumped at first connecting time and
dumped at second or third time. (patch I)
2. A routine for "show route" refers out of allocated space.
Values pointed by "lp" should be read as CHAR, I think.
there is also no free() for disallocation. (patch II)
Here is also a patch for an improvement: In current imprementation,
even if PPP connection is disconnected by time out, prompt of
interactive mode does not change from "PPP>" to "ppp>" to
indicate the disconnection on a terminal.
So I modified the code to do that. (patch III)
Submitted-By: NAKAMURA Motonori <motonori@econ.kyoto-u.ac.jp>
|
|
|
|
| |
that proc.h doesn't have to be included so often.
|
|
|
|
| |
of init.8 except for bugs and anachronisms.
|
|
|
|
|
|
|
| |
match reality.
Say that secured devices `may not be opened for writing' instead of
`are read-only'.
|
|
|
|
|
|
|
| |
over TCP), but is used as a divisor later, causing uucico to abort
with a SIGFPE.
Reviewed by: Ian Lance Taylor <ian@cygnus.com>
|
|
|
|
| |
to freefall!)
|
|
|
|
| |
messages using the output of dmesg.
|
|
|
|
|
|
|
| |
tab and four spaces), and return error message in *err
instead of calling Parse_Error.
Suggested by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
|
|
| |
add some security onn the chmod/chown operations
should now be root or owner
(still needs more thought but kinda-plugs tow holes pointed out by bde)
|
|
|
|
|
|
|
|
|
|
|
| |
Still no support for Ultra-SCSI and other new features, but the code
should now correctly initialize the clock pre-scaler (based on freqency
measurement results, if necessary).
Fix support of 16 targets for WIDE SCSI.
Disable bus reset in case no progress is made for too long ("ncr dead"
message), which did not work too well with scanners and other slow devices.
|
|
|
|
|
|
|
|
|
|
| |
(yes I had tested the hell out of this).
I've also temporarily disabled the code so that it behaves as it previously
did (tail drop's the syns) pending discussion with fenner about some socket
state flags that I don't fully understand.
Submitted by: fenner
|
|
|
|
|
| |
Use the link MIB interface rather than groveling around in kmem.
(No longer works on dead kernels, big deal.)
|