Add ARMv8-M and ARMv8.1-M support for Darwin (#195184)
Extend Mach-O reading/writing and Clang's driver with support for
ARMv8-M and ARMv8.1-M. Then, build libclang_rt for armv8m.main and
armv8.1m.main target triples.
fexecve(2): call out a scenario where you want !O_EXEC
We note a reason why you might need it, but there's an equally important
reason you may need to omit it: interpreted programs. Add a note
accordingly, along with the workaround configuration if there's reason
you can't help it.
PR: 294780
Reviewed by: Jan Bramkamp <crest_freebsd_rlwinm.de>, kib
Differential Revision: https://reviews.freebsd.org/D56704
stat: fix use of devname(3)
Besides being a little hard to parse through visually, this had its own
bug of inspecting st->st_mode to determine what to pass to devname(3),
which is only correct for st_rdev.
For st_dev, you're likely to be looking at files or directories and
attempting to assess what device they're located on, so the mode is
meaningless- we just have to assume that our filesystems are on
character devices and attempt to resolve st_dev as such.
Reviewed by: des, kib (previous version)
Differential Revision: https://reviews.freebsd.org/D56565
build: provide a FORTIFY_SOURCE.<src file> override
For native files we can do more minimal fixes to avoid this large of a
hammer, but for third party files it may not be worth the effort to try
and patch them. NetBSD has the original _FORTIFY_SOURCE implementation
that ours is based on, for instance, but tests sourced from there can't
do an __ssp_real(foo) without being certain that `foo` actually has a
fortified definition.
This change does always define _FORTIFY_SOURCE as a result, so gate it
on CFLAGS not already containing _FORTIFY_SOURCE definitions.
PR: 294881
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56733
tests: fix remaining test failures under _FORTIFY_SOURCE
The getgroups test is a NetBSD tests, so just apply our larger hammer
and disable the feature entirely. The audit test can take a more
surgical approach and use __ssp_real() appropriately, since it's a local
one.
PR: 294881
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56735
ssp: fix our gets_s implementation under _FORTIFY_SOURCE
Annex K specifies an interface for handling constraint violations from
gets_s, but we previously broke this for some classes of get_s misuse.
Provide a more nuanced version that tries to dodge errors that would
trigger a constraint handler while still providing value. Notably, we
don't want to trigger a failure unless the passed-in length reasonably
fits within an RSIZE_MAX, because gets_s will immediately call larger
lengths bogus and fail.
PR: 294881
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56734
emulators/virtualbox-ose*: Flavorize
While here make non-functional changes related to indentation and
formatting, make simplification of CONFLICTS_INSTALL.
Sponsored by: UNIS Labs
gobject-introspection: bump PKGREVISION for glib2 2.88.0 update
gobject-introspection installs GLib/GObject/GModule/Gio/GioUnix
introspection data generated against the GLib version available at
build time.
After updating devel/glib2 to 2.88.0, the old gobject-introspection
package still contains typelibs generated against the previous GLib.
This can break runtime users of PyGObject like inputmethod/ibus-anthy.
Rework ZFS configuration page and fix GELI encryption with swap
- Fix encpass= ordering so it immediately follows the .eli partition
line, preventing boot failure when swap is present
- Tie swap encryption (SWAP.eli) to disk encryption instead of a
separate checkbox
- Redesign ZFS page to two-column layout: settings grid on the left,
disk list on the right
- Rename "Pool Type" to "Pool Layout" and simplify ComboBox entries
to stripe, mirror, raidz1, raidz2, raidz3
- Remove "single disk" option (replaced by stripe)
- Always show Pool Name label and entry instead of a checkbox toggle
- Remove Encrypt Swap and Mirror Swap checkboxes (swap mirror is
handled automatically by pc-sysinstall for multi-disk pools)
- Remove duplicate password strength functions, import from gbi_common
- Remove dead code: unused variables (memory, auto), tree_selection,
on_check_poll, on_check_swap_encrypt, on_check_swap_mirror, no-op
row increment
- Fix self.zfs_four_k initialized as string "True" instead of bool
[4 lines not shown]
[NVPTX] Add commutativity to SETP instructions to enable MachineCSE of inverted predicates
Inverted predicates can be used freely in PTX. If we can invert a
predicate and CSE the generating instruction we can save calculating
the inverse.
Teach the NVPTX commuteInstructionImpl that SETP instructions can be
inverted to allow CSEing with previous SETP that match the inverted
form. This also inverts the branch users of the predicate to maintain
correctness.
Currently only allow the SETP inversion if all users are branches.
Future work can extend this to sel and not instructions.
Made-with: Cursor