| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since ARP and routing are separated, "proxy only" entries
don't have any meaning, thus we don't need additional field
in sockaddr to pass SIN_PROXY flag.
New kernel is binary compatible with old tools, since sizes
of sockaddr_inarp and sockaddr_in match, and sa_family are
filled with same value.
The structure declaration is left for compatibility with
third party software, but in tree code no longer use it.
Reviewed by: ru, andre, net@
|
|
|
|
|
|
|
|
|
|
|
|
| |
heavily used when parsing config files. Mostly these changes avoid making
temporary copies of the strings, and avoid doing byte at a time append
operations, on the most-used code path.
On a 1.2 GHz ARM processor this reduces the time to parse the config files
from 13 to 6 seconds.
Reviewed by: imp
Approved by: cognet (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
their socket connection any time, and devd only notices that when it gets an
error trying to write an event to the client. On a system with no device
change activity, clients could connect and disappear repeatedly without devd
noticing, leading to an ever-growing list of open socket descriptors in devd.
Now devd uses poll(2) looking for POLLHUP on all existing clients every time
a new client connection is established, and also periodically (once a minute)
to proactively find zombie clients and reap the socket descriptors. It also
now has a connection limit, configurable with a new -l <num> command line arg.
When the maximum number of connections is reached it stops accepting new
connections until some current clients drop off.
Reviewed by: imp
Approved by: cognet (mentor)
|
|
|
|
|
|
|
| |
booting.
Reviewed by: ae
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
- Simplify diagnostic messages.
- Adopt lowercase first letters to make the messages
more canonical.
PR: bin/175404
Submitted by: Christoph Mallon
Reviewed by: bde
MFC after: 3 days
|
|
|
|
| |
and for volumes with sector size above 512 bytes.
|
|
|
|
|
| |
Approved by: cperciva
MFC After: 3 days
|
|
|
|
|
| |
PR: kern/160562
MFC after: 2 weeks
|
|
|
|
|
| |
PR: bin/174910
Submitted by: Fabian Keil <fk fabiankeil.de>
|
|
|
|
|
|
|
|
|
|
| |
It stops treating the address on the interface as special by source
address selection rule even when the interface is outgoing interface.
This is desired in some situation.
Requested by: hrs
Reviewed by: IHANet folks including hrs
MFC after: 1 week
|
|
|
|
| |
Spotted by: Ian FREISLICH
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
when comparing its size with the size of the media, to determine if
the last disk block is unused.
Submitted by: Andreas Longwitz <longwitz@incore.de>
Reviewed by: pjd
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
provided by Bas Smeelen <b.smeelen@ose.nl>. Use of 'gpart list'
suggested by by Andrey V. Elsukov <ae@FreeBSD.org>.
PR: docs/174270
Submitted by: Ronald F.Guilmette <rfg@tristatelogic.com>
Reviewed by: ae (block sizes)
MFC after: 1 week
|
|
|
|
|
|
|
| |
mount_nullfs(8).
Tested by: pho
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Submitted by: Garrett Cooper
|
|
|
|
|
|
|
|
| |
- Add a range condition of given FIB number and the related error messages.
- Fix free() problem.
Spotted by: Artyom Mirgorodskiy
Discussed with: glebius
|
|
|
|
|
|
|
|
|
|
|
| |
last one. To make it easier to find the last one create symlinks with 'last'
suffix that will point to the files of the last coredump, eg.:
info.last -> info.5
textdump.tar.last.gz -> textdump.tar.5.gz
Reviewed by: avg
Obtained from: WHEEL Systems
|
|
|
|
|
|
|
| |
dumps stored. Once the limit is reached it restarts from 0.
Reviewed by: avg
Obtained from: WHEEL Systems
|
|
|
|
|
|
| |
earlier.
Obtained from: WHEEL Systems
|
|
|
|
|
|
| |
Approved by: bcr (mentor)
Obtained from: DragonflyBSD (a5294ca835317c68c919ab43936da4f05ab6e926)
MFC after: 3 days
|
|
|
|
| |
Obtained from: WHEEL Systems
|
|
|
|
| |
Obtained from: WHEEL Systems
|
|
|
|
|
|
| |
if there is not enough room for a full cylinder group.
Reviewed by: mckusick@
|
|
|
|
| |
is always multiple of fragment size.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
provide dump directory. Eliminate this redundant argument. This changes
the usage, but the only risk here is that a warning will be printed
about directory given as device.
- Update usage of -C option.
- When clearing dump header from the given device there is also no need to
provide dump directory, although additional arguments for -c were not
documented.
- Document that -v can be used with -c and that list of devices can be given.
Obtained from: WHEEL Systems
|
|
|
|
|
|
| |
options.
Obtained from: WHEEL Systems
|
|
|
|
|
|
| |
exists or we want to keep it), open device read-only.
Obtained from: WHEEL Systems
|
| |
|
|
|
|
|
|
|
| |
capability of parsing both = and : formats).
Submitted by: hrs (initial version, bugs are mine)
MFC after: 3 months
|
|
|
|
|
| |
To do this move the Tflag and Wflag checks earlier in show_var() so
we bail earlier for variables not matching our query.
|
|
|
|
|
|
|
|
|
|
|
| |
Add the following flags to sysctl:
-W - show only writable sysctls
-T - show only tuneable sysctls
This can be used to create a /var/run/sysctl.boot to
compare set tunables versus booted tunables.
Sponsored by: iXsystems
|
|
|
|
|
|
|
|
| |
- Only operate on copy, don't operate on source.
- Eliminate home-rolled strsep().
- Constify the parameter.
MFC after: 2 weeks
|
|
|
|
| |
This is a content change.
|
|
|
|
|
|
|
|
|
|
|
| |
sio(4) was deprecated by uart(4).
s/cuad/cuau/g/
PR: docs/171533
Reviewed by: imp
Approved by: cperciva (implicit)
MFC after: 3 weeks
|
|
|
|
|
| |
Approved by: cperciva
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
for non-primitive types.
Approved by: cperciva
MFC after: 2 weeks
|
|
|
|
|
| |
Approved by: cperciva
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lists it reads from its configuration files on the priority field.
Because some items in the lists have the same priority, and std::sort()
is not stable, the exact order in which the items are enumerated does
not have to correspond to the order they appear in the configuration
files.
Apparently this was never noticed with libstdc++, but with libc++ it
could cause the "uhid" entry from /etc/devd/usb.conf to be used instead
of the "ums" entry (which is earlier in the file). This caused the
problem described in the PR: the USB mouse module was never loaded, and
the other actions (such as starting moused) were not executed.
To fix the problem, make devd use std:stable_sort() instead.
Reported by: Jan Beich <jbeich@tormail.org>
PR: bin/172958
MFC after: 2 weeks
|
|
|
|
|
|
| |
- Deembed scope id in L3 address in in6_lltable_dump().
- Simplify scope id recovery in rtsock routines.
- Remove embedded scope id handling in ndp(8) and route(8) completely.
|
|
|
|
|
|
| |
prefixes.
Reported and tested by: delphij
|
|
|
|
|
|
|
| |
- Check V_deembed_scopeid before checking if sa_family == AF_INET6.
- Fix scope id handing in route(8)[2] and ifconfig(8).
Reported by: rpaulo[1], Mateusz Guzik[1], peter[2]
|
|
|
|
|
| |
PR: bin/151600
Submitted by: Eric van Gyzen <eric vangyzen.net>
|
| |
|
|
|
|
|
|
| |
PR: bin/172978
Approved by: cperciva
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The feature is dangerous because the kernel code didn't check
validity of the memory address provided from user space.
- It seems that mdconfig(8) never really supported attaching preloaded
memory disks.
- Preloaded memory disks are automatically attached during md(4)
initialization. Thus there shouldn't be much use for the feature.
PR: kern/169683
Discussed on: freebsd-hackers
|
| |
|
|
|
|
|
|
|
| |
introduced UFS write suspension mechanism.
Reviewed by: kib, mckusick
Sponsored by: FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
| |
userland via routing socket or sysctl. This eliminates the following
KAME-specific sin6_scope_id handling routine from each userland utility:
sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]);
This behavior can be controlled by net.inet6.ip6.deembed_scopeid. This is
set to 1 by default (sin6_scope_id will be filled in the kernel).
Reviewed by: bz
|