| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reported by: tinderbox
|
| |
|
|
|
|
|
|
| |
Restore checks for recently added PF groups.
Reviewed by: mlaier
|
| |
|
|
|
|
|
| |
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: standards/56906
|
|
|
|
|
|
|
|
|
| |
silences an annoying warning in getblk() when VMIO'ing on a directory
vnode, which can happen when vfs.vmiodirenable is 1.
Bring the warning message in line with reality at the same time.
Submitted by: hmp
|
|
|
|
|
|
|
|
|
|
|
| |
MATH_ERREXCEPTION and math_errhandling, so that C99 applications at
least have the possibility of determining that errno is not set for
math functions. Set math_errhandling to the non-standard-conforming
value of 0 for now to indicate that we don't support either method
of reporting errors. We intentionally don't support MATH_ERRNO
because errno is a mistake, and we are missing support for
MATH_ERREXCEPTION (<fenv.h>, compiler support for <fenv.h>, and
actually setting the exception flags correctly).
|
|
|
|
|
|
|
| |
ENOENT, because that means we do not have PIM in the kernel.
Submitted by: hmp
MFC after: 1 week
|
|
|
|
| |
Spotted by: iedowse
|
|
|
|
|
| |
directory. This allows multiple roots (say for different architectures)
to share the same set of /conf files.
|
|
|
|
|
|
| |
PR: 64073
Submitted by: jhb
MFC after: 5 days
|
|
|
|
|
|
| |
exists and we no longer copy to the end of the struct.
Forgotten by: alfred and green
|
|
|
|
| |
Pointed out by: hmp
|
| |
|
|
|
|
|
|
|
| |
In particular, this allows a "virgin" system installed from
source (installworld, installkernel, cd etc && make distribution)
to boot correctly and modestly simplifies the creation
of single-partition network/cdrom/CF bootable images.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
were a rather overwhelming task. I soon learned that if you don't know
where you're going to store something, at least try to pile it next to
something slightly related in the hope that a pattern emerges.
Apply the same principle to the ffs/snapshot/softupdates code which have
leaked into specfs: Add yet a buf-quasi-method and call it from the
only two places I can see it can make a difference and implement the
magic in ffs_softdep.c where it belongs.
It's not pretty, but at least it's one less layer violated.
|
| |
|
|
|
|
|
|
|
|
|
| |
improve readability.
- Use mktemp to create the temporary files and directory.
- Mount temporary md(4) backed file system on a temporary directory,
instead of /mnt.
Approved by: phk
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
and s/BUF_WRITE()/bwrite()/ since it now does the same as bwrite().
|
| | |
|
| |
| |
| |
| | |
Don't call addaliasu() on VBLK nodes.
|
| |
| |
| |
| |
| |
| |
| | |
dev_strategy().
Submitted by: dwmalone
Approved by: grog (mentor)
|
| |
| |
| |
| | |
next free unit.
|
| | |
|
| |
| |
| |
| | |
does it for us already.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in the non-_KERNEL case. This "fixes" applications that include
this "kernel-only" header and also include <strings.h> (or get
<strings.h> via the default _BSD_VISIBLE pollution in <string.h>.
In C++ there was a fatal error: the declaration specifies C linkage
but the implementation gives C++ linkage. In C there was only a
static/extern mismatch if the headers were included in a certain order
order, and a partially redundant declaration for all include orders;
gcc emits incomplete or wrong diagnostics for these, but only for
compiling with -Wsystem-headers and certain other warning options, so
the problem was usually not seen for C.
Ports breakage reported by: kris
|
| |
| |
| |
| | |
Requested by: rwatson
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed a nearby bug. The "play it safe" code in dosysctl() was unsafe
because it overran the buffer by 1 if sysctl() filled all of the buffer.
Fixed a nearby style bug in output. Not just 1, but 2 extra newlines
were printed at the end by "vmstat -m" and "vmstat -z". Don't print
any newlines explicitly. This depends on 2 of the many formatting
bugs in the corresponding sysctls. First, the sysctls return an extra
newline at the end of the strings. This also messes up output from
sysctl(8). Second, the sysctls return an extra newline at the beginning
of the strings. This is good for separating the 2 tables output by
"vmstat -mz" and for starting the header on a new line in plain sysctl
output, but gives a bogus extra newline at the beginning for "vm -[m | z]"
and "sysctl -n [kern.malloc | vm.zone]".
Fixed some nearby style bugs in the source code:
- the same line that misspelled 0 as NULL also spelled NULL as 0.
- the size was doubled twice in the realloc loop.
- the "play it safe" comment was misleading. Terminating the buffer
is bogus because dosysctl() is only meant to work with sysctls that
return strings and the terminator is part of a string. However, the
kern.malloc sysctl has more than style bugs. It also doesn't return
a string. Termination is needed to work around this bug.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of using deprecated header.
Approved by: dwhite, simon(mentor)
Reviewed by: mlaier
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: bin/63781
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
for Windows are deserialized miniports. Such drivers maintain their own
queues and do their own locking. This particular driver is not deserialized
though, and we need special support to handle it correctly.
Typically, in the ndis_rxeof() handler, we pass all incoming packets
directly to (*ifp->if_input)(). This in turn may cause another thread
to run and preempt us, and the packet may actually be processed and
then released before we even exit the ndis_rxeof() routine. The
problem with this is that releasing a packet calls the ndis_return_packet()
function, which hands the packet and its buffers back to the driver.
Calling ndis_return_packet() before ndis_rxeof() returns will screw
up the driver's internal queues since, not being deserialized,
it does no locking.
To avoid this problem, if we detect a serialized driver (by checking
the attribute flags passed to NdisSetAttributesEx(), we use an alternate
ndis_rxeof() handler, ndis_rxeof_serial(), which puts the call to
(*ifp->if_input)() on the NDIS SWI work queue. This guarantees the
packet won't be processed until after ndis_rxeof_serial() returns.
Note that another approach is to always copy the packet data into
another mbuf and just let the driver retain ownership of the ndis_packet
structure (ndis_return_packet() never needs to be called in this
case). I'm not sure which method is faster.
|
| |
| |
| |
| |
| |
| |
| |
| | |
but it will do (better) for now.
KASSERT that to have providers a class must have an access method.
Tag the new_provider event with the geom as well.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
which have configuration files. This is just a cut-paste from newsyslog.8
with the following changes:
o Kill hard sentence breaks.
o Markup fixes.
o Wordsmithing.
|
| |
| |
| |
| | |
Add an Xref to newsyslog.conf.5 and bzip2.1.
|
| |
| |
| |
| |
| | |
Requested by: dwhite
Approve by: dwhite
|
| |
| |
| |
| |
| | |
option KDB. Besides being wrong, it also interferes with ongoing
work.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is a prerequisite to fix
PR: bin/48679
Discussed with: Thomas Dickey (xterm termcap maintainer)
MFC after: 2 weeks
|