| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
was colliding with dirname() in libc.a and causing a Sig 10/bus error.
Just change dirname to savedir and be done with it.
|
|
|
|
| |
Submitted by: brian
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
in mount_XXX manual pages. Remove explicit mention of NFS mount
options, since they are accurately described by this rule.
PR: 20814
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
adjust the size, but the actual end.
- Break out some of the sanity checks on partitions into a sanitize_partition
function.
- When adjusting partitions, always adjust the start "up", and the end "down"
so that we stay within the boundaries of the original request.
- Various small nits found by bde.
Reported by: bde, imp, rgrimes
|
|
|
|
|
|
|
|
| |
verbose mode) is specified. This should really have been the case
when this extra cruft was first introduced in rev 1.23.
PR: 20710
Reported by: Mike Meyer <mwm@mired.org>
|
|
|
|
| |
Reviews by: ken
|
| |
|
|
|
|
| |
in r1.12.
|
|
|
|
|
| |
character device is changed to an errx(). This unnecessarily
compromises device independence.
|
|
|
|
|
|
| |
PR: 10642
Reported by: Stefan Eggers <seggers@semyam.dinoco.de>
Submitted by: johan
|
|
|
|
|
|
|
| |
the changes made to our own source on 1997-01-01.
PR: 20445
Submitted by: Jon Masami Kuroda <jkuroda@eecs.berkeley.edu>
|
| |
|
| |
|
|
|
|
| |
comparison with SMS_PAGE_CTRL_* macros.
|
| |
|
| |
|
|
|
|
| |
Pointed out by: ps
|
|
|
|
| |
Pointed out by: sheldonh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
related patches. These include:
* Mode page editting can be scripted. This involves two
things: first, if stdin is not a tty, changes are read from
stdin rather than invoking $EDITOR. Second, and more
importantly, not all modepage entries must be included in the
change set. This means that camcontrol can now gracefully handle
more intrusive editting from the $EDITOR, including removal or
rearrangement of lines. It also means that you can do stuff
like:
# echo "WCE: 1" | camcontrol modepage da3 -m 8 -e
# newfs /dev/da3
# echo "WCE: 0" | camcontrol modepage da3 -m 8 -e
* Range-checking on user-supplied input values. modeedit.c now
uses the field width specifiers to determine the maximum
allowable value for a field. If the user enters a value larger
than the maximum, it clips the value to the max and warns the
user. This also involved patching cam_cmdparse.c to be more
consistent with regards to the "count" parameter to arg_put
(previously is was the length of strings and 1 for all integral
types). The cam_cdbparse(3) man page was also updated to reflect
the revised semantics.
* In the process, I removed the 64 entry limit on mode pages (not
that we were even close to hitting that limit). This was a nice
side-effect of the other changes.
* Technically, the new mode editting functionality allows editting
of character array entries in mode pages (type 'c' or 'z'),
however since buff_encode doesn't grok them it is currently
useless.
* Camcontrol gained two new options related to mode pages: -l and
-b. The former lists all available mode pages for a given
device. The latter forces mode page display in binary format
(the default when no mode page definition was found in
scsi_modes).
* Added support for mode page names to scsi_modes. Allows names to
be displayed alongside mode numbers in the mode page
listing. Updated scsi_modes to use the new functionality. This
also adds the semicolon into the scsi_modes syntax as an
optional mode page definition terminator. This is needed to name
pages without providing a page format definition.
* Updated scsi_all.h to include a structure describing mode page
headers.
* Added $FreeBSD$ line to scsi_modes.
Inspired by: dwhite
Reviewed by: ken
|
|
|
|
|
|
|
| |
root ownership, etc. I will soon commit a companion knob for
"/etc/rc.conf".
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
|
| |
|
| |
|
|
|
|
|
|
| |
Submitted by: Alain Thivillon <Alain.Thivillon@hsc.fr>,
Udo Erdelhoff <ue@nathan.ruhr.de>
Approved by: green
|
|
|
|
|
|
| |
% characters in localized error messages from ipsec_strerror().
Obtained from: OpenBSD
|
|
|
|
|
|
| |
could conceivably cause a crash).
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
| |
${TABDIR} path.
PR: 17945
Submitted by: Benno Rice <benno@netizen.com.au>
|
|
|
|
|
|
|
|
|
|
|
| |
Could you please enable my "state top" patches in the FreeBSD distribution.
I developped the stuff under FreeBSD, so it must be good there :-)
Here is a patch (relative to the RELENG_4 branch).
Thanks,
Frank
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
|
|
|
|
|
|
| |
on the host.
PR: 15342
Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
|
|
|
|
|
|
|
| |
Change a warnx to an errx since we should only attempt to use
this utility on a character device.
Approved by: green
|
|
|
|
| |
and kern.metadelay, thanks to mckusick's feedback.
|
|
|
|
|
|
|
|
|
|
|
| |
and emit a warning. This is a security measure since ldconfig
influences the shared libraries used by all programs.
I think the check should be made even more stringent by also
ignoring group-writable directories. I will make that change soon
unless we encounter a good reason not to do it.
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which sets the inoinfo's i_parent and i_dotdot to 0, but they never get
set to ROOTINO. This means that propagate will never find lost+found and
its descendents, subdirectories will remain DSTATE (instead of DFOUND)
even though they *are* correctly linked in, and pass4.c will try to
clear them unsuccessfully, thinking that there is no link count from the
DSTATE directory's parent. The result is that you need to run fsck twice
and get link count increasing errors (which are unexpected and fatal
when running in preen mode). The fix is to set i_parent and i_dotdot to
"parent" after the second cacheino() call in dir.c:allocdir().
Obtained from: "Ethan Solomita" <ethan@geocast.com> (of the NetBSD Project)
|
|
|
|
|
|
| |
Of course this is a bug in that the dhclient script will not work properly
if one has a local / and an NFS mounted /usr and needs to obtain its IP
address via DHCP before being able to mount /usr.
|
|
|
|
|
|
|
| |
MBR's with a 4th slice failing the signature check and fdisk saying that
they are invalid.
Submitted by: bde
|
| |
|
|
|
|
| |
shell script's PATH setting in the environment.
|
| |
|
| |
|
|
|
|
|
| |
PR: 20008
Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
|
|
|
| |
for PR 20008.
|
|
|
|
|
|
|
|
|
|
| |
some reason, mboot.bootinst is not initialized to NULL at the beginning
of the program, then the last commit to this would try to free whatever
bogus address is in it.
- Restore the behavior of free()'ing the mboot.bootinst buffer after we
abuse it to determine the sector size of the disk (as clearly noted in
the comments). Properly fix the double free() bug by setting the pointer
to NULL after we free it.
|
|
|
|
| |
Submitted by: dcs
|