man: Fix RFC 1918 network prefix lengths
According to RFC 1918, the following IP prefixes are reserved for
private internets:
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
This PR fixes the prefix lengths in references to private networks
("RFC 1918 networks", "the standard private IP address ranges").
The changes are limited to man pages.
Signed-off-by: Yusuke Ichiki <public at yusuke.pub>
Pull Request: https://github.com/freebsd/freebsd-src/pull/2328
(cherry picked from commit 1403ca10189c47ad1de3915eeb030deddc114685)
man: Fix RFC 1918 network prefix lengths
According to RFC 1918, the following IP prefixes are reserved for
private internets:
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
This PR fixes the prefix lengths in references to private networks
("RFC 1918 networks", "the standard private IP address ranges").
The changes are limited to man pages.
Signed-off-by: Yusuke Ichiki <public at yusuke.pub>
Pull Request: https://github.com/freebsd/freebsd-src/pull/2328
(cherry picked from commit 1403ca10189c47ad1de3915eeb030deddc114685)
[clang] fix a crash for uses of a pseudo-destructor of enum without definition (#210424)
Lookup for the destuctor name in the object type only applies to record
types.
Since this will be backported, there are no release notes.
Fixes #209808
[flang][NFC] Remove unreachable legacy FORALL/WHERE lowering code from Bridge.cpp (#210639)
The HLFIR lowering migration left a cluster of legacy, now-unreachable
code in Bridge.cpp behind. None of it has a live caller (FORALL is
lowered by genForallNest; DO CONCURRENT by getConcurrentControl):
- forceControlVariableBinding and the old DoLoopOp-based genFIR(const
parser::ConcurrentHeader &) FORALL-nest lowering (the ConcurrentHeader
is not a PFT evaluation node and is never visited).
- The member genInitializerExprValue, implicitIterationSpace/
explicitIterationSpace, genArrayAssignment, and the NDEBUG-only
isFuncResultDesignator.
- The analyzeExplicitSpace overload set, analyzeExplicitSpacePop, and
addMaskVariable.
- The explicitIterSpace / implicitIterSpace members.
These were the only Bridge.cpp users of the legacy expression lowering
(createSome*Assignment / createSomeInitializerExpression) and of
IterationSpace, so their includes (ConvertExpr.h, IterationSpace.h, and
[2 lines not shown]
[SCEV] Tighten loop guards range check idiom (#210387)
Previously, the idiom matcher derived the clamp range only from the raw
`(LHS + C1) u< C2` form and rejected wrapped or full ranges.
Intersect the derived range with the known unsigned range of `LHSUnknown`.
This can reduce wrapped or full ranges to a usable interval and allows the
matcher to extract clamps in more cases.
Related to https://github.com/llvm/llvm-project/issues/208778
[ARM] Add strict uint to FP conversion handling during operation legalization (#208554)
Currently, strict uint to FP conversions for the ARM backend end up
falling through to software emulation.
This commit allows them to be correctly handled using the corresponding
vcvt instruction.
[clang] fix a crash for uses of a pseudo-destructor of enum without definition
Lookup for the destuctor name in the object type only applies to record types.
Fixes #209808
[lldb][Windows] Only embed Python home in Debug config (#209464)
On Windows, we used to embed `PYTHONHOME` by default on Windows. In the
documentation, we say
> This is most useful for developers who simply want to run LLDB after
they build it.
Since we use the limited/stable API now, we're less restricted in the
Python version, so I think it's less of an issue that LLDB won't find
Python. The only configuration where it might cause issues is the debug
configuration, since, when installing Python, you usually don't include
the debug libraries. Thus, you might not have the debug version
(`python3_d.py`) of Python in your PATH.
[libc] Fix sockatmark test (#210655)
When writing the test, I assumed that (linux) domain sockets do not
support OOB data, and that sockatmark returns 0, because it can never
read it.
In fact, as of 2021, linux does support OOB on domain sockets, but this
feature can be turned off at build time (CONFIG_AF_UNIX_OOB). In this
case (or in the case of older kernels), the kernel returns an error (and
the test fails).
Armed with this knowledge, I modify the test to test both "1" (OOB
present) and "0" (no OOB data) cases by actually sending OOB data into
the socket. I use the send call to determine the presence of OOB
support, and have the test skip itself if it is absent. OOB data only
makes sense on stream sockets, so change the socketpair type to that.
---------
Co-authored-by: Jeff Bailey <jbailey at raspberryginger.com>
fix: non-root reads of WAL db with missing sidecars
A read-only connection to a WAL-mode local database reports
SQLITE_OK from sqlite3_open_v2() but every query fails when the
-wal/-shm sidecars are absent (e.g. removed after root"s clean
close) or not accessible. The fallback to immutable=1 only
triggered on open failure, so it never fired. This broke
non-root pkg info in poudriere"s configure phase, causing
false "not found" and spurious install attempts.
Probe the read-only connection with a schema read after open;
on failure reopen in immutable=1, which bypasses WAL and reads
the main file directly.
fix: non-root reads of WAL db with missing sidecars
A read-only connection to a WAL-mode local database reports
SQLITE_OK from sqlite3_open_v2() but every query fails when the
-wal/-shm sidecars are absent (e.g. removed after root"s clean
close) or not accessible. The fallback to immutable=1 only
triggered on open failure, so it never fired. This broke
non-root pkg info in poudriere"s configure phase, causing
false "not found" and spurious install attempts.
Probe the read-only connection with a schema read after open;
on failure reopen in immutable=1, which bypasses WAL and reads
the main file directly.
[Hexagon] Fix compiler-rt install dir type, scope sanitizers (#209375)
COMPILER_RT_INSTALL_LIBRARY_DIR must be CACHE STRING, not CACHE PATH: a
relative PATH-typed cache entry resolves against the runtimes sub-build
directory instead of CMAKE_INSTALL_PREFIX, misplacing sanitizer libs.
Replace the explicit COMPILER_RT_BUILD_* ON list with
COMPILER_RT_SANITIZERS_TO_BUILD=all, since those options already default
ON upstream and infeasible sanitizers self-exclude via their own
ALL_<X>_SUPPORTED_ARCH lists.
Add FORCE to the dylib overrides so they take effect after
hexagon-unknown-linux-musl-clang-dist.cmake has already cached them OFF.