| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
At the expence of slightly more CPU cycles, it almost removes aliasing
noise in most practical use-cases.
|
|
|
|
|
|
|
| |
The common code is moved to sleep_signal_check() and instead of multiple
state variables for sls_sig and sls_unwind only one sls_sigerr is set.
This simplifies the checks in sleep_finish_signal() a great bit.
Idea from and OK mpi@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
code is copied from IPv4 and adapted. Some things are changed in
v4 to make it look similar.
- ip6_forward increases the noroute error counter, do that in
ip_forward, too.
- Pass more specific sockaddr_in6 to icmp6_mtudisc_clone().
- IPv6 may also use reject routes for IPsec PMTU clones.
- To pass a route_in6 to ip6_output_ipsec_send() introduce one in
ip6_forward(). That is the same what IPv4 does. Note
that dst and sin6 switch roles.
- Copy comments from ip_output_ipsec_send() to ip6_output_ipsec_send()
to make code similar.
- Implement dynamic IPv6 IPsec PMTU routes.
OK tobhe@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- tweak the look-up mechanism for dependencies to NOT look at installed
packages for inter-dependencies between subpackages (and debug packages)
of the SAME pkgpath.
The rationale for looking at installed packages in the usual case
is that it's normally much faster rather than have the ports tree
spew out packing-lists.
In the case of multi-packages updates, the new version may have been built
successfully (and correctly) while the old version is still around.
However, if pkg_create looks at the installed version, it may fail to create
the package because the shared library versions will be different.
|
|
|
|
|
| |
doamin, load rules into pf(4) regress anchor, tcpdump on pflog,
send packets over lo(4), grep for expected result in tcpdump output.
|
|
|
|
|
|
|
|
|
| |
daemons. This avoids giving an additional permission (in this case unveil(2)
"c") to the daemon just to be able to delete the socket and we already discussed
in the past that leaving that file behind doesn't cause any problems.
Discussed with deraadt@ rob@ florian@
OK rob@ benno@ deraadt@
|
|
|
|
|
| |
modified version of diff from wolf on misc,
improved by and ok florian benno sthen
|
| |
|
|
|
|
|
|
| |
where sizeof(int) != sizeof(long), convtime could accept values
>MAX_INT which subsequently truncate when stored in an int during
config parsing. bz#3250, ok djm@
|
|
|
|
| |
this factored into a separate function.
|
|
|
|
|
|
| |
Less special cases in (rare) ports, pluse one can use EXTRACT_FILES as usual now.
OK espie robert
|
|
|
|
|
|
| |
Fixes building the textproc/groff port (and maybe others).
ok naddy@
|
|
|
|
|
|
|
| |
quirks.
Original diff from Sven M. Hallberg < pesco () khjk ! org >
Diff updated and tested by Timo Myyra
ok phessler@
|
| |
|
| |
|
|
|
|
|
|
| |
probes can be parsed again.
ok anton@ kn@
|
| |
|
|
|
|
| |
OK deraadt@
|
| |
|
|
|
|
|
|
| |
ciphers in ssl_lib.c r1.240 and TLSv1.3 support in tls13_server.c r1.69.
requested by jsing
|
|
|
|
|
|
| |
Removed a rash of +/-1 and made both functions shorter and more focused.
OK millert@
|
|
|
|
|
|
|
| |
This changes amd64 GENERIC.MP .text size of kern_sysctl.o from 6440 to 6400.
Surprisingly, RAMDISK grows from 1645 to 1678.
OK millert@, mglocker@
|
|
|
|
| |
OK millert@
|
|
|
|
| |
OK millert@
|
|
|
|
| |
OK millert@
|
|
|
|
| |
OK millert@
|
|
|
|
| |
OK millert@
|
|
|
|
| |
OK millert@
|
|
|
|
|
|
| |
Makes previously explicit checking less verbose.
OK millert@
|
|
|
|
|
|
|
| |
One case uses the explicit range from the code and the other was
inferred from reading the usage.
OK millert@
|
|
|
|
|
|
|
| |
I missed the verbose pattern that it used for error checking the first
time around.
OK millert@
|
|
|
|
|
|
| |
Prefer error reporting is to silent clipping.
OK millert@
|
| |
|
|
|
|
| |
OK millert@
|
|
|
|
|
|
| |
defined, as was previously the case.
OK kettenis@
|
|
|
|
|
|
|
| |
Clean up things a bit, adding documentation about the source of the
information about these instructions.
From miod@
|
|
|
|
|
|
|
|
|
| |
both the export check and the address family check should be done as
early as possible since these peers will not need any kind of updates
to happen. Also remove the non-standard ORIGINATOR_ID check.
With this up_test_update() becomes a simple true/false function which
makes the rest of the code a bit simpler.
OK benno@
|
|
|
|
| |
correctly by socket splicing. They generate an ELOOP error.
|
|
|
|
|
|
|
| |
error, a broadcast mbuf will stay in the socket buffer forever.
This is bad as multiple mbufs can use up all the space. Better
report ELOOP, dissolve splicing, and let userland handle it.
OK anton@
|
|
|
|
|
|
|
|
|
|
|
|
| |
packets were resent through simplex broadcast delivery and socket
splicing. Although there is an M_LOOP check in somove(9), it did
not take effect. if_input_local() cleared the M_BCAST and M_MCAST
flags with m_resethdr().
As if_input_local() is used for broadcast and multicast delivery,
it was a mistake to delete them. Keep the M_BCAST and M_MCAST mbuf
flags when packets are reinjected into the network stack.
Reported-by: syzbot+a43ace363f1b663238f8@syzkaller.appspotmail.com
OK anton@; discussed with claudio@
|
|
|
|
| |
Suggested by martijn@, ok claudio@
|
|
|
|
|
|
|
|
|
|
|
|
| |
mode. On modern processors (POWER8 and later) there is no performance
penalty for this as long as exceptions are disabled in the FPSCR (which
is the default). This way we don't have to implement an
architecture-dependent system call to set the mode, as it can only be done
by the kernel.
With help from gkoehler@
ok gkoehler@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|