| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR: bin/122137
Submitted by: Steven Kreuzer <skreuzer@exit2shell.com>
MFC after: 3 days
|
|
|
|
| |
initialize pkthdr in field order
|
|
|
|
|
|
|
|
|
|
|
| |
parenthesized subexpression is defined. For example, the
following command line caused unexpected behavior like
segmentation fault:
% echo test | sed -e 's/test/\1/'
PR: bin/126682
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On RELENG_6 (and probably RELENG_7) we see our syscons windows and
pseudo-terminals have the following buffer sizes:
| LINE RAW CAN OUT IHIWT ILOWT OHWT LWT COL STATE SESS PGID DISC
| ttyv0 0 0 0 7680 6720 2052 256 7 OCcl 1146 1146 term
| ttyp0 0 0 0 7680 6720 1296 256 0 OCc 82033 82033 term
These buffer sizes make no sense, because we often have much more output
than input, but I guess having higher input buffer sizes improves
guarantees of the system.
On MPSAFE TTY I just sent both the input and output buffer sizes to 7
KB, which is pretty big on a standard FreeBSD install with 8 syscons
windows and some PTY's. Reduce the baud rate to 9600 baud, which means
we now have the following buffer sizes:
| LINE INQ CAN LIN LOW OUTQ USE LOW COL SESS PGID STATE
| ttyv0 1920 0 0 192 1984 0 199 7 2401 2401 Oil
| pts/0 1920 0 0 192 1984 0 199 5631 1305 2526 Oi
This is a lot smaller, but for pseudo-devices this should be good
enough. You need to do a lot of punching to fill up a 7.5 KB input
buffer. If it turns out things don't work out this way, we'll just
switch to 19200 baud.
|
|
|
|
|
|
| |
directory to another in ZFS.
Approved by: rwatson (mentor), pjd
|
| |
|
|
|
|
|
| |
thread will be different. Instead require sender to send process ID
together with file descriptor.
|
|
|
|
|
|
|
|
|
|
| |
This replaces the getopt()/getopt_long() wrapper, the old-style
argument rewriter and the associated configuration glue with a more
straightforward custom command parser. In particular, this ensures
that bsdtar will have consistent option parsing on every platform,
regardless of whether the platform supports getopt_long().
MFC after: 30 days
|
|
|
|
| |
All applications will have to be adapted and rebuilt.
|
| |
|
|
|
|
|
| |
As soon as node is created from the netgraph side now, it can be found
without using this. Allow application to assign whatever name it want later.
|
| |
|
|
|
|
| |
Approved by: rwatson (mentor)
|
|
|
|
|
|
| |
specific.
Approved by: rwatson (mentor)
|
|
|
|
| |
Approved by: rwatson (mentor)
|
|
|
|
| |
Submitted by: csjp
|
|
|
|
|
|
| |
show up in verbose boot mode.
Reported by: pluknet ( pluknet<> gmail DOT com )
|
| |
|
|
|
|
|
|
|
| |
for write permission on target only when moving the target between two
directories.
Approved by: rwatson (mentor)
|
|
|
|
| |
Submitted by: keramida
|
|
|
|
|
|
|
| |
from one parent directory to another, in addition to the usual access checks
one also needs write access to the subdirectory being moved.
Approved by: rwatson (mentor), pjd
|
|
|
|
| |
Submitted by: hps
|
| |
|
|
|
|
|
|
|
|
|
| |
still valid. We were checking the state of the header and
not the table.
PR: 119868
Based on a patch from: Jaakko Heinonen <jh@saunalahti.fi>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-A Display the apparent size instead of the disk usage. This can be
helpful when operating on compressed volumes or sparse files.
-B blocksize
Calculate block counts in blocksize byte blocks. This is differ-
ent from the -k, -m options or setting BLOCKSIZE and gives an
estimate of how much space the examined file hierachy would
require on a filesystem with the given blocksize. Unless in -A
mode, blocksize is rounded up to the next multiple of 512.
The former is similar to GNU's du(1) --apparent-size. The latter is
different from what GNU's du(1) -B does, which is equivalent to setting
BLOCKSIZE in our implementation and is rather pointless as it doesn't add
any real value (i.e. you can achieve the same with a simple awk-script).
No change in the normal output or processing.
Reviewed by: keramida@, Peter French
Otherwise silience from: freebsd-hackers@
|
| |
|
|
|
|
|
|
| |
Reviewed by: keramida
Reported by: keramida
MFC after: 2 months (with r184720)
|
| |
|
|
|
|
|
|
| |
This allows mini dumps to fully work for these platforms.
Obtained from: Juniper Networks, Semihalf
|
|
|
|
| |
Obtained from: Juniper Networks, Semihalf
|
|
|
|
|
|
| |
are happy even if compiled without INET or INET6.
MFC after: 2 months
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tcp_mss() and tcp_mss_update() so that tcp_mtudisc() could
re-use the same code.
Move the TSO logic back to tcp_mss() and out of tcp_mss_update().
We tried to avoid that initially but if were are called from
tcp_output() with EMSGSIZE, we cleared the TSO flag on the tcpcb
there, called into tcp_mtudisc() and tcp_mss_update() which
then would reenable TSO on the tcpcb based on TSO capabilities
of the interface as learnt in tcp_maxmtu/6().
So if TSO was enabled on the (possibly new) outgoing interface
it was turned back on, which lead to an endless loop between
tcp_output() and tcp_mtudisc() until we overflew the stack.
Reported by: kmacy
MFC after: 2 months (along with r182851)
|
|
|
|
|
|
|
| |
not a pointer. While here update the rest of the comment to
better match what we have these days.
MFC after: 2 months
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tcp_mss() and tcp_mss_update() so that tcp_mtudisc() could
re-use the same code.
In case we return early and got a metricptr to pass the hostcache
info back to the caller we need to initialize the data to a defined
state (zero it) as tcp_hc_get() would do if there was no hit.
Without that the caller would check on random stack garbage which
could lead to undefined results.
This only affected tcp_mss() if there was no routing entry for the peer,
tcp_mtudisc() was not affected.
MFC after: 2 months (along with r182851)
|
| |
|
|
|
|
| |
MFC after: 2 months
|
|
|
|
| |
MFC after: 2 months
|
|
|
|
| |
Pointy hat to: dfr
|
|
|
|
|
|
|
| |
only enable if INET is on.
Reviewed by: kmacy
MFC after: 2 months
|
|
|
|
|
| |
Reviewed by: kmacy
MFC after: 2 months
|
|
|
|
|
|
|
| |
NATM needs 'struct in_addr' to compile, which is a problem on its own
but include in.h for now if we have NATM but neither INET or INET6.
MFC after: 2 months
|
|
|
|
| |
MFC after: 2 months
|
|
|
|
|
|
|
|
| |
Include ethernet.h and if_arp.h directly so that the constants are
always defined.
Makes token compile without INET.
MFC after: 2 months
|
|
|
|
|
|
|
| |
Include ethernet.h directly so that the constants are always defined.
Makes fddi compile without INET.
MFC after: 2 months
|
|
|
|
|
|
|
|
| |
the sc does not have 'an_have_rssimap' variable.
Add an ANCACHE check to poperly hide the case and make an(4)
compile without INET.
MFC after: 2 months
|
|
|
|
|
|
|
| |
PR: 122070
Submitted by: Steven Kreuzer <skreuzer@exit2shell.com>
Reminded by: gnn@
MFC after: 3 days
|
|
|
|
|
|
| |
import.
Noticed by: thompsa
|
|
|
|
| |
Approved by: jb
|
|
|
|
| |
Approved by: jb
|
| |
|