Skip to content
Commit 4fcbf4de authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by Héctor Orón Martínez
Browse files

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: default avatarEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parent 39bebf78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment