wayland-shm: Don’t set SIGBUS handlers on unshrinkable fd

If a client set the F_SEAL_SHRINK seal on the fd before passing it to
the compositor, the kernel will ensure this fd won’t be able to shrink,
ever.  This allows us to avoid setting up the SIGBUS handlers on such
file descriptors.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
1 job for avoid-unneeded-sigbus in 1 minute and 36 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Build
passed #438639
build-native

00:01:36