| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
match reality.
Say that secured devices `may not be opened for writing' instead of
`are read-only'.
|
|
|
|
|
|
|
| |
"/var/run/ld.so.hints".
Delete an incorrect statement about LD_LIBRARY_PATH from the manual
page.
|
|
|
|
|
|
|
| |
panic. If such a thing is fixed fsck needs a rerun (and bugs the user to do
so).
Reviewed by: Kirk McKusick
|
| |
|
|
|
|
|
|
|
| |
reserved by the SCSI-2 specs. Hence, zero it out. Some drives
(correctly) complain about this otherwise.
Reviewed by: craigs@os.com (Craig Shrimpton)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
ldconfig path (from NetBSD). I added code to make sure there were no
duplicates in the path when multiple ldconfig -m's were used.
Reviewed by: nate, jdp
Obtained from: NetBSD (partly)
|
| |
|
|
|
|
| |
The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.
|
|
|
|
|
|
|
|
|
|
| |
by sysctl and never can be in their documented form (kern.name_max would
have to become fs.filesystemname.name_max, etc.).
Added missing references to user.stream_max and user.tzname_max. These
seem to misnamed. <sys/sysconf.h> says that they correspond to POSIX2
names, but the sysconf names don't have POSIX2 or "posix2" like all the
other POSIX2 names.
|
|
|
|
|
|
| |
in order to create sparse directory files that caused a panic of a
filesystem where fsck would not find anything. A fix for fsck is in the
make but still has to be reviewed by Kirk McKusick.
|
|
|
|
|
|
| |
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed the following bugs:
- the buffer was reprinted endlessly when msg.bufx == 0 and (for a
different reason) when msg.bufx == 1.
- the last byte of the buffer wasn't printed except in the the infinite
loop cases.
- the comment about walking the buffer didn't match the (correct) code.
- minor -Wall and style bugs.
Not fixed:
- excessive newline processing which hid the non-printing of the last
byte of the buffer.
|
|
|
|
| |
ts_nsec -> tv_nsec
|
|
|
|
| |
ts_nsec -> tv_nsec
|
|
|
|
| |
ts_nsec -> tv_nsec
|
|
|
|
| |
goodnight ugly prince...
|
| |
|
|
|
|
| |
feature.
|
| |
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| |
| | |
of important bug fixes.
Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>
|
|
|
|
|
|
| |
of important bug fixes.
Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>
|
| |
|
|
|
|
|
|
| |
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
|
| |
|
|
|
|
| |
Submitted-By: David Leonard <d@scry.dstc.edu.au>
|
| |
|
|
|
|
|
|
| |
in the calculation of free disk space. Fixes PR#1569.
Submitted by: Tor Egge <Tor.Egge@idt.ntnu.no>
|
|
|
|
|
| |
to ifconfig..
so I 've added them..
|
|
|
|
|
|
|
|
|
|
| |
it stopped us from removing or setting loopback address
on lo0:
also make use of the fact the athe sockaddre_at struct now has a "netrange"
field.
CVS ----------------------------------------------------------------------
|
|
|
|
|
|
| |
the file access time update on reads and can be useful in reducing
filesystem overhead in cases where the access time is not important (like
Usenet news spools).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
firewalls are remote, and this command will kill the network connection
to them), prompt the user for confirmation of this command.
Also, add the '-f' flag which ignores the need for confirmation the
command, and if there is no controlling tty (isatty(STDIN_FILENO) !=0)
assume '-f'.
If anyone is using ipfw flush in scripts it shouldn't affect them, but you
may want to change the script to use a 'ipfw -f flush'.
Reviewed by: alex
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
|
|
|
|
|
|
|
| |
hostname/IP twice on same line in /etc/exports' fix from dumping core
due to bogus /etc/exports entries.
Submitted by: Toshihiro Kanda <candy@fct.kgc.co.jp>
|
|
|
|
| |
(the RB_POWEROFF flag)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Turn this behavior off using '-Q'. This makes '-v' useless other than as
an ICMP-sniffer, which tcpdump is better at anyway.
Print out another couple of ICMP messages, and fix the printing of the
original packet (mostly byte order problems).
|
|
|
|
| |
Pointed out by: Philippe Charnier <charnier@lirmm.fr>
|
| |
|
|
|
|
|
|
| |
if making a interface route, and it's a P2P link,
then also automatically lable it as an llinfo entry so that
gated and friends don't clobber it..
|