| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: Sandro Sigala <sandro@cat.locao.net> as part of PR# 2134
|
|
|
|
| |
Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR# 2134
|
| |
|
|
|
|
|
|
|
| |
that flag on every iteration of the loop. This avoids calling fprintf
inside a signal handler, which is always somewhat icky.
Reviewed by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the sd & od drivers. There is also slight changes to fdisk & newfs
in order to comply with different sectorsizes.
Currently sectors of size 512, 1024 & 2048 are supported, the only
restriction beeing in fdisk, which hunts for the sectorsize of
the device.
This is based on patches to od.c and the other system files by
John Gumb & Barry Scott, minor changes and the sd.c patches by
me.
There also exist some patches for the msdos filesys code, but I
havn't been able to test those (yet).
John Gumb (john@talisker.demon.co.uk)
Barry Scott (barry@scottb.demon.co.uk)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't link against libkvm and don't uselessly include <kvm.h>.
- Declare constant objects as const.
- Declare functions with the correct types.
- Call functions with the correct parameters.
Not fixed:
- The sysctl parsing remains ugly (but it may be the best we can do).
- atnetrange() should use strtoul() rather than sscanf() for better
error checking.
|
|
|
|
|
|
| |
Who has the conical hat?
Make things compile again.
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| |
| |
| | |
adds the capability to use MD5 authentication as defined in the latest
documents.
Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com>
|
| |
| |
| |
| |
| |
| |
| | |
the signal handlers to be set up; it also means that a failed name lookup
won't mess up the nokerninfo setting of the tty.
Reviewed by: pst, nate
|
| |
| |
| |
| | |
clear the fmod flag if it's set.
|
| |
| |
| |
| | |
2.2 candidate
|
| |
| |
| |
| |
| |
| |
| | |
entered into the hints file, in addition to the directories named
on the command line.
2.2 Candidate.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
that is stored in the hints file. If that search path contained
a non-existent directory (one, say, that had been removed), and
"ldconfig -m /a/perfectly/good/directory" was run, ldconfig returned
an error status without printing an error message. This caused
some confusing bombs when installing ports, in particular.
I changed it so that non-existent directories from the stored search
path are silently ignored. Only non-existent directories named
explicitly on the command line are treated as errors. Also, a
diagnostic is printed if and only if an error status is returned.
In an unrelated fix, ldconfig now silently ignores any directories
named on the command line when the "-r" option is given. Formerly,
these directories incorrectly made their way into the "search
directories" line of the listing. It really should be an error to
specify directories together with "-r", but I don't have time to
fix the manual page in that way right now.
2.2 Candidate.
|
| |
| |
| |
| |
| |
| |
| | |
utility for front-ending its operation more of a possibility.
2.2-RELEASE candiate. Closes PR#1960
Submitted-By: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com>
|
| |
| |
| |
| | |
2.2 Candidate.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
commit.. This causes a link error in sbin/restore which also uses this
file.
|
| |
| |
| |
| |
| | |
messages, and make it explicit that stderr output came from the remote end.
(e.g. "rmt: command not found")
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
setsockopt()'s on a -1 file descriptor.
Remove attempt to decrease TCP MSS; it makes no sense.
Set the IP TOS to IPTOS_THROUGHPUT as an indication that this is an
application sending large blocks of data, as recommended by RFC1700.
|
| | |
|
| |
| |
| |
| | |
to the name given as a chardev.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Opening the socket is the only privileged operation route requires.
Make a couple of static buffers bigger, and use strncpy() and snprintf() where
there's a chance of overflow.
Fixes PR bin/1903
Partially Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
Don't look up the network number if we're being asked to add a host route.
Fixes PR bin/1900
Submitted by: Bruce A. Mah <bmah@cs.berkeley.edu> (pr bin/1900)
|
| |
| |
| |
| |
| |
| |
| |
| | |
using the fstab.
Closes PR bin/129.
Submitted by: jmg@nike.efn.org (John-Mark Gurney)
|
| |
| |
| |
| |
| |
| | |
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
|
| |
| |
| |
| | |
Closes PR # docs/735.
|
| |
| |
| |
| |
| |
| |
| | |
If the magic is bad, don't waste our time.
Submitted by: Giles Lean Giles Lean <giles@nemeton.com.au>
Obtained from: NetBSD PR bin/249
|
| |
| |
| |
| |
| | |
The rule is still added to the chain since the interface may get
created later on after loading an LKM.
|
| |
| |
| |
| | |
server software.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|