Age | Commit message (Collapse) | Author |
|
these things. evne though that's fixed, always good to initialize
memory. ok deraadt djm
|
|
of a 1 when creating signal masks.
ok millert@
|
|
|
|
|
|
having one per volume.
ok marco@
|
|
anymore.
|
|
ok krw@
|
|
|
|
attempt to
read a native label fails. Reset B_ERROR/b_error on buf to ensure any i/o failure on
that first attempt is forgiven. A la the dkcsum() fix to recover from a disk error.
|
|
(line continuation applies to comments). This doesn't matter now since
we strip comments but still isn't right. Spotted by millert@.
|
|
write label location here too.
|
|
however since this code exists it still should work correctly.
|
|
it again.
|
|
which additionally also supports $Log$ and $Locker. Written by Joerg
Sonnenberger and tweaked by me.
ok ray
|
|
to no.
The way it works is as follow:
- if baseXX was selected during the upgrade, etcXX will be added to the
args to pass to sysmerge(8)
- if xbaseXX was selected during the upgrade, xetcXX will be added to
the args to pass to sysmerge(8)
Note that etcXX and xetcXX will always be fetched from the first
installation source that was configured during the upgrade (it is most
likely that other sources contain site specific sets rather than the
base ones).
This option will not be available when using tape.
"read good" krw@
prodded by and ok (with love) pirofti@, ok deraadt@
|
|
to indicate if we should force a metadata write.
ok marco@
|
|
via readdoslabel(), tweak writedisklabel() to write disklabels at
the same place readdoslabel() reads them from. Irregardless of the
physical disk sector size. As is done in i386/amd64 already.
No change in behaviour for the 'normal' 512-byte sector case.
ok deraadt@
|
|
and POOLBYTES for write.
looks right to deraadt
|
|
persistant connection, will use the same client code for scp and http.
|
|
|
|
A simple first-fit allocator, intended to manage small ranges of memory.
This is currently not called.
tested and ok mlarkin@, prodded by deraadt@
|
|
necessary.
"ok ... wait wait WAIT!! ... oh, yeah, it's fine, ok" guenther@
|
|
|
|
ok claudio@
|
|
that *some* char in sun_path is NUL, not necessarily the last.
ok claudio@ tedu@
|
|
in the end of the sockaddr_un. Done with claudio@
|
|
|
|
|
|
|
|
read failure
|
|
bounds_check_with_label().
|
|
the logic slightly and makes vnd(4) more like any other disk driver.
To avoid races, this means vndopen() can only set VNF_HAVELABEL if
dk_openmask == 0. Otherwise, it's possible for userspace to open
rvnd0c, call VNDIOCSET, open vnd0a, then while vndreaddisklabel() (via
vndstrategy) is waiting for VOP_READ() to finish, you could issue a
read or write on the still open rvnd0c and have VNF_HAVELABEL set but
the disklabel might be in a weird state.
Note that this makes VNF_HAVELABEL nicely analogous to sd(4)/cd(4)'s
SDEV_MEDIA_LOADED flag, which is handled similarly in
{sd,cd}{open,close,strategy}.
ok dlg@, krw@, deraadt@
|
|
Soon to be used by pyro(4) as well.
|
|
|
|
that they're implemented consistently in bounds_check_with_label().
Also, per krw's request, change bounds_check_with_label() to return 0
if the checks succeed, and change the drivers to test == -1 instead of
<= 0. (Man page update to follow; intentionally omitting
arch/vax/mba/hp.c from this commit because it doesn't even build
currently and miod@ promises to kill it soon.)
ok krw@
|
|
ok matthew@ tedu@
|
|
|
|
FREF()/FRELE() in lseek() so our struct file doesn't disappear in the
mean time.
Incorporating suggestions from tedu@ and guenther@; ok guenther@
|
|
|
|
|
|
by actual make rules to enforce that order.
While here, correct the MANDIR which must no more contain "cat".
krw@ also confirms that this lets binutils build with -j.
|
|
otherwise, stuff gets done in the wrong order in make -j.
While here, also make sure ${BEFOREMAN} is finished before
any manual source code is generated.
tested in make build / make release by krw@
|
|
is gone since 1999.
|
|
also, rmpage updates curpage, no need to do it twice.
ok art deraadt guenther
|
|
the same, ok'd with IFQ_PURGE with happens to break on altq kernels by
claudio, ryan and bluhm
|
|
|
|
and not IFQ_IS_EMPTY, the former doesn't get overloaded with altq-specific
stuffz. original oks from claudio and ryan and bluhm, i take the liberty
to assume the oks for this fixed version
|
|
|
|
ok beck deraadt
|
|
the issue in our kernel was the broadcast address calculated on the /31
caused a ton of checks for use of broadcast addresses to kick in and
prevent one of the two addresses on the /31 from being used.
this diff basically detects if a /31 has been configured and doesnt
configure a broadcast address for it, which makes the ips usable
for normal traffic.
i wrote this so i could interoperate with "carrier" network gear
better, and sthen wants it so he can conserve address space use.
the further special casing of broadcast address handling was from claudio@
ok claudio@ markus@ sthen@ henning@
|